On Wed, Apr 16, 2008 at 12:32 AM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:
> I have now:
>
> \unprotect
>
> \resetvalue{\??sw\v!chapter}
>
> \startsetups chapter:list
>
>   \doifsomething{\sectionworldparameter\c!author}
>     {\expanded{\writetolist[\v!chapter]
>       {\sectionworldparameter\c!author:\space
>        \sectionworldparameter\c!text}{}}}
>
>   \def\ChapterAuthor{{\rm\tf\sectionworldparameter\c!author}}
>   \def\ChapterTitle{{\ss\bfa\sectionworldparameter\c!text}}
>   \def\ChapterSubTitle{{\ss\bf\sectionworldparameter\c!subtitle}}
>
> \stopsetups
>
> \setupsectionworld  [chapter]
>   [setups={chapter:list},
>    author=]
>
> \def\ChapterCommand#1#2%
>   {\vbox{\ChapterAuthor\crlf\ChapterTitle\crlf\ChapterSubTitle}}
>
> \let\ChapterAuthor\relax
> \let\ChapterTitle\relax
> \let\ChapterSubTitle\relax
>
> \protect
>
> \setuphead  [chapter]
> [incrementnumber=no,
>    command=\ChapterCommand,
>     page=yes,    number=no,
>     align={flushleft,nothyphenated,verytolerant}
> ]
>
>
> The result is about:
>
> \rm\tfa Author
> \ss\bf Title
> \ss\bfa Subtitle
>
> instead of (like I defined):
>
> \rm\tf Author
> \ss\bfa Title
> \ss\bf SubTitle

Add "style=," to \setuphead[chapter] because the default value
influence your own settings.

You should also define a new header for the ToC because it use
\title by default and this is also changed with \setuphead[chapter].

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