ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Set Contents
@ 2016-07-13 15:09 Fabrice Couvreur
  2016-07-13 16:20 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2016-07-13 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
I wish that in the table of contents and only one, the number of chapters
are I, II, III, IV ...
I would also have this:

I First chapter
   Activity
   1.1 Second section
   1.2 Third section

thanks,
Fabrice

\setuplist
  [chapter]
  [after={\blank[line]},
   style=bold]

\setuplist
  [section]
  [after={\blank[line]}]

\setupcombinedlist
  [content]
  [aligntitle=yes,
   alternative=c]

\starttext

 \title [content] {Sommaire}

\placecontent

\startchapter[title={First chapter}]

\startsection[title={Activity},number=no]

\stopsection

\startsection[title={Second section}]

\stopsection

\startsection[title={Third section}]

\stopsection

\stopchapter

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 1291 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] 3+ messages in thread

* Re: Set Contents
  2016-07-13 15:09 Set Contents Fabrice Couvreur
@ 2016-07-13 16:20 ` Wolfgang Schuster
  2016-07-13 22:28   ` Fabrice Couvreur
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-07-13 16:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Fabrice Couvreur <mailto:fabrice1.couvreur@gmail.com>
> 13. Juli 2016 um 17:09
> Hello,
> I wish that in the table of contents and only one, the number of 
> chapters are I, II, III, IV ...
When you change a different conversion for the chapter numbers only in 
the ToC use this:

\defineconversionset[chapterconversion][n,R][n]

     \setuplist
         [chapter]
         [numberconversionset=chapterconversion]

but when you want it in the entire document use this:

\defineconversionset[chapterconversion][n,R][n]

     \setuphead
         [chapter]
         [sectionconversionset=chapterconversion]

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1990 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] 3+ messages in thread

* Re: Set Contents
  2016-07-13 16:20 ` Wolfgang Schuster
@ 2016-07-13 22:28   ` Fabrice Couvreur
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2016-07-13 22:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Wolfgang,
thank you for the answer (There is much to know !).

I would also have this:
>
> I First chapter
>    Activity
>    1.1 Second section
>    1.2 Third section


\setupheadnumber[section][0]

Fabrice

2016-07-13 18:20 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:

> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> 13. Juli 2016 um 17:09
> Hello,
> I wish that in the table of contents and only one, the number of chapters
> are I, II, III, IV ...
>
> When you change a different conversion for the chapter numbers only in the
> ToC use this:
>
> \defineconversionset[chapterconversion][n,R][n]
>
>     \setuplist
>         [chapter]
>         [numberconversionset=chapterconversion]
>
> but when you want it in the entire document use this:
>
> \defineconversionset[chapterconversion][n,R][n]
>
>     \setuphead
>         [chapter]
>         [sectionconversionset=chapterconversion]
>
> 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: 4163 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] 3+ messages in thread

end of thread, other threads:[~2016-07-13 22:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-13 15:09 Set Contents Fabrice Couvreur
2016-07-13 16:20 ` Wolfgang Schuster
2016-07-13 22:28   ` Fabrice Couvreur

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