[NTG-context] About a pagination

2024-07-23 Thread Fabrice Couvreur
ght] [\useMPgraphic{acframeright}] \defineframed [ACFRAMERIGHT] [frame=off, width=fit, height=1ex, background=acframeright, location=hanging, ] \setupheader[style=\tfx] \startsetups [header:leftpage] \setuplabeltext [fr] [chapter=\tfx Chapitre] \ACFRAMERIGHT{}

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
[] [\directsetup{header:rightpage}] [\directsetup{header:leftpage}] [] \setupfootertexts [] [\directsetup{footer:rightpage}] [\directsetup{footer:leftpage}] [] \setupheader [strut=no] \setupfooter [strut=no] \setuplayout [grid=yes, header=\bodyfontsize, headerdistance=

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Utilisation de plusieurs langues dans un même texte avec \ConTeXt][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
page, I would like to have the text run all the way to the bottom with \vfill where normally the footer would be. You need the two settings \setupheader[state=high] \setupfooter[state=high] to get rid of the header and footer on the page where the commands take effect. The nice thing is

Re: [NTG-context] Use section custom value in a header text.

2022-12-21 Thread Pawel Urbanski via ntg-context
lefttext / middletext / righttext keys in \setupheader and \setupfooter commands. I would understand htem as keys that can be assigned some value for their respective slots. I tried to put some texts manually, but there was no effect - or maybe there is some trick to that. It was just a bit of explorat

[NTG-context] \startcolumnset ... \stopcolumnset is working.

2022-09-14 Thread Jeong Dal via ntg-context
aphic \defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}] \definecolumnset [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, backg

[NTG-context] Any way to configure \setuphead to run a setups on the stop command?

2022-07-26 Thread Bruce Horrocks via ntg-context
nsure the headers on the last text-bearing page of the chapter are shown) and then clearing the header temporarily using: \stopChapter\page\setupheader[state=empty] This works so I wondered if there was a way of adding it to \stopChapter ? I can edit each individual chapter file easily enough s

[NTG-context] ugly bug

