[XeTeX] XeTeX and postscript output

Andrew Moschou andmos at gmail.com
Tue Feb 24 16:13:11 CET 2009


Hi Vafa,

I have used pstricks with XeLaTeX, with some text in it (actually maths) and
I used mathspec, and the fonts came out perfectly without any special
treatment. Here's your example, as I would set it (I don't have Junicode
installed here so I used Sabon) and the PDF is attached:

 \documentclass{article}

\usepackage{fontspec}

\setmainfont{Sabon LT Std}

\usepackage{pstricks}

\begin{document}

\begin{pspicture}(0,0)(2,2)

\psline(1,1)(2,2)

\uput[0](0,0){I want this to be typeset in \emph{Sabon} font.}

\end{pspicture}

\end{document}


The file is done simply with "xelatex filename".

Hope this helps,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090225/82351590/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.pdf
Type: application/pdf
Size: 7982 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20090225/82351590/attachment.pdf 


More information about the XeTeX mailing list