At 11:40 PM 2/14/2003 +0100, you wrote:
\def\Eintrag#1{\writetolist[chapter]{%

\framed[{frame=on,align=right,width=0.5\textwidth,height=2.5\bodyfontsi ze}]{
#1}}}
Thanks for the tip. I have now:

\def\KomplexTitel#1#2#3{%
{\writetolist[chapter]{%
\framed[{frame=off, align=right,
width=0.8\textwidth, height=2\baselineskip,
offset=none}]{#3}%
}%
\nohyphens\title{#1}%
\Untertitel{#2}}}

But the code (fixed measures) is as ugly as the output.
The lines in the frames are set a bit to high, and the page number is
too low.
I guess it could work with linecorrection, but that always throws
errors (at least
if used in a \def).

Any more hints?
(untested)

better make a dedicated list:

\definelist
[mylist]

and configure that one (so no \framed in write)

\setuplist
[mychapter]
[alternative=command,
command=\MyChapterList]

with something

\def\ChapterList#1#2#3%
{\framed
[frame=off,
align={right,broad,nothyphenated},
width=0.8\textwidth,
height=2\baselineskip,
offset=none]
{#2}}

your title command

\def\KomplexTitel#1#2#3%
{\title{#1}\subject{#2}\writetolist[mychapter]{}{#3}}

(next version will contain a direct write command, which avoids an interfering node)

call lists like:

\placelist[chapter,mychapter]

etc
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to