Dear consortium,
In
\setuptexttexts[margin]
it would be nice to have an option for the margin text (used for headings
here) to start from the top of the textblock, instead of the middle,
something like
marginposition = top, middle % middle is default
\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]
\setuptext[marginposition=top,state=high,]
As is one has to do alot of guesswork. Can this be implemented (if it is
not already)?
In any case, is there a better way to do this (see example file)?
Best
Idris
===============================================================
% output=pdf interface=en
%\setuppapersize [A5][A4]
\newdimen\Margin
\Margin=1.5cm
\newdimen\MarginRaise
\MarginRaise=112.6ex % guesswork
\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]
\setuptext[style=\it,state=high]
\startsetups[text a]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[right]
Testing Knuth 2
\stopalignment
}}
\stopsetups
\startsetups[text b]
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%
\startalignment[right]
Testing Knuth 1
\stopalignment
}} \stopsetups
\setuppagenumbering[alternative=doublesided,
location={footer,middle}]
\showframe
\starttext
\dorecurse{20}{\input knuth\par }
\stoptext
===============================================================
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context