* How to disable page numbers in empty pages
@ 2009-05-22 9:42 Khaled Hosny
2009-05-22 10:04 ` Alan Stone
0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2009-05-22 9:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]
How can I disable page numbers (or header/footer) in empty pages, as
page 2 in the following example:
\setuppagenumbering[alternative=doublesided]
\starttext
\chapter{one}
\input tufte
\chapter{two}
\input tufte
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable page numbers in empty pages
2009-05-22 9:42 How to disable page numbers in empty pages Khaled Hosny
@ 2009-05-22 10:04 ` Alan Stone
2009-05-25 21:43 ` Khaled Hosny
0 siblings, 1 reply; 6+ messages in thread
From: Alan Stone @ 2009-05-22 10:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]
On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny <khaledhosny@eglug.org>wrote:
> How can I disable page numbers (or header/footer) in empty pages, as
> page 2 in the following example:
>
> \setuppagenumbering[alternative=doublesided]
> \starttext
> \chapter{one}
> \input tufte
> \chapter{two}
> \input tufte
> \stoptext
>
> Regards,
> Khaled
http://www.ntg.nl/pipermail/ntg-context/2008/030594.html
<http://www.ntg.nl/pipermail/ntg-context/2008/030594.html>Alan
> --
> Khaled Hosny
> Arabic localiser and member of Arabeyes.org team
> Free font developer
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkoWc5oACgkQRoqITGOuyPIJ6wCfbz74HEvxBgVSywJehwLPuLeR
> hRUAn05ZvLNTqOqWcwVzemJsSSJz0k/A
> =VnNd
> -----END PGP SIGNATURE-----
[-- Attachment #1.2: Type: text/html, Size: 1355 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable page numbers in empty pages
2009-05-22 10:04 ` Alan Stone
@ 2009-05-25 21:43 ` Khaled Hosny
2009-05-26 8:53 ` Alan Stone
0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2009-05-25 21:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1414 bytes --]
On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote:
> On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny <khaledhosny@eglug.org> wrote:
>
> How can I disable page numbers (or header/footer) in empty pages, as
> page 2 in the following example:
>
> \setuppagenumbering[alternative=doublesided]
> \starttext
> \chapter{one}
> \input tufte
> \chapter{two}
> \input tufte
> \stoptext
>
> Regards,
> Khaled
>
>
> http://www.ntg.nl/pipermail/ntg-context/2008/030594.html
>
> Alan
Thanks for the tip, but I've a slightly more complex layout and it might
need a more generalized solution, see:
\definepagebreak
[mychapterpagebreak]
[yes,header,footer,right]
\setuphead
[chapter]
[page=mychapterpagebreak]
\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
\starttext
\chapter {testA} \dorecurse{10}{\input tufte }
\startstandardmakeup \dorecurse{4}{\input tufte }
\stopstandardmakeup
\chapter {testB} \dorecurse{10}{\input tufte }
\stoptext
The page after first chapter and before the markup is empty and thus
shouldn't have any headers/footers, but it isn't.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable page numbers in empty pages
2009-05-25 21:43 ` Khaled Hosny
@ 2009-05-26 8:53 ` Alan Stone
2009-05-26 13:12 ` Khaled Hosny
0 siblings, 1 reply; 6+ messages in thread
From: Alan Stone @ 2009-05-26 8:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2171 bytes --]
On Mon, May 25, 2009 at 11:43 PM, Khaled Hosny <khaledhosny@eglug.org>wrote:
> On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote:
> > On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny <khaledhosny@eglug.org>
> wrote:
> >
> > How can I disable page numbers (or header/footer) in empty pages, as
> > page 2 in the following example:
> >
> > \setuppagenumbering[alternative=doublesided]
> > \starttext
> > \chapter{one}
> > \input tufte
> > \chapter{two}
> > \input tufte
> > \stoptext
> >
> > Regards,
> > Khaled
> >
> >
> > http://www.ntg.nl/pipermail/ntg-context/2008/030594.html
> >
> > Alan
>
> Thanks for the tip, but I've a slightly more complex layout and it might
> need a more generalized solution, see:
>
> \definepagebreak
> [mychapterpagebreak]
> [yes,header,footer,right]
>
> \setuphead
> [chapter]
> [page=mychapterpagebreak]
>
>
> \setuppagenumbering[alternative=doublesided,location={header,margin}]
> \setupheadertexts[{My special headertext}]
> \setupfootertexts[This is a text in the footer]
>
> \starttext
> \chapter {testA} \dorecurse{10}{\input tufte }
> \startstandardmakeup \dorecurse{4}{\input tufte }
> \stopstandardmakeup
> \chapter {testB} \dorecurse{10}{\input tufte }
> \stoptext
>
> The page after first chapter and before the markup is empty and thus
> shouldn't have any headers/footers, but it isn't.
>
> Regards,
> Khaled
>
> --
> Khaled Hosny
> Arabic localiser and member of Arabeyes.org team
> Free font developer
>
\setupsectionblock[bodypart][page=yes]
\setupmakeup[standard][page=empty]
\definepagebreak
[mychapterpagebreak]
[yes,header,footer,right]
\setuphead
[chapter]
[page=mychapterpagebreak]
\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
\starttext
\startbodymatter
\chapter {testA}
\dorecurse{10}{\input tufte }
\stopbodymatter
\startstandardmakeup
\dorecurse{4}{\input tufte }
\stopstandardmakeup
\startbodymatter
\chapter {testB}
\dorecurse{10}{\input tufte }
\stopbodymatter
\stoptext
--
Alan
[-- Attachment #1.2: Type: text/html, Size: 3090 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable page numbers in empty pages
2009-05-26 8:53 ` Alan Stone
@ 2009-05-26 13:12 ` Khaled Hosny
2009-05-26 13:47 ` Alan Stone
0 siblings, 1 reply; 6+ messages in thread
From: Khaled Hosny @ 2009-05-26 13:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1042 bytes --]
On Tue, May 26, 2009 at 10:53:30AM +0200, Alan Stone wrote:
> \setupsectionblock[bodypart][page=yes]
> \setupmakeup[standard][page=empty]
>
> \definepagebreak
> [mychapterpagebreak]
> [yes,header,footer,right]
>
> \setuphead
> [chapter]
> [page=mychapterpagebreak]
>
> \setuppagenumbering[alternative=doublesided,location={header,margin}]
>
> \setupheadertexts[{My special headertext}]
> \setupfootertexts[This is a text in the footer]
>
> \starttext
>
> \startbodymatter
> \chapter {testA}
> \dorecurse{10}{\input tufte }
> \stopbodymatter
>
> \startstandardmakeup
> \dorecurse{4}{\input tufte }
> \stopstandardmakeup
>
> \startbodymatter
> \chapter {testB}
> \dorecurse{10}{\input tufte }
> \stopbodymatter
>
> \stoptext
Thanks alot, this was very helpfull. (BTW, the mypagebreak part isn't
really needed).
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to disable page numbers in empty pages
2009-05-26 13:12 ` Khaled Hosny
@ 2009-05-26 13:47 ` Alan Stone
0 siblings, 0 replies; 6+ messages in thread
From: Alan Stone @ 2009-05-26 13:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1212 bytes --]
On Tue, May 26, 2009 at 3:12 PM, Khaled Hosny <khaledhosny@eglug.org> wrote:
> On Tue, May 26, 2009 at 10:53:30AM +0200, Alan Stone wrote:
> > \setupsectionblock[bodypart][page=yes]
> > \setupmakeup[standard][page=empty]
> >
> > \definepagebreak
> > [mychapterpagebreak]
> > [yes,header,footer,right]
> >
> > \setuphead
> > [chapter]
> > [page=mychapterpagebreak]
> >
> > \setuppagenumbering[alternative=doublesided,location={header,margin}]
> >
> > \setupheadertexts[{My special headertext}]
> > \setupfootertexts[This is a text in the footer]
> >
> > \starttext
> >
> > \startbodymatter
> > \chapter {testA}
> > \dorecurse{10}{\input tufte }
> > \stopbodymatter
> >
> > \startstandardmakeup
> > \dorecurse{4}{\input tufte }
> > \stopstandardmakeup
> >
> > \startbodymatter
> > \chapter {testB}
> > \dorecurse{10}{\input tufte }
> > \stopbodymatter
> >
> > \stoptext
>
> Thanks alot, this was very helpfull. (BTW, the mypagebreak part isn't
> really needed).
It depends whether you put more than one \chapter in each bodymatter part(s)
or not.
Alan
>
>
> Regards,
> Khaled
>
>
>
> --
> Khaled Hosny
> Arabic localiser and member of Arabeyes.org team
> Free font developer
>
[-- Attachment #1.2: Type: text/html, Size: 1965 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-05-26 13:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-22 9:42 How to disable page numbers in empty pages Khaled Hosny
2009-05-22 10:04 ` Alan Stone
2009-05-25 21:43 ` Khaled Hosny
2009-05-26 8:53 ` Alan Stone
2009-05-26 13:12 ` Khaled Hosny
2009-05-26 13:47 ` Alan Stone
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).