2022-06-01 Thread Steffen Wolfrum via ntg-context
[palatino,9.5pt]\setupinterlinespace[13pt] \setuppagenumbering [alternative=doublesided,location=] \setupheader[strut=yes] \setupheadertexts[text][][\blackrule] \definepapersize[stw][width=17cm,height=24cm] \setuppapersize[stw][stw] \setuplayout [width=122mm, backspace=18mm,topspace

[NTG-context] spooky jumping headerline

2022-05-25 Thread Steffen Wolfrum via ntg-context
Hi, the \blackrule (in my real project this is the running title) on page 1 is about 1mm higher than on page 2. Why? Best, Steffen \setupbodyfont[palatino,9.5pt]\setupinterlinespace[13pt] \setuppagenumbering [alternative=doublesided,location=] \setupheader[strut=yes] \setupheadertexts[text

Re: [NTG-context] help with facing page image

2022-03-07 Thread Bruce Horrocks via ntg-context
. % Then use a setup to prepare the page for your image (you may only need \page[left] but also remember you need to stop page headers/footers etc from the previous chapter) \startsetups ChapterPrefaceSetup \page[left] \setupheader[state=empty] % etc \stopsetups % If the page setup is com

Re: [NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Hans Hagen via ntg-context
erif at 10pt] \startsetups ChapterSetup \setupheadertexts [{\stylePageHeader {My Book}}] [{\stylePageHeader{\structureuservariable{author}}}] [{\stylePageHeader{\getmarking[Chapter]}}] [{\stylePageHeader {My Book}}] \setupheader[state=em

[NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Bruce Horrocks via ntg-context
[{\stylePageHeader {My Book}}] [{\stylePageHeader{\structureuservariable{author}}}] [{\stylePageHeader{\getmarking[Chapter]}}] [{\stylePageHeader {My Book}}] \setupheader[state=empty] \stopsetups \definehead [Chapter] [chapter] \setuphead[Chapter] [ page=right,

[NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-16 Thread Jeong Dal via ntg-context
set [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, background=headerBox, align=lohi]%topframe= \setupbackgrounds[footer][text][frame=

[NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
set [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, background=headerBox, align=lohi]%topframe= \setupbackgrounds[footer][text][frame=

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
preface with a quote %%% \startsetups SectionLHSPageSetup \page[left] \setupheader[state=empty] \start \startalignment[left,nothyphenated] \startnarrower[4*left] \tf\it \stopsetups \definestartstop [SectionLHSPage] [ before={\setups{SectionLHSPageSetup}}, after={\stopnarrower

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
> \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] > \page[right] > \blank[force,2*big] > \stopsetups Change chapter:before to be as follows (changes marked with %%) \s

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
cify a different display style using setups. The definition for > \Part is below, \Chapter is very similar so I haven't included it. > > %% Double rule above part title > \startsetups PartSetup > \setupheader[state=empty] > \par > \startMPcode >draw (0,2mm)--(Text

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
’ pages for each chapter? > - how do I get parts to number with Roman numerals? I define my own versions of \part and \chapter (called \Part and \Chapter) and specify a different display style using setups. The definition for \Part is below, \Chapter is very similar so I haven't included it

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
following pages) you have to options.     1. Check the current page when to header is placed which can be done with \doif{\pagenumber}{1}{...}     2. Disable the header on the first page (\setupheader[state=high]) and place your own title as a regular element in the running text. A case where

[NTG-context] RE : Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Joseph
2021-02-12 18:48 Joseph schrieb am 13.02.2021 um 12:35:Dear list It seems that  \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers).Hi Joseph

Re: [NTG-context] Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Wolfgang Schuster
Joseph schrieb am 13.02.2021 um 12:35: Dear list It seems that \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers). Hi Joseph

[NTG-context] Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Joseph
Dear list It seems that  \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers). Will try to work out a MWE if needed.Thanks Best regards Joseph

Re: [NTG-context] running head for TOC

2021-01-19 Thread jbf
[tochead] [title] \starttochead[title={Table of Contents}] \setupheader[state=start] \placecombinedlist[content] \stoptochead And I use the following to set up the headertexts for the book as a whole: \setupheadertexts [{\hfill\getmarking[chapter]\hfill}][] %recto pages [{\hf

Re: [NTG-context] running head for TOC

2021-01-19 Thread Henning Hraban Ramm
gt; > \definehead > [tochead] > [title] > > \starttochead[title={Table of Contents}] > \setupheader[state=start] > \placecombinedlist[content] > \stoptochead > > And I use the following to set up the headertexts for the book as a whole: > > \setupheadertexts &

[NTG-context] running head for TOC

2021-01-18 Thread jbf
I have a very long Table of Contents (runs across five pages) and the author would like the running head on recto pages for this to be 'Table of Contents'. I am using the following to create the TOC head: \definehead   [tochead]   [title] \starttochead[title={Table of Contents}] \s

[NTG-context] solution to suppressing header in ToC

2020-10-06 Thread jbf
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 o

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

2020-08-20 Thread Mike Cooper
gt;> > >> When this is 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 >

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

2020-08-11 Thread Wolfgang Schuster
nment[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={b

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

2020-08-11 Thread Wolfgang Schuster
into the environment file messed up 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?

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

2020-08-11 Thread Mike Cooper
etupsectionblock > [frontpart,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

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
artuseMPgraphic{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,backgro

[NTG-context] Chapters, sections, usw

2020-02-24 Thread Jean-Pierre Delange
talic] \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

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

2019-11-06 Thread Wolfgang Schuster
owing: \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 f

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

2019-11-06 Thread Wolfgang Schuster
x \stoptext I half 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=

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

2019-11-06 Thread Kerry Sainsbury
for the constant interruptions, but I 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] >

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

2019-11-05 Thread Pablo Rodriguez
pheadertexts[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).

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 this

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
\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 with a

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
ppapersize actually takes 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 pr

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=,...]

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 with

[NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
\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 some

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

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
ts/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
ly 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{% \setlayerframed[background]% [y=10mm

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

2018-02-20 Thread Henning Hraban Ramm
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
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] This change in behavior was (partiall

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

2017-12-06 Thread Wolfgang Schuster
ertinerb' is not found using lookup 'file' fonts > defining > unknown font 'linlibertinerb', loading aborted fonts > defining > unable to define 'linlibertinerb' as 'libertine-12pt-rm-bf-0-c-0' tex error > tex error on line 418 in f

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

2017-09-22 Thread Floris van Manen
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 \setmonofont[TeX Gyre Cursor] 16

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. Ma

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 .
stance=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 it helps, Pablo

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
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
space=\lineheight] > > \setuplayout > [header=\zeropoint, >headerdistance=3\lineheight, >backspace=2cm, >width=middle, >topspace=2cm] > > \definelayout[1][noheader] > > \setupbackgrounds[header,state=start][t

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
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, > rightco

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
bodyfontenvironment[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[sty

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
indenting[1.5em] \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]}] \setupfoot

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

2016-07-20 Thread Procházka Lukáš Ing .
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[state=emty] on the f

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 pagebr

[NTG-context] French and Ancient Greek

2016-07-11 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[][][][© J.-P. Del

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

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

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

2016-06-05 Thread Hans Hagen
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
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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
rabicdecimals\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=\

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

2016-01-19 Thread Mohammad Hossein Bateni
h 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 here is t

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

2016-01-19 Thread Wolfgang Schuster
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 [{\righttoleft\getm

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

2016-01-18 Thread Ibn Saeed
n 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 [{\righttoleft\getmar

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

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 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.

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

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

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. ___ If

[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] 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 is

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] setupheader[state=high|empty]

2015-10-12 Thread Henning Hraban Ramm
Am 2015-10-12 um 20:39 schrieb Wolfgang Schuster : >> 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 following chapter, the header >

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 aroun

[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

  1   2   3   4   5   >