[NTG-context] solution to suppressing header in ToC

2020-10-06 Thread jbf
that someone wishes to offer. The problem was that \definehead   [tochead]   [title] \starttochead[title={Contents}] \setupheader[state=stop]   \placecombinedlist[content] \stoptochead was giving me headers on the second and third pages of the ToC, and my publisher did not want those headers to appear

Re: [NTG-context] defining font family for several options

2020-09-03 Thread jbf
The MWE was really just the only line affecting headers, which you suggested should be written as it is now written below, rather than the way I had it earlier (a leftover from a lack of understanding about font switches which Otared kindly explained to me). \setupheader [style

Re: [NTG-context] defining font family for several options

2020-09-03 Thread Aditya Mahajan
On Fri, 4 Sep 2020, jbf wrote: > Thanks Otared. That clears up that little item :-) > > BTW I know how to reduce font size in the headers (chapter titles) that > appear on the recto pages, which I can do with something like > \setupheader [style={\ss\switchtobodyfont[10pt]}],

Re: [NTG-context] defining font family for several options

2020-09-03 Thread jbf
Thanks Otared. That clears up that little item :-) BTW I know how to reduce font size in the headers (chapter titles) that appear on the recto pages, which I can do with something like \setupheader [style={\ss\switchtobodyfont[10pt]}], but it doesn't seem to affect the header (title

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-20 Thread Mike Cooper
the case you have to first disable the page setting for > >> these blocks because they interfere with the header/footer setting. To > >> disable the page breaks add > >> > >> \setupsectionblock > >> [frontpart,bodypart]

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
[frontpart] \setupheader[state=stop] \stopsectionblockenvironment 5. Style and position page numbers differently in the front and body matter (e.g., centered only in the front matter). Alignment only (style comes with the proper option ): \setuppagenumbering[location={bottom

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
p my formerly clean TOC page. :-) So, I've currently got: \startsectionblockenvironment[frontpart] \setupheader[state=none] \setupfooter[state=none] \stopsectionblockenvironment Do I keep this and also include your code above? Or can both things be taken care of tog

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
ontpart,bodypart] > [page=no] > > to your document setups. How does this interact with \startsectionblockenvrironment? I found this on wiki.contextgarden.net/Table_of_Contents for suppressing header/footer on TOC. I did not specify frontmatter before, but moving the header/footer cont

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
with \page[yes, blank]. > 4. Suppress headers in the front matter. This would be my educated guess: \startsectionblockenvironment[frontpart] \setupheader[state=stop] \stopsectionblockenvironment > 5. Style and position page numbers differently in the front and body >matter (e.g.

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
eMPgraphic{frameborder} draw OverlayBox withcolor blue ; \stopuseMPgraphic \defineoverlay[frameborder][\useMPgraphic{frameborder}] \setupheader[state=high] \setupfooter[state=high] \starttext \setupframed [width=4cm, height=4cm, offset=1cm] \framed{} \framed[frame=off,background=f

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
] \definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC] \setupbodyfont[mainface] \setupindenting[1.5em] \setupindenting[medium,yes] \setupwhitespace[medium] \setupinterlinespace[line=3.2ex] % Définition des têtes et pieds de page \setuphead[title][chapter] \setupheader[style={\sc

Re: [NTG-context] How to define the font size of the page header?

2019-11-06 Thread Wolfgang Schuster
: \setupheadertexts[Pagenumber][pagenumber] \setupheader[style=\bfd] I hope it helps, Pablo PS: I don’t know why \setuplayouttext doesn’t work, but you invoke some options that don’t seem to exist (http://www.pragma-ade.com/general/qrcs/setup-en.pdf#search=setuplayouttext). I forgot

Re: [NTG-context] How to define the font size of the page header?

2019-11-06 Thread Wolfgang Schuster
expected the 'style' property to be involved in this, but I can't get that to do anything either :-( How do I define the font size in a page header defined using \setuplayouttext \setupheader[style={\switchtobodyfont[8pt]}] Wolfgang

Re: [NTG-context] How to define the font size of the page header?

2019-11-06 Thread Kerry Sainsbury
can't find an answer in any > > of the many PDFs or webpages I can find. > > > > How do I define the font size of the page header? > > Hi Kerry, > > use the following: > > \setupheadertexts[Pagenumber][pagenumber] > \setupheader[style=\bfd] > > I ho

Re: [NTG-context] How to define the font size of the page header?

2019-11-05 Thread Pablo Rodriguez
ertexts[Pagenumber][pagenumber] \setupheader[style=\bfd] I hope it helps, Pablo PS: I don’t know why \setuplayouttext doesn’t work, but you invoke some options that don’t seem to exist (http://www.pragma-ade.com/general/qrcs/setup-en.pdf#search=setuplayouttext). -- h

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 11:36 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 02.08.2019 um 23:10: On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
in \setupheader make sense? If so, what choice? (as we like to limit the proliferation of key names). actually there is not really a \setupheader as these are shortcuts to a few kind of generic commands that set up properties of these areas (a matrix) on the one hand, and set the content

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
lists as page setups can be more complex than just 'letter') (But I'm willing to remove the command that I know you hate most, namely { {foo} \over {bar} }.) Do you find that keys in \setupheader make sense? If so, what choice? (as we like to limit the proliferation of key names). \setupheader

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
ly towards better solutions, even if we leave in place for reasons of backward compatibility habits that can be hard to quit. One example is \setuppapersize [page=letter,paper=letter] (sorry, and I *do* much prefer A4). This is, I believe, far superior to \setuppapersize [letter] [letter] Do

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.08.2019 um 23:10: On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do this ... \setuplayouttext   [header][text]   [lefttext=L

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do this ... \setuplayouttext [header][text] [lefttext=L, middletext=M, righttext=\doifoddpageelse{RO}{RE

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
won't work anymore. > > \setupheadertexts[{\date[d=...,m=...,y=...]}] Well, what would make sense? I would have no problem dropping/ignoring this (historic) command. How about: \setupheader [left=,leftodd=,middle=,...] \setupfooter or \setupheader [lefttext=,leftoddtext=,middletext=,...] This

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
-out left and right if they are set (but I could live with this perhaps historical behavior if we were to have (1).) (3) It is a bit messy that one must use \setupheader [] \setupheader [left] [right] *two calls* in order to have no centered header. (Again, I could live

[NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
that \setupheadertexts [{center}] NOT wipe-out left and right if they are set (but I could live with this perhaps historical behavior if we were to have (1).) (3) It is a bit messy that one must use \setupheader [] \setupheader [left] [right] *two calls* in order to have no centered header

Re: [NTG-context] mkii to mkiv - what an ancient user needs to know

2019-06-12 Thread Hans Hagen
On 6/12/2019 10:32 AM, Duncan Hothersall wrote: Thanks Hans, that's good to know. I was seeing issues which seemed to be related to setupheader statements using command=, which are in heavy use in our system because we use this to externalise styles. But it could easily have been something

Re: [NTG-context] mkii to mkiv - what an ancient user needs to know

2019-06-12 Thread Duncan Hothersall
Thanks Hans, that's good to know. I was seeing issues which seemed to be related to setupheader statements using command=, which are in heavy use in our system because we use this to externalise styles. But it could easily have been something font-related left in some of the commands. I will work

Re: [NTG-context] follow up

2019-04-02 Thread Hans Hagen
] \setuppapersize [A4] \setuplayout [   backspace=10mm,   topspace=25mm,   width=190mm,   header=0mm,   footer=0mm,   height=240mm, ] \setupheader [state=empty, no] \setupbodyfontenvironment [default] [em=italic] \definefontfamily [myfamily] [serif] [TeX Gyre Termes] \setupbodyfont [myfamily, 10pt

Re: [NTG-context] follow up

2019-04-02 Thread Floris van Manen
There seems to be some subtle differences in the pdf output when comparing the old and new context This is the context input: \usemodule [vim] \setuppapersize [A4] \setuplayout [ backspace=10mm, topspace=25mm, width=190mm, header=0mm, footer=0mm, height=240mm, ] \setupheader [state

Re: [NTG-context] tounicode mapping missing for locl-variants

2018-09-27 Thread luigi scarso
release/OTF/SourceHanSansJ.zip > >> A related bug report is > >> https://github.com/adobe-fonts/source-han-sans/issues/200 > >> > >> > >> \pdfvariable compresslevel 0 > >> \pdfvariable objcompresslevel 0 > >> \setupheader[state=stop] >

Re: [NTG-context] tounicode mapping missing for locl-variants

2018-09-27 Thread Ulrike Fischer
pping also for the other glyphs? >> >> The font can be downloaded here >> >> https://github.com/adobe-fonts/source-han-sans/blob/release/OTF/SourceHanSansJ.zip >> A related bug report is >> https://github.com/adobe-fonts/source-han-sans/issues/200 >> >> >&g

Re: [NTG-context] tounicode mapping missing for locl-variants

2018-09-27 Thread luigi scarso
-fonts/source-han-sans/blob/release/OTF/SourceHanSansJ.zip > A related bug report is > https://github.com/adobe-fonts/source-han-sans/issues/200 > > > \pdfvariable compresslevel 0 > \pdfvariable objcompresslevel 0 > \setupheader[state=stop] > > \starttext > > \font\zhs

[NTG-context] tounicode mapping missing for locl-variants

2018-09-26 Thread Ulrike Fischer
-sans/issues/200 \pdfvariable compresslevel 0 \pdfvariable objcompresslevel 0 \setupheader[state=stop] \starttext \font\zhs= {file:SourceHanSans-Regular.otf:mode=node;script=hani;language=ZHS;+locl} \zhs 刃令毒骨縣誤 \font\zht= {file:SourceHanSans-Regular.otf:mode=node;script=hani;language=ZHT;+locl} \z

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
he rubric header only on the first > page of a chapter (article). > > Which approach would you suggest? > In my experience, it’s hard to find the right place for \setupheader(texts) > so that it affects the right page(s). I tried something like: \def\SetPart{% \setlayer

[NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
? In my experience, it’s hard to find the right place for \setupheader(texts) so that it affects the right page(s). Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD ___ If your

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Alan Braslau
commands > anymore for colors which are loaded from the color files. > > > You can fix fix when you change the color setting to > > \color[cornflowerbluein]{\userpagenumber} > > or even better you set the color with > > \setupheader[color=cornflowerbluein] T

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wolfgang Schuster
ecrlf \setups {texta} {}{}{} \secondoftwoarguments #1#2->#2 \page_layouts_process_element_single_indeed ...#4} \fi \endgroup ... l.39 \completecontent[partnumber=no] You’re using the command \cornflowerbluein in your set

Re: [NTG-context] how to get simplefonts to work as intended?

2017-09-22 Thread Floris van Manen
6 footer=20mm, 7 height=210mm] 8 9 \setupheader[state=empty,no] 10 % \setuppagenumbering[stop] 11 \setupbodyfontenvironment[default][em=italic] 12 % \usemodule[simplefonts][size=12pt] 13 >> \setmainfont[TeX Gyre Termes] 14 \setsansfont[TeX Gyre Heros] 15

Re: [NTG-context] Empty page to suppress header (background) frame

2017-09-04 Thread Procházka Lukáš Ing .
Hello, done here (on the bottom of the page): http://wiki.contextgarden.net/Command/setupheader But the result doesn't show the goal of the example: - header is not shown at all, including its blue "underline", - user cannot check the emptiness of the second page. Mayb

Re: [NTG-context] Empty page to suppress header (background) frame

2017-09-01 Thread Pablo Rodriguez
On 09/01/2017 09:31 AM, Procházka Lukáš Ing. wrote: > Hello Pablo, > > you inspired me: > > > \setuplayout[header=5mm,headerdistance=5mm,] > \setupheader >[text] >[before={\startframed[frame=off,bottomframe=on,framecolor=blue,]}, > after={\stopframe

Re: [NTG-context] Empty page to suppress header (background) frame

2017-09-01 Thread Procházka Lukáš Ing .
Hello Pablo, you inspired me: \setuplayout[header=5mm,headerdistance=5mm,] \setupheader [text] [before={\startframed[frame=off,bottomframe=on,framecolor=blue,]}, after={\stopframed}, ] \setupheadertexts[left][right] \starttext Page 1 \page[empty,blank] Page 2 \stoptext

Re: [NTG-context] Empty page to suppress header (background) frame

2017-08-31 Thread Procházka Lukáš Ing .
ayout[header=5mm,headerdistance=5mm,] %~ \setupheader[text][after=\vskip 4pt\hrule] \setupheader[text][after={\blackrule[ width=\textwidth, height=1em]}] \setupheadertexts[left][right] \starttext Page 1 \page[empty,blank] Page 2 \stoptext I hope

Re: [NTG-context] Empty page to suppress header (background) frame

2017-08-30 Thread Pablo Rodriguez
only a rule in the header. If you only need a rule, this is the way to go: \setuplayout[header=5mm,headerdistance=5mm,] %~ \setupheader[text][after=\vskip 4pt\hrule] \setupheader[text][after={\blackrule[ width=\textwidth, height=1em]}] \setupheadertexts[lef

Re: [NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
Hi Pablo, Thank you so much ! Fabrice %\setupbackgrounds[header][text][bottomframe=on] \setuphead [chapter] [header=empty] \setupheader[text][after=\vskip 1pt \hrule] \starttext \starttitle[title={\bf My Book}] \stoptitle \placelist[chapter,section][alternative=c] \stoptext 2017-08

Re: [NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Pablo Rodriguez
not want the rule in those pages. Play with the options: %~ \setupheader[text][after=\vskip 3pt \hrule] \setupheader[text][after={\blackrule[ width=\textwidth, height=1em]}] It is wiser (not only to solve the problem), that you write a \title before \placelist. I hope it helps, Pablo

Re: [NTG-context] About \setupbackgrounds (again)

2017-08-09 Thread Fabrice Couvreur
, >topspace=\lineheight] > > \setuplayout > [header=\zeropoint, >headerdistance=3\lineheight, >backspace=2cm, >width=middle, >topspace=2cm] > > \definelayout[1][noheader] > > \setupbackgrounds[header,state=st

Re: [NTG-context] About \setupbackgrounds (again)

2017-08-09 Thread Pablo Rodriguez
[1][noheader] \setupbackgrounds[header,state=start][text][frame=off, bottomframe=on,framecolor=gray,rulethickness=2pt] \setupheader[style=bold] \setuppagenumbering [alternative=, location=footer] \defineframed[headerframed] [frame=off,

[NTG-context] About \setupbackgrounds (again)

2017-08-09 Thread Fabrice Couvreur
,rulethickness=2pt] \setupheader[style=bold] \setuppagenumbering [alternative=, location=footer] \defineframed[headerframed] [frame=off, location=depth, bottomoffset=\lineheight, align=middle, width=fit

[NTG-context] About \setupbackgrounds

2017-07-31 Thread Fabrice Couvreur
\lineheight, headerdistance=\lineheight, backspace=2cm, width=middle, topspace=2cm] \setupbackgrounds[header][text][frame=off, bottomframe=on] \setupheader[style=bold] \defineframed[headerframed] [frame=off, align=middle, width=fit] \setupheadertexts

Re: [NTG-context] header hanging into margin + rule

2017-02-19 Thread Csikos Bela
ke the header hang: \setuppapersize[A4] \setuplayout[backspace=3.5cm,width=14cm] \setuppagenumbering[alternative=doublesided,location=] \setupheader[text][after=\hrule] \setupheadertexts[] \setupheadertexts[\setups{text a}][][\setups{text b}][] \startsetups[text a] \hskip-1.5cm \framed[

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

2016-12-22 Thread Andrea Valle
and have it italic. >> Sorry, should be easy, but I tested a bit and can’t have it working by >> setting \setupheader. > \starttext > > \setupheader > [style=\bfb, > color=darkblue, > leftstyle=bold, > rightstyle=bolditalic, > leftcolor=darkgreen, >

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

2016-12-22 Thread Hans Hagen
On 12/22/2016 1:22 AM, Andrea Valle wrote: Dear, I want to reduce the dimension of only the header text and have it italic. Sorry, should be easy, but I tested a bit and can’t have it working by setting \setupheader. \starttext \setupheader [style=\bfb, color=darkblue, leftstyle=bold

[NTG-context] header text style and dimension

2016-12-21 Thread Andrea Valle
Dear, I want to reduce the dimension of only the header text and have it italic. Sorry, should be easy, but I tested a bit and can’t have it working by setting \setupheader. Thanks a lot -a- -- Andrea Valle

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] Go to odd page, use an empty page eventually?

2016-07-20 Thread Procházka Lukáš Ing .
= \page[odd] You need "\page[yes,header,footer,odd]". \starttext Page 1\page[yes,header,footer,odd] %Page 2 Page 3\page Page 4\page[yes,header,footer,odd] Page 5 \stoptext The keywords have the following effect: - yes: force a page break - header: sets \setupheader[s

Re: [NTG-context] Go to odd page, use an empty page eventually?

2016-07-20 Thread Wolfgang Schuster
Page 3\page Page 4\page[yes,header,footer,odd] Page 5 \stoptext The keywords have the following effect: - yes: force a page break - header: sets \setupheader[state=emty] on the following page - footer: sets \setupfooter[state=empty] on the following page - odd: forces another pag

[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] 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
the headertexts-contents for a chapter, yes 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

[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
as it would move the position of the page number of the even page on top of the chapter name. So here is the solution derived from your answer, which works for my scenario. \setupheader[margin][ style=\righttoleft, state=normal ] \setupheadertexts [{\righttolef

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

2016-01-19 Thread Mohammad Hossein Bateni
hat'll fix a bunch of other problems, as > well > > I did enable \setupdirections[bidi=global] and it did not help. > > Here is how it was solved. I could not use your solution as it would move > the position of the page number of the even page on top of the chapter name. > > So

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

2016-01-19 Thread Wolfgang Schuster
bicdecimals\pagenumber}] [{\arabicdecimals\pagenumber}] [{\righttoleft\getmarking[chapter]}] You can separate the settings and the content: \setupheader[style=\righttoleft] \setupheadertexts [chapter][pagenumber] [pagenumber] [chapter] \setuppagenumbering [alternative=doublesided, style=\le

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

2016-01-18 Thread Wolfgang Schuster
Ibn Saeed <mailto:ibnsa...@gmail.com> 18. Januar 2016 um 08:15 By using right \setupmargindata [margintext] [align=r2l] and \setupalign[r2l] The margin arabic text appears correctly But the arabic texts in the header is still the same. \setupheader[style=\righttoleft] Wo

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

2016-01-18 Thread Ibn Saeed
Wolfgang Schuster gmail.com> writes: > > \setupheader[style=\righttoleft] > Wolfgang > Thank you very much. This solves the issue of the arabic text in header as well. ___ If your question

[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 Ibn Saeed
It seems to be the issue with \setupheader[style=\righttoleft, state=normal] The style is righttoleft to accomodate the proper direction for arabic text. But it messes up the page number direction

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

2016-01-18 Thread Mohammad Hossein Bateni
=on,method=default,fences=no] \stopsetups \setupheader[setups=setup:bidi] On Mon, Jan 18, 2016 at 4:11 AM, Ibn Saeed <ibnsa...@gmail.com> wrote: > Wolfgang Schuster gmail.com> writes: > > > > > \setupheader[style=\righttoleft] > > Wolfgang > > > > T

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

2016-01-18 Thread Mohammad Hossein Bateni
; that'll fix a bunch of other problems, as well. On Mon, Jan 18, 2016 at 1:14 PM, Ibn Saeed <ibnsa...@gmail.com> wrote: > It seems to be the issue with > > \setupheader[style=\righttoleft, state=normal] > > The style is righttoleft to accomodate the proper direct

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

2016-01-18 Thread Ibn Saeed
the page number of the even page on top of the chapter name. So here is the solution derived from your answer, which works for my scenario. \setupheader[margin][ style=\righttoleft, state=normal ] \setupheadertexts [{\righttoleft\getmarking[

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

2016-01-18 Thread Hans Hagen
On 1/18/2016 7:14 PM, Ibn Saeed wrote: It seems to be the issue with \setupheader[style=\righttoleft, state=normal] The style is righttoleft to accomodate the proper direction for arabic text. But it messes up the page number direction. you can try leftstyle instead (there's also

[NTG-context] setupheader[state=high|empty]

2015-10-12 Thread Henning Hraban Ramm
Hi, if I try \setupheader[state=high] (or empty), it works only for the first chapter; i.e. at the start of second and every following chapter, the header text is visible. Is this intentional? I can work around this with \setuphead[chapter][before={\setupheader[state=empty]}] Greetlings

Re: [NTG-context] setupheader[state=high|empty]

2015-10-12 Thread Henning Hraban Ramm
Am 2015-10-12 um 20:39 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> Henning Hraban Ramm 12. Oktober 2015 um 11:58 >> Hi, >> if I try \setupheader[state=high] (or empty), it works only for the first >> chapter; i.e. at the start of second and every

Re: [NTG-context] setupheader[state=high|empty]

2015-10-12 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 12. Oktober 2015 um 11:58 Hi, if I try \setupheader[state=high] (or empty), it works only for the first chapter; i.e. at the start of second and every following chapter, the header text is visible. Is this intentional? Yes. I can work

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
\startsetups[s:footer] \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx] \setupfooter[style=\tx] \setupfootertexts[\setups{s:footer}][][][\setups{s:footer}] \startchapter

Re: [NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-24 Thread Hans Hagen
] % ToC \stopcontentspagemakeup and that indeed worked when ToC spanned only one page. Since page breaking does not work inside `makeup', I had ti give it up. Now I try the following: \start \setupheader[state={stop}] \setupfooter[state={stop}] \setuppagenumbering[state={stop}] \setuplayout

Re: [NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-24 Thread Alexander Shukaev
\setupheader[state={stop}] \setupfooter[state={stop}] \setuppagenumbering[state={stop}] \setuplayout[% footer={\zeropoint}, header={\zeropoint}, ] \setuplayout[% footerdistance={\zeropoint}, headerdistance={\zeropoint}, ] % ToC \stop Why after `\stop' previous setups

[NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-23 Thread Alexander Shukaev
spanned only one page. Since page breaking does not work inside `makeup', I had ti give it up. Now I try the following: \start \setupheader[state={stop}] \setupfooter[state={stop}] \setuppagenumbering[state={stop}] \setuplayout[% footer={\zeropoint}, header={\zeropoint}, ] \setuplayout

[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
\showglyphs your header is too small so what you want only works if the heights of all characters are the same which is not the case here solutions: - use a proper height for the header - package the header text in a box and set the height of that box \setuppapersize[A8] \setupheader

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
coming back to this again, if one uses old-style numerals for the page numbering the problem is aggravated: \showframe\showglyphs \definefontfeature [default] [default] [onum=yes] \definefontfamily [mainface] [serif] [garamondno8] \setupbodyfont[mainface,12pt] \setupheader [style

[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] No number on first page

2014-11-26 Thread Richard Sherman
\setupheader[1][header=0mm] which is not what is intended, and also does not result in page numbers on pages 2, 3, ..., and \noheaderandfooterlines which is also not successful, and doesn't seem like it should be, and \definelayout[1][header=0mm] \definelayout[2][reset] which doesn't work either

Re: [NTG-context] No number on first page

2014-11-26 Thread Wolfgang Schuster
how to accomplish the same thing in ConTeXt. I have seen the suggestions \setupheader[1][header=0mm] which is not what is intended, and also does not result in page numbers on pages 2, 3, ..., and \noheaderandfooterlines which is also not successful, and doesn't seem like it should

Re: [NTG-context] pagenumber suppression howto?

2014-07-21 Thread Meer, H. van der
one element you can use the \setupheader or \setupfooter command. I guess no. That was just the thing that did not worked out, because the \noheaderandfooterlines did the effect of the \setupheader vanish. What \noheaderandfooterlines does is to call the following two setups: - \setupheader

[NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
My goal is pages without header info at the top and text plus a pagenumber on the bottom. This can be accomplished by: \setupheader[state=stop] \setupfooter[text][before=\hairline,style=small,location=left,strut=yes] \setupfootertexts[some text][pagenumber] I want the first page without

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
Am 20.07.2014 um 12:03 schrieb Meer, H. van der h.vanderm...@uva.nl: My goal is pages without header info at the top and text plus a pagenumber on the bottom. This can be accomplished by: \setupheader[state=stop] \setupfooter[text][before=\hairline,style=small,location=left,strut=yes

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
macros \noheaderlines and \nofooterlines Is that a viable idea too? When you want disable only one element you can use the \setupheader or \setupfooter command. Wolfgang ___ If your question is of interest

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
in a future beta. I also realised that the effect wanted can be obtained by dividing the single \noheaderandfooterlines into two additional macros \noheaderlines and \nofooterlines Is that a viable idea too? When you want disable only one element you can use the \setupheader or \setupfooter command

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Wolfgang Schuster
the \setupheader or \setupfooter command. I guess no. That was just the thing that did not worked out, because the \noheaderandfooterlines did the effect of the \setupheader vanish. What \noheaderandfooterlines does is to call the following two setups: - \setupheader[state=empty

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

2014-06-29 Thread john Culleton
Feature } ... \setuppagenumbering[alternative=doublesided,location=] \setupheader[leftstyle=bold,rightstyle=bold] \setupheadertexts [{\getmarking[chapter]}] [{page \pagenumber}] [{page \pagenumber}] [{\Titlea}] \setuppagenumbering[location=] ... \setuppagenumbering[command=\bf

[NTG-context] Handling MathML in ConTEXt

2014-05-07 Thread Ananth Narayanan
Dear Sir, I am new to ConTEXt. I am using the below mentioned coding in a TEX file and try to compile it in ConTEXt to get a .DVI output. But I am getting PDF output only %=\setupbodyfont[times]\usemodule[mathml]\starttext\setupheader [state=stop]\startbuffermath xmlns=http

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
Dear list, it seems as if \setupnumber is ignored or I am using the wrong way to reset the page numbering. How to start the page numbering at 1 in the bodymatter? ---minimal exampe--- \setuppapersize[A5] \setuppagenumbering[start=start,alternative=doublesided,location=] \setupheader[style

Re: [NTG-context] Handling MathML in ConTEXt

2014-05-07 Thread Mojca Miklavec
%= \setupbodyfont[times] \usemodule[mathml] \starttext \setupheader [state=stop] \startbuffer math xmlns=http://www.w3c.org/mathml; version=2.0 mcolumn mn123/mn mrow mn456/mn mo+/mo /mrow mline spacing=000+/ mn579/mn /mcolumn/math \stopbuffer \processxmlbuffer \stoptext %== Could you please

[NTG-context] Handling MathML in ConTEXt

2014-05-06 Thread Ananth Narayanan
Dear Sir, I am new to ConTEXt. I am using the below mentioned coding in a TEX file and try to compile it in ConTEXt to get a .DVI output. But I am getting PDF output only %=\setupbodyfont[times]\usemodule[mathml]\starttext\setupheader [state=stop]\startbuffermath xmlns=http

  1   2   3   4   >