[Xy-pic] a question about \xygraph

Ross Moore ross.moore at mq.edu.au
Wed Jun 2 00:30:31 CEST 2010


Hello Felipe,

On 02/06/2010, at 2:47 AM, Felipe GAYOSSO MARTINEZ wrote:

>  Hello xy-p mailing list!
>
> Recently I have installed the xy-pic package on a pc with f12. The  
> compilation of the following code doesnt show the pdf from the  
> author. Specifically the mistake is in names "a_1",..."b_5" and its  
> edges "a1"-"a3", because if i coment the name and edge  
> assignations, the compilation works.
>
> \[ \fbox{ \xygraph{
> !{<0cm,0cm>;<0cm,1cm>:<-1cm,0cm>::}
> !{(0,0);a(0)**{}?(1.0)}*{\bullet}="a1"
> !{(0,0);a(72)**{}?(1.0)}*{\bullet}="a2"
> !{(0,0);a(144)**{}?(1.0)}*{\bullet}="a3"
> !{(0,0);a(216)**{}?(1.0)}*{\bullet}="a4"
> !{(0,0);a(288)**{}?(1.0)}*{\bullet}="a5"
> !{(0,0);a(0)**{}?(1.8)}*{\bullet}="b1"
> !{(0,0);a(72)**{}?(1.8)}*{\bullet}="b2"
> !{(0,0);a(144)**{}?(1.8)}*{\bullet}="b3"
> !{(0,0);a(216)**{}?(1.8)}*{\bullet}="b4"
> !{(0,0);a(288)**{}?(1.8)}*{\bullet}="b5"
> "a1"-"a3" "a3"-"a5" "a5"-"a2" "a2"-"a4" "a4"-"a1"
> "b1"-"b2" "b2"-"b3" "b3"-"b4" "b4"-"b5" "b5"-"b1"
> "a1"-"b1" "a2"-"b2" "a3"-"b3" "a4"-"b4" "a5"-"b5"
>  } } \]

This coding works absolutely fine for me, producing
the (Petersen ?) graph in the attached image.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 27065 bytes
Desc: not available
URL: <http://tug.org/pipermail/xy-pic/attachments/20100602/7287c591/attachment-0001.jpeg>
-------------- next part --------------


>
> some from the .bug file :
>
> ! Use of \next@ doesn't match its definition.
> <argument> ....2cm>::} !{(0,0) }*+{\bullet _{a}}="
>                                                   a" !{(1,1) }*+ 
> {\bullet _{b...

This error message cannot come from the example above.
You haven't used   *+{\bullet _{a}}   or  !{(1,1) }  anywhere.

One possibility is that you have got some mis-matched "..."
within your source. What we see in the error message is the
*closing* quote, where the opening quote was much earlier,
at the beginning of the leading dots in:
       ....2cm>::} !{(0,0) }*+{\bullet _{a}}="

This string could be very long, indeed it is being used
as the   <argument>  for some Xy-pic internal macro.
I'm pretty sure that is not what you had intended.


>
>
>
> If anybody have any suggestion, its good.
> Many thanks in advance.
> Felipe.


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
------------------------------------------------------------------------





More information about the xy-pic mailing list