Hi Hans, how I can i put symbols at both sides of a header, with sectionstopper i can get only on at the right side of the number but not at the left and tricks like numbercommand or setuplabeltext do not affect references and the content entries. In the following example i want the chapter number to be printed as 1) Chaptertitle -> sectionsegments=2:2 and the section number as (1) Sectiontitle -> sectionsegments=3:3 but a reference in the test should show the complete number in the form '1)(1)' and the same should appear in the table of contents. Best regards, Wolfgang \setuphead[chapter][sectionsegments=2:2,sectionstopper=)] \setuphead[section][sectionsegments=3:3,sectionstopper=),numbercommand=(] % How can I print the section number as '1) (1)' in the toc? %\setuplist[section][sectionsegments=2:3,numbercommand=(] \setupreferencestructureprefix[default][prefixsegments=2:100] % uncomment to get the correct result for references in the text, brr %\definestructureseparatorset [default][,(][] \starttext \completecontent \chapter[sec:knuth]{Knuth} \input knuth \section[sec:ward]{Ward} \input ward \page see \in{section}[sec:ward] at \at{page}[sec:ward] \stoptext
On 7-1-2010 22:07, Wolfgang Schuster wrote:
Hi Hans,
how I can i put symbols at both sides of a header, with sectionstopper i can get only on at the right side of the number but not at the left and tricks like numbercommand or setuplabeltext do not affect references and the content entries.
hm, maybe we need a sectionstarter then? needs a bit of thinking ... chinese has left/right symbols and we also need to think of arabic ans so let's discuss it next week (not that much time this weekend) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster