[XeTeX] pstricks and dvi output in xelatex
Alan Munn
amunn at gmx.com
Fri Jul 30 21:02:36 CEST 2010
On Jul 30, 2010, at 11:38 AM, George wrote:
> 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}
> %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
This is more a problem of your dvi viewer. The pdf created from both
is the same.
(e.g. xdvi doesn't display this correctly whether it's compiled with
latex or xelatex.)
Alan
--
Alan Munn
amunn at gmx.com
More information about the XeTeX
mailing list