AW: [NTG-context] TOC indenting

2005-03-18 Thread Michael Fuchs
Hi David!

See the following example for a TOC where sections and
subsections are indented. 

Regards

Michael 


Example:
--

\setuplist
[chapter]
[before=\blank,style=bold]
\setuplist
[section]
[margin=2em, width=3em]
\setuplist
[subsection]
[margin=4em, width=3em,distance=1em]
\setupcombinedlist
[content]
[alternative=c, aligntitle=no, width=2em]

\starttext

\placecontent
[level=subsection,criterium=all]

\chapter{One}

\section{One- one}
\subsection{One- two}

\section{Two- one}
\subsection{Two- two}

\chapter{Two}

\section{One- one}
\subsection{One- two}

\section{Two- one}
\subsection{Two- two}

\stoptext
 



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag von David Arnold
 Gesendet: Donnerstag, 17. März 2005 23:54
 An: Context Mailing List List
 Betreff: [NTG-context] TOC indenting
 
 All,
 
 In my table of contents, I have:
 
 \definecombinedlist
 [content][section,subsection]
 
 \setupcombinedlist
 [content]
 [alternative=c,aligntitle=yes,width=2.5em]
 
 
 How do I set up my TOC so that subsections are indented slightly more 
 than sections in which they are contained?
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: AW: [NTG-context] TOC indenting

2005-03-18 Thread David Arnold
Michael,
Perfect!
Thanks.
On Mar 18, 2005, at 1:28 AM, Michael Fuchs wrote:
Hi David!
See the following example for a TOC where sections and
subsections are indented.
Regards
Michael
Example:
--
\setuplist
[chapter]
[before=\blank,style=bold]
\setuplist
[section]
[margin=2em, width=3em]
\setuplist
[subsection]
[margin=4em, width=3em,distance=1em]
\setupcombinedlist
[content]
[alternative=c, aligntitle=no, width=2em]
\starttext
\placecontent
[level=subsection,criterium=all]
\chapter{One}
\section{One- one}
\subsection{One- two}
\section{Two- one}
\subsection{Two- two}
\chapter{Two}
\section{One- one}
\subsection{One- two}
\section{Two- one}
\subsection{Two- two}
\stoptext


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von David Arnold
Gesendet: Donnerstag, 17. März 2005 23:54
An: Context Mailing List List
Betreff: [NTG-context] TOC indenting
All,
In my table of contents, I have:
\definecombinedlist
[content][section,subsection]
\setupcombinedlist
[content]
[alternative=c,aligntitle=yes,width=2.5em]
How do I set up my TOC so that subsections are indented slightly more
than sections in which they are contained?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context