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

Why?


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
___________________________________________________________________________________

Reply via email to