Hans van der Meer wrote:

I thought to incrementally add to MPinclusions by successive blocks

\startMPinclusions
......
\stopMPinclusions

\startMPinclusions
......
\stopMPinclusions
etc.

But according to the generated mp-file it seems to incorporate the last one only. Is this correct and if so, is it an option to allow appending in the above manner?
Or will that be too difficult to build.


(patch supp-mps.tex)

\def\startMPinclusions
 {\dosingleempty\dostartMPinclusions}

\long\def\dostartMPinclusions[#1]#2\stopMPinclusions % document wide
 {\doifelse{#1}{+}
    [EMAIL PROTECTED]@[EMAIL PROTECTED]@EA
       {\theMPinclusions
        \writeMPgraphic{#2}}}
    {\long\def\theMPinclusions
       {% \expanded !
        [EMAIL PROTECTED]@[EMAIL PROTECTED]@EA{\the\MPextensions;}}% new
        \writeMPgraphic{#2}}}}

\def\MPinclusions
 {\dosingleempty\doMPinclusions}

\long\def\doMPinclusions[#1]#2%
 {\startMPinclusions[#1]#2\stopMPinclusions}

now you can say

\startMPinclusions[+] ....

i'll add this feature

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

Reply via email to