The following does not work:
\documentclass{minimal}
\usepackage{doi}
\usepackage[pdf]{pstricks}
\begin{document}
hello world
\begin{pspicture}(1,1)
\psline(0,0)(1,1)
\end{pspicture}
\end{document}
However, loading the doi
package after pstricks
does:
\documentclass{minimal}
\usepackage[pdf]{pstricks}
\usepackage{doi}
\begin{document}
hello world
\begin{pspicture}(1,1)
\psline(0,0)(1,1)
\end{pspicture}
\end{document}
Why? Particularly, are there any caveats that I should be aware of? Thanks in advance.