BigG wrote:
I have LyX 1.6.4 installed in cygwin on W2K, and LyXWindows 1.6.4 on W2K on another box. When I use beamerlyxexample1.lyx, warnings about missing graphics are generated. The following are
examples:

Package pgf Warning: File "beamer-icsi-logo" not found when defining image "ics
i-logo".
(pgf)                Tried all extensions in ".pdf:.jpg:.jpeg:.png:" on input l
ine 49.


Package pgf Warning: Missing height for image "icsi-logo" in draft mode.
(pgf)                Using 1cm instead on input line 49.


Package pgf Warning: File "beamer-knight1-mask" not found when defining mask "k
night1-mask".
(pgf)                Tried all extensions in ".pdf:.jpg:.jpeg:.png:" on input l
ine 169.


Package pgf Warning: File "beamer-knight1" not found when defining image "knigh
t1".
(pgf)                Tried all extensions in ".pdf:.jpg:.jpeg:.png:" on input l
ine 169.

The PDF generated is fine, but missing the four knight images, and the ICSI 
logo. This is what I
would expect. However, the relevant image files are actually there in the same 
directory as
beamerlyxexample1.lyx. For example,

$ ls -w 80 /usr/local/share/lyx/examples/beam*
/usr/local/share/lyx/examples/beamer-g4-mask.jpg*
/usr/local/share/lyx/examples/beamer-g4.jpg*
/usr/local/share/lyx/examples/beamer-icsi-logo.pdf*
/usr/local/share/lyx/examples/beamer-knight1-mask.png*
/usr/local/share/lyx/examples/beamer-knight1.png*
/usr/local/share/lyx/examples/beamer-knight2-mask.png*
/usr/local/share/lyx/examples/beamer-knight2.png*
/usr/local/share/lyx/examples/beamer-knight3-mask.png*
/usr/local/share/lyx/examples/beamer-knight3.png*
/usr/local/share/lyx/examples/beamer-knight4-mask.png*
/usr/local/share/lyx/examples/beamer-knight4.png*
/usr/local/share/lyx/examples/beamerlyxexample1.lyx*

Why can't pdflatex find them?

Bill Gordon


Works fine on Win XP here. Is this occurring when you try View->PDF (pdflatex)? If so, here are a couple of things to try:

1.  Try exporting a TeX file and running pdflatex against it manually.

2. Do View->PDF (pdflatex) and, while the PDF version is open, use a DOS window to navigate to your temp directory. (Tools -> Preferences -> Paths -> Temporary directory will point you to it if the location is not obvious.) You should see beamerlyxexample1.tex sitting there. Open it with any text viewer. About the third line should be a path command, something like

\def\in...@path{{\string"C:/Program Files/LyX16/Resources/examples/\string"/}}

(give or take).  Check to make sure the path is correct.

/Paul


Reply via email to