ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Roman numbers for chapters in chapter lines but not in section lines
@ 2011-05-23  2:33 Mathieu DUPONT
  2011-05-23 11:02 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu DUPONT @ 2011-05-23  2:33 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 741 bytes --]



Hi,
I am trying to obtain the following result :
CHAPITRE I Title of chapter1.1	Title of section1.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 chapterI.1	Title of sectionI.1.1	Title of subsection
Any idea ?All help is greatly appreciated.
Thanks a bunch,

Mathieu

 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 3784 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Roman numbers for chapters in chapter lines but not in section lines
  2011-05-23  2:33 Roman numbers for chapters in chapter lines but not in section lines Mathieu DUPONT
@ 2011-05-23 11:02 ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-05-23 11:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1225 bytes --]


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



[-- Attachment #1.2: Type: text/html, Size: 5796 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Roman numbers for chapters in chapter lines but not in section lines
  2011-05-23 18:07 ` Wolfgang Schuster
@ 2011-05-23 19:22   ` Mathieu DUPONT
  0 siblings, 0 replies; 5+ messages in thread
From: Mathieu DUPONT @ 2011-05-23 19:22 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 1500 bytes --]



Ok, me too, now that MkIV is correctly installed with TexShop...
Thank you very much Wolfgang !



Mathieu



From: schuster.wolfgang@googlemail.com
Date: Mon, 23 May 2011 20:07:25 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Roman numbers for chapters in chapter lines but	not in section lines




Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT:This code :
\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
results in :
CHAPITRE I Title of chapterI.I	Title of sectionI.I.I	Title of subsection
Now everything is in Roman !
Not for me, i tested my example and got the output you described in your mail.
ConTeXt  ver: 2011.05.18 22:26 MKIV  fmt: 2011.5.23  int: english/english
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
___________________________________________________________________________________ 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4159 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Roman numbers for chapters in chapter lines but not in section lines
  2011-05-23 18:02 Mathieu DUPONT
@ 2011-05-23 18:07 ` Wolfgang Schuster
  2011-05-23 19:22   ` Mathieu DUPONT
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-05-23 18:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 755 bytes --]


Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT:

> This code :
> 
> \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
> 
> results in :
> 
> CHAPITRE I Title of chapter
> I.I	Title of section
> I.I.I	Title of subsection
> 
> Now everything is in Roman !

Not for me, i tested my example and got the output you described in your mail.

ConTeXt  ver: 2011.05.18 22:26 MKIV  fmt: 2011.5.23  int: english/english

Wolfgang



[-- Attachment #1.2: Type: text/html, Size: 3151 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

* Re: Roman numbers for chapters in chapter lines but not in section lines
@ 2011-05-23 18:02 Mathieu DUPONT
  2011-05-23 18:07 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu DUPONT @ 2011-05-23 18:02 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 479 bytes --]



This code :
\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
results in :
CHAPITRE I Title of chapterI.I	Title of sectionI.I.I	Title of subsection
Now everything is in Roman !

Mathieu

 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1829 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2011-05-23 19:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23  2:33 Roman numbers for chapters in chapter lines but not in section lines Mathieu DUPONT
2011-05-23 11:02 ` Wolfgang Schuster
2011-05-23 18:02 Mathieu DUPONT
2011-05-23 18:07 ` Wolfgang Schuster
2011-05-23 19:22   ` Mathieu DUPONT

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).