[pstricks] pstricks and dvi output in xelatex
Peter Dyballa
Peter_Dyballa at Freenet.DE
Sun Aug 1 11:54:23 CEST 2010
Hello!
On the XeTeX mailing list George's problem was discussed before. Maybe
it's not necessary to produce uncompressed PDF – you could also invoke
xelatex with -no-pdf to produce an XDV output file. When you (hard)
link it to name.xdv.dvi you can use disdvi or such to output the
file's contents.
To produce uncompressed PDF output you could try to invoke:
xelatex -output-driver='xdvipdfmx -z 0' file
PoDoFo (http://podofo.sourceforge.net/) offers:
podofouncompress - Removes all compression filters from a PDF file.
This is useful for debugging existing PDF files.
You might also find PoDoFoBrowser, distributed
separately, to be useful if you're using this
tool a lot.
Last night I tried disdvi and saw some differences in the DVI vs. XDV
files:
002086: ps:tx at Dict begin tx at NodeDict begin /t .5 def LPut end
PutBegin end
002154: PUSH
002155: XXX1: 46 bytes
002157: ps:tx at Dict begin NAngle 180 add RotBegin end
002203: PUSH
002204: PUSH
002205: DOWN3: 268697
002209: PUSH
002210: PUSH
002211: RIGHT3: -2200715
002215: XXX1: 216 bytes
002217: " tx at Dict begin STP newpath /ArrowA { moveto } def /ArrowB
{ } def /ArrowInside { } def 0.0 SLW 1 setgray 0. true 3.0 neg 6.0
neg 70.16048 14.2 .5 Frame gsave 1 setgray 1. .setopacityalpha
fill grestore end
002433: PUSH
002434: PUSH
002435: RIGHT3: 196608
002439: XXX1: 233 bytes
002441: " tx at Dict begin STP newpath /ArrowA { moveto } def /ArrowB
{ } def /ArrowInside { } def 0.0 SLW 0 0 1 setrgbcolor 0.5 true 3.0
neg 3.0 neg 64.16048 11.2 .5 Frame gsave 0 0 1 setrgbcolor
1. .setopacityalpha fill grestore end
002674: PUSH
002675: FNT_DEF1: 14
002677: checksum : 1487622411
002681: scale : 786432
002685: design : 786432
002689: name : cmr12
002696: FONT_14 /* cmr12 */
002697: Char: Instructions
vs.
002088: PST: tx at Dict begin tx at NodeDict begin /t .5 def LPut end
PutBegin end
002158: PUSH
002159: XXX1: 48 bytes
002161: PST: tx at Dict begin NAngle 180 add RotBegin end
002209: PUSH
002210: PUSH
002211: DOWN3: 268697
002215: PUSH
002216: XXX1: 17 bytes
002218: color push gray 1
002235: PUSH
002236: DOWN3: 393216
002240: SET_RULE: height: 1323827
002245: length: 4794645
002249: POP
002250: XXX1: 9 bytes
002252: color pop
002261: PUSH
002262: PUSH
002263: RIGHT3: 393216
002267: XXX1: 236 bytes
002269: pst: tx at Dict begin STP newpath /ArrowA { moveto } def /ArrowB
{ } def /ArrowInside { } def 0.0 SLW 0 0 1 setrgbcolor 0.5 true 3.0
neg 3.0 neg 64.16048 11.2 .5 Frame gsave 0 0 1 setrgbcolor
1. .setopacityalpha fill grestore end
002505: PUSH
002506: FNT_DEF1: 14
002508: checksum : 1487622411
002512: scale : 786432
002516: design : 786432
002520: name : cmr12
002527: FONT_14 /* cmr12 */
002528: Char: Instructions
Xdvipdfmx seems either to forget or to optimise away a move...
There also seems to exist an issue with Ghostscript which AutoRotates
its output...
--
Mit friedvollen Grüßen
Pete
Imbecility, n.:
A kind of divine inspiration, or sacred fire affecting censorious
critics of this dictionary.
– Ambrose Bierce: _The Devil's Dictionary_
More information about the PSTricks
mailing list