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

* RE: supp-pdf.tex and Metapost strings starting with an umlaut
  2001-11-20 17:45 ` Hans Hagen
@ 2001-11-20 19:04   ` Andreas Fieger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Fieger @ 2001-11-20 19:04 UTC (permalink / raw)


Hello all,

works just perfect.

Thanks a lot,
Andreas

--
Dr. Andreas Fieger
ServiceBarometer AG
Tel +49.89.89666917

> -----Original Message-----
> From: owner-ntg-context@let.uu.nl [mailto:owner-ntg-context@let.uu.nl]On
> Behalf Of Hans Hagen
> Sent: Tuesday, November 20, 2001 6:46 PM
> To: Andreas Fieger
> Cc: ntg-context@ntg.nl
> Subject: Re: supp-pdf.tex and Metapost strings starting with an umlaut
>
>
> At 05:10 PM 11/20/2001 +0100, Andreas Fieger wrote:
>
> >*  which again is where my understanding of the code stops.
>
> ok, i see the problem (atcually a double one since when it would go all
> right in the edef, it would fail at the \fi.
>
> I'll send you a new version (hoping that it runs at your site).
>
> Hans
> -------------------------------------------------------------------------
>                                    Hans Hagen | PRAGMA ADE | pragma@wxs.nl
>                        Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------


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

* Re: supp-pdf.tex and Metapost strings starting with an umlaut
       [not found] <OCEKJDNHLJPOBPDJMODKGEKNCCAA.andreas.fieger@servicebaromet er.de>
@ 2001-11-20 17:45 ` Hans Hagen
  2001-11-20 19:04   ` Andreas Fieger
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2001-11-20 17:45 UTC (permalink / raw)
  Cc: ntg-context

At 05:10 PM 11/20/2001 +0100, Andreas Fieger wrote:

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

ok, i see the problem (atcually a double one since when it would go all 
right in the edef, it would fail at the \fi.

I'll send you a new version (hoping that it runs at your site).

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ 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 --
2001-11-20 16:10 supp-pdf.tex and Metapost strings starting with an umlaut Andreas Fieger
     [not found] <OCEKJDNHLJPOBPDJMODKGEKNCCAA.andreas.fieger@servicebaromet er.de>
2001-11-20 17:45 ` Hans Hagen
2001-11-20 19:04   ` 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).