* How to not reset page numbers with a new part? @ 2008-02-12 17:35 Bart Wise 2008-02-12 20:47 ` Willi Egger 0 siblings, 1 reply; 5+ messages in thread From: Bart Wise @ 2008-02-12 17:35 UTC (permalink / raw) To: ntg-context When I define a new part to my document (\part{Part One}), the page numbers always get reset to 0. How do I prevent this? Thanks, Bart ___________________________________________________________________________________ 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] 5+ messages in thread
* Re: How to not reset page numbers with a new part? 2008-02-12 17:35 How to not reset page numbers with a new part? Bart Wise @ 2008-02-12 20:47 ` Willi Egger 2008-02-12 22:33 ` Bart Wise 0 siblings, 1 reply; 5+ messages in thread From: Willi Egger @ 2008-02-12 20:47 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Bart, \setuppagenumbering[way=bytext] is your friend. Willi On Feb 12, 2008, at 6:35 PM, Bart Wise wrote: > When I define a new part to my document (\part{Part One}), the page > numbers > always get reset to 0. How do I prevent this? > > Thanks, > Bart > ______________________________________________________________________ > _____________ > 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 > ______________________________________________________________________ > _____________ ___________________________________________________________________________________ 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] 5+ messages in thread
* Re: How to not reset page numbers with a new part? 2008-02-12 20:47 ` Willi Egger @ 2008-02-12 22:33 ` Bart Wise 2008-02-13 10:12 ` Wolfgang Schuster 0 siblings, 1 reply; 5+ messages in thread From: Bart Wise @ 2008-02-12 22:33 UTC (permalink / raw) To: mailing list for ConTeXt users Willi, I tried that and it did do what I wanted. My book has frontmatter and bodymatter. The page numbering will start at 1 on the title page, displayed in roman numerals. And then when the bodymatter is entered, the numbering should get reset to 1. However, when I did a "way=bytext", I could not reset the numbering to 1 when I was in the bodymatter section. Any more hints? Just for clarity sake, here's some sample code of what I'm trying to do: \enablemode[doublesided] \setuppagenumbering[ location={footer,middle}, alternative=doublesided, partnumber=no, style=\em\tfx, way=bytext] \starttext \startfrontmatter \setuppagenumbering[conversion=romannumerals] \startstandardmakeup[headerstate=none] Half-Title Here \stopstandardmakeup \startstandardmakeup[doublesided=no] Title Here \stopstandardmakeup \startstandardmakeup[page=no] Copyright here \stopstandardmakeup \chapter{Preface} \dorecurse{10}{\input tufte } \stopfrontmatter \startbodymatter \setuppagenumbering[conversion=] \setuppagenumbering[number=1] \part{Part One} \chapter{first} \dorecurse{10}{\input tufte } \chapter{second} \dorecurse{10}{\input davis } \part{Part Two} \chapter{third} \dorecurse{10}{\input zapf } \chapter{fourth} \dorecurse{10}{\input bryson } \stopbodymatter \stoptext Bart On Tuesday February 12 2008, Willi Egger wrote: > Hi Bart, > > \setuppagenumbering[way=bytext] > > is your friend. > > Willi > > On Feb 12, 2008, at 6:35 PM, Bart Wise wrote: > > When I define a new part to my document (\part{Part One}), the page > > numbers > > always get reset to 0. How do I prevent this? > > > > Thanks, > > Bart > > ______________________________________________________________________ > > _____________ > > 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 > > ______________________________________________________________________ > > _____________ > > ___________________________________________________________________________ >________ 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 > ___________________________________________________________________________ >________ ___________________________________________________________________________________ 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] 5+ messages in thread
* Re: How to not reset page numbers with a new part? 2008-02-12 22:33 ` Bart Wise @ 2008-02-13 10:12 ` Wolfgang Schuster 2008-02-13 12:53 ` Bart Wise 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2008-02-13 10:12 UTC (permalink / raw) To: mailing list for ConTeXt users On Feb 12, 2008 11:33 PM, Bart Wise <bntgcontext@wiseguysweb.com> wrote: > Willi, > > I tried that and it did do what I wanted. My book has frontmatter and > bodymatter. The page numbering will start at 1 on the title page, displayed > in roman numerals. And then when the bodymatter is entered, the numbering > should get reset to 1. However, when I did a "way=bytext", I could not reset > the numbering to 1 when I was in the bodymatter section. > > Any more hints? > > Just for clarity sake, here's some sample code of what I'm trying to do: > > \enablemode[doublesided] > > \setuppagenumbering[ > location={footer,middle}, > alternative=doublesided, > partnumber=no, > style=\em\tfx, > way=bytext] > > \starttext > > \startfrontmatter > \setuppagenumbering[conversion=romannumerals] > > \startstandardmakeup[headerstate=none] > Half-Title Here > \stopstandardmakeup > > \startstandardmakeup[doublesided=no] > Title Here > \stopstandardmakeup > > \startstandardmakeup[page=no] > Copyright here > \stopstandardmakeup > > \chapter{Preface} \dorecurse{10}{\input tufte } > \stopfrontmatter > > \startbodymatter > \setuppagenumbering[conversion=] > \setuppagenumbering[number=1] \setuppagenumber[number=1] > \part{Part One} > \chapter{first} \dorecurse{10}{\input tufte } > \chapter{second} \dorecurse{10}{\input davis } > \part{Part Two} > \chapter{third} \dorecurse{10}{\input zapf } > \chapter{fourth} \dorecurse{10}{\input bryson } > \stopbodymatter > > \stoptext Wolfgang ___________________________________________________________________________________ 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] 5+ messages in thread
* Re: How to not reset page numbers with a new part? 2008-02-13 10:12 ` Wolfgang Schuster @ 2008-02-13 12:53 ` Bart Wise 0 siblings, 0 replies; 5+ messages in thread From: Bart Wise @ 2008-02-13 12:53 UTC (permalink / raw) To: ntg-context Thanks Wolfgang for spotting my error! Bart On Wed February 13 2008 3:12:22 am Wolfgang Schuster wrote: > On Feb 12, 2008 11:33 PM, Bart Wise <bntgcontext@wiseguysweb.com> wrote: > > Willi, > > > > I tried that and it did do what I wanted. My book has frontmatter and > > bodymatter. The page numbering will start at 1 on the title page, > > displayed in roman numerals. And then when the bodymatter is entered, > > the numbering should get reset to 1. However, when I did a "way=bytext", > > I could not reset the numbering to 1 when I was in the bodymatter > > section. > > > > Any more hints? > > > > Just for clarity sake, here's some sample code of what I'm trying to do: > > > > \enablemode[doublesided] > > > > \setuppagenumbering[ > > location={footer,middle}, > > alternative=doublesided, > > partnumber=no, > > style=\em\tfx, > > way=bytext] > > > > \starttext > > > > \startfrontmatter > > \setuppagenumbering[conversion=romannumerals] > > > > \startstandardmakeup[headerstate=none] > > Half-Title Here > > \stopstandardmakeup > > > > \startstandardmakeup[doublesided=no] > > Title Here > > \stopstandardmakeup > > > > \startstandardmakeup[page=no] > > Copyright here > > \stopstandardmakeup > > > > \chapter{Preface} \dorecurse{10}{\input tufte } > > \stopfrontmatter > > > > \startbodymatter > > \setuppagenumbering[conversion=] > > \setuppagenumbering[number=1] > > \setuppagenumber[number=1] > > > \part{Part One} > > \chapter{first} \dorecurse{10}{\input tufte } > > \chapter{second} \dorecurse{10}{\input davis } > > \part{Part Two} > > \chapter{third} \dorecurse{10}{\input zapf } > > \chapter{fourth} \dorecurse{10}{\input bryson } > > \stopbodymatter > > > > \stoptext > > Wolfgang > ___________________________________________________________________________ >________ 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 > ___________________________________________________________________________ >________ ___________________________________________________________________________________ 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] 5+ messages in thread
end of thread, other threads:[~2008-02-13 12:53 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-02-12 17:35 How to not reset page numbers with a new part? Bart Wise 2008-02-12 20:47 ` Willi Egger 2008-02-12 22:33 ` Bart Wise 2008-02-13 10:12 ` Wolfgang Schuster 2008-02-13 12:53 ` Bart Wise
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).