4

I want to use package psvectorian with pdflatex.

It does not work out-of-the-box. How to do this?

2

run it with pdflatex -shell-escape <file>

\documentclass{article}
\usepackage{auto-pst-pdf}
\usepackage{psvectorian}
\begin{document}

\psvectorian[mirror]{2}

\end{document}
1

You have to precompile the symbols with a PS-enabled compilation chain, for instance as follows:

% in file ornamentright.tex
\documentclass{standalone}
\usepackage{psvectorian}
\begin{document}
\psvectorian[mirror]{2}
\end{document}

Using latexmk:

 latexmk -pdfps ornamentright.tex

Then you can include ornamentright.pdf in say foo.tex

\includegraphics{ornamentright.pdf}

and compile foo.tex

pdflatex foo.tex
  • or compile with xelatex – percusse Jul 3 '15 at 9:47
  • Then you can use \includegraphics to include it in another file, if you like. – musarithmia Jul 3 '15 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.