Re: [NTG-context] header text style and dimension

2016-12-22 Thread Hans Hagen
, rightstyle=bolditalic, leftcolor=darkgreen, rightcolor=darkred] \setupheadertexts [middle] \setupheadertexts [left] [right] test \stoptext Thanks a lot -a- -- Andrea Valle

[NTG-context] first and last note in page

2016-11-26 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppagenumbering[A6] \setupheadertexts[{\getmarking[chapter]}] \definesectionblock [whatcomeslast] [lastmatter] [number=no] \setupsectionblock [lastmatter] [page=no, after=\page

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
ment[default][em=italic] \definefontfamily[mainface] [serif] [GFS Didot] \setupbodyfont[mainface] \setupindenting[1.5em] \setupindenting[yes] \setupwhitespace[medium] \setupinterlinespace[line=3.2ex] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \se

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Pablo Rodriguez
espace[medium] \setupinterlinespace[line=3.2ex] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Cours de Philosophie][][][{\getmarking[section]}] \setupfootertexts[][][][© Jean-Pierre Delange, 2016 — La reproduction de ce texte est soumise à

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
] \setupindenting[yes] \setupwhitespace[medium] \setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Cours de Philosophie][][][{\getmarking[section]}] \setupfootertexts

Re: [NTG-context] marking in two pass data

