Questions around my page design
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] \setupheadertexts[{\getmarking[chapter]}] \setupfootertexts[{\getmarking[section]}] \starttext \startchapter [title=First] \startsection [title=One] \dorecurse{5}{\input ward} \stopsection \stopchapter \startchapter [title=Second] \startsection [title=One] \dorecurse{5}{\input ward} \stopsection \startsection [title=Two] \dorecurse{5}{\input ward} \stopsection \stopchapter \startchapter [title=Third] \startsection [title=One] \dorecurse{5}{\input ward} \stopsection \startsection [title=Two] \dorecurse{5}{\input ward} \stopsection \startsection [title=Three] \dorecurse{5}{\input ward} \stopsection \stopchapter \stoptext
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 of the current page. Thanks for your help, Fabrice
\setuppagenumbering [location=]
\setupheadertexts [margin] [][\hfill\pagenumber\hfill]
\setupheadertexts[{\getmarking[chapter]}]
\setupfootertexts[{\getmarking[section]}]
\starttext
\startchapter [title=First]
\startsection [title=One] \dorecurse{5}{\input ward} \stopsection
\stopchapter
\startchapter [title=Second]
\startsection [title=One] \dorecurse{5}{\input ward} \stopsection
\startsection [title=Two] \dorecurse{5}{\input ward} \stopsection
\stopchapter
\startchapter [title=Third]
\startsection [title=One] \dorecurse{5}{\input ward} \stopsection
\startsection [title=Two] \dorecurse{5}{\input ward} \stopsection
\startsection [title=Three] \dorecurse{5}{\input ward} \stopsection
\stopchapter
\stoptext
___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Fabrice Couvreur mailto:fabrice1.couvreur@gmail.com 3. August 2015 10:47 Hi, I wish the numérotion pages is reversed at each new page: right left right ... ConTeXt documents are by default single sided with no distinction between left and right pages, when you want left/right pages you have to enable them with the \setuppagenumbering command.
With \setuppagenumbvering[alternative=doublesided] you get a doublesided document with a mirrored layout on the left page. When you use \setuppagenumbering[alternative={singlesided,doublesided}] you get also a doublesided document but the margins on the left page is the same as right page margins. You should be aware as well that chapters starts on a right page in a doublesided document but you can change this with \setuphead[chapter][page=yes].
I wish the bottom of the title page of each section of the current page. Do you want this?
\setupfootertexts[{\getmarking[section][top]}] Wolfgang
Hi Hans and Wolfgang, "Numbering" and not "Numérotion" ! :-[ I already noticed that there are two suggestions for my first request, where the power of Context ! Sorry, but in my example, I do not see the difference between \setuppagenumbering [alternative = {singlesided, doublesided}] and \setuppagenumbering [alternative = doublesided]. The \setuphead [chapter] [page = yes] therefore avoids having empty pages? The \setupfootertexts [{\getmarking [section] [top]}] does not respond to my request,but I'm not clear enough! In fact, I would make the same presentation as document http://www.pragma-ade.nl/general/manuals/cont-enp.pdf. Thank you very much, Fabrice
On 8/3/2015 1:19 PM, Fabrice wrote:
Hi Hans and Wolfgang,
"Numbering" and not "Numérotion" ! :-[
I already noticed that there are two suggestions for my first request, where the power of Context !
Sorry, but in my example, I do not see the difference between \setuppagenumbering [alternative = {singlesided, doublesided}] and \setuppagenumbering [alternative = doublesided].
The \setuphead [chapter] [page = yes] therefore avoids having empty pages?
don't use spaces before/after the =
The \setupfootertexts [{\getmarking [section] [top]}] does not respond to my request,but I'm not clear enough! In fact, I would make the same presentation as document http://www.pragma-ade.nl/general/manuals/cont-enp.pdf. Thank you very much, Fabrice
___________________________________________________________________________________
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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Fabrice
-
Fabrice Couvreur
-
Hans Hagen
-
Wolfgang Schuster