ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: MPinclusions
Date: Sun, 15 Jan 2006 19:36:03 +0100	[thread overview]
Message-ID: <90700C12-3CC7-4181-8479-0E22BFCFF4EF@science.uva.nl> (raw)
In-Reply-To: <43CA7941.10606@wxs.nl>

Thanks for incorporating this feature. It makes life easier in the  
case of complex \project's, where now the MPinclusions can be build  
up in successive stages.

yours sincerely,
dr. H. van der Meer



On Jan 15, 2006, at 17:33, Hans Hagen wrote:

> 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}{+}
>     {\@EA\long\@EA\def\@EA\theMPinclusions\@EA
>        {\theMPinclusions
>         \writeMPgraphic{#2}}}
>     {\long\def\theMPinclusions
>        {% \expanded !
>         \@EA\expanded\@EA{\@EA\writeMPgraphic\@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	other threads:[~2006-01-15 18:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13 21:08 MPinclusions Hans van der Meer
2006-01-15 16:33 ` MPinclusions Hans Hagen
2006-01-15 18:36   ` Hans van der Meer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=90700C12-3CC7-4181-8479-0E22BFCFF4EF@science.uva.nl \
    --to=hansm@science.uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).