2016-08-08 Thread Hans Hagen
On 8/7/2016 11:15 AM, Thomas A. Schmitz wrote: \starttext \setupTABLE [split=repeat] \definemarking [Test] \setupheadertexts [{\getmarking[Test][top]--\getmarking[Test][bottom]}] \startluacode samples = { { "A", "aesop-de.tex" }, { "B", "bryson.tex

Re: [NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Hans Hagen
context(true) -- Trial 1 but doesn't give the same as "" context("EF") context.crlf() -- Trial 2 but doesn't give the same as "" context("GH") context.stopframed() conte

[NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Procházka Lukáš Ing .
\\" context("EF") context.crlf() -- Trial 2 but doesn't give the same as "" context("GH") context.stopframed() context.stopsetups() \stopluacode \setupheadertexts[][\directsetup{headertext}] Foo \stoptext Best

[NTG-context] Header background off with \page?

2016-08-08 Thread Procházka Lukáš Ing .
Hello, the following code: \setupheadertexts[Le][Ri] \setupbackgrounds[header][text][bottomframe=on] \starttext \startTEXpage \externalfigure[dummy] \stopTEXpage \page[yes,header,footer,odd] % Empty page to come here Blabla \stoptext should generate an empty page

[NTG-context] marking in two pass data

2016-08-07 Thread Thomas A. Schmitz
found any good solution for it... Thanks Thomas Example: \starttext \setupTABLE [split=repeat] \definemarking [Test] \setupheadertexts [{\getmarking[Test][top]--\getmarking[Test][bottom]}] \startluacode samples = { { "A", "aesop-de.tex" }, { "B", "

[NTG-context] French and Ancient Greek

2016-07-11 Thread Jean-Pierre Delange
] \setupwhitespace[medium] \setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Cours de Philosophie][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange, 2010-2016 — La

Re: [NTG-context] Expansion of date inside \section

2016-06-19 Thread Hans Hagen
{% \edef\dt{\date[y={#1},m={#2},d={#3}][year,-,mm,-,dd]} \setupheadertexts[{\dt}][pagenumber] \section{\dt} % \externalfigure[#1#2#3.pdf] } \starttext \chapter{Daily files} \generatesection{2016}{06}{25} \generatesection{2016}{06}{26} \stoptext first of all, did you try

Re: [NTG-context] Expansion of date inside \section

2016-06-19 Thread Mojca Miklavec
lacebookmarks > [chapter,section,subsection] > [chapter,section] > \setupinteractionscreen > [option=bookmark] > > \def\generatesection#1#2#3{% > \edef\dt{\date[y={#1},m={#2},d={#3}][year,-,mm,-,dd]} > \setupheadertexts[{\dt}][pagenumber] > \sect

[NTG-context] Expansion of date inside \section

2016-06-19 Thread Mojca Miklavec
,-,mm,-,dd]} \setupheadertexts[{\dt}][pagenumber] \section{\dt} % \externalfigure[#1#2#3.pdf] } \starttext \chapter{Daily files} \generatesection{2016}{06}{25} \generatesection{2016}{06}{26} \stoptext Thank you, Mojca

Re: [NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
o case I get >> the header with text. > You set different texts for left/right pages with no text for even numbered > pages which you now get in your example. > > \setupheadertexts[Why not visible?][][][] > > Wolfgang >

Re: [NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Wolfgang Schuster
xample. \setupheadertexts[Why not visible?][][][] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

Re: [NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
gt;> \setuphead[chapter]. >> >> MWE: >> \setuppagenumbering[location=] >> \setuplayout >> [header=40pt, >> headerdistance=10pt] >> \setupheader >> [state=normal] >> \setupheadertexts >> [Why not

Re: [NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Hans Hagen
] \setupheadertexts [Why not visible?][][][] \setuphead [chapter] [header=empty] \setupbackgrounds [header] [frame=on] \starttext \input ward \page \startchapter[title=test] \input knuth \page

[NTG-context] A rather special case of a chapter-start

2016-06-05 Thread Willi Egger
it displays the header space (header=empty} or removes the header space (header=high) in \setuphead[chapter]. MWE: \setuppagenumbering[location=] \setuplayout [header=40pt, headerdistance=10pt] \setupheader [state=normal] \setupheadertexts [Why not visible

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster
Ibn Saeed <mailto:ibnsa...@gmail.com> 19. Januar 2016 um 04:54 Mohammad Hossein Bateni<bateni gmail.com> writes: One hacky way to fix it is the following: \setupheadertexts[{\getmarking[chapter]}] [{\lefttoright\pagenumber}][{\lefttoright\pagenumber}] [

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
Ibn Saeed <mailto:ibnsa...@gmail.com> 19. Januar 2016 um 10:55 Here is my code for the header: \setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] Use \setupheadertexts[pagenumber] or \setupheade

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Here is my code for the header: \setupheadertexts [{\righttoleft\getmarking[chapter]}][{\romannumerals}] [{\pagenumber}][{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
incorrect typesetting. On Tue, Jan 19, 2016 at 5:20 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Ibn Saeed <ibnsa...@gmail.com> > 19. Januar 2016 um 04:54 > > Mohammad Hossein Bateni gmail.com> writes: > > > One hacky way to fix it is

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
is for sometime in the summer.) Use the CONTEXT standalone and you should be good to go. On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Ibn Saeed <ibnsa...@gmail.com> > 19. Januar 2016 um 10:55 > > Here is my code for the heade

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Otared Kavian
ou should be good to go. > > On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster > <schuster.wolfg...@gmail.com <mailto:schuster.wolfg...@gmail.com>> wrote: >> Ibn Saeed <mailto:ibnsa...@gmail.com> 19. Januar 2016 um 10:55 >> >> Here is my c

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
te from the last line (context --version): mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main context file: context.mkiv mtx-context | current version: 2016.01.18 22:21 \setupheadertexts [{\righttoleft\getmarking[chapter]}][{\ara

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
to MkIV sometime in the fall. On Tue, Jan 19, 2016 at 8:43 AM, Ibn Saeed <ibnsa...@gmail.com> wrote: > Wolfgang Schuster gmail.com> writes: > > > Use > > \setupheadertexts[pagenumber] > > or > > \setupheadertexts[\userpagenumber] > > Wolfgang > >

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Wolfgang Schuster gmail.com> writes: > Use >     \setupheadertexts[pagenumber] > or >     \setupheadertexts[\userpagenumber] > Wolfgang > Hello Wolfgang, Thanks for helping out again. i tried your code : \setupheadertexts[pagenumber] [{\righttole

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
  It was added to MkIV sometime in the fall. I updated ConTeXt as per your advice to the latest version. I tried the following code on ConTeXt 0.63 running in AucTeX Spacemacs Editor. \setupheadertexts [{\righttoleft\getmarking[chapter]}][{\arabicdecimals\pagenumber}]

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
] \setupbackgrounds[text][text][frame=off, topframe=on] \setupheader[style=\righttoleft, state=normal] \setupheadertexts [{\getmarking[chapter]}][{\pagenumber}] [{\pagenumber}][{\getmarking[chapter]}] \starttext \chapter{شرح الآجرومية} الحمد لله رب العالمين، وصلى الله وسلم

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Mohammad Hossein Bateni
One hacky way to fix it is the following: \setupheadertexts [{\getmarking[chapter]}][{\lefttoright\pagenumber}] [{\lefttoright\pagenumber}][{\getmarking[chapter]}] Ideally \setupdirections[bidi] or something like that should be used, as I mentioned in the other thread

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
Mohammad Hossein Bateni gmail.com> writes: > > > One hacky way to fix it is the following: > > \setupheadertexts        [{\getmarking[chapter]}]    [{\lefttoright\pagenumber}]        [{\lefttoright\pagenumber}]        [{\getmarking[chapter]}] > > > Id

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
=middle,grid=both] \setuphead[section][style=\bfc,before=\blank,after=,grid=both] \setupbackgrounds[header][text][frame=off, bottomframe=on] \setupheadertexts [{\getmarking[chapter]}][{صفحة }] [{صفحة }][{\getmarking[chapter]}] \setupinmargin[stack=yes] \starttext

[NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
=\blank,after=,grid=both] \setupbackgrounds[header][text][frame=off, bottomframe=on] \setupheadertexts [{\getmarking[chapter]}][{صفحة }] [{صفحة }][{\getmarking[chapter]}] \setupinmargin[stack=yes] \starttext \chapter{الآجرومية} \margintext{الآجرومية} الحمد لله رب

Re: [NTG-context] Maybe simply, i don't know

2016-01-07 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 7. Januar 2016 um 15:23 Hello Wolfgang! Here is my example. I found the right command: it was \setupheadertexts \setuppapersize[A4] \setuppagenumbering[location={footer, right},style=bold] \setuphead[chapter][header

Re: [NTG-context] Maybe simply, i don't know

2016-01-07 Thread Ursula Hermann
erm...@univie.ac.at> Ursula Hermann 7. Januar 2016 um 15:23 Hello Wolfgang! Here is my example. I found the right command: it was \setupheadertexts \setuppapersize[A4] \setuppagenumbering[location={footer, right},style=bold] \setuphead[chapter][header=empty] \setupheadertexts[1.1 second] \sta

Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Sytse Knypstra
numbering ('1.0', '2.0', etc) in \setupheadertexts [\somenamedheadnumber{section}{current}][...etc]. Sytse Knypstra On 15-12-15 09:45, Jan Willem Flamma <jwfregis...@icloud.com> wrote: I ran into the following issue related to figure/float numbering. I use numbered chapters, sections, subse

Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Hans Hagen
=bychapter, prefix=chapter') and the section numbering ('1.0', '2.0', etc) in \setupheadertexts [\somenamedheadnumber{section}{current}][...etc]. fwiw: you can control numbering and prefixes at any level and for all constructs .. there are examples in the test suite Hans

Re: [NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Sytse Knypstra
with specifying 'number=no' in \setuphead (for any level). This seems not only to affect the numbering of figures and tables, but also the numbering of enumerations (it ignores the options 'way=bychapter, prefix=chapter') and the section numbering ('1.0', '2.0', etc) in \setupheadertexts

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread Wolfgang Schuster
title | Or (odd page): --+ Chapter title - 35 | | Thanks, Massi You can use the \definetext command to set a different header (or footer) for chapter pages. \setuppagenumbering[alternative=doublesided,location=] \setupheadertexts [][{\getmarking[c

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
Thanks a lot, Wolfgang just now I was posting a solution of mine, but yours is more elegant and concise. Best regards, Massi PS: here's my solution (but I'll use yours): \definemarking[headertitle] \setupheadertexts[] \setupheadertexts[\setups{oddpages}][][][\setups{evenpages}] \startsetups

[NTG-context] markings and syncing

2015-10-22 Thread Thomas A. Schmitz
]}} {\expanded{\getmarking[test][bottom]}} {\getmarking[test][top]} {\getmarking[test][top] and \getmarking[test][bottom]} \stopsetups \setupheadertexts [\setups{test header}] \starttext \marking[test] {One} \input knuth \marking [test] {Two} \page \marking [test] {Three} \input tufte

Re: [NTG-context] markings and syncing

2015-10-22 Thread Wolfgang Schuster
[test] \startsetups [test header] \doifelse {\expanded{\getmarking[test][top]}} {\expanded{\getmarking[test][bottom]}} {\getmarking[test][top]} {\getmarking[test][top] and \getmarking[test][bottom]} \stopsetups \setupheadertexts [\setups{test header}] \starttext \marking[test] {One} \input

Re: [NTG-context] suppress header-footers

2015-09-14 Thread Pablo Rodriguez
numbering[alternative=doublesided] \setuphead[chapter][page={yes, header, footer, right}] \setupheadertexts[Header] \setupfootertexts[Footer] \starttext \dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines} \stoptext For some strange reason (at least, unknown to me), header and

Re: [NTG-context] suppress header-footers

2015-09-14 Thread Wolfgang Schuster
hapter][page={yes, header, footer, right}] \setupheadertexts[Header] \setupfootertexts[Footer] \starttext \dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines} \stoptext For some strange reason (at least, unknown to me), header and footer must be placed before right (if specified at al

Re: [NTG-context] \defineprocessor and \at

2015-08-12 Thread Wolfgang Schuster
[bodypart:pagenumber][][bodypart-n] \defineconversionset[backpart:pagenumber][][backpart-n] \setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}] \starttext \startbodymatter \chapter[sec:knuth]{Knuth} \at{page}[sec:knuth]\par \at{page}[sec:zapf] \stopbodymatter \startbackmatter

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
][][backpart-n] \setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}] \starttext \startbodymatter \chapter[sec:knuth]{Knuth} \at{page}[sec:knuth]\par \at{page}[sec:zapf] \stopbodymatter \startbackmatter \chapter[sec:zapf]{Zapf} \at{page}[sec:knuth]\par \at{page

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Wolfgang Schuster
on the location for index register entries, but not for references.) \defineprocessor [bodypart] [style=bold] \defineprocessor [backpart] [style=italic] \defineconversionset[bodypart:pagenumber][][bodypart-n] \defineconversionset[backpart:pagenumber][][backpart-n] \setupheadertexts

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
][][backpart-n] \setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}] \starttext \startbodymatter \chapter[sec:knuth]{Knuth} \at{page}[sec:knuth]\par \at{page}[sec:zapf] \stopbodymatter \startbackmatter \chapter[sec:zapf]{Zapf} \at{page}[sec:knuth]\par \at{page

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread tala...@fastmail.fm
: — {\doifoddpageelse {\getmarking[section]} {\getmarking[subject]} {\getmarking[chapter]} — …but that caused the subject and the chapter to both be printed in the header. Many thanks for any help. \setupheadertexts[{\getmarking[section]}] \definehead

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread Hans Hagen
the subject and the chapter to both be printed in the header. Many thanks for any help. \setupheadertexts[{\getmarking[section]}] \definehead[suction][section][number=no] \starttext \placelist[section] \page \section{foo} \page \suction{bar} \page \stoptext

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Hans Hagen
On 8/3/2015 10:47 AM, Fabrice Couvreur wrote: Hi, I wish the numérotion pages is reversed at each new page: right left right pass two extra arguments \setuppagenumbering[alternative=doublesided] \setupheadertexts[a][b][c][d] I wish the bottom of the title page of each section

[NTG-context] Questions around my page design

2015-08-03 Thread Fabrice Couvreur
Hi, I wish the numérotion pages is reversed at each new page: right left right ... I wish the bottom of the title page of each section of the current page. Thanks for your help, Fabrice \setuppagenumbering [location=] \setupheadertexts [margin] [][\hfill\pagenumber\hfill

Re: [NTG-context] bug in blank pagebreak?

2015-07-24 Thread Hans Hagen
On 7/19/2015 7:56 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definepagebreak [right:pagebreak] [yes, blank, right] %~ [yes, header, footer, right] \setuppagenumbering [location=inmargin] \setupheadertexts

[NTG-context] bug in blank pagebreak?

2015-07-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \definepagebreak [right:pagebreak] [yes, blank, right] %~ [yes, header, footer, right] \setuppagenumbering [location=inmargin] \setupheadertexts [Header text] \setuphead [chapter

[NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread Dr. Dominik Klein
are not marked as an artifact. Consider this example: --- \setuptagging[state=start] \setuppagenumbering [location=, alternative=doublesided] \setupheadertexts [{Chapter~\getmarking[chapternumber]\hskip1em\getmarking[chapter]}] [{Header Right}] [{Header Left}] [{Chapter

Re: [NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread luigi scarso
. The main issues are: 1.) Elements that are not contained in the structure tree are not marked as an artifact. Consider this example: --- \setuptagging[state=start] \setuppagenumbering [location=, alternative=doublesided] \setupheadertexts [{Chapter~\getmarking

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-21 Thread John Culleton
On Mon, 20 Apr 2015 21:27:35 +0200 Pablo Rodriguez oi...@gmx.es wrote: On 04/20/2015 09:03 PM, John Culleton wrote: When I set up running heads in frontmattter like this: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \setupheadertexts [{\getmarking[title

[NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread John Culleton
When I set up running heads in frontmattter like this: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \setupheadertexts [{\getmarking[title]}] [{\pagenumber}] [{\pagenumber}] [{\Titlea}] (where \Titlea is a string containing the book title

Re: [NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 09:03 PM, John Culleton wrote: When I set up running heads in frontmattter like this: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \setupheadertexts [{\getmarking[title]}] [{\pagenumber}] [{\pagenumber}] [{\Titlea

Re: [NTG-context] Multiline header

2015-03-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... And wikified: http://wiki.contextgarden.net/Command/setupheadertexts Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038

Re: [NTG-context] Multiline header

2015-03-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
: \setupheadertexts[{abc\par def\\ ghi\crlf jkl}] \startsetups[headertext] \startframed[frame=off,align=flushleft,width=fit] abc\\ def\\ ghi\\ jkl \stopframed \stopsetups \setupheadertexts[\directsetup{headertext}] \starttext

[NTG-context] Multiline header

2015-03-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to create multiline header? This code ignores all attempts to force a new line: \setupheadertexts[{abc\par def\\ ghi\crlf jkl}] \starttext aaa \stoptext Thank you in advance. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o

Re: [NTG-context] Multiline header

2015-03-16 Thread luigi scarso
On Mon, Mar 16, 2015 at 1:54 PM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, how to create multiline header? This code ignores all attempts to force a new line: \setupheadertexts[{abc\par def\\ ghi\crlf jkl}] \starttext aaa \stoptext this works

Re: [NTG-context] Multiline header

2015-03-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
: \setupheadertexts[{abc\par def\\ ghi\crlf jkl}] \starttext aaa \stoptext this works, but probably there are better options \setupheadertexts[\ruledvbox{abc\par def\par ghi\par jkl}] \setupheadertexts[\vbox{abc\par def\par ghi\par jkl}] works, too, but a nicer solution would be appreciated

Re: [NTG-context] Multiline header

2015-03-16 Thread Wolfgang Schuster
Am 16.03.2015 um 13:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, how to create multiline header? This code ignores all attempts to force a new line: \setupheadertexts[{abc\par def\\ ghi\crlf jkl}] \startsetups[headertext] \startframed

[NTG-context] fluctuating baseline of header text

2014-12-29 Thread j. van den hoff
I observe a slight fluctuation of the baseline of text in the page header when going from one page to the next. a minimal example follows: \setupheader [style=\smallbodyfont\ss\it] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfc] \starttext \section

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread Pablo Rodriguez
: \setuppapersize[A8] \setupheader [style=\itx\ss] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfd] \starttext \dorecurse{80}{\section{Introduction} bla\page[yes]} \stoptext When the glyph 7 is involved in page number, baseline is a bit lower

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
? Hi Jörg, this sample shows the issue without zooming: thanks for confirming this. @devs: can this be considered misbehaviour (not to call it a bug ;-)) or is it somehow unavoidable? \setuppapersize[A8] \setupheader [style=\itx\ss] \setupheadertexts [section

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread Hans Hagen
[style=\itx\ss] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfd] \starttext \dorecurse{80}{\section{Introduction} bla\page[yes]} \stoptext When the glyph 7 is involved in page number, baseline is a bit lower. As you wrote, I guess

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
. it might be correct for pablo's example, but for my original example, which is equivalent to: \showframe\showglyphs \setupheader [style=\smallbodyfont\ss\it] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfc] \starttext \dorecurse{10}{\section{Introduction

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
=\smallbodyfont\ss\it] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfc] \starttext \dorecurse{97}{\section{Introduction} bla \page[yes]} \stoptext now, it also is obious that the baseline jumps occur in the page numbers themselves (caused mainly by the large extension

[NTG-context] fluctuating baseline of header text

2014-12-26 Thread j. van den hoff
I observe a slight fluctuation of the baseline of text in the page header when going from one page to the next. a minimal example follows: \setupheader [style=\smallbodyfont\ss\it] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfc] \starttext \section

[NTG-context] running titles in the first chapter page

2014-12-23 Thread Andrea Valle
page? I have this now: \setupheadertexts [Introduzione a SuperCollider][] [][{\getmarking[chapter]}] Thanks Best -a- -- Andrea Valle -- CIRMA - StudiUm Università degli

Re: [NTG-context] running titles in the first chapter page

2014-12-23 Thread Wolfgang Schuster
One main thing left: how do I remove running titles from the first chapter page? I have this now: \setupheadertexts [Introduzione a SuperCollider][] [][{\getmarking[chapter]}] \setuphead[chapter][header=empty] Wolfgang

Re: [NTG-context] White Space in Running Headers

2014-12-04 Thread Neal Lester
\setupheadertexts[\headerframe][] This is the body text. \stoptext On Wed, Dec 3, 2014 at 10:06 AM, Hans Hagen pra...@wxs.nl wrote: On 12/1/2014 9:57 PM, Neal Lester wrote: What is the best way to obtain precise control over the space between lines in a multi-line running header. I need to be able to set

[NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
][headstyle=normal, location=top, stopper={.}, width=\makeupwidth, style={\switchtobodyfont[11pt]}] \setuphead[section][style=\bfb] \setuphead[subsection][style=\bfa] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \setupheadertexts[][{\sl\getmarking[section]}][{\sl \getmarking[chapter

[NTG-context] Date format problems

2014-07-29 Thread A.J. Bonnema
): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] 5 6 \setupheadertexts[CV Guus Bonnema] 7 \setupfootertexts[\currentdate][pagenumber] 8 9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt] 10 Line 4 is the relevant

Re: [NTG-context] Date format problems

2014-07-29 Thread Herbert Voss
vi (line 4 is the relevant line): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] \mainlanguage[nl] Herbert 5 6 \setupheadertexts[CV Guus Bonnema] 7 \setupfootertexts[\currentdate][pagenumber] 8 9

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Hans Hagen
[PrintHeaderColor]{\PrintHeaderFont {\getmarking[chapter]}} \stopallmodes \stopsetups \setupheadertexts [] \setupheadertexts [\setups{Header}][][][\setups{Header}] Again, I prefer a method that can be implemented in the preamble. (MKIV only

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
]}} \stopallmodes \startallmodes[print,*appendix] \color[PrintHeaderColor]{\PrintHeaderFont {\getmarking[chapter]}} \stopallmodes \stopsetups \setupheadertexts [] \setupheadertexts [\setups{Header}][][][\setups{Header}] Again, I prefer a method that can be implemented

[NTG-context] ToC depth (and headers) per section block

2014-07-04 Thread Rik Kabel
\startallmodes[print,*appendix] \color[PrintHeaderColor]{\PrintHeaderFont {\getmarking[chapter]}} \stopallmodes \stopsetups \setupheadertexts [] \setupheadertexts [\setups{Header}][][][\setups{Header}] Again, I prefer a method that can be implemented in the preamble

[NTG-context] chapter title does not show on header.

2014-06-29 Thread john Culleton
I copied \setupheadertexts etc. straight from the wiki with one change. For the fourth parameter instead of chapter I substituted \Titlea, which contains the title of the book. That part works, But the word chapter as a parameter doesn't. Here is my pertinent code: \def\Titlea{Scribus Index

[NTG-context] Two coexisting number conversions (in headers and in texts)

2014-05-14 Thread Maggyero
Try this: \setupheadertexts[{\convertnumber{Romannumerals}{\namedheadnumber{chapter}}\quad\getmarking[chapter]}] Thanks Wolfgang! ___ If your question is of interest to others as well, please add an entry

[NTG-context] Two coexisting number conversions (in headers and in texts)

2014-05-09 Thread Maggyero
=myconversion] \setupheadertexts[{\getmarking[chapternumber]\quad\getmarking[chapter]}] \starttext \startchapter[title=My chapter] \stopchapter \startchapter[title=My chapter] \stopchapter \stoptext Best regards

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
=small] \setupheadertexts [{\getmarking[sectionnumber]~\getmarking[section]}] [pagenumber] [pagenumber] [{\getmarking[chapternumber]~\getmarking[chapter]}] \setuphead[chapter][page={yes,right},header=empty,textstyle=\tfc] \definehead [intro] [chapter] \setuphead [intro] [number

[NTG-context] Empty heads after leading whitespace

2014-05-06 Thread Maggyero
] \setuphead [section] [placehead=empty, page=yes, after={\blank[none]\blank[nowhite, disable]}] \setuphead [subsection] [placehead=yes, before={\blank[line]}, after={\blank[line]}] \setupheadertexts[section] \showframe \starttext \completecontent \dorecurse{2} {\section{My

[NTG-context] first xcell dimension to large in xtable with external figure.

2014-05-06 Thread DesdeChaves
\stopxrow \stopembeddedxtable \stopsetups \setupheadertexts[\texsetup{header:table}] \starttext \dorecurse{30}{\input knuth\par} \stoptext ___ If your question is of interest to others as well, please add an entry

[NTG-context] Empty heads after leading whitespace

2014-05-04 Thread Maggyero
] [placehead=empty, page=yes, after={\vskip 0em\blank[disable]}] \setuphead [subsection] [placehead=yes, before={\blank[line]}, after={\blank[line]}] \setupheadertexts[section] \showframe \starttext \completecontent \dorecurse{2} {\section{My section} \dorecurse

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
A more explicit minimal example of the problem: \setupheadertexts[section] \setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before={\blank[line]}, after={\blank[line]}] \starttext \showframe \section{My section} \subsection

Re: [NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Wolfgang Schuster
Am 03.05.2014 um 16:32 schrieb Maggyero maggy...@gmail.com: A more explicit minimal example of the problem: \setupheadertexts[section] \setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before={\blank[line

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
'before=\page' or 'after=\page' without more success. Here is a minimal example showing the absence of page breaks though I specified 'page=yes' (the section numbers are also mismatched but if one puts manual page breaks they match again, so it's not really a problem for me): \setupheadertexts

Re: [NTG-context] Empty heads after leading whitespace

2014-05-01 Thread Thangalin
\setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before=\empty, after={\blank[line]}] \setupheadertexts[section] \starttext \showframe \section{My section} \subsection{My subsection (whitespace before)} % Here is my problem

[NTG-context] Empty heads after leading whitespace

2014-04-30 Thread Maggyero
Hello, Here after is my problem: \setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before={\blank[line]}, after={\blank[line]}] \setupheadertexts[section] \starttext \showframe \section{My section} \subsection{My subsection

Re: [NTG-context] Markings do not appear inside section block environments

2014-04-24 Thread Hans Hagen
On 4/23/2014 5:50 PM, Maggyero wrote: Is there a solution? \definemarking[M] \marking[M]{Cool} \setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}] \starttext \startbodymatter Hello world! \stopbodymatter \stoptext \startbodymatter \marking[M]{Cool} Hello world

[NTG-context] Markings do not appear inside section block environments

2014-04-23 Thread Maggyero
Is there a solution? \definemarking[M] \marking[M]{Cool} \setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}] \starttext \startbodymatter Hello world! \stopbodymatter \stoptext ___ If your

[NTG-context] Markings do not appear inside section block environments

2014-04-21 Thread Maggyero
Hello, The following lines do display the markings: \definemarking[M] \marking[M]{Cool} \setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}] \starttext Hello world! \stoptext but if I use a section block environment they do not: \definemarking[M] \marking[M]{Cool

Re: [NTG-context] another issue with PDF bookmarks

2014-04-09 Thread Andreas Schneider
On 08.04.2014 16:20, Pablo Rodriguez wrote: Dear list, I have a sample that shows an issue with PDF bookmarks: \setupinteraction[state=start] \placebookmarks[chapter] \setupheadertexts[chapter] \starttext \completecontent \chapter{Footnote\footnote{Only

[NTG-context] another issue with PDF bookmarks

2014-04-08 Thread Pablo Rodriguez
Dear list, I have a sample that shows an issue with PDF bookmarks: \setupinteraction[state=start] \placebookmarks[chapter] \setupheadertexts[chapter] \starttext \completecontent \chapter{Footnote\footnote{Only in bookmarks}} \stoptext Sorry, but I don’t know why

Re: [NTG-context] three long-standing issues

2014-04-07 Thread Hans Hagen
[bodypart][page=no] \setupheadertexts[chapter] \setupinteraction[state=start] \placebookmarks[chapter] \starttext \chapter{\TeX} \input knuth\par \startfrontmatter \dorecurse{5}{\chapter{Front matter} \input zapf\par} \stopfrontmatter

<    1   2   3   4   5   6   7   8   9   10   >