[metapost] Different colours in a label

Taco Hoekwater taco at elvenkind.com
Sat Nov 10 13:48:18 CET 2007


Mojca Miklavec wrote:
> 
> (Perhaps the functionality has been broken again in version 1.000 and
> you have too recent binaries then :) - only joking of course :)
> Well, the banner on my distribution says "% Written by DVItoMP,
> Version 0.992/color (Web2C 7.5.6)", while the banner on MikTeX says
> "Written by DVItoMP, Version 1.000 (MiKTeX 2.6)". Perhaps a question
> should be sent to Christian Schenk, asking about why there is no
> "/color" in MikTeX's dvitomp :)

He probably missed the appearance of color support in dvitomp
because it is implemented in the web2c change file (dvitomp.ch)
instead of in the main pascal web file.

Eddie Kohler added that bit of code in texlive in the spring of
2004, but it was never properly documented.

Since dvitomp is a fairly simple program, my crosscompiled win32
binary should be capable of working as a drop-in replacement for
the binary from miktex 2.6.

Quick recipe:

1. fetch this zip file:

http://foundry.supelec.fr/frs/download.php/471/metapost-1.000-windows.zip

2. unpack it in a temporary folder

3. now locate the executable dvitomp.exe from miktex on your disk

4. copy that executable to a safe place

5. move dvitomp.exe from the temporary folder over the one from miktex

6. try the document

[7. if it doesn't work, restore the saved miktex binary. In that case,
you are out of luck]


Best wishes, Taco





More information about the metapost mailing list