Hi,
I detected a VERY strange and frustrating behaviour of dvips together
with LaTeX and PyX... (Probably PyX is not guilty...)
When I
- use PyX to generate eps-files containing some text
- include those eps-files in a tex-file
- convert the dvi-file to postscript
I loose some characters -- without any error messages or warning :(
To be more precise: dvips fails to handle correctly embedded subset of
fonts, as soon as one font is included twice with the same name:
My minimal testcase:
The PyX-code to generate the figures:
from pyx import *
c = canvas.canvas()
c.text(0,0,"abc")
c.writeEPSfile("fig1")
c = canvas.canvas()
c.text(0,0,"adc")
c.writeEPSfile("fig2")
It uses Computer Modern, 10pt which is called "/CMR10" in both eps-files...
My tex-Code reads:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{fig1}
\includegraphics{fig2}
c
\end{document}
also using Computer modern 10pt, calles "/CMR10".
The resulting dvi-File is correct, however the postscript-file
generated by "dvips" CONTAINS all data, but only "c" is visible ...
Maybe a warning/comment should be added somewhere on the PyX-website?
Together with clever proposition how to avoid the problem...
(I simply renamed by hand the fonts in the final eps-files, then
everything works :-))
(I use an up-to-date Debian squeeze, with PyX-0.10)
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
Axel
PS: I'm happy to share the files, but then the mail passes the
mailing-list limit ;-)
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user