Am 27.04.2008 um 23:45 schrieb Henning Hraban Ramm:

> 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}{}}}

   \doiftextelse{\sectionworldparameter\c!author}
     {\expanded{\writetolist[\v!chapter]
       {}{\sectionworldparameter\c!author:\space
        \sectionworldparameter\c!title}}}
     {\expanded{\writetolist[\v!chapter]
       {}{\sectionworldparameter\c!title}}}

>   \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}}}

\def\newlineinlist{\crlf}

> \starttext
> \startsectionworld[chapter][author=B. RĂ¼ssel, title=Consequences of
> the Brussels Declaration\\for German cultural politics]
> \input tufte
> \stopsectionworld
> \stoptext
> --- 8< ---

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to