[Xy-pic] xy pic bug

Aleks Kleyn Aleks_Kleyn at MailAPS.org
Mon Jun 7 02:53:41 CEST 2010


I start from recent error that I got after last MikTeX update

!pdfTeX error: pdflatex (file xyd.enc): cannot open encoding file for
reading
 ==> Fatal error occurred, no output PDF file produced!

According to advice by Dr Ross Moore I put here minimal code and log file.

Code

\documentclass{amsart}
\usepackage[all]{xy}
\listfiles

\begin{document}
\title{Test}

\begin{abstract}
Abstract
\end{abstract}
contents
\[
\xymatrix{
&&X_1\ar[dd]^{\mathrm{id}}\ar[drr]^{g_1}\\
Y\ar[urr]^{f_1}\ar[drr]_{f_2}&&&&Z\\
&&X_2\ar[urr]_{g_2}
}
\]
\end{document}

Log file

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded
format=pdflatex 2010.5.14)  6 JUN 2010 20:03
entering extended mode
**\scrollmode\input Test.tex
(D:\Cd\05\Publishing\Report.10\Test.tex
("C:\Program Files\MiKTeX 2.8\tex\latex\ams\classes\amsart.cls"
Document Class: amsart 2009/07/02 v2.20.1
\linespacing=\dimen102
\normalparindent=\dimen103
\normaltopskip=\skip41
("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip42

For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amstext.sty"
Package: amstext 2000/06/29 v2.01

("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks14
\ex@=\dimen104
))
("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen105
)
("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf at bad=\count79
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count80
\leftroot@=\count81
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count82
\DOTSCASE@=\count83
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big at size=\dimen106
LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
\macc at depth=\count84
\c at MaxMatrixCols=\count85
\dotsspace@=\muskip10
\c at parentequation=\count86
\dspbrk at lvl=\count87
\tag at help=\toks15
\row@=\count88
\column@=\count89
\maxfields@=\count90
\andhelp@=\toks16
\eqnshift@=\dimen107
\alignsep@=\dimen108
\tagshift@=\dimen109
\tagwidth@=\dimen110
\totwidth@=\dimen111
\lineht@=\dimen112
\@envbody=\toks17
\multlinegap=\skip43
\multlinetaggap=\skip44
\mathdisplay at stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
LaTeX Font Info:    Try loading font information for U+msa on input line
388.

("C:\Program Files\MiKTeX 2.8\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
("C:\Program Files\MiKTeX 2.8\tex\latex\amsfonts\amsfonts.sty"
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 96.
)
\copyins=\insert233
\abstractbox=\box28
\listisep=\skip45
\c at part=\count91
\c at section=\count92
\c at subsection=\count93
\c at subsubsection=\count94
\c at paragraph=\count95
\c at subparagraph=\count96
\c at figure=\count97
\c at table=\count98
\abovecaptionskip=\skip46
\belowcaptionskip=\skip47
\captionindent=\dimen113
\thm at style=\toks19
\thm at bodyfont=\toks20
\thm at headfont=\toks21
\thm at notefont=\toks22
\thm at headpunct=\toks23
\thm at preskip=\skip48
\thm at postskip=\skip49
\thm at headsep=\skip50
\dth at everypar=\toks24
)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xy.sty"
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xy.tex" Bootstrap'ing:
catcodes, docmode, ("C:\Program Files\MiKTeX
2.8\tex\generic\xypic\xyrecat.tex"
) ("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xyidioms.tex")

 Xy-pic version 3.8 <2010/06/03>
 Copyright (c) 1991-2010 by Kristoffer H. Rose <krisrose at tug.org>
 Xy-pic is free software: see the User's Guide for details.

Loading kernel: messages; fonts; allocations: state,
\X at c=\dimen114
\Y at c=\dimen115
\U at c=\dimen116
\D at c=\dimen117
\L at c=\dimen118
\R at c=\dimen119
\Edge at c=\toks25
\X at p=\dimen120
\Y at p=\dimen121
\U at p=\dimen122
\D at p=\dimen123
\L at p=\dimen124
\R at p=\dimen125
\Edge at p=\toks26
\X at origin=\dimen126
\Y at origin=\dimen127
\X at xbase=\dimen128
\Y at xbase=\dimen129
\X at ybase=\dimen130
\Y at ybase=\dimen131
\X at min=\dimen132
\Y at min=\dimen133
\X at max=\dimen134
\Y at max=\dimen135
\lastobjectbox@=\box29
\zerodotbox@=\box30
\almostz@=\dimen136
 direction,
\d at X=\dimen137
\d at Y=\dimen138
\K@=\count99
\KK@=\count100
\Direction=\count101
\K at dXdY=\dimen139
\K at dYdX=\dimen140
\xyread@=\read1
\xywrite@=\write3
\csp@=\count102
\quotPTK@=\dimen141

utility macros; pictures: \xy, positions,
\swaptoks@@=\toks27
\connectobjectbox@@=\box31
 objects,
\styletoks@=\toks28
 decorations;
kernel objects: directionals, circles, text; options; algorithms:
directions,
edges, connections;  Xy-pic loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
)
Package: xy 2010/06/03 Xy-pic version 3.8

("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xyall.tex"
 Xy-pic option: All features v.3.5
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xycurve.tex"
 Xy-pic option: Curve and Spline extension v.3.10 curve,
\crv at cnt@=\count103
\crvpts@=\toks29
\splinebox@=\box32
\splineval@=\dimen142
\splinedepth@=\dimen143
\splinetol@=\dimen144
\splinelength@=\dimen145
 circles,
\L@=\dimen146
 loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xyframe.tex"
 Xy-pic option: Frame and Bracket extension v.3.10 loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xycmtip.tex"
 Xy-pic option: Computer Modern tip extension v.3.4
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xytips.tex"
 Xy-pic option: More Tips extension v.3.6 loaded) loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xyline.tex"
 Xy-pic option: Line styles extension v.3.8
\xylinethick@=\dimen147
 loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xyrotate.tex"
 Xy-pic option: Rotate and Scale extension v.3.6 loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xycolor.tex"
 Xy-pic option: Colour extension v.3.9 loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xymatrix.tex"
 Xy-pic option: Matrix feature v.3.7
\Row=\count104
\Col=\count105
\queue@=\toks30
\queue@@=\toks31
\qcount@=\count106
\qcount@@=\count107
\matrixsize@=\count108
 loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xyarrow.tex"
 Xy-pic option: Arrow and Path feature v.3.6 path, \ar, loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xygraph.tex"
 Xy-pic option: Graph feature v.3.8 loaded) loaded)
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xypdf.tex"
 Xy-pic option: PDF driver v.1.4 Xy-pic pdf driver: `color' extension
support
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xypdf-co.tex" loaded)
Xy-pic pdf driver: `curve' extension support
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xypdf-cu.tex"
\xP at off=\dimen148
\xP at ta=\dimen149
\xP at tb=\dimen150
\xP at tc=\dimen151
\xP at M=\dimen152
\xP at oldobj=\dimen153
\xP at Tax=\dimen154
\xP at Tay=\dimen155
\xP at Tdx=\dimen156
\xP at Tdy=\dimen157
\xP at Tmx=\dimen158
\xP at Tmy=\dimen159
\xP at xa=\dimen160
\xP at ya=\dimen161
\xP at xb=\dimen162
\xP at yb=\dimen163
\xP at xc=\dimen164
\xP at yc=\dimen165
\xP at xd=\dimen166
\xP at yd=\dimen167
 loaded)
