Coming back to my old thread.
Here's my latest chapter setup:
--- 8 ---
\unprotect
\resetvalue{\??sw\v!chapter}
\startsetups chapter:list
\def\\{{\ \nomarking{\nolist\crlf}}}
\doiftextelse{\sectionworldparameter\c!author}
{\expanded{\writetolist[\v!chapter]
{\sectionworldparameter\c!author:\space
\sectionworldparameter\c!text}{}}}
{\expanded{\writetolist[\v!chapter]
{\sectionworldparameter\c!text}{}}}
\def\ChapterAuthor{%
\doiftextelse%
{\sectionworldparameter\c!author}%
{\rm\tf\sectionworldparameter\c!author\crlf\vskip0.2em}
{}%
}
\def\ChapterTitle{{\ss\bfb\sectionworldparameter\c!text}}
\def\ChapterSubTitle{%
\doiftextelse%
{\sectionworldparameter\c!subtitle}%
{\crlf\vskip0.3em\ss\bf\sectionworldparameter\c!subtitle}%
{}%
}
\stopsetups
\setupsectionworld
[chapter]
[setups={chapter:list},
author=]
\def\ChapterCommand#1#2%
{\vbox{\ChapterAuthor\ChapterTitle\ChapterSubTitle}}
\let\ChapterAuthor\relax
\let\ChapterTitle\relax
\let\ChapterSubTitle\relax
\protect
\setupmarking[chapter][limittext={}]
\def\nocr{{\ \nomarking{\nolist\crlf}}}
\starttext
\startsectionworld[chapter][author=B. Rüssel, title=Consequences of
the Brussels Declaration\\for German cultural politics]
\input tufte
\stopsectionworld
\stoptext
--- 8 ---
My problem is now, that in titles the space after a dot and after \\
(or \nocr) gets eaten, the above example becomes in ToC:
B.Rüssel: Consequences of the Brussels Declarationfor German cultural
politics
What's wrong? (Two different problems, I guess.)
(I use XeTeX with latest ConTeXt)
For I must send my book to the printer, I fixed it with inserting \
. But I'd appreciate a real solution.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___