[NTG-context] metapost: remapping colors of an SVG picture

Jan U. Hasecke juh+ntg-context at mailbox.org
Tue Feb 18 19:24:59 CET 2020


Am 18.02.20 um 19:17 schrieb mf:
> Il 18/02/20 19:07, Jan U. Hasecke ha scritto:
>> Am 18.02.20 um 14:53 schrieb Hans Hagen:
>>
>>> \setupcolors[rgb=no]
>>> \startMPcode
>>>      draw lmt_svg [ filename = "sample.svg" ] ;
>>> \stopMPcode
>> I get this error.
>>
>> ! Not implemented: (unknown numeric)=(string).
>> <to be read again>
>> ]
>> <*> ... ; p := lmt_svg [ filename = "sample.svg" ]
>>
> That's because it's LMTX only (the "lmt" prefix of "lmt_svg" should
> stand for "luametatex").

Yes, with lmtx it works but there is no image in the resulting file.

juh


More information about the ntg-context mailing list