[NTG-context] A new problem in old TOC

Ursula Hermann ursula.hermann at univie.ac.at
Fri Jul 15 16:27:57 CEST 2016


High Wolfgang!

 

Now i have tried this one:

 

\mainlanguage[de]

\setuppapersize[A4]

\placebookmarks[chapter,section,subsection][chapter,section]

\setupinteractionscreen[option=bookmark]\starttext

\setuplist[chapter]

\setuplist[section][width=1em]

\setuplist[subsection][width=1.5em, margin=0.6em]

\setuplist[subject][margin=1.5em]

\setupinteraction

  [state=start,

   style=,

   color=,

   contrastcolor=]

 

\setuplist

  [chapter]

  [after={\blank[line]}]

 

\setupcombinedlist

  [content]

  [aligntitle=yes,

   alternative=c,

  interaction=all]

 

\setuphead [chapter]

        [sectionresetset=,

         conversion=,

         number=no,

         placehead=yes,

         bodypartlabel=part,

         sectionsegments=chater:chapter]

\starttext

\placecontent

\setupuserpagenumber[numberconversion=romannumerals]

\setcounter[userpage][2]

\startchapter

   [title={Ursula Hermann

\indenting[yes, next]

           Danksagung}]

\stopchapter

\startchapter

   [title={Bildbeschreibung der Cover-Grafik}]

\stopchapter

\startchapter

  [title={Einleitung:"Entwicklung" behindern?}]

\stopchapter

\setupuserpagenumber[numberconversion=numbers]

\setcounter[userpage][1]

\stoptext

 

I need in the TOC: 1. The Author, below the title of the chapter.

 

Uschi Hermann 

 

Von: ntg-context [mailto:ntg-context-bounces at ntg.nl] Im Auftrag von Wolfgang
Schuster
Gesendet: Freitag, 15. Juli 2016 12:54
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] A new problem in old TOC

 

 <mailto:ursula.hermann at univie.ac.at> Ursula Hermann

15. Juli 2016 um 11:30

I have a problem with an old TOC. 

 

I tried to put in an Author, but the problem is, that there is so much
distance between the forename and the surname, and than comes the title. 

 

Here my example: 

 

\mainlanguage[de]

\setuppapersize[A4]

\setupinteraction[state=start] % don't forget this line!

% make chapter, section bookmarks visible when opening document

\placebookmarks[chapter,section,subsection][chapter,section]

\setupinteractionscreen[option=bookmark]\starttext

\setuplist[chapter][width=fit]

\setuplist[section][width=1em]

\setuplist[subsection][width=1.5em, margin=0.6em]

\setuplist[subject][margin=1.5em]

\setupcombinedlist[content][list={part,chapter,section,subsection,subsubsect
ion}]

\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

\setupuserpagenumber[numberconversion=romannumerals]

\setcounter[userpage][2]

\startchapter

   [title={Ursula 

           Hermann

 

                 {Danksagung}}]

 

\starttext

\stoptext

 

Could somebody help me? Do I need a special way? 

 

Not with your current example because

1. it contains 3 \starttext commands,

2. there are too many setups (e.g. \setupinteraction) which aren't necessary
for your example,

3. I get lot of empty lines when I copy your exampe into my editor which I
have to delete (not funny),

4. and I can't reproduce your problem when I fix points 1 and 3.

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160715/29defe90/attachment-0001.html>


More information about the ntg-context mailing list