[XeTeX] pstricks and dvi output in xelatex

George pinkisntwell at gmail.com
Sat Jul 31 03:31:47 CEST 2010


This is a message originally posted on the xetex mailing list, now I'm
crossposting it to the pstricks mailing list.

From: George <pinkisntwell at gmail.com>
Date: Fri, Jul 30, 2010 at 4:38 PM
Subject: Re: [XeTeX] pstricks and dvi output in xelatex
To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>


On Fri, Jul 30, 2010 at 4:24 PM, Peter Dyballa <Peter_Dyballa at web.de> wrote:
>
> Am 30.07.2010 um 13:16 schrieb George:
>
>> I have some diagrams which do not render correctly in xelatex.
>
>
> You should make public what does not work. Otherwise no improvements.
>

Text placed on connection lines is misplaced. For example, try the following
code both in latex and xelatex, checking the dvi and pdf output respectively,
and see the difference in the placement of the text:

%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\documentclass [a4paper] {report}

\usepackage{pstricks}
\usepackage{pst-node}

\begin{document}
\begin{pspicture}(\textwidth, 10)
       \pnode(0.5,1.1){bottomInstructionLine}
       \pnode(0.5,8.5){topInstructionLine}
       \ncline{->}{topInstructionLine}{bottomInstructionLine}
       \ncput*[nrot=:D]{Instructions}
\end{pspicture}
\end{document}
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the XeTeX mailing list