# [Xy-pic] Angled lines and Postscript

Bryan Eastin beastin at gmail.com
Sun Aug 14 23:32:26 CEST 2011

Hi Ross,

Thanks for the suggestions.

I am trying to get this to work with an automated system that compiles
to both PDF and PS (and over which I have no control), so I'm not able
to manually twiddle things or to change the workflow for producing PS
files.

Currently, my solution is to use the ifpdf package to automatically
insert or remove a block of \xyoption commands depending on whether a
PDF or PS file is being produced.  This worries me for two reasons:
First, I had to pick which PS drivers to load, and I'm not sure how
widely these (as opposed to other choices) should be expected to work.
Second, using the additional drivers seems to really mess up the DVI
files.

I was hoping to avoid using extra drivers entirely.  Given that the
arc extension works without them, it seemed like not an unreasonable
hope.

Bryan

On Sun, Aug 14, 2011 at 2:49 PM, Ross Moore <ross.moore at mq.edu.au> wrote:
> Hello Bryan,
>
> On 15/08/2011, at 6:19 AM, Bryan Eastin wrote:
>
>> Hi,
>>
>> Is there any good way to get Xy-pic to typeset diagonal or angled
>> lines to a Postscript file without using the \xyoption command to load
>> special purpose drivers?
>
> Using LaTeX, just specify the driver options with \usepackage :
>
>   \usepackage[dvips,ps,all,color,rotate,line]{xy}
>
> This assumes you are not processing with pdfTeX, since you say
> you want a PostScript file.
>
>
> If not using LaTeX, then just have a block of \xyoption{...}
> commands which you can comment or uncomment at will.
>
>
> Alternatively use the latest Xy-pic with automatic Xypdf support,
> and pdfTeX as the processing engine, then use your OS to print
> the PDF to PostScript. That should work quite well for most things
> that Xy-pic provides.
>
>>
>> (This is a trimmed down version of an earlier question.)
>>
>> Thank you,
>> Bryan
>
> Hope this helps,
>
>        Ross
>
> ------------------------------------------------------------------------
> Ross Moore                                       ross.moore at 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
> ------------------------------------------------------------------------
>
>
>
>