From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Sectioning and structure
Date: Sun, 13 Sep 2015 10:02:53 +0200 [thread overview]
Message-ID: <CACyK-epbuOkzb=BVskxBNQ642ATr6OcTurvPVeypFSp2_cSbiQ@mail.gmail.com> (raw)
In-Reply-To: <55ED9FDE.4020600@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2335 bytes --]
Hi Wolfgang,
Is this the best approach ?
Thank you.
Fabrice
\mainlanguage[fr]
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=]
\setuplist
[chapter]
[after={\blank[line]}]
\setupcombinedlist
[content]
[aligntitle=yes,
alternative=c,
interaction=all]
\setuphead [part]
[sectionresetset=,
conversion=Romannumerals,
placehead=yes,
bodypartlabel=chapter]
\setuphead [chapter]
[sectionresetset=,
conversion=,
number=no,
placehead=yes,
bodypartlabel=part,
sectionsegments=chater:chapter]
\setuphead [section]
[sectionsegments=section:section]
\starttext
\placecontent
\startpart
[title={Repérage et calculs dans le plan}]
\startchapter
[title={Activités d'approche}]
\startsection
[title={Activité 1}]
\startsection
[title=Activité 2]
\startchapter
[title={Cours-Méthodes}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\startchapter
[title={S'entraîner}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\stoptext
2015-09-07 16:31 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> 7. September 2015 15:59
> Hi,
> I'm about to write a book using a structure. The desire is to get this
> like contents of the table of contents :
>
> You can’t put parts in chapters but it’s possible to change the labels for
> them, i.e. you can show “Chapter <number>” for parts and “Part <number> for
> chapters.
>
> 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: 4798 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
___________________________________________________________________________________
prev parent reply other threads:[~2015-09-13 8:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 13:59 Fabrice Couvreur
2015-09-07 14:31 ` Wolfgang Schuster
2015-09-13 8:02 ` Fabrice Couvreur [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='CACyK-epbuOkzb=BVskxBNQ642ATr6OcTurvPVeypFSp2_cSbiQ@mail.gmail.com' \
--to=fabrice1.couvreur@gmail.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).