From: Mathieu DUPONT <mathieudupont@hotmail.com>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Roman numbers for chapters in chapter lines but not in section lines
Date: Sun, 22 May 2011 22:33:06 -0400 [thread overview]
Message-ID: <col107-w49375364B75593AB9130AEB2720@phx.gbl> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2011-05-23 2:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 2:33 Mathieu DUPONT [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=col107-w49375364B75593AB9130AEB2720@phx.gbl \
--to=mathieudupont@hotmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).