Re: [NTG-context] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread Wolfgang Schuster

robheus mailto:robh...@xs4all.nl
24. August 2015 13:47
hello list,

I want a TOC in which there is a blank line AFTER the first chapter in 
the TOC and BEFORE the last chapter in the TOC. (other chapter entries 
in the TOC don't have blank lines between them).


I can achieve this with:
\writebetweenlist[chapter]{\blank}

but unfortutaly for chapter in frontmatter the above method does not 
produce a blank line in the TOC.


Anyone has a clue as why not?
Try adding “location=here” with the second argument (as shown below in 
the example), when this doesn’t help send a minimal example.


\starttext

\startfrontmatter

\completecontent

\chapter{Frontpart}

\writebetweenlist[chapter][location=here]{\thinrule}

\stopfrontmatter

\startbodymatter

\chapter{Bodypart}

\stopbodymatter

\stoptext

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] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread robheus

Wolfgang,

Thanks, that works.

Rob
Wolfgang Schuster schreef op 2015-08-24 14:03:

robheus
24. August 2015 13:47
hello list,

I want a TOC in which there is a blank line AFTER the first chapter
in the TOC and BEFORE the last chapter in the TOC. (other chapter
entries in the TOC don't have blank lines between them).

I can achieve this with:
\writebetweenlist[chapter]{\blank}

but unfortutaly for chapter in frontmatter the above method does not
produce a blank line in the TOC.

Anyone has a clue as why not?

 Try adding “location=here” with the second argument (as shown
below in the example), when this doesn’t help send a minimal
example.

\starttext

\startfrontmatter

\completecontent

\chapter{Frontpart}

\writebetweenlist[chapter][location=here]{\thinrule}

\stopfrontmatter

\startbodymatter

\chapter{Bodypart}

\stopbodymatter

\stoptext

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
___


___
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] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread robheus

hello list,

I want a TOC in which there is a blank line AFTER the first chapter in 
the TOC and BEFORE the last chapter in the TOC. (other chapter entries 
in the TOC don't have blank lines between them).


I can achieve this with:
\writebetweenlist[chapter]{\blank}

but unfortutaly for chapter in frontmatter the above method does not 
produce a blank line in the TOC.


Anyone has a clue as why not?

Greetings,

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