Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts
Thanks again, Thomas. 2011/7/1 Thomas Schmitz tschm...@uni-bonn.de On Fri, 1 Jul 2011 15:33:07 +0200 Julian Becker becker.jul...@gmail.com wrote: Thank you Thomas, and sorry for not having performed a proper search priorly. Still, the thread you refered me to only provides half of what I need (if I didn't miss anything): I added the line: \setuphead[chapter][chaptersegments=chapter] which indeed got rid of the chapter number prefix. Still, the chapter numbering gets reset in each new part. How can I avoid that? Excuse me for sounding a bit grumpy, but please make complete minimal examples. I'll try to keep that in mind, next time. Julian Which means they should be compilable, see http://www.minimalbeispiel.de/mini-en.html. Here is one such example which does what you want (and this solution could also be found in the list archive): \definestructureresetset[default][0,0][1] \setuphead[part][sectionresetset=default] \setuphead[part][placehead=yes] \setuphead[chapter][sectionsegments=chapter,ownnumber=yes] \starttext \startpart[title=First part] \startchapter[title=Chapter one] \input tufte \stopchapter \startchapter[title=Chapter two] \input tufte \stopchapter \stoppart \startpart[title=Second part] \startchapter[title=Chapter three] \input tufte \stopchapter \startchapter[title=Chapter four] \input tufte \stopchapter \stoppart \stoptext Thomas ___ 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 ___ -- Julian Becker Institut für Angewandte Physik, R.123 Westfälische Wilhelms-Universität Münster Corrensstr. 2/4 48149 Münster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_bec...@uni-muenster.de Keep thy heart with all diligence; for it is the wellspring of life. ___ 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 ___
[NTG-context] Continuous chapter numbering without prefixes in documents with parts
Does anybody know how to implement a continuous numbering of chapters in documents with several parts? More specifically: how can I achieve the following numbering scheme (with unprefixed chapter numbers): I First part 1 Chapter one 2 Chapter two II Second part 3 Chapter three I tried (unsuccessfully) the following: \setuphead[part][placehead=yes] \starttext \part{First part} \chapter{Chapter one} \chapter{Chapter two} \part{Second part} \chapter{Chapter three} \stoptext The here result is something like: First part 1.1 Chapter one 1.2 Chapter two Second part 2.1 Chapter three I tried to get rid of the chapter prefixes by putting \setuphead[chapter][prefix=no] but that had no effect whatsoever. Any ideas? Julian ___ 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 ___
Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts
On Fri, 1 Jul 2011 15:02:22 +0200 Julian Becker becker.jul...@gmail.com wrote: Does anybody know how to implement a continuous numbering of chapters in documents with several parts? More specifically: how can I achieve the following numbering scheme (with unprefixed chapter numbers): I First part 1 Chapter one 2 Chapter two II Second part 3 Chapter three I tried (unsuccessfully) the following: \setuphead[part][placehead=yes] \starttext \part{First part} \chapter{Chapter one} \chapter{Chapter two} \part{Second part} \chapter{Chapter three} \stoptext The here result is something like: First part 1.1 Chapter one 1.2 Chapter two Second part 2.1 Chapter three I tried to get rid of the chapter prefixes by putting \setuphead[chapter][prefix=no] but that had no effect whatsoever. Any ideas? Yes: search the list; the same question was asked three weeks ago, together with a solution: http://archive.contextgarden.net/message/20110619.234245.2e8ee926.en.html Thomas ___ 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 ___
Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts
Thank you Thomas, and sorry for not having performed a proper search priorly. Still, the thread you refered me to only provides half of what I need (if I didn't miss anything): I added the line: \setuphead[chapter][chaptersegments=chapter] which indeed got rid of the chapter number prefix. Still, the chapter numbering gets reset in each new part. How can I avoid that? Julian 2011/7/1 Thomas Schmitz tschm...@uni-bonn.de On Fri, 1 Jul 2011 15:02:22 +0200 Julian Becker becker.jul...@gmail.com wrote: Does anybody know how to implement a continuous numbering of chapters in documents with several parts? More specifically: how can I achieve the following numbering scheme (with unprefixed chapter numbers): I First part 1 Chapter one 2 Chapter two II Second part 3 Chapter three I tried (unsuccessfully) the following: \setuphead[part][placehead=yes] \starttext \part{First part} \chapter{Chapter one} \chapter{Chapter two} \part{Second part} \chapter{Chapter three} \stoptext The here result is something like: First part 1.1 Chapter one 1.2 Chapter two Second part 2.1 Chapter three I tried to get rid of the chapter prefixes by putting \setuphead[chapter][prefix=no] but that had no effect whatsoever. Any ideas? Yes: search the list; the same question was asked three weeks ago, together with a solution: http://archive.contextgarden.net/message/20110619.234245.2e8ee926.en.html Thomas ___ 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 ___ ___ 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 ___
Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts
On Fri, 1 Jul 2011 15:33:07 +0200 Julian Becker becker.jul...@gmail.com wrote: Thank you Thomas, and sorry for not having performed a proper search priorly. Still, the thread you refered me to only provides half of what I need (if I didn't miss anything): I added the line: \setuphead[chapter][chaptersegments=chapter] which indeed got rid of the chapter number prefix. Still, the chapter numbering gets reset in each new part. How can I avoid that? Excuse me for sounding a bit grumpy, but please make complete minimal examples. Which means they should be compilable, see http://www.minimalbeispiel.de/mini-en.html. Here is one such example which does what you want (and this solution could also be found in the list archive): \definestructureresetset[default][0,0][1] \setuphead[part][sectionresetset=default] \setuphead[part][placehead=yes] \setuphead[chapter][sectionsegments=chapter,ownnumber=yes] \starttext \startpart[title=First part] \startchapter[title=Chapter one] \input tufte \stopchapter \startchapter[title=Chapter two] \input tufte \stopchapter \stoppart \startpart[title=Second part] \startchapter[title=Chapter three] \input tufte \stopchapter \startchapter[title=Chapter four] \input tufte \stopchapter \stoppart \stoptext Thomas ___ 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 ___