[XeTeX] Updating XeTeX (plain) for PS Tricks

caapv 208 caapv208 at yahoo.co.jp
Mon Sep 10 10:30:40 CEST 2007


--- John Was <john.was at ntlworld.com> wrote:

> Thanks for the patch.  I think there are probably
> several other things that 
> need to be worked out to get PS Tricks to work
> perfectly with XeTeX and I'm 
> sure you're on to these!  I did eventually (thanks
> to a helpful friend) get 
> the driver set up properly (I trust) but I now find
> that \psframebox and 
> \ncline don't always work.  The attached PDFs show
> an incorrect and a 
> correct version of the same chart, with exactly the
> same input code.  The 
> correct version was produced via EmTeX and the
> incorrect version via XeTeX 

I cannot reproduce!
I have added 5 lines

\nopagenumbers
% \tracingall
\input pstricks.tex
\input pst-node.tex
\def\extract{}

at the beginning of

> \midinsert
> \extract%THIS CALLS THE FONT AT THE REQUIRED SIZE
> \def\apexpoint#1#2{\setbox0=\hbox{#1}%
> \pnode(0.5\wd0,-3.5pt){#2}}%
> \def\upperpoint#1#2{\setbox0=\hbox{#1}%
> \pnode(0.5\wd0,10pt){#2}}%
> \psset{linewidth=0.5pt,%
> framesep=3pt,%
> nodesepA=0pt,%
> nodesepB=0pt}%
> \tabskip 0pt plus \hsize
> \halign to \hsize{%
> #\hfil\tabskip 0pt&
> #\hfil&
> #\hfil&
> #\hfil&
> #\hfil\tabskip 0pt plus \hsize\cr
> &&&\apexpoint{animal}{A}%
> \psframebox{animal}\cr
> \noalign{\vskip 24pt}
> &&\upperpoint{rationale}{B}%
> \apexpoint{rationale}{D}%
> \psframebox{rationale}&&
> \upperpoint{irrationale}{C}%
> \psframebox{irrationale}\cr
> \noalign{\vskip 24pt}
> &\upperpoint{mortale}{E}%
> \apexpoint{mortale}{G}%
> \psframebox{mortale}&&
> \upperpoint{immortale}{F}%
> \psframebox{immortale}\cr
> \noalign{\vskip 24pt}
> \upperpoint{voluntarie}{H}%
> \psframebox{\rlap{mobile}%
> \lower\baselineskip \hbox{voluntarie}}&&
> \upperpoint{apta a natura et}{I}%
> \psframebox{%
> \setbox0=\hbox{apta a natura et}%
> \copy0\hskip -\wd0
> \lower\baselineskip \hbox{\rlap{fantasia ad}}%
> \lower 2\baselineskip
> \hbox{\rlap{motum}\phantom{apta a natura et}}}\cr}
> \ncline{A}{B}%
> \ncline{D}{E}%
> \ncline{G}{H}%
> \ncline[linestyle=dashed]{A}{C}%
> \ncline[linestyle=dashed]{D}{F}%
> \ncline[linestyle=dashed]{G}{I}%
> \endinsert

then add

\eject\bye

at the end, and run XeTeX on it and have the attached
file, which seems fine to me.

The fact that you have at least one \psframebox and an
\ncline correct may suggest that your installation is
OK, though.

> Best
> 
> 
> John

Regards,
SMiyata


--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chart.pdf
Type: application/pdf
Size: 9688 bytes
Desc: 3295881321-chart.pdf
Url : http://tug.org/pipermail/xetex/attachments/20070910/2d19b75a/attachment.pdf 


More information about the XeTeX mailing list