Post by Marc D.I have a file that processes fine using "PDF (ps to pdf)"
option.
LaTeX Error: Cannot determine size of graphic in /tmp/
lyx_tmpdir7937ASk7yo/ly
...van_courses_current_320_assign_a1-3b.jpg}
I'm at my wits end. Can someone please tell me at least WHAT is wrong,
in terms of why LyX isn't able to create LaTeX code that works in
this case?
What is LyX is doing (or not doing) that creates this LaTeX error?
What should either LyX or myself should be doing to correct the problem?
I have googled, read the archives, searched, scoured, and generally
beat my head on this for many hours now, and I'm no closer to a clue.
Please, can someone help?
Do I have the wrong version of teTeX? Did I load the wrong tools?
This type of thing used to work without any problems with 1.3.4, 1.3,5
and 1.3.6 prior to a system error I had last week. Now, it's not working
at all.
What are the people using MacOSX generally using as the teTeX install?
I followed the instructions for Texshop, and used the 2006 MacTex.dmg
to install the necessary teTeX files. Should I be using something else?
I vaguely recall doing something different the first time I installed
teTeX, but do you think I can find my old notes? Not a chance!
All I'm doing is inserting a graphic into a file. That is the only
change between the two files.
Here are the differences between a file that works and one
that doesn't:
=====================
assign $ diff a1.borked.lyx a1.works.lyx
2492,2502d2491
< \layout Standard
<
<
< \begin_inset Graphics
< filename a1-3a.jpg
< lyxscale 50
< scale 50
<
< \end_inset
<
<
3653,3663d3641
< \layout Standard
<
<
< \begin_inset Graphics
< filename a1-3b.jpg
< lyxscale 50
< scale 50
<
< \end_inset
<
<
5693,5703d5670
< \layout Standard
<
<
< \begin_inset Graphics
< filename a1-3c.jpg
< lyxscale 50
< scale 50
<
< \end_inset
<
<
==============================
And a full log from the most recent test on a1.borked.lyx
============== cut << _EOF_ ================
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(format=pdflatex 2006.1.8) 26 JAN 2006 00:09
entering extended mode
**a1.tex
(./a1.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\***@part=\count79
\***@section=\count80
\***@subsection=\count81
\***@subsubsection=\count82
\***@paragraph=\count83
\***@subparagraph=\count84
\***@figure=\count85
\***@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/fontenc.sty
Package: fontenc 2004/02/22 v1.99f Standard LaTeX package
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/t1enc.def
File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)) (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/inputenc.sty
Package: inputenc 2004/02/05 v1.0d Input encoding file
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/latin1.def
File: latin1.def 2004/02/05 v1.0d Input encoding file
)) (/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.sty
Package: geometry 2002/07/08 v3.2 Page Geometry
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\***@toks@=\toks14
)
\***@cnth=\count87
\***@cntv=\count88
\***@Gm@tempcnt=\count89
\***@bindingoffset=\dimen103
\***@wd@mp=\dimen104
\***@odd@mp=\dimen105
\***@even@mp=\dimen106
\***@dimlist=\toks15
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.cfg))
(/usr/loc
al/teTeX/share/texmf.tetex/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen107
)) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen108
) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\***@bad=\count90
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count91
\leftroot@=\count92
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count93
\DOTSCASE@=\count94
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
\***@size=\dimen109
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\***@depth=\count95
\***@MaxMatrixCols=\count96
\dotsspace@=\muskip10
\***@parentequation=\count97
\***@lvl=\count98
\***@help=\toks17
\row@=\count99
\column@=\count100
\maxfields@=\count101
\andhelp@=\toks18
\eqnshift@=\dimen110
\alignsep@=\dimen111
\tagshift@=\dimen112
\tagwidth@=\dimen113
\totwidth@=\dimen114
\lineht@=\dimen115
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\***@stack=\toks20
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg
File: graphics.cfg 2005/02/03 v1.3 graphics configuration of teTeX/
TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 80.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\***@req@height=\dimen116
\***@req@width=\dimen117
) (/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\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 132.
)) (/usr/local/teTeX/share/texmf.tetex/tex/latex/fancyhdr/fancyhdr.sty
\***@headwidth=\skip46
\***@ncyO@elh=\skip47
\***@ncyO@erh=\skip48
\***@ncyO@olh=\skip49
\***@ncyO@orh=\skip50
\***@ncyO@elf=\skip51
\***@ncyO@erf=\skip52
\***@ncyO@olf=\skip53
\***@ncyO@orf=\skip54
) (/usr/local/teTeX/share/texmf.tetex/tex/latex/lastpage/lastpage.sty
Package: lastpage 1994/06/25 v0.1b LaTeX2e package for refs to last
page number
(JPG)
) (/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.sty
Package: babel 2004/11/20 v3.8d The Babel package
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/english.ldf
Language: english 2004/06/14 v3.3o English support from the babel system
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.def
File: babel.def 2004/11/20 v3.8d Babel common definitions
\***@savecnt=\count102
\***@D=\dimen118
)
\***@british = a dialect from \language\***@english
\***@UKenglish = a dialect from \language\***@english
\***@canadian = a dialect from \language\***@american
\***@australian = a dialect from \language\***@british
\***@newzealand = a dialect from \language\***@british
))
No file a1.aux.
\openout1 = `a1.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 29.
LaTeX Font Info: ... okay on input line 29.
-------------------- Geometry parameters
paper: letterpaper
landscape: --
twocolumn: --
twoside: --
asymmetric: --
h-parts: 72.26999pt, 433.62001pt, 108.405pt
v-parts: 72.26999pt, 650.43001pt, 72.26999pt
hmarginratio: --
vmarginratio: --
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver: pdftex
-------------------- Page layout dimensions and switches
\paperwidth 614.295pt
\paperheight 794.96999pt
\textwidth 433.62001pt
\textheight 650.43001pt
\oddsidemargin 0.0pt
\evensidemargin 0.0pt
\topmargin -37.0pt
\headheight 12.0pt
\headsep 25.0pt
\footskip 30.0pt
\marginparwidth 65.0pt
\marginparsep 11.0pt
\columnsep 10.0pt
\skip\footins 9.0pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
(1in=72.27pt, 1cm=28.45pt)
-----------------------
LaTeX Font Info: Try loading font information for U+msa on input
line 39.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input
line 39.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Warning: Reference `LastPage' on page 1 undefined on input line
78.
[1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/
pdftex.map}
]
LaTeX Warning: Reference `LastPage' on page 2 undefined on input line
98.
[2]
Overfull \hbox (103.34856pt too wide) in paragraph at lines 118--121
\T1/cmr/m/n/10 final ex-pres-sion: $\OML/cmm/m/it/10 b[]\OT1/cmr/m/n/
10 ((\OML/
cmm/m/it/10 a[]b\OT1/cmr/m/n/10 )[]\OML/cmm/m/it/10 bb\OT1/cmr/m/n/
10 )[]$ \T1/
cmr/m/n/10 + $\OML/cmm/m/it/10 b[]a\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 a
[]\OT1/cm
r/m/n/10 (\OML/cmm/m/it/10 ba\OT1/cmr/m/n/10 )[](\OML/cmm/m/it/10 bb[]
a[]b\OT1/
cmr/m/n/10 )[])[]$ \T1/cmr/m/n/10 + $\OML/cmm/m/it/10 b[]a[]$$b \OT1/
cmr/m/n/10
( (\OML/cmm/m/it/10 ab\OT1/cmr/m/n/10 )[]$$(\OML/cmm/m/it/10 a[]b\OT1/
cmr/m/n/
10 )[](\OML/cmm/m/it/10 bb[]a[]b\OT1/cmr/m/n/10 )[] )[]$\T1/cmr/m/n/
10 + $\OML/
cmm/m/it/10 b[]a[]b\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 a[]b\OT1/cmr/m/n/
10 )[]\OM
L/cmm/m/it/10 b\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 b[]a[]b\OT1/cmr/m/n/
10 (\OML/c
mm/m/it/10 a[]b\OT1/cmr/m/n/10 )[]\OML/cmm/m/it/10 b\OT1/cmr/m/n/10 )[]$
[]
LaTeX Warning: Reference `LastPage' on page 3 undefined on input line
156.
[3]
LaTeX Warning: Reference `LastPage' on page 4 undefined on input line
214.
[4]
! LaTeX Error: Cannot determine size of graphic in /tmp/
lyx_tmpdir17654ldPLfc/l
yx_tmpbuf0/0_Users_donovan_courses_current_320_assign_a1-3a.jpg (no
BoundingBox
).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.456 ...van_courses_current_320_assign_a1-3a.jpg}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: /tmp/lyx_tmpdir17654ldPLfc/
lyx_tmpbuf0/0_Users_donovan_courses_current_32
0_assign_a1-3a.jpg Graphic file (type eps)
</tmp/lyx_tmpdir17654ldPLfc/
lyx_tmpbuf0/0_Users_donovan_courses_current_320_ass
ign_a1-3a.jpg>
LaTeX Warning: Reference `LastPage' on page 5 undefined on input line
459.
[5
Non-PDF special ignored!]
! LaTeX Error: Cannot determine size of graphic in /tmp/
lyx_tmpdir17654ldPLfc/l
yx_tmpbuf0/1_Users_donovan_courses_current_320_assign_a1-3b.jpg (no
BoundingBox
).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.627 ...van_courses_current_320_assign_a1-3b.jpg}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: /tmp/lyx_tmpdir17654ldPLfc/
lyx_tmpbuf0/1_Users_donovan_courses_current_32
0_assign_a1-3b.jpg Graphic file (type eps)
</tmp/lyx_tmpdir17654ldPLfc/
lyx_tmpbuf0/1_Users_donovan_courses_current_320_ass
ign_a1-3b.jpg>
LaTeX Warning: Reference `LastPage' on page 6 undefined on input line
630.
[6
Non-PDF special ignored!]
! LaTeX Error: Cannot determine size of graphic in /tmp/
lyx_tmpdir17654ldPLfc/l
yx_tmpbuf0/2_Users_donovan_courses_current_320_assign_a1-3c.jpg (no
BoundingBox
).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.910 ...van_courses_current_320_assign_a1-3c.jpg}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
File: /tmp/lyx_tmpdir17654ldPLfc/
lyx_tmpbuf0/2_Users_donovan_courses_current_32
0_assign_a1-3c.jpg Graphic file (type eps)
</tmp/lyx_tmpdir17654ldPLfc/
lyx_tmpbuf0/2_Users_donovan_courses_current_320_ass
ign_a1-3c.jpg> AED: lastpage setting LastPage
LaTeX Warning: Reference `LastPage' on page 7 undefined on input line
911.
[7
Non-PDF special ignored!] (./a1.aux)
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-
references right.
)
Here is how much of TeX's memory you used:
2424 strings out of 95137
29144 string characters out of 1183014
2082174 words of memory out of 4537009
5558 multiletter control sequences out of 10000+50000
9961 words of font info for 28 fonts, out of 2000000 for 2000
58 hyphenation exceptions out of 5000
27i,11n,43p,1091b,220s stack positions out of 5000i,500n,6000p,
200000b,40000s
PDF statistics:
56 PDF objects out of 300000
0 named destinations out of 131072
1 words of extra memory for PDF output out of 10000
</usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/symbols/
msam10.pfb></
usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmmi7.pfb>{/
usr/local/
teTeX/share/texmf.local/fonts/enc/dvips/cm-super/cm-super-t1.enc}</
usr/local/te
TeX/share/texmf.local/fonts/type1/public/cm-super/sfbx1200.pfb></usr/
local/teTe
X/share/texmf.tetex/fonts/type1/bluesky/cm/cmr10.pfb></usr/local/
teTeX/share/te
xmf.tetex/fonts/type1/bluesky/cm/cmsy10.pfb></usr/local/teTeX/share/
texmf.tetex
/fonts/type1/bluesky/cm/cmsy7.pfb></usr/local/teTeX/share/texmf.tetex/
fonts/typ
e1/bluesky/cm/cmr7.pfb></usr/local/teTeX/share/texmf.tetex/fonts/
type1/bluesky/
cm/cmmi10.pfb></usr/local/teTeX/share/texmf.local/fonts/type1/public/
cm-super/s
fbx1440.pfb></usr/local/teTeX/share/texmf.local/fonts/type1/public/cm-
super/sfb
x1000.pfb></usr/local/teTeX/share/texmf.local/fonts/type1/public/cm-
super/sfrm1
000.pfb>
Output written on a1.pdf (7 pages, 113492 bytes).
_EOF_ ============================== end cut ================