Hi Angel-Luis,
looks like you want a LaTeX-like table of contents. I achieved what I think you want to achieve as well, using the following commands:
% setup table of contents
\setupcombinedlist[content][alternative=c,level=section]
% margins, widths and distances are setup such that section lines line up with chapter text (change to your liking!)
\setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle=yes,before=\blank]
\setuplist[section][margin=8mm,width=6mm,distance=2mm]
% place the following in the relevant location
\completecontent
Hope this ends up looking like you want it to!
Maarten-Jan
----- Original Message ----
From: Ángel Luis García Fernández
To: ntg-context@ntg.nl
Sent: Friday, October 27, 2006 10:16:21 PM
Subject: [NTG-context] Page number alignment in \placecontent
Hi all,
sorry for bothering you with this, but I have a problem: I like this style for
my Index:
\setuplist[chapter][style=bold]
\placecontent[level=section,
alternative=c,
criterium=all,
aligntitle=yes]
But then the section page numbers are placed in the right margin of the page
instead of in the text area as the chapter page numbers are. (if you want a
sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 KB)
How can I manage to keep all the index structure while moving the section page
numbers to the left?
Ángel-Luis
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context