Dear syndicate, Three questions (test file attached): 1. A pagenumbering problem: I have \setuppagenumbering[way=bytext] Good: The page numbers are continuous and do not restart with each new part; Bad: The page numbers are still prefaced by the part number, e.g. 1-24, 1-25, 2-26, 2-27 etc. I want, rather, just 24, 25, 26, 27 etc.... 2. I want the chapter numerals to ignore the part, so I get Part 2, Chapter 3, Chapter 4. 3. I would to keep "Part 1" "Part 2" in the TOC, but no numeral at all in the main text. I got rid of the "Part" label in the main text, but not the numeral. incrementnumber=no works but then the TOC loses the "Part"s altogether. Thnx in advance Best Idris ==================================================== % output=pdf interface=en \setuphead[part][number=yes, bodypartlabel={}, page=right, continue=yes, ownnumber=no, incrementnumber=yes, placehead=yes] \setuppagenumbering[way=bytext] \definecombinedlist[summary][part,chapter][textstyle=\tf] \starttext \placesummary \part{Test} \chapter{Knuth} \dorecurse{7}{\input knuth\par } \chapter{More Knuth} \dorecurse{7}{\input knuth\par } \part{Test} \chapter{Knuth} \dorecurse{7}{\input knuth\par } \chapter{More Knuth} \dorecurse{7}{\input knuth\par } \stoptext ==================================================== -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Dear cabal,
Got no answer yet, resending-)
Best
Idris
------- Forwarded message -------
From: "Idris Samawi Hamid"
Idris Samawi Hamid wrote:
Dear cabal,
Got no answer yet, resending-)
It sounds to me like you only need the 'appearance' of Parts to be present, instead of the 'actual' divisions. If so, you could consider defining your own '\part' macro that does a \writetolist. You can do that with something as simple as this: \newcount\mypart \def\part#1{\page[right] \advance\mypart 1 \expanded{\writetolist[part]{\the\mypart}{#1}}} Cheers, Taco
On Mon, 16 Jan 2006 11:14:20 -0700, Taco Hoekwater
Idris Samawi Hamid wrote:
Dear cabal, Got no answer yet, resending-)
It sounds to me like you only need the 'appearance' of Parts to be present, instead of the 'actual' divisions.
If so, you could consider defining your own '\part' macro that does a \writetolist. You can do that with something as simple as this:
\newcount\mypart \def\part#1{\page[right] \advance\mypart 1 \expanded{\writetolist[part]{\the\mypart}{#1}}}
Thank you for the tip. I really need to practice low-level TeX coding more, ConTeXt has made me lazy... Are there any manuals for with clear examples explaining the proper use of \expanded, \unexpanded, etc.? :-))) All the best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Hi, Idris Samawi Hamid wrote:
Are there any manuals
no, not really. The low-level TeX is in the TeXbook, of course, but the context API macros are not documented yet outside the source.
... clear examples
the context source contains lots of examples of API use. :-)
explaining the proper use of \expanded, \unexpanded, etc.?
Hopefully, eventually there will be a manual. This is the "API project" Hans, Patrick and I sometimes talk about. It is somehow rather hard to get it off the ground. :-( Taco
Idris Samawi Hamid wrote:
Dear cabal,
Got no answer yet, resending-)
Best Idris
------- Forwarded message ------- From: "Idris Samawi Hamid"
To: ntg-context@ntg.nl Cc: Subject: [NTG-context] Pagenumbers and labels Date: Fri, 13 Jan 2006 14:58:48 -0700 Dear syndicate,
Three questions (test file attached):
1. A pagenumbering problem: I have
\setuppagenumbering[way=bytext]
doesn't partnumber=no work?
On Mon, 16 Jan 2006 14:44:36 -0700, Hans Hagen
partnumber=no
Ahh! Now I understand what the italics `sectionnumber' key means-) \setuppagenumbering[way=bytext,partnumber=no] In any case, it does not work-( Yes, the pagenumbering works but the TOC still has the part numbers. I also tried \definecombinedlist[summary][part,chapter][textstyle=\tf,partnumber=no] but still, partnumerals in the TOC. Is this a bug? Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
participants (3)
-
Hans Hagen
-
Idris Samawi Hamid
-
Taco Hoekwater