Hi all, just discovered this awesome tool. I've tried to use it to
generate some graphs and have found that its parser cannot cope with the
font inclusion messages reported by the MinionPro fonts. They look like:
PyXInputMarker:executeid=5:
(D:\MCESAR\LaTeX\TEXMF\TeX\LaTeX\MinionPro\t1minionpro-osf.fd
(D:\MCESAR\LaTeX\TEXMF\TeX\LaTeX\MinionPro\MinionPro-FontDef.sty))
(D:\MCESAR\LaTeX\TEXMF\TeX\LaTeX\MinionPro\omlminionpro-tosf.fd
(D:\MCESAR\LaTeX\TEXMF\TeX\LaTeX\MinionPro\MinionPro-FontDef.sty))
so I've modified the regular expression inside class _texmessageloaddef
(file text.py) that now looks like:
pattern =
re.compile(r"\([\"]?(?P<filename>(?:(?:(?<!\")[^\(\)\s\n\"]+)|(?:(?<=\")[^\(
\)\"]+))(\.fd|\.def))[\"]?[\s\n]*(?P<additional>[\(]?[^\(\)]*[\)]?)[\s\n]*\)
")
This RE can cope with these "new" font inclusion messages and also with
the old ones. I've checked it (in Windows with MiKTeX) with fonts: cm,
mathpazo, tgpagella, lucimatx, fourier & MinionPro with MnSymbol.
Hope this helps, best regards.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user