[metapost] Umlaute with Metapost
Matthias Pospiech
matthias.pospiech at gmx.de
Thu Mar 24 10:01:42 CET 2005
Am Donnerstag 24 März 2005 09:35 schrieb Matthias Pospiech:
I have checked how the Umlaute move to the tmp file, and that seems to be ok
>
> % --- Some code that us used --
> input latexmp.mp
>
> setupLaTeXMP(
> class="article",
> options="10pt",
> packages="babel[german],fontenc[T1],inputenc[latin1],helvet[scaled=0.8]",
> preamble="\renewcommand*{\rmdefault}{\sfdefault}\newcommand{\textsize}
> {\small}"
> )
>
> def printtext(text t)=
> textext(t)
> enddef;
>
> def histbarlabel_left(text t) =
> label.lft(printtext(t) scaled 1.0,(0,histbartextheight(histbarnumber)));
> enddef;
>
> %--- The problematic part:
>
> beginfig(1);
> histbarlabel_left("fächerübergreifenden Bachelor");
> endfig;
> end;
>
The .tmp File used by metapost:
verbatimtex
%&latex
\documentclass[10pt]{article}
\usepackage[german]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[scaled=0.8]{helvet}
\renewcommand*{\rmdefault}{\sfdefault}\newcommand{\textsize}{\small}
\begin{document}
etex
picture latexmp_picture[];
latexmp_picture[1]:= btex \textsize fächerübergreifenden Bachelor etex ;
[...]
but the eps Files do not contain any Umlaute !
Matthias
--
---------------------------------------------------------------
Matthias Pospiech
Schneiderberg 28, 30167 Hannover
email: matthias.pospiech at gmx.de
Web: www.matthiaspospiech.de
ICQ: 60941314
Tel: +49 (0)511-3534318
Mobil: +49 (0)170-5586781
---------------------------------------------------------------
More information about the metapost
mailing list