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
   …

Wolfgang
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to