From: Ron van Ostayen <R.A.J.vanOstayen@WbMT.TUDelft.NL>
Subject: Re: Greek characters in metapost (solution)
Date: Sat, 14 Sep 2002 11:15:06 +0200 [thread overview]
Message-ID: <3D82FE1A.4050908@WbMT.TUDelft.NL> (raw)
In-Reply-To: <200209140935.42932.angerweit@gmx.net>
I've finally found what was causing the disappearance of the $\alpha$ in
the MP-figure.
RECAP:
This is a LaTeX and MP problem, but I think it could be a ConTeXt
problem if you take the long way to your PDF-result.
(context, dvips, ps2pdf)
MP-file 'test.mp'
===================
% BEGPRE
verbatimtex
\documentclass{article}
\begin{document}
etex
% ENDPRE
beginfig(0);
label( btex $x-\alpha-x$ etex, (0,0));
endfig;
% BEGPOST
verbatimtex
\end{document}
etex
% ENDPOST
end.
===================
LaTeX-file 'test.tex'
===================
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{test.0}
$x-\alpha-x$
\end{document}
===================
Now, if we run:
mpost --tex=latex test
latex test
dvips -Ppdf test -o test.ps
ps2pdf test.ps test.pdf
the resulting test.pdf doesn't show the -\alpha- in the MP-figure
This is caused by the settings (at least for the texlive distribution)
in config.pdf which is called by the -Ppdf option.
In this file the option G is set which means:
% Character shifting. You want to do this using the BlueSky/AMS/Y&Y fonts.
% It remaps certain ``control character'' positions to an another range
% where these characters are repeated. This character shifting works wround
% bugs in some tools such as older versions of the Acrobat Reader.
Apparently, there is a conflict between the shifted characters in the
text and the non-shifted characters in the MP-figure.
So, I have turned this option off (hopefully without any repercussions),
and all is well.
Thanks for all your help.
Ron
prev parent reply other threads:[~2002-09-14 9:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-12 11:15 Greek characters in metapost Ron van Ostayen
2002-09-12 14:19 ` Jens-Uwe Morawski
2002-09-12 20:27 ` Ron van Ostayen
2002-09-13 0:12 ` Jens-Uwe Morawski
2002-09-13 7:32 ` Ron van Ostayen
2002-09-14 7:35 ` Henning Hraban Ramm
2002-09-14 9:15 ` Ron van Ostayen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D82FE1A.4050908@WbMT.TUDelft.NL \
--to=r.a.j.vanostayen@wbmt.tudelft.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).