Hi there, I have been searching in the documentation (ConTeXt Reference Manual, ConTeXt: An Excursion and the wiki) and I don't know how to implement a basic feature: different title numbers. I want to have chapters numbered with Roman numbers and sections with capital letters and that none of them contains any other number than its own (no part or/and chapter in chapter or section titles). How can I achieve that? I guess this is basic functionality, but I'm not able to find it in the documentation. Thanks for your help, Pablo -- http://www.ousia.tk
Am 29.10.2011 um 22:02 schrieb Pablo Rodríguez:
Hi there,
I have been searching in the documentation (ConTeXt Reference Manual, ConTeXt: An Excursion and the wiki) and I don't know how to implement a basic feature: different title numbers.
I want to have chapters numbered with Roman numbers and sections with capital letters and that none of them contains any other number than its own (no part or/and chapter in chapter or section titles).
How can I achieve that? I guess this is basic functionality, but I'm not able to find it in the documentation.
\definestructureconversionset[pablo][n,R,A][n] \setuphead[sectionconversionset=pablo] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \starttext \chapter{Chapter} \section{Section} \stoptext Wolfgang
On 10/30/2011 08:36 AM, Wolfgang Schuster wrote:
[...] \definestructureconversionset[pablo][n,R,A][n]
\setuphead[sectionconversionset=pablo]
\setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section]
\starttext
\chapter{Chapter}
\section{Section}
\stoptext
Many thanks, Wolfgang, for your help. I'm afraid that the code only works partially. Compiling it, gives the following result: 1 Chapter 1 Section And it should read: I Chapter A Section I'm using ConTeXt from TeXLive 2011. Thanks again, Pablo -- http://www.ousia.tk
Am 30.10.2011 um 09:08 schrieb Pablo Rodríguez:
On 10/30/2011 08:36 AM, Wolfgang Schuster wrote:
[...] \definestructureconversionset[pablo][n,R,A][n]
\setuphead[sectionconversionset=pablo]
\setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section]
\starttext
\chapter{Chapter}
\section{Section}
\stoptext
Many thanks, Wolfgang, for your help.
I'm afraid that the code only works partially. Compiling it, gives the following result:
1 Chapter 1 Section
And it should read:
I Chapter A Section
I'm using ConTeXt from TeXLive 2011.
Try “\setupheads[sectionconversionset=pablo]” Wolfgang
On 10/30/2011 01:19 PM, Wolfgang Schuster wrote:
Am 30.10.2011 um 09:08 schrieb Pablo Rodríguez:
Many thanks, Wolfgang, for your help.
I'm afraid that the code only works partially. Compiling it, gives the following result:
1 Chapter 1 Section
And it should read:
I Chapter A Section
I'm using ConTeXt from TeXLive 2011.
Try “\setupheads[sectionconversionset=pablo]”
Thanks, it works in the sample, but not in my real document. I will try to find out why. Thanks again, Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodríguez
-
Wolfgang Schuster