* Sectioning and structure @ 2015-09-07 13:59 Fabrice Couvreur 2015-09-07 14:31 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Fabrice Couvreur @ 2015-09-07 13:59 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 794 bytes --] Hi, I'm about to write a book using a structure. The desire is to get this like contents of the table of contents : Chapter 1 Title Part 1 Title 1. 2. Part 2 Title 1. 2. Part 3 Title 1. 2. Chapter 2 Title Part 1 Title 1. 2. Part 2 Title 1. 2. Part 3 Title 1. 2. ########################## lesson.tex \project manual \startproduct lesson \startfrontmatter \component titlepage \component contents \stopfrontmatter \startbodymatter \component chapter-1 \component chapter-2 \stopbodymatter \stopproduct ############################ chapter-1.tex \startcomponent chapter-1 \component activities-1 \component synthesis-1 \component training-1 \stopcomponent ############################# Thanks, Fabrice [-- Attachment #1.2: Type: text/html, Size: 2903 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: Sectioning and structure 2015-09-07 13:59 Sectioning and structure Fabrice Couvreur @ 2015-09-07 14:31 ` Wolfgang Schuster 2015-09-13 8:02 ` Fabrice Couvreur 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2015-09-07 14:31 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 398 bytes --] > Fabrice Couvreur <mailto: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 [-- Attachment #1.2: Type: text/html, Size: 1947 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: Sectioning and structure 2015-09-07 14:31 ` Wolfgang Schuster @ 2015-09-13 8:02 ` Fabrice Couvreur 0 siblings, 0 replies; 3+ messages in thread From: Fabrice Couvreur @ 2015-09-13 8:02 UTC (permalink / raw) To: mailing list for ConTeXt users [-- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-13 8:02 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-09-07 13:59 Sectioning and structure Fabrice Couvreur 2015-09-07 14:31 ` Wolfgang Schuster 2015-09-13 8:02 ` 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).