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? Uschi
Ursula Hermann mailto:ursula.hermann@univie.ac.at 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,subsubsection}]
\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
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@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@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
Ursula Hermann mailto:ursula.hermann@univie.ac.at 15. Juli 2016 um 16:27
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.
Do you want to show (title after author) Ursula Hermann Danksagung both in the header and the ToC or should each use a different layout. BTW: Points 1--3 from my last mail aren't fixed (look here https://mailman.ntg.nl/pipermail/ntg-context/2016/086184.html how your mail looks in other mail clients). Wolfgang
Am 15.07.2016 16:51, schrieb Wolfgang Schuster:
Ursula Hermann 15. Juli 2016 um 16:27 <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.E-MailFormatvorlage17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.E-MailFormatvorlage18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} -->
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. Do you want to show (title after author)
Ursula Hermann Danksagung
both in the header and the ToC or should each use a different layout.
BTW: Points 1-3 from my last mail aren't fixed (look here https://mailman.ntg.nl/pipermail/ntg-context/2016/086184.html how your mail looks in other mail clients).
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 ___________________________________________________________________________________ Hello Wolfgang!
Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title={Ursula Hermann\indenting[yes, next] Danksagung}] \stopchapter \stoptext Uschi
Ursula Hermann mailto:ursula.hermann@univie.ac.at 15. Juli 2016 um 19:33
Hello Wolfgang!
Yes, I want it both title in header and in the TOC!
Ursula Hermann Danksagung
\starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] The two settings above can be removed because they aren’t necessary for the example. \startchapter [title={Ursula Hermann\indenting[yes, next] Danksagung}] The \crlf command insert a line break in the ToC and the heading
\startchapter[title={Ursula Hermann\crlf Danksagung}] and the \\ command inserts a space in the ToC and a line break in the heading \startchapter[title={Ursula Hermann\\Danksagung}] Wolfgang
Hello Wolfgang! Thank you. Now it works perfect. Sorry for the long example. Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Samstag, 16. Juli 2016 07:00 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] A new problem in old TOC mailto:ursula.hermann@univie.ac.at Ursula Hermann 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] The two settings above can be removed because they aren’t necessary for the example. \startchapter [title={Ursula Hermann\indenting[yes, next] Danksagung}] The \crlf command insert a line break in the ToC and the heading \startchapter[title={Ursula Hermann\crlf Danksagung}] and the \\ command inserts a space in the ToC and a line break in the heading \startchapter[title={Ursula Hermann\\Danksagung}] Wolfgang
On Fri, 15 Jul 2016 16:27:57 +0200
"Ursula Hermann"
Now i have tried this one:
[…]
Wolfgang said:
1. it contains 3 \starttext commands,
Your example still contains 2 \starttext commands. It doesn't even compile. Fix that first.
2. there are too many setups (e.g. \setupinteraction) which aren't necessary for your example,
Create an MWE, a *minimal* working example. Without paper size, language, indenting, etc. Remove all the fluff not required to show the actual problem. With this small example approach this list. You're much more likely to get a meaningful response.
3. I get lot of empty lines when I copy your exampe into my editor which I have to delete (not funny),
Same here. You seem to have misconfigured your editor or email client. All the empty lines make your example not copy-pasteable → less likely to to receive a response.
4. and I can't reproduce your problem when I fix points 1 and 3.
Either I don't see it or I didn't understand the problem in the first place. Marco
participants (3)
-
Marco Patzer
-
Ursula Hermann
-
Wolfgang Schuster