Hello, I'm trying to setup section to be placed vertically in the golden ratio of the page, i.e. cca 2 "units" above the section and 3 "units" bellow.
How to achieve this? My code so far is: ---- \setuplayout[page] \define\bef{\page\hbox to\textheight\bgroup\vfill\vfill\fi} \define\aft{\vfill\vfill\vfill\egroup} \setuphead[section] [before=\bef,after=\aft, %commandbefore=\cbef,commandafter=\caft, alternative=middle, ] \starttext \section{AAA} \stoptext ---- The position is quite OK, but there is error "Too many }'s ..." during compilation... What's the problem? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
t2.mkiv
Description: Binary data
t2.pdf
Description: Adobe PDF document
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________