ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions around my page design
@ 2015-08-03  8:47 Fabrice Couvreur
  2015-08-03  9:34 ` Hans Hagen
  2015-08-03  9:58 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Couvreur @ 2015-08-03  8:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1015 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2003 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions around my page design
  2015-08-03  8:47 Questions around my page design Fabrice Couvreur
@ 2015-08-03  9:34 ` Hans Hagen
  2015-08-03  9:58 ` Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2015-08-03  9:34 UTC (permalink / raw)
  To: ntg-context

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions around my page design
  2015-08-03  8:47 Questions around my page design Fabrice Couvreur
  2015-08-03  9:34 ` Hans Hagen
@ 2015-08-03  9:58 ` Wolfgang Schuster
  2015-08-03 11:19   ` Fabrice
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2015-08-03  9:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 994 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 3112 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions around my page design
  2015-08-03  9:58 ` Wolfgang Schuster
@ 2015-08-03 11:19   ` Fabrice
  2015-08-03 13:08     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Fabrice @ 2015-08-03 11:19 UTC (permalink / raw)
  To: ntg-context

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Questions around my page design
  2015-08-03 11:19   ` Fabrice
@ 2015-08-03 13:08     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2015-08-03 13:08 UTC (permalink / raw)
  To: ntg-context

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-03 13:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03  8:47 Questions around my page design Fabrice Couvreur
2015-08-03  9:34 ` Hans Hagen
2015-08-03  9:58 ` Wolfgang Schuster
2015-08-03 11:19   ` Fabrice
2015-08-03 13:08     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).