Questions around my page design
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/23fd5fd7c9582675882a5336e1927a44.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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