Re: [NTG-context] A new problem in old TOC

2016-07-18 Thread Ursula Hermann
Hello Wolfgang!

 

Thank you. Now it works perfect. Sorry for the long example. 

 

Uschi

 

Von: ntg-context [mailto:ntg-context-boun...@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.herm...@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

___
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
___

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster

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
___
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
___

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann

Am 15.07.2016 16:51, schrieb Wolfgang Schuster:

Ursula Hermann
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
___
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
___
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
___

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Marco Patzer
On Fri, 15 Jul 2016 16:27:57 +0200
"Ursula Hermann"  wrote:

> 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
___
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
___

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster

Ursula Hermann 
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
___
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
___

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
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-boun...@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.herm...@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

___
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
___

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster

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,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
___
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
___

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
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

___
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
___