[dev-context] pack-lyr.mkiv

Wolfgang Schuster wolfgang.schuster at gmail.com
Thu Jan 24 23:23:16 CET 2013


Hi,

\def\pack_layers_set[#1][#2][#3]% #4 == box do \fi is ok
  {\bgroup
   \edef\currentlayer{#1}%
-  \edef\p_pack_layers_state{\layerparameter{#1}\c!state}%
+  \edef\p_pack_layers_state{\layerparameter\c!state}%
   \ifx\p_pack_layers_state\v!stop
     \dowithnextboxcs\egroup\hbox
   \else\ifthirdargument
     \pack_layers_set_indeed[#1][#2][#3]%
   \else
     \doifassignmentelse{#2}
       {\pack_layers_set_indeed[#1][][#2]}%
       {\pack_layers_set_indeed[#1][#2][]}%
   \fi\fi}

Wolfgang


More information about the dev-context mailing list