[XeTeX] pstricks and dvi output in xelatex

George pinkisntwell at gmail.com
Fri Jul 30 17:38:36 CEST 2010


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