[metapost] Umlaute with Metapost

Dan Luecking luecking at uark.edu
Thu Mar 24 19:05:44 CET 2005

At 04:16 AM 3/24/2005, you wrote:
>Am Donnerstag 24 März 2005 10:10 schrieben Sie:
> > Hi Matthias,
> >
> > Whether or not actual ä or ü works depends on your MetaPost & TeX
> > distribution (it works for me in 'plain TeX' mode, using the
> > mpost and tex executables from tetex 3.0).
> >
> > The following should work unless latexmp.mp does really strange
> > things (but it is clumsy):
> >
> >    histbarlabel_left("f\" & ditto & "acher");
> >
>I tried that. The mp File contains now
>histbarlabel_left("f\"& ditto &"acher\"& ditto &"ubergreifenden Bachelor");
>and results in this in the .tmp file:
>latexmp_picture[13]:= btex \textsize f\"acher\"ubergreifenden Bachelor etex ;
>However in the eps file there are only spaces for the Umlaute as before.

In what sense do you mean "there are only spaces in the eps"? Did you
1) examine the actual mpost output file in a text file viewer or editor?
2) view the mpost output file directly using Gsview? Or
3) include it as a graphic in a .tex file?

There could be problems with the font setup in the latter two methods.
In the first method, some viewers/editors will not show 8-bit characters
(such as accents in T1 encoding).

If you see only a space with method 3. did you
3a) process the .tex file with file and view the .dvi with YAP? or
3b) process the .tex file with latex, then the .dvi file with dvips and
view the result with GSview? or
3c) process the .tex file with pdflatex, then view the .pdf?
3d) process the .tex file with latex, then the dvi with dvipdfm, then view
the pdf?

>What kind of information would be necessary to solve  this problem ?

All the above (and possibly more) to diagnose it. Maybe more to solve it.
ALWAYS report how you view the output when reporting a problem of a visual
nature (missing characters or graphics).


Daniel H. Luecking
Department of Mathematical Sciences
University of Arkansas
"Be kind. Every person you meet is fighting a hard battle." - Anon.

More information about the metapost mailing list