Re: [NTG-context] TOC: Continous chapter numbering

2007-11-13 Thread Wolfgang Schuster
2007/11/13, Jeff Smith [EMAIL PROTECTED]:
 Hi again all,

 I'm plunging deep into ConTeXt nowadays so I have a few more questions
 in store, and here's one below. But I have to repeat, ConTeXt is an
 amazing thing for which I'm truly grateful. I'm currently using it to
 typeset a complex etymological dictionary at my job, and my doctoral
 dissertation as well, and I have absolutely *no* idea what I would do
 without it (what, MS Word? perish the thought!)!

 So, right now I'm exploring the table of content possibilities. I was
 wondering if it was possible to use a continuous chapter numbering
 throughout a whole document, across several parts. So, for example,
 I'd have chapters 1, 2, 3, 4 in part 1, and chapters 5, 6, 7, 8 in
 part 2, and so on.

 Thanks again!
 Jeff

You asked one of ConTeXt's horribles configurations (hidden and only
documented in old list questions and answers)

% continue page number over parts and remove part number
%\setuppagenumbering[way=bytext,partnumber=no]

% continue chapter numberind over parts
\setuphead[part][resetnumber=no]

% make a part header
%\setuphead[part][placehead=yes]

\starttext
\dorecurse{4}
  {\part{Part}
   \dorecurse{4}
 {\chapter{Chapter}}}
\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
___


Re: [NTG-context] TOC: Continous chapter numbering

2007-11-13 Thread luigi scarso
On Nov 13, 2007 10:51 AM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 2007/11/13, Jeff Smith [EMAIL PROTECTED]:
  Hi again all,
 
  I'm plunging deep into ConTeXt nowadays so I have a few more questions

Give also a  look at core-sec.tex
(try texexec --pdf --modules core-sec)
-- 
luigi
___
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
___


[NTG-context] TOC: Continous chapter numbering

2007-11-12 Thread Jeff Smith
Hi again all,

I'm plunging deep into ConTeXt nowadays so I have a few more questions
in store, and here's one below. But I have to repeat, ConTeXt is an
amazing thing for which I'm truly grateful. I'm currently using it to
typeset a complex etymological dictionary at my job, and my doctoral
dissertation as well, and I have absolutely *no* idea what I would do
without it (what, MS Word? perish the thought!)!

So, right now I'm exploring the table of content possibilities. I was
wondering if it was possible to use a continuous chapter numbering
throughout a whole document, across several parts. So, for example,
I'd have chapters 1, 2, 3, 4 in part 1, and chapters 5, 6, 7, 8 in
part 2, and so on.

Thanks again!
Jeff
___
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
___