[Xy-pic] Dotted arrows and dvips
Ross Moore
ross@ics.mq.edu.au
Mon, 13 May 2002 19:00:17 +1000 (EST)
> If I do:
>
> \documentclass{article}
> \usepackage[dvips,arrow,matrix]{xy}
> \begin{document}
> \xymatrix{A\ar@{.>}[r] & B}
> \end{document}
>
> and run (LaTeX and) dvips -o, the resulting .ps does not seem to have a
> dotted arrow (previewing in Gnome-gv). But if i omit the dvips option
> I get the expected dots.
>
> Am I supposed to have specified any extra options to dvips to get the dots?
No, it should happen automatically, with the dots and arrow-heads
being specified with PostScript \special commands.
When I run your example (renamed as artest.tex), and use dvips -o .....
then I get files:
-rw-r--r-- 1 ross staff 25018 May 13 18:46 artest-dvips.ps
-rw-r--r-- 1 ross staff 6209 May 13 18:46 artest-fonts.ps
The latter is with no 'dvips' option specified.
The difference in size is due mainly to the Xy-pic PostScript header
that gets written into the .ps file.
Ghostscript shows dots in both files; though the mechanisms are
quite different.
What file sizes do you get?
The last 60 or so lines should be as follows:
/circhar{gsave dup 3 gt{7 sub neg}if dup 3 eq{pop dup 2 sqrt -2 div
mul}{dup 1 eq{pop dup 2 sqrt 2 div mul} {0 eq{dup}{0}ifelse}ifelse}ifelse
0 translate 3 1 roll circ grestore}bind def /c /circhar load def
end end
@fedspecial end TeXDict begin
39158280 55380996 1000 600 600 (artest.dvi) @start
%DVIPSBitmapFont: Fa cmr10 10 1
/Fa 1 50 df<EB01C013031307131F13FFB5FCA2131F1200B3B3A8497E007FB512F0A31C
3879B72A>49 D E
%EndDVIPSBitmapFont
%DVIPSBitmapFont: Fb cmmi10 10 2
/Fb 2 67 df<1760177017F01601A21603A21607160FA24C7EA216331673166316C3A2ED
0183A2ED0303150683150C160115181530A21560A215C014011580DA03007FA202061300
140E140C5C021FB5FC5CA20260C7FC5C83495A8349C8FC1306A25BA25B13385B01F01680
487E000716FFB56C013F13FF5EA2383C7DBB3E>65 D<0103B77E4916F018FC903B0007F8
0003FE4BEB00FFF07F80020FED3FC0181F4B15E0A2141FA25DA2143F19C04B143F198002
7F157F190092C812FE4D5A4A4A5AEF0FF04AEC1FC005FFC7FC49B612FC5F02FCC7B4FCEF
3FC00103ED0FE0717E5C717E1307844A1401A2130F17035CA2131F4D5A5C4D5A133F4D5A
4A4A5A4D5A017F4BC7FC4C5A91C7EA07FC49EC3FF0B812C094C8FC16F83B397DB83F>I
E
%EndDVIPSBitmapFont
end
%%EndProlog
%%BeginSetup
%%Feature: *Resolution 600dpi
TeXDict begin
%%BeginPaperSize: a4
a4
%%EndPaperSize
%%EndSetup
%%Page: 1 1
1 0 bop 540 551 a Fb(A)627 523 y @beginspecial @setspecial
{0.0 0.0 dt}xy
@endspecial 199 w @beginspecial @setspecial
{3072 10 /xy AB}xy
@endspecial
@beginspecial @setspecial
{23.99998 0.0 dt}xy
@endspecial @beginspecial
@setspecial
{0.0 0.0 dt}xy
@endspecial 851 551 a(B)1926 5255 y Fa(1)p
eop
%%Trailer
end
userdict /end-hook known{end-hook}if
%%EOF
>
> I am using Debian potato which came with Xy-pic 3.7.
>
> Thanks for any info!
Hope this helps,
Ross Moore
> _______________________________________________
> Xy-pic mailing list
> http://tug.org/mailman/listinfo/xy-pic