Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I read from the xypic reference manual that extra graphics features are accessible using dvips to compile, even though it still works in most cases with pdflatex. On the PSTricks website are listed several methods to compile a document with pstricks code using pdflatex.

Are there similar ways to compile a document with xypic code using pdflatex while still having access to dvips specials? Please list the various methods and compare them where applicable.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted
\usepackage{auto-pst-pdf}
...
\begin{postscript}
... your xy stuff
\end{postscript}
...

and then as usual pdflatex -shell-escape <file>

share|improve this answer
1  
auto-pst-pdf runs a command from the shell to convert Postscript to PDF. Taco Hoekwater is developing a Postscript interpreter in Lua, Escrito, which will allow this all to be done internally in Luatex. –  Charles Stewart Apr 13 '11 at 10:18
    
Escrito is a project and a long standing one ... no more no less –  Herbert Apr 13 '11 at 11:04
    
Herbert: Development has stalled, but Taco did recently reiterate his commitment to it, and he has an excellent track record with projects. –  Charles Stewart Apr 13 '11 at 11:13
    
@Charles: if it may ever be finished I spent you a sixpack of bear. And "finished" means, that it works :-) and not only for PS Level 1 which is really simple to realize –  Herbert Apr 13 '11 at 11:18
    
You're thinking about the trouble that the Ghostscript writers had? I guess you are probably right. –  Charles Stewart Apr 13 '11 at 11:26
add comment

Most of what is possible with \xyoption{ps} (and dvi+dvips) is possible also via \xyoption{pdf} and pdflatex (actually, the manual of xypdf states that something is done better with xypdf than with xyps).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.