Am 23.05.2011 um 04:33 schrieb Mathieu DUPONT:

> 
> Hi,
> 
> I am trying to obtain the following result :
> 
> CHAPITRE I Title of chapter
> 1.1   Title of section
> 1.1.1 Title of subsection
> 
> In other words, I need my chapter numbers to be in roman number, but not in 
> the numbers of the sections and subsections (1.1.1 and not I.1.1).
> 
> Here is the base code :
> 
> \setuplist [chapter] [label=yes,style={\blank[0cm]}]
> \setupsection[section-2][conversion=Romannumerals]
> \setuplabeltext[chapter=CHAPITRE~]
> 
> \starttext
> 
> \placecontent
> 
> \chapter{Title of chapter}
> \section{Title of section}
> \subsection{Title of subsection}
> 
> \stoptext 
> 
> which results in :
> 
> CHAPITRE I Title of chapter
> I.1   Title of section
> I.1.1 Title of subsection
> 
> Any idea ?
> All help is greatly appreciated.

MkIV:

\setuplabeltext[chapter=CHAPITRE~]
\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]
\setuphead[chapter][sectionconversionset=mathieu]
\setuplist[chapter][label=yes,width=7em]

\starttext

\placecontent

\chapter{Title of chapter}
\section{Title of section}
\subsection{Title of subsection}

\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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to