From: "Eric Détrez" <info@eric-detrez.fr>
To: Context <ntg-context@ntg.nl>
Subject: Re: How not to print the chapter number
Date: Fri, 07 Aug 2015 16:00:25 +0200 [thread overview]
Message-ID: <817cb71c44cf997cec2e48e4cb7b35ac@eric-detrez.fr> (raw)
In-Reply-To: <134228bac3bb4c624e5c6fef9fe9ef6a@eric-detrez.fr>
Le 07-08-2015 15:04, Eric Détrez a écrit :
> I wish to print my texte as
>
> I Foo
>
> 1 Bar one
>
> 1.1 barbar one
>
> 1.2 barbar two
>
> 2 Bar two
>
> 2.1 foofoo one
>
> 2.2 foofoo two
>
> I don't want the Roman I printed in the numbering.
>
> With contextmark II I just added
> \setupsection[section-3][previousnumber=no]
> but it doesn't seem to work in mark IV.
>
> Is there a way to do it ?
An answer (in the mailing-list archives) and also in the wiki (I didn't
read it well enough)
\setuphead[section][sectionsegments=section]
\setuphead[subsection][sectionsegments=section:subsection]
\setuphead[subsubsection][sectionsegments=section:subsubsection]
\starttext
\chapter{Eric}
\section{Foo 1}
\subsection{Bar one}
\subsubsection{Barbar one }
\subsubsection{Barbar two}
\subsection{Bar two}
\subsubsection{Barbar one}
\subsubsection{Barbar two}
\section{Foo 2}
\subsection{Bar one}
\subsubsection{Barbar one}
\subsubsection{Barbar two}
\stoptext
As once you changed one you have to change the lower ones ...
--
Eric Détrez
Informatique
Lycée Faidherbe, Lille
http://eric-detrez.fr
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2015-08-07 14:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 13:04 Eric Détrez
2015-08-07 13:35 ` Tomas Hala
2015-08-07 14:00 ` Eric Détrez [this message]
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=817cb71c44cf997cec2e48e4cb7b35ac@eric-detrez.fr \
--to=info@eric-detrez.fr \
--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).