[Xy-pic] Running on Linux
Ross Moore
ross at ics.mq.edu.au
Thu Apr 1 01:50:00 CEST 2010
Hello Tigran,
On 01/04/2010, at 7:02 AM, Tigran Sarukhanyan wrote:
> Hello everybody,
> I've tried to run following tex code on Windows and it's worked
> properly.
> When I try to run it on linux, curves doesn't appear as it is shown
> in attached pdf file.
> ----------------------------------------------------------------------
> ---------------
> \documentclass[12pt]{article}
> \usepackage[all,dvips,arc,curve,color,frame,ps,graph]{xy}
> \begin{document}
> \[ \fbox{ \xygraph{
> !{<0cm,0cm>;<1.5cm,0cm>:<0cm,1.2cm>::}
> !{(0,0) }*+{\bullet_{a}}="a"
> !{(1,1) }*+{\bullet_{b}}="b"
> !{(2.5,0.5) }*+{\bullet_{c}}="c"
> !{(3,-1)}*+{\bullet_{d}}="d"
> "a"-"b" "a"-"d"
> "b"-"c" ^{e_1}
> "b"-@/_/"d" ^{e_2}
> "b"-@/^/"d" ^{e_3}
> "b"-@/^2cm/"d" ^{e_4}
> } } \]
> \end{document}
> ----------------------------------------------------------------------
> ------------
> Could you tell me what is wrong.
Probably you processed it with pdftex
rather than latex+dvips+Ghostscript .
have a look at the .log file.
If it has lots of lines like:
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
then this is indeed the problem.
You TeX installation should give you ways to process
using different engines.
To use Xy-pic's PostScript back-end, you must choose
the route via dvips + ps2pdf (i.e., Ghostscript).
> Thanks.
>
> Hotmail: Free, trusted and rich email service. Get it
> now.<example.pdf>
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the xy-pic
mailing list