Dear Stephen, attached is the .lyx file and the two .svg files.
Also below is the Latex log created when trying to view the .lyx file. I hope that helps. This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex 2015.7.17) 31 JUL 2015 10:09 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **svg_test.tex (./svg_test.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. (/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2015/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (/usr/local/texlive/2015/texmf-dist/tex/latex/base/t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info: Redeclaring font encoding T1 on input line 48. )) (/usr/local/texlive/2015/texmf-dist/tex/latex/base/inputenc.sty Package: inputenc 2015/03/17 v1.2c Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15 (/usr/local/texlive/2015/texmf-dist/tex/latex/base/latin9.def File: latin9.def 2015/03/17 v1.2c Input encoding file )) (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty Package: keyval 2014/10/28 v1.15 key=value parser (DPC) \KV@toks@=\toks16 ) (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty Package: graphics 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR) (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live ) Package graphics Info: Driver file: pdftex.def on input line 94. (/usr/local/texlive/2015/texmf-dist/tex/latex/pdftex-def/pdftex.def File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) \Gread@gobject=\count87 )) \Gin@req@height=\dimen103 \Gin@req@width=\dimen104 ) (/usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.sty Package: babel 2014/09/25 3.9l The Babel package (/usr/local/texlive/2015/texmf-dist/tex/generic/babel-english/english.ldf Language: english 2012/08/20 v3.3p English support from the babel system (/usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.def File: babel.def 2014/09/25 3.9l Babel common definitions \babel@savecnt=\count88 \U@D=\dimen105 ) \l@canadian = a dialect from \language\l@american \l@australian = a dialect from \language\l@british \l@newzealand = a dialect from \language\l@british )) No file svg_test.aux. \openout1 = `svg_test.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10. LaTeX Font Info: ... okay on input line 10. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10. LaTeX Font Info: ... okay on input line 10. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10. LaTeX Font Info: ... okay on input line 10. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10. LaTeX Font Info: ... okay on input line 10. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10. LaTeX Font Info: ... okay on input line 10. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10. LaTeX Font Info: ... okay on input line 10. (/usr/local/texlive/2015/texmf-dist/tex/context/base/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] \scratchcounter=\count89 \scratchdimen=\dimen106 \scratchbox=\box26 \nofMPsegments=\count90 \nofMParguments=\count91 \everyMPshowfont=\toks17 \MPscratchCnt=\count92 \MPscratchDim=\dimen107 \MPnumerator=\count93 \makeMPintoPDFobject=\count94 \everyMPtoPDFconversion=\toks18 ) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO ) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) Package ifluatex Info: LuaTeX not detected. ) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifpdf.sty Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in PDF mode is detected. ) Package pdftexcmds Info: LuaTeX not detected. Package pdftexcmds Info: \pdf@primitive is available. Package pdftexcmds Info: \pdf@ifprimitive is available. Package pdftexcmds Info: \pdfdraftmode found. ) (/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf (/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/grfext.sty Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) )) (/usr/local/texlive/2015/texmf-dist/tex/latex/oberdiek/kvoptions.sty Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/etexcmds.sty Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. ))) Package grfext Info: Graphics extension search list: (grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE G,.JBIG2,.JB2,.eps] (grfext) \AppendGraphicsExtensions on input line 452. (/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv e )) LaTeX Warning: File `2_Users_ed_Documents_Home_to_work_150731_untitled_folder_i nformation.pdf' not found on input line 15. ! Package pdftex.def Error: File `2_Users_ed_Documents_Home_to_work_150731_unti tled_folder_information.pdf' not found. See the pdftex.def package documentation for explanation. Type H <return> for immediate help. ... l.15 ...rk_150731_untitled_folder_information.pdf} Using draft setting for this image. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. LaTeX Font Info: Try loading font information for T1+cmtt on input line 15. (/usr/local/texlive/2015/texmf-dist/tex/latex/base/t1cmtt.fd File: t1cmtt.fd 2014/09/29 v2.5h Standard LaTeX font definitions ) LaTeX Warning: File `3_Users_ed_Documents_Home_to_work_150731_untitled_folder_d rawing-1_copy.pdf' not found on input line 28. ! Package pdftex.def Error: File `3_Users_ed_Documents_Home_to_work_150731_unti tled_folder_drawing-1_copy.pdf' not found. See the pdftex.def package documentation for explanation. Type H <return> for immediate help. ... l.28 ...150731_untitled_folder_drawing-1_copy.pdf} Using draft setting for this image. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. [1{/usr/local/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map} ] (./svg_test.aux) ) Here is how much of TeX's memory you used: 2126 strings out of 493089 29266 string characters out of 6134842 88769 words of memory out of 5000000 5605 multiletter control sequences out of 15000+600000 4716 words of font info for 16 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 38i,4n,23p,238b,259s stack positions out of 5000i,500n,10000p,200000b,80000s {/usr/local/texlive/2015/texmf-dist/fonts/enc/dvips/cm-supe r/cm-super-t1.enc}</usr/local/texlive/2015/texmf-dist/fonts/type1/public/cm-sup er/sfrm1000.pfb></usr/local/texlive/2015/texmf-dist/fonts/type1/public/cm-super /sftt1000.pfb> Output written on svg_test.pdf (1 page, 44392 bytes). PDF statistics: 17 PDF objects out of 1000 (max. 8388607) 11 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000) On 31 July 2015 at 09:54, Stephan Witt <st.w...@gmx.net> wrote: > Am 31.07.2015 um 10:19 schrieb Ed Warminski <e.warmin...@sheffield.ac.uk>: > > > Dear All, > > > > first, any help you may offer will be most appreciated, I'm a noobie! > > > > Try as I might I am unable to avoid the "! Package pdftex.def Error: > File not found" message when trying to view (pdflatex) a LyX file > containing an SVG graphic (created in Inkscape). > > > > I've tried to research this issue and tried various solutions with no > change in the result. > > My workaround is to convert the SVG into PDF format externally and use > that in the LyX document. > > Hi Ed, > > it would be good to have a small LyX file + SVG file demonstrating the > problem. > The LyX file shouldn't contain any stuff not needed to produce the error. > See http://wiki.lyx.org/FAQ/MinimalExample for an explanation why and how > to do it. > Thanks. > > Stephan > > > > > Here is the LaTeX log entry containing the error: > > ----- > > LaTeX Warning: File > `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found on > input line 28. > > > > ! Package pdftex.def Error: File > `1_Users_ed_Documents_Home_to_work_150731_drawing-1_copy.pdf' not found. > > > > See the pdftex.def package documentation for explanation. Type H > <return> for immediate help. ... l.28 > ...ts_Home_to_work_150731_drawing-1_copy.pdf} Using draft setting for this > image. Try typing <return> to proceed. If that doesn't work, type X > <return> to quit. > > ------ > > > > I can not even find the pdftex.def package documentation to refer to. > > > > My Mac has the following installed: MacOS 10.10.4, LyX 2.1.4, Inkscape > 0.91, MacTeX 2015 and XQuatrz 2.7.7. > > > > -- > > cheers, ed. > > > > --- END of MESSAGE --- > > > > Dr. E. E. Warminski > > The Chemistry Department (C15A) > > University of Sheffield > > Dainton Building > > Brook Hill > > Sheffield > > S3 7HF > > > > Direct Telephone line (with answerphone): (+44) 0114 22 29324 > > -- cheers, ed. --- END of MESSAGE --- Dr. E. E. Warminski The Chemistry Department (C15A) University of Sheffield Dainton Building Brook Hill Sheffield S3 7HF Direct Telephone line (with answerphone): (+44) 0114 22 29324
svg_test.lyx
Description: Binary data