Xy-pic pdf driver: `frame' extension support
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xypdf-fr.tex" loaded)
Xy-pic pdf driver: `line' extension support
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xypdf-li.tex" loaded)
Xy-pic pdf driver: `rotate' extension support
("C:\Program Files\MiKTeX 2.8\tex\generic\xypic\xypdf-ro.tex" loaded)
loaded))
No file Test.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Try loading font information for U+msa on input line 5.
("C:\Program Files\MiKTeX 2.8\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
LaTeX Font Info:    Try loading font information for U+msb on input line 5.

("C:\Program Files\MiKTeX 2.8\tex\latex\amsfonts\umsb.fd"
File: umsb.fd 2009/06/22 v3.00 AMS symbols B
)
Package xypdf Info: Line width: 0.39998pt on input line 5.
 <xymatrix 5x3 251>
[1{C:/ProgramData/MiKTeX/2.8/pdftex/config/pdftex.map}]
(D:\Cd\05\Publishing\Report.10\Out\Test.aux)

 *File List*
  amsart.cls    2009/07/02 v2.20.1
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
    umsa.fd    2009/06/22 v3.00 AMS symbols A
amsfonts.sty    2009/06/22 v3.00 Basic AMSFonts support
      xy.sty    2010/06/03 Xy-pic version 3.8
   ifpdf.sty    2010/01/28 v2.1 Provides the ifpdf switch (HO)
    umsa.fd    2009/06/22 v3.00 AMS symbols A
    umsb.fd    2009/06/22 v3.00 AMS symbols B
 ***********

 ) 
Here is how much of TeX's memory you used:
 4062 strings out of 495285
 48001 string characters out of 3180394
 145530 words of memory out of 3000000
 7071 multiletter control sequences out of 15000+200000
 10165 words of font info for 44 fonts, out of 3000000 for 9000
 175 hyphenation exceptions out of 8191
 34i,12n,26p,3243b,399s stack positions out of
5000i,500n,10000p,200000b,50000s

!pdfTeX error: pdflatex (file xyd.enc): cannot open encoding file for
reading
 ==> Fatal error occurred, no output PDF file produced!

Thank you

Aleks Kleyn
http://sites.google.com/site/AleksKleyn/ 
http://arxiv.org/a/kleyn_a_1  
http://AleksKleyn.blogspot.com/




-----Original Message-----
From: Ross Moore [mailto:ross.moore at mq.edu.au] 
Sent: Sunday, June 06, 2010 7:04 PM
To: Aleks Kleyn
Cc: Xy-pic mailing list
Subject: Re: xy pic bug

Hello Aleks,

On 07/06/2010, at 6:15 AM, Aleks Kleyn wrote:

> Hello Dr Ross R Moore
> I sent you email because I found link on xy-pic web site and I do  
> not know who is better to contact.

I replied to you, including the address of the Xy-pic mailing list.
It is also a recipient of this email.

> If I should sent this email to somebody else let me know. I posted  
> this email on MikTeX forum. However nobody responded me.

The Xy-pic mailing list is best.
There may be people there using a similar setup to you.

>
> I meet the bug which reports me when pdflatex finishes compilation
>
> <C:\Users\sasha\AppData\Local\MiKTeX\2.8\fonts\pk\ljfour\lh\lh-t2b 
> \dpi600\lb
> bx0700.pk>
> !pdfTeX error: pdflatex (file xyd.enc): cannot open encoding file  
> for reading
>  ==> Fatal error occurred, no output PDF file produced!

It's strange that MikTeX is trying to use bitmap fonts.
These days it should be using the Xy-pic Type1 fonts instead.
Maybe you do not have these installed?


Would you please post the complete Log-window output,
not just the single line above.
(This is what I asked last time too.)

Also, please give your complete LaTeX preamble;
that is, your document source, from
   \documentclass....
down to
   \begin{document}

Only then can anyone put this error into the correct context,
and do some testing to try to pin-point what may be going wrong.

Even this may not be sufficient.
It may be necessary for you to provide a complete *minimal*
example of a document that fails with this error.

>
> I tried to get latest version from xy web site in hope that bug is  
> fixed. But there structure is different than in MikTeX folder.
>
> Thank you.
> Aleks Kleyn
> http://sites.google.com/site/AleksKleyn/
> http://arxiv.org/a/kleyn_a_1
> http://AleksKleyn.blogspot.com/
>


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