* Section numbering in MkIV
@ 2011-08-09 18:29 Jean-Philippe Rey
2011-08-09 18:41 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Philippe Rey @ 2011-08-09 18:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi everybody,
I need to use the following numbering scheme for the different section levels.
I Chapter
I.A Section
I.A.1 Sub-section
a Sub-sub-section
No problem with MkII, the following example gives the desired result.
\setupsection[section-2][conversion=Romannumerals]
\setupsection[section-3][conversion=Character]
\setupsection[section-4][conversion=numbers]
\setupsection[section-5][conversion=character,previousnumber=no]
\starttext
\chapter{Chapter}
\section{Section}
\subsection{Sub-section}
\subsubsection{Sub-sub-section}
Paragraph.
\stoptext
The same file with MkIV (ver: 2011.05.18 18:04 MKIV) gives
I Chapter
A.A Section
A.A.A Sub-section
A.A.A.A Sub-sub-section
What am I doing wrong?
--
Jean-Philippe Rey Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr 92295 Châtenay-Malabry Cedex - France
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Section numbering in MkIV
2011-08-09 18:29 Section numbering in MkIV Jean-Philippe Rey
@ 2011-08-09 18:41 ` Wolfgang Schuster
2011-08-10 8:47 ` Jean-Philippe Rey
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2011-08-09 18:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.08.2011 um 20:29 schrieb Jean-Philippe Rey:
> Hi everybody,
>
> I need to use the following numbering scheme for the different section levels.
>
> I Chapter
> I.A Section
> I.A.1 Sub-section
> a Sub-sub-section
>
> No problem with MkII, the following example gives the desired result.
>
> \setupsection[section-2][conversion=Romannumerals]
> \setupsection[section-3][conversion=Character]
> \setupsection[section-4][conversion=numbers]
> \setupsection[section-5][conversion=character,previousnumber=no]
>
> \starttext
> \chapter{Chapter}
> \section{Section}
> \subsection{Sub-section}
> \subsubsection{Sub-sub-section}
>
> Paragraph.
> \stoptext
>
>
> The same file with MkIV (ver: 2011.05.18 18:04 MKIV) gives
>
> I Chapter
> A.A Section
> A.A.A Sub-section
> A.A.A.A Sub-sub-section
>
>
> What am I doing wrong?
\definestructureconversionset[jean][numbers,Romannumerals,Character,numbers,character][numbers]
\setuphead[sectionconversionset=jean]
\setuphead[subsubsection][sectionsegments=subsubsection]
\starttext
\chapter{Chapter}
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Section numbering in MkIV
2011-08-09 18:41 ` Wolfgang Schuster
@ 2011-08-10 8:47 ` Jean-Philippe Rey
2011-08-10 17:26 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Philippe Rey @ 2011-08-10 8:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Le 9 août 2011 à 20:41, Wolfgang Schuster a écrit :
>
> Am 09.08.2011 um 20:29 schrieb Jean-Philippe Rey:
>
>> Hi everybody,
>>
>> I need to use the following numbering scheme for the different section levels.
>>
>> I Chapter
>> I.A Section
>> I.A.1 Sub-section
>> a Sub-sub-section
>>
>
>
> \definestructureconversionset[jean][numbers,Romannumerals,Character,numbers,character][numbers]
>
> \setuphead[sectionconversionset=jean]
> \setuphead[subsubsection][sectionsegments=subsubsection]
>
> \starttext
> \chapter{Chapter}
> \section{Section}
> \subsection{Subsection}
> \subsubsection{Subsubsection}
> \stoptext
With \setupheads[sectionconversionset=jean] everything works as expected. Thank you very much.
Is there a documentation on these new commands and options? I couldn't find anything on the wiki. Especially, What does the third parameter of \definestructureconversionset mean?
--
Jean-Philippe Rey Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr 92295 Châtenay-Malabry Cedex - France
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-10 17:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-09 18:29 Section numbering in MkIV Jean-Philippe Rey
2011-08-09 18:41 ` Wolfgang Schuster
2011-08-10 8:47 ` Jean-Philippe Rey
2011-08-10 17:26 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).