On 3/6/2015 3:18 PM, Wolfgang Schuster wrote:
Hi,
\def\page_makeup_start_indeed[#name][#settings]%
{% the next grouping hack is somewhat messy:
\begingroup
% we need to figure out the current layout
\xdef\m_page_makeup_name{#name}%
\let\currentmakeup\m_page_makeup_name
\let\currentlayout\m_page_makeup_name
\xdef\m_page_makeup_layout_parent{\layoutparameter\s!parent}%
\setupcurrentmakeup[#settings]%
\edef\p_page{\makeupparameter\c!page}%
\ifx\p_page\empty
\endgroup
\page % new, so best not have dangling mess here like references (we
could capture then and flush embedded)
\else\ifx\p_page\v!no
% nothing
\endgroup
\else
- \endgroup
- \page[\p_page]%
+ \normalexpanded{\endgroup\page[\p_page]}%
\fi\fi
…
ok
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context