Re: ! Package pdftex.def Error: File not found.
Dear Stephan, apologies for spelling your name incorrectly in the last message and thank you for your reply. You asked me to: "enable the Message pane and select the log messages related to file and graphics processing, try the preview again and post the resulting output here". In the settings of the Message pane I enabled "Files used by LyX" and "Graphics conversion and loading" as I thought they were the nearest interpretations of your request. I tried the preview again and the error occurred again, here is the output copied from the Message pane... 06:42:52.191: Previewing ... 06:42:52.217: inkscape --file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg" --export-area-drawing --without-gui --export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"Buffer.cpp (3940): target=pdf2 Buffer.cpp (4009): filename=/var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/svg_test.tex insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg insets/InsetGraphics.cpp (774): Message = "" insets/InsetGraphics.cpp (789): Opts = insets/InsetGraphics.cpp (796): Before = \includegraphics after = insets/InsetGraphics.cpp (461): Comparing /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg and /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg support/FileName.cpp (606): Checksumming "/Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg" 1862632004 lasted 0 ms. Format.cpp (399): filetools(getFormatFromContents) Couldn't find a known format! Format.cpp (493): will guess format from file extension: svg -> svg support/FileName.cpp (223): Copying /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg Format.cpp (399): filetools(getFormatFromContents) Couldn't find a known format! Format.cpp (493): will guess format from file extension: svg -> svg insets/InsetGraphics.cpp (109): findTargetFormat: PDF mode insets/InsetGraphics.cpp (676): we have: from svg to pdf6 insets/InsetGraphics.cpp (682): the orig file is: /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg insets/InsetGraphics.cpp (731): The original file is /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg A copy has been made and convert is to be called with: file to convert = /var/folders/tp/qrlrmsx94q30029yj449tf44gp/T/lyx_tmpdir.XNZrJnkYg536/lyx_tmpbuf0/0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg from svg to pdf6 ConverterCache.cpp (392): /Users/ed/Documents/Home_to_work/150731/untitled folder/information.svg pdf6 ConverterCache.cpp (396): not in cache. Converter.cpp (374): Converting from svg to pdf6 Converter.cpp (466): Calling inkscape --file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg" --export-area-drawing --without-gui --export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf" 06:42:59.962: 06:42:59.969: ** (inkscape-bin:560): WARNING **: Can't open file: 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg (doesn't exist) 06:42:59.971: 06:42:59.986: ** (inkscape-bin:560): WARNING **: Can't open file: 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg (doesn't exist) 06:42:59.986: 06:42:59.987: ** (inkscape-bin:560): WARNING **: Specified document 0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg cannot be opened (does not exist or not a valid SVG file) support/Systemcall.cpp (292): Systemcall: 'inkscape --file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.svg" --export-area-drawing --without-gui --export-pdf="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf"' finished with exit code 1 Error: Cannot convert file An error occurred while running: inkscape --file="0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information... 06:43:02.504: inkscape --file="1_Users_ed_Documents_Home_to_work_150731_untitled_folder_drawing-1_copy.svg" --export-area-drawing --without-gui --export-pdf="1_Users_ed_Documents_Home_to_work_150731_untitled_folder_drawing-1_copy.pdf"insets/InsetGraphics.cpp (808): InsetGraphics::latex outputting: \includegraphics{0_Users_ed_Documents_Home_to_work_150731_untitled_folder_information.pdf} insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = /Users/ed/Documents/Home_to_work/150731/untitled folder/drawing-1 copy.svg insets/InsetGraphics.cpp (774): Message = "" insets/InsetGraphics.cpp (789): Opts = width=5cm insets/InsetGraphics.cpp (796): Before = \includegraphics[width=5cm] after = insets/InsetGraphics.cpp (461): Comparing /Users/ed/
Lyx 2.1.4
The Lyx Team, Have upgraded from 2.1.3 to 2.1.4 on MX14 Linux. Had an initial problem with a graphic being misplaced but this error disappeared after a reboot. All is now behaving. Many thanks for the work put into 2.1.4 Gordon Tauranga N.Z.
Re: ! Package pdftex.def Error: File not found.
Ed Warminski sheffield.ac.uk> writes: > > > Dear Stephen, > attached is the .lyx file and the two .svg files. Example works fine here with LyX 2.1.3, TeXLive 2015 and Debian Wheezy. LyX provide hidden conversion from svg to pdf, here is the content of the LyX temp folder : $ ls lyx_tmpdir.qEtvlcna7828/lyx_tmpbuf0/ 0_tmp_information.pdf 1_tmp_drawing-1_copy.svg svg_test.pdf 0_tmp_information.svg svg_test.aux svg_test.tex 1_tmp_drawing-1_copy.pdf svg_test.log svg_test.tex.dep-pdf Seems there is something messy about this folder, maybe the conversion does not take place, what are the contents of the folder ? -- Jean-Pierre
Re: tar.gz
On Fri, Jul 31, 2015 at 5:55 PM, Mark K5AM wrote: > > Looked everywhere, but cannot find instructions > for updating with lyx-2.1.4.tar.gz > You will need to be a whole lot more specific. What OS? How did you install LyX previously? What version do you currently have installed? Liviu > Mark > -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: ! Package pdftex.def Error: File not found.
Am 31.07.2015 um 11:13 schrieb Ed Warminski : > 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. Dear Ed, I can produce a printable pdf without problems on my system (Mac OS X 10.8.6 + LyX 2.1.4 + MacTeX 2015). Your log reveals the SVG to PDF conversion has a problem because the information.pdf couldn't found. Please enable the Message pane and select the log messages related to file and graphics processing, try the preview again and post the resulting output here. Stephan PS. Below you can find the output of my preview attempt. > > 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).] > \scratchcoun
tar.gz
Looked everywhere, but cannot find instructions for updating with lyx-2.1.4.tar.gz Mark
Re: ! Package pdftex.def Error: File not found.
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
Re: ! Package pdftex.def Error: File not found.
Am 31.07.2015 um 10:19 schrieb Ed Warminski : > 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 for > immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf} Using > draft setting for this image. Try typing to proceed. If that doesn't > work, type X 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
! Package pdftex.def Error: File not found.
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. 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 for immediate help. ... l.28 ...ts_Home_to_work_150731_drawing-1_copy.pdf} Using draft setting for this image. Try typing to proceed. If that doesn't work, type X 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