[NTG-context] Bug with \setuphead
Aditya Mahajan
adityam at umich.edu
Tue Jan 3 13:57:58 CET 2012
On Tue, 3 Jan 2012, Wolfgang Schuster wrote:
>
> Am 03.01.2012 um 13:18 schrieb Aditya Mahajan:
>
>> Hi,
>>
>> \setuphead[section]
>> [
>> alternative=middle,
>> header=high,
>> page=yes,
>> ]
>> \starttext
>> \section{Test}
>> \stoptext
>
> Old internal command (\recalculatebackgrounds) was used in page-txt.mkvi.
>
> % \def\page_layouts_synchronize_element_indeed#vertical%
> % {\ifx\currenttextstate \v!high \calculatevsizes\recalculatebackgrounds \else
> % \ifx\previoustextstate\v!high \calculatevsizes\recalculatebackgrounds \else
> % \ifx\currenttextstate \v!none \calculatevsizes\recalculatebackgrounds \else
> % \ifx\previoustextstate\v!none \calculatevsizes\recalculatebackgrounds \fi\fi\fi\fi
> % \letgvalue{\??layouttextssynchronize#vertical}\currenttextstate}
>
> \def\page_layouts_synchronize_element_indeed#vertical%
> {\ifx\currenttextstate \v!high \calculatevsizes\page_backgrounds_recalculate \else
> \ifx\previoustextstate\v!high \calculatevsizes\page_backgrounds_recalculate \else
> \ifx\currenttextstate \v!none \calculatevsizes\page_backgrounds_recalculate \else
> \ifx\previoustextstate\v!none \calculatevsizes\page_backgrounds_recalculate \fi\fi\fi\fi
> \letgvalue{\??layouttextssynchronize#vertical}\currenttextstate}
Thanks. Works perfectly.
Aditya
More information about the ntg-context
mailing list