ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* supp-pdf.tex and Metapost strings starting with an umlaut
@ 2001-11-20 16:10 Andreas Fieger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Fieger @ 2001-11-20 16:10 UTC (permalink / raw)


Hello,

I'm using Metapost to draw charts. Part of these are
strings that are constructed with
draw "some text" infont defaultfont ...;

A string like "Äußeres Erscheinungsbild" will result in
   (\304u\337eres Erscheinungsbild) ma1r8r 11.45699 fshow
in the file produced by Metapost.

As the string starts with an octal char, when processing
the file with LaTeX (the graphics package includes
supp-pdf.tex in pdftex.def) I get a complaint that:

"Argument of \octalMPcharacter has an extra }."

If the file produced by Metapost is changed to
   (x\304u\337eres Erscheinungsbild) ma1r8r 11.45699 fshow
   %^ an extra first character added
the problem is gone.

Defined in supp-pdf.tex we have:

\def\octalMPcharacter#1#2#3%
  {\char'#1#2#3\relax}

*  which seems only to be used in \setMPspecials

*  which in turn is used in \doprocessMPtoPDFfile#1#2#3

*  which again is where my understanding of the code stops.

Any ideas?

Thanks, Andreas

--
Dr. Andreas Fieger
ServiceBarometer AG
Tel +49.89.89666917


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-20 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <OCEKJDNHLJPOBPDJMODKGEKNCCAA.andreas.fieger@servicebaromet er.de>
2001-11-20 17:45 ` supp-pdf.tex and Metapost strings starting with an umlaut Hans Hagen
2001-11-20 19:04   ` Andreas Fieger
2001-11-20 16:10 Andreas Fieger

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).