From: Hans Hagen <pragma@wxs.nl>
Subject: Re: colors in MPgraphic
Date: Fri, 06 Jan 2006 18:56:46 +0100 [thread overview]
Message-ID: <43BEAF5E.705@wxs.nl> (raw)
In-Reply-To: <43BE7C82.4060600@elvenkind.com>
Taco Hoekwater wrote:
>
>
> Hans van der Meer wrote:
>
>> In MPgrapic I do want my own colors for drawing lines etc.
>> These are set up in plain.mf's ("_op_" and "background").
>> In \startMPinclusions I just do that in order to get the drawing
>> color I want.
>> But then \startMPgraphic appears to reset colors (both "_op_" and
>> "background" I suspect).
>
>
> The resetfig() macro from metafun clears "_op_" and "background".
> I don't know why, but there''' be a reason for it, I am sure ;-)
sure -) [i need to think a bit]
>
> There almost certainly is an 'official' way to add some statements to
> the beginning of each figure, but, in any case, it works if you store
> your settings in extra_beginfig:
>
> \startMPinclusions
> extra_beginfig := "drawoptions(withcolor green)";
> \stopMPinclusions
maybe best is to append instead of assign
Hans
next prev parent reply other threads:[~2006-01-06 17:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-06 12:14 Hans van der Meer
2006-01-06 12:58 ` Mojca Miklavec
2006-01-06 14:08 ` Hans Hagen
2006-01-06 14:19 ` Taco Hoekwater
2006-01-06 16:27 ` Hans van der Meer
2006-01-06 17:56 ` Hans Hagen [this message]
2006-01-06 20:43 ` Hans van der Meer
2006-01-06 22:08 ` Hans Hagen
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=43BEAF5E.705@wxs.nl \
--to=pragma@wxs.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).