[Xy-pic] Fw: xypic and dvipdf
Ross Moore
ross at ics.mq.edu.au
Tue Jan 24 04:23:45 CET 2006
Hi all,
On 24/01/2006, at 12:45 PM, Ishanu Chattopadhyay wrote:
> i had that problem, yes...
>
> my simple solution was the following:
>
> use: latex --> ps (dvips) --> pdf (ps2pdf)
Yes.
This allows you to use the richness of the ps-backend,
There is no good pdf driver, either for dvipdf
or pdftex directly. This is because PDF is not
programmable to anything like the extent that PostScript is.
There are structures that Xy-pic uses with PS that cannot
be handled by PDF, so using PS as an intermediary is a good
way to get the best quality.
>
> of course, there probably is a more "aesthetic" solution...but the
> above solves the problem
Indeed, my recommendation is to use either of the
{pdftricks} or {ps4pdf} packages.
These (in different ways) enable you to make PDF
images of the diagrams, then import the images back
into your LaTeX document.
Kris, remember years ago that we discussed this strategy,
thinking about programming it into Xy-pic ?
We dropped that idea, as being too generic!
Given that the functionality existed already, we had
no compelling need to duplicate it.
>
> (in my case, actually the whole xy picture gets totally screwed up
> if i use dvipdf directly)
... as it would, since the PostScript \special commands were
not designed to work with PDF.
However, if you aren't using a back-end, but just font characters,
then I don't know what would be going wrong.
Would you post an example please?
--- include both the coding and the output, and also the .log file.
>
> ishanu
All the best,
Ross Moore
>
> -------Original Message-------
>
> From: Kristoffer H Rose
> Date: 01/23/06 15:43:41
> To: xy-pic at tug.org
> Cc: Johan Glimming
> Subject: [Xy-pic] Fw: xypic and dvipdf
>
> Dear everybody,
>
> Does someone have current experience with dvipdf to help Johan?
>
> Cheers,
> Kristoffer
> __ <krisrose at us.ibm.com> +1(914)784-7642 (fax
> 6324)
> Kristoffer H Rose, Ph.D. <http://www.research.ibm.com/people/k/
> krisrose>
> IBM T. J. Watson Research Center, PO Box 704, Yorktown Heights, NY
> 10598
>
> ----- Forwarded by Kristoffer H Rose/Watson/IBM on 01/23/2006 03:37 PM
> -----
>
> Johan Glimming <glimming at kth.se>
> 01/23/2006 03:04 PM
>
> To
> Kristoffer H Rose/Watson/IBM at IBMUS
> cc
>
> Subject
> xypic and dvipdf
>
>
>
>
>
>
> Dear Kristoffer,
>
> I am using (still) your excellent XyPic package, but I have a problem
> getting things to work with dvipdf. I am using LaTeX 2e and generate
> pdf with dvipdf, but the frames around xygraph objects does not show,
> e.g.
>
> \[
> \xymatrix{
> *+[F-,]\txt{$1$\\$0$} \ar[r] & \txt{$2$\\$+$} \ar[r] & \txt{$3$\\
> $\times$}
> }
> \]
>
> does not give what I want it (no frames from *+[F-,] that is). I am
> actually trying to draw a singly linked or doubly linked list, with
> the nodes split up in two boxes like this
>
>
> ________
> | |
> |------| ---->
> | | <----- etc and then maybe a terminator ---|
> -------- |
> -----
> ---
> -
>
> The reason for drawing this is in ASCII is that I thought that
> perhaps someone else has already attempted
> to visualise such linked lists or even UML-like boxes like the one
> above.
>
> Best Wishes,
> Johan Glimming
> PhD student Stockholm University, working on coalgebra and also a
> little bit of rewriting (but not so much)
>
> _______________________________________________
> xy-pic mailing list
> http://tug.org/mailman/listinfo/xy-pic
>
> _______________________________________________
> xy-pic mailing list
> http://tug.org/mailman/listinfo/xy-pic
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia 2109 fax: +61 +2 9850 8114
------------------------------------------------------------------------
More information about the xy-pic
mailing list