Bruce venit, vidit, dixit 2006-07-18 15:08:
...
> Thanks again. Here`s the result with debug=2. Can you get anything from it?
Hmm, I should have known the clarity of TeX's prose... It looks strange.
Maybe try a raw string for every preamble line, i.e. use
text.preamble(r"\usepackage{color}")
instead (note the "r"). It works without "r" for me but this might
differ among python implementations (?). [ I'm talking about \u being
undefined. ]
Another debugging attempt would be to use
text.set(texdebug="colordebug.tex")
which stores all (La)TeX commands used by PyX in colordebug.tex. In
particular this would clarify my above mentioned suspicion about
quoting: Does this file contain "usepackage{..." or "\usepackage{..."
(at the very end)?
Michael
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user