Hello, What \stelinterliniein means in the following (taken from Skdk style). \def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right] \setupindenting[0pt] \stelinterliniein \vfil \let\\=\blank} I suppose that it is \setupinterlinespace, but it does not work without arguments, as seen in my minimal example: --------------- \setuphead [Part] [number=no, style={\ss\bfd}, page=right] \def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right] \setupindenting[0pt] \setupinterlinespace \vfil \let\\=\blank} \def\StopTitlePage% {\vfill {\tfx Version \currentdate[year,-,mm,-,dd] } \stopstandardmakeup } \def\TitlePage#1{\StartTitlePage\Part{#1}\StopTitlePage} \starttext \TitlePage{Hello} \stoptext ------------------------ Regards, Vyatcheslav
Am 30.05.10 13:45, schrieb Vyatcheslav Yatskovsky:
Hello,
What \stelinterliniein means in the following (taken from Skdk style).
\def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right] \setupindenting[0pt] \stelinterliniein \vfil \let\\=\blank}
I suppose that it is \setupinterlinespace, but it does not work without arguments, as seen in my minimal example:
---------------
\setuphead [Part] [number=no, style={\ss\bfd}, page=right]
\def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right] \setupindenting[0pt] \setupinterlinespace \vfil \let\\=\blank}
\def\StartTitlePage {\startstandardmakeup[doublesided=no,align=right,style={\switchtobodyfont[ss,18pt]}] \setupbackgrounds[header][text][background=] \setupindenting[none] \setupinterlinespace \let\\=\blank}
\def\StopTitlePage% {\vfill {\tfx Version \currentdate[year,-,mm,-,dd] }
\stopstandardmakeup }
add \par: \def\StopTitlePage {\par\vfill {\tfx Version \currentdate[year,-,mm,-,dd]} \stopstandardmakeup}
\def\TitlePage#1{\StartTitlePage\Part{#1}\StopTitlePage}
also possible: \definehead[TitlePage][part] \setuphead [TitlePage] [before=\StartTtitlePage, after=\StopTitlePage] Wolfgang
Thank you, Wolfgang, but I gen an error with this: \setuphead [Part] [number=no, style={\ss\bfd}] %page=right] \def\StartTitlePage {\startstandardmakeup[doublesided=no,align=right,style={\switchtobodyfont[ss,18pt]}] \setupbackgrounds[header][text][background=] \setupindenting[none] \setupinterlinespace \let\\=\blank} \def\StopTitlePage {\par\vfill {\tfx Version \currentdate[year,-,mm,-,dd]} \stopstandardmakeup} \definehead[TitlePage][Part] \setuphead [TitlePage] [before=\StartTitlePage, after=\StopTitlePage] \starttext \TitlePage{Hello} \stoptext ------------------ ! Missing number, treated as zero. <to be read again> s <argument> s amepage--1 \addaskedblankskip ...nce \blankskip #1\dimexpr #2 \relax l.6 } \dovspacingyes ...ument #1\else \s!default \fi ")} \fi \dopreventbreakafterstructureheadauto ...adlevel ] \fi ... l.27 \TitlePage{Hello} ? -- Best Regards, Vyatcheslav Yatskovsky
participants (2)
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster