Am 31.07.2010 03:31, schrieb George: >> 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:
In the xdvipdfmx.cfg file there is a new definition of p...@starbox. Put it into a \iffalse ...\fi and it should work correctly \iffalse %% do not redefine \...@starbox ========= \def\...@starbox{% \setbox\...@hbox\hbox{{% \def\curr...@color{\current@@@@color}% \di...@\wd\pst@hbox\advance\di...@2\psframesep\wd\pst@hbox\di...@% \di...@\ht\pst@hbox\advance\di...@\psframesep\ht\pst@hbox\di...@% \di...@\dp\pst@hbox\advance\di...@\psframesep\dp\pst@hbox\di...@% \...@ifundefined{latexe}{\special{color push \curr...@color}% \rlap{\vrule width\wd\...@hbox height\ht\...@hbox depth\dp\...@hbox}% \special{color pop}}% {\co...@block{\wd\pst@hbox}{\ht\...@hbox}{\dp\pst@hbox}}}% \rlap{\hskip\psframesep\unhbox\...@hbox}}} \fi% ======= end =========== Herbert > %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > \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