Re: LyX fails picture conversion
On 2/21/06, Stephen Harris [EMAIL PROTECTED] wrote: I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? As I said before, Stephen, running the command texhash suffices to solve the reported problem. Paul
Re: LyX fails picture conversion
On 2/21/06, Stephen Harris [EMAIL PROTECTED] wrote: I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? As I said before, Stephen, running the command texhash suffices to solve the reported problem. Paul
Re: LyX fails picture conversion
On 2/21/06, Stephen Harris <[EMAIL PROTECTED]> wrote: > I have just installed dvipdfmx, but when running it, I get > > $ dvipdfmx test2.dvi > teste2.dvi -> test2.pdf > > ** WARNING ** Failed to load AGL file "glyphlist.txt"... > [1] > 7284 bytes written > $ > > Notwithstanding, pdf file is generated. > > You can use > find / -name glyphlist.txt > to see if the file exists and where it is installed. > [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] > > So if you already have the file, that narrows the problem down. :-) > > Did you run texconfig rehash after you installed the package in order > to refresh the Tetex filename database (fndb)? As I said before, Stephen, running the command "texhash" suffices to solve the reported problem. Paul
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Paul
Re: LyX fails picture conversion
On 2/21/06, Kornel Benko [EMAIL PROTECTED] wrote: I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Same her. Calling texhash cured the problem. Perfect, it works! Thanks, Kornel. Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, February 21, 2006 2:03 AM Subject: Re: LyX fails picture conversion On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Paul You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? Regards, Stephen
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Paul
Re: LyX fails picture conversion
On 2/21/06, Kornel Benko [EMAIL PROTECTED] wrote: I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Same her. Calling texhash cured the problem. Perfect, it works! Thanks, Kornel. Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, February 21, 2006 2:03 AM Subject: Re: LyX fails picture conversion On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi - test2.pdf ** WARNING ** Failed to load AGL file glyphlist.txt... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Paul You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? Regards, Stephen
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > >>>You are luckier, as there is no binary of dvipdfmx for Linux! > >> > >>e.g.: > >> > >>/usr/local/texlive/2005/bin/i386-linux/dvipdfmx > > > > You are luckier, Herbert. With tetex, no dvipdfmx, unless it is > > contained in some package that I have not installed. Do people here > > with tetex have dvipdfmx? > > CTAN: > ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz > Debian: http://packages.debian.org/unstable/tex/dvipdfmx > MAC:http://dvipdfmx.darwinports.com/ > http://pdb.finkproject.org/pdb/package.php/dvipdfmx I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi -> test2.pdf ** WARNING ** Failed to load AGL file "glyphlist.txt"... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Paul
Re: LyX fails picture conversion
On 2/21/06, Kornel Benko <[EMAIL PROTECTED]> wrote: > > I have just installed dvipdfmx, but when running it, I get > > > > $ dvipdfmx test2.dvi > > teste2.dvi -> test2.pdf > > > > ** WARNING ** Failed to load AGL file "glyphlist.txt"... > > [1] > > 7284 bytes written > > $ > > > > Notwithstanding, pdf file is generated. > > Same her. Calling "texhash" cured the problem. Perfect, it works! Thanks, Kornel. Paul
Re: LyX fails picture conversion
- Original Message - From: "Paul Smith" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Tuesday, February 21, 2006 2:03 AM Subject: Re: LyX fails picture conversion On 2/20/06, Herbert Voss <[EMAIL PROTECTED]> wrote: >>>You are luckier, as there is no binary of dvipdfmx for Linux! >> >>e.g.: >> >>/usr/local/texlive/2005/bin/i386-linux/dvipdfmx > > You are luckier, Herbert. With tetex, no dvipdfmx, unless it is > contained in some package that I have not installed. Do people here > with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx I have just installed dvipdfmx, but when running it, I get $ dvipdfmx test2.dvi teste2.dvi -> test2.pdf ** WARNING ** Failed to load AGL file "glyphlist.txt"... [1] 7284 bytes written $ Notwithstanding, pdf file is generated. Paul You can use find / -name glyphlist.txt to see if the file exists and where it is installed. [Perhaps /usr/share/texmf/dvipdfm/glyphlist.txt] So if you already have the file, that narrows the problem down. :-) Did you run texconfig rehash after you installed the package in order to refresh the Tetex filename database (fndb)? Regards, Stephen
Re: LyX fails picture conversion
On 2/19/06, Herbert Voss [EMAIL PROTECTED] wrote: sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Thanks to all. Something mysterious has occurred: after the installation of a different rpm of LyX, the reported problem vanished! Paul
Re: LyX fails picture conversion
On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx Herbert
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Herbert
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Thanks, Herbert. Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, February 20, 2006 10:31 AM Subject: Re: LyX fails picture conversion On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul I visited the dvipdfmx website and noticed that my installation wasn't current. So I did all the recommended things. The result is that I used to be able to use dvipdfm to generate the .pdf file and acrobat would open and display the file. Now, the file is still created but Acrobat gives an error message: There was an error opening this document. The file cannot be found. So I have to manually navigate to the Lyx temp directory with Acrobat to locate the file and display it. On a happier note: http://tug.org/pipermail/pdftex/2006-February/006330.html pdfTeX 3.141592-1.30.6 was released on 2006-02-16 - - bugfix: updated xpdf to 3.01pl2 Do you have the equivalent of yum or apt-get to install new programs? Regards, Stephen
Re: LyX fails picture conversion
On 2/19/06, Herbert Voss [EMAIL PROTECTED] wrote: sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Thanks to all. Something mysterious has occurred: after the installation of a different rpm of LyX, the reported problem vanished! Paul
Re: LyX fails picture conversion
On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx Herbert
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Herbert
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss [EMAIL PROTECTED] wrote: You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Thanks, Herbert. Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, February 20, 2006 10:31 AM Subject: Re: LyX fails picture conversion On 2/19/06, Stephen Harris [EMAIL PROTECTED] wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. You are luckier, as there is no binary of dvipdfmx for Linux! Paul I visited the dvipdfmx website and noticed that my installation wasn't current. So I did all the recommended things. The result is that I used to be able to use dvipdfm to generate the .pdf file and acrobat would open and display the file. Now, the file is still created but Acrobat gives an error message: There was an error opening this document. The file cannot be found. So I have to manually navigate to the Lyx temp directory with Acrobat to locate the file and display it. On a happier note: http://tug.org/pipermail/pdftex/2006-February/006330.html pdfTeX 3.141592-1.30.6 was released on 2006-02-16 - - bugfix: updated xpdf to 3.01pl2 Do you have the equivalent of yum or apt-get to install new programs? Regards, Stephen
Re: LyX fails picture conversion
On 2/19/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > sure, LyX detects the source and the target extension > of images files and should do the conversion by default. > > Run from command line lyx -dbg graphics and have a look at > the output when you try to view your document. Thanks to all. Something mysterious has occurred: after the installation of a different rpm of LyX, the reported problem vanished! Paul
Re: LyX fails picture conversion
On 2/19/06, Stephen Harris <[EMAIL PROTECTED]> wrote: > Thanks. I checked in texmf and had a dvipdfmx .exe so I > changed the converter in Preferences by adding an "x". You are luckier, as there is no binary of dvipdfmx for Linux! Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/19/06, Stephen Harris <[EMAIL PROTECTED]> wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an "x". You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx Herbert
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > >>Thanks. I checked in texmf and had a dvipdfmx .exe so I > >>changed the converter in Preferences by adding an "x". > > > > You are luckier, as there is no binary of dvipdfmx for Linux! > > e.g.: > > /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? Paul
Re: LyX fails picture conversion
Paul Smith wrote: On 2/20/06, Herbert Voss <[EMAIL PROTECTED]> wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an "x". You are luckier, as there is no binary of dvipdfmx for Linux! e.g.: /usr/local/texlive/2005/bin/i386-linux/dvipdfmx You are luckier, Herbert. With tetex, no dvipdfmx, unless it is contained in some package that I have not installed. Do people here with tetex have dvipdfmx? CTAN: ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz Debian: http://packages.debian.org/unstable/tex/dvipdfmx MAC:http://dvipdfmx.darwinports.com/ http://pdb.finkproject.org/pdb/package.php/dvipdfmx Herbert
Re: LyX fails picture conversion
On 2/20/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > > You are luckier, Herbert. With tetex, no dvipdfmx, unless it is > > contained in some package that I have not installed. Do people here > > with tetex have dvipdfmx? > > CTAN: > ftp://dante.ctan.org/tex-archive/dviware/dvipdfmx/dvipdfmx-20050831.tar.gz > Debian: http://packages.debian.org/unstable/tex/dvipdfmx > MAC:http://dvipdfmx.darwinports.com/ > http://pdb.finkproject.org/pdb/package.php/dvipdfmx Thanks, Herbert. Paul
Re: LyX fails picture conversion
- Original Message - From: "Paul Smith" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Monday, February 20, 2006 10:31 AM Subject: Re: LyX fails picture conversion On 2/19/06, Stephen Harris <[EMAIL PROTECTED]> wrote: Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an "x". You are luckier, as there is no binary of dvipdfmx for Linux! Paul I visited the dvipdfmx website and noticed that my installation wasn't current. So I did all the recommended things. The result is that I used to be able to use dvipdfm to generate the .pdf file and acrobat would open and display the file. Now, the file is still created but Acrobat gives an error message: "There was an error opening this document. The file cannot be found." So I have to manually navigate to the Lyx temp directory with Acrobat to locate the file and display it. On a happier note: http://tug.org/pipermail/pdftex/2006-February/006330.html pdfTeX 3.141592-1.30.6 was released on 2006-02-16 - - bugfix: updated xpdf to 3.01pl2 Do you have the equivalent of yum or apt-get to install new programs? Regards, Stephen
Re: LyX fails picture conversion
On 2/18/06, Paul A. Rubin [EMAIL PROTECTED] wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo Trying to convert \$1\ to \$2\. 2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul
Re: LyX fails picture conversion
Am Sonntag, 19. Februar 2006 15:14 schrieb Paul Smith: produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. It is supposed to do that, and it does so in almost all cases. There are several reports of failing conversions. Maybe you are seeing the same problem as in this report http://bugzilla.lyx.org/show_bug.cgi?id=2235 ? Please file a new bug report with a minimal example file if your problem is something else and if it is reproducible. Georg
Re: LyX fails picture conversion
Paul Smith wrote: On 2/18/06, Paul A. Rubin [EMAIL PROTECTED] wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo Trying to convert \$1\ to \$2\. 2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. Thanks, Paul. As I said before, the package ps4pdf works fine. In ps4pdf is superseeded by pst-pdf ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Herbert
Re: LyX fails picture conversion
- Original Message - From: Georg Baum [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, February 19, 2006 6:36 AM Subject: Re: LyX fails picture conversion Am Sonntag, 19. Februar 2006 15:14 schrieb Paul Smith: produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. It is supposed to do that, and it does so in almost all cases. There are several reports of failing conversions. Maybe you are seeing the same problem as in this report http://bugzilla.lyx.org/show_bug.cgi?id=2235 ? Please file a new bug report with a minimal example file if your problem is something else and if it is reproducible. I don't understand your reply. pdflatex doesn't process .eps according to documentation. What part of LyX automatically changes all .eps images into .png or .jpeg or .pdf so that when you have a lyx document which contains .eps images open, you can then click on View -pdflatex and this will work because LyX by default has previously converted those .eps files into jpeg, png, or pdf, so that such images are available for generating the pdf file by pdflatex? Pauls report: View -- PDF (pdflatex) I do not get the picture on the PDF document. My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 Regards, Stephen
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, February 19, 2006 6:14 AM Subject: Re: LyX fails picture conversion Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul Did I understand your original report incorrectly? I thought you said that the .eps graphic wasn't displayed when using pdflatex. That is a different issue than an .eps figure not displaying in LyX. When I read the error originally reported, it did not seem to me that failure to display in LyX was the problem: - Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. - I have a document which has a figure labelled something.eps That image is displayed when I run sample.lyx which contains it. That does not enable the use of pdflatex to convert that .eps file. pdflatex does not process .eps files, but dvipdfm does. Perhaps I misunderstood your report and you meant the eps image did not display within LyX itself. I've had that problem too, and converting to pdf with either pdflatex or dvipdfm doesn't work. But when this does work, LyX is not the source of conversion for the eps file into pdf format, dvips does it. In any event, your original report suggests that you wanted to use pdflatex to convert and read the pdf doc containing the eps image. View -- PDF (pdflatex) I do not get the picture on the PDF document. The pdflatex process is not designed to view .eps files. It is not supposed to work. dvipfm is designed to view .eps files I am able to view .eps files (at least one) in LyX. That process is not the source for providing an .eps file for inclusion/viewing in the pdf format. pdflatex doesn't work, dvipdfm does, and they are a separate processes. So whether or not you could see the .eps graphic within LyX, one does not View it in PDF using pdflatex. One can view it later with pdflatex after first converting the .eps file to a png or jpeg or .pdf image. At least it works this way for me, Stephen
Re: LyX fails picture conversion
Stephen Harris wrote: My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 dvipdfm is really buggy - dvipdfmx Herbert
Re: LyX fails picture conversion
- Original Message - From: Herbert Voss [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, February 19, 2006 1:20 PM Subject: Re: LyX fails picture conversion Stephen Harris wrote: My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 dvipdfm is really buggy - dvipdfmx Herbert Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. Seems to work fine, Stephen
Re: LyX fails picture conversion
On 2/18/06, Paul A. Rubin [EMAIL PROTECTED] wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo Trying to convert \$1\ to \$2\. 2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul
Re: LyX fails picture conversion
Am Sonntag, 19. Februar 2006 15:14 schrieb Paul Smith: produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. It is supposed to do that, and it does so in almost all cases. There are several reports of failing conversions. Maybe you are seeing the same problem as in this report http://bugzilla.lyx.org/show_bug.cgi?id=2235 ? Please file a new bug report with a minimal example file if your problem is something else and if it is reproducible. Georg
Re: LyX fails picture conversion
Paul Smith wrote: On 2/18/06, Paul A. Rubin [EMAIL PROTECTED] wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo Trying to convert \$1\ to \$2\. 2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. Thanks, Paul. As I said before, the package ps4pdf works fine. In ps4pdf is superseeded by pst-pdf ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Herbert
Re: LyX fails picture conversion
- Original Message - From: Georg Baum [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, February 19, 2006 6:36 AM Subject: Re: LyX fails picture conversion Am Sonntag, 19. Februar 2006 15:14 schrieb Paul Smith: produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. It is supposed to do that, and it does so in almost all cases. There are several reports of failing conversions. Maybe you are seeing the same problem as in this report http://bugzilla.lyx.org/show_bug.cgi?id=2235 ? Please file a new bug report with a minimal example file if your problem is something else and if it is reproducible. I don't understand your reply. pdflatex doesn't process .eps according to documentation. What part of LyX automatically changes all .eps images into .png or .jpeg or .pdf so that when you have a lyx document which contains .eps images open, you can then click on View -pdflatex and this will work because LyX by default has previously converted those .eps files into jpeg, png, or pdf, so that such images are available for generating the pdf file by pdflatex? Pauls report: View -- PDF (pdflatex) I do not get the picture on the PDF document. My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 Regards, Stephen
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, February 19, 2006 6:14 AM Subject: Re: LyX fails picture conversion Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul Did I understand your original report incorrectly? I thought you said that the .eps graphic wasn't displayed when using pdflatex. That is a different issue than an .eps figure not displaying in LyX. When I read the error originally reported, it did not seem to me that failure to display in LyX was the problem: - Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. - I have a document which has a figure labelled something.eps That image is displayed when I run sample.lyx which contains it. That does not enable the use of pdflatex to convert that .eps file. pdflatex does not process .eps files, but dvipdfm does. Perhaps I misunderstood your report and you meant the eps image did not display within LyX itself. I've had that problem too, and converting to pdf with either pdflatex or dvipdfm doesn't work. But when this does work, LyX is not the source of conversion for the eps file into pdf format, dvips does it. In any event, your original report suggests that you wanted to use pdflatex to convert and read the pdf doc containing the eps image. View -- PDF (pdflatex) I do not get the picture on the PDF document. The pdflatex process is not designed to view .eps files. It is not supposed to work. dvipfm is designed to view .eps files I am able to view .eps files (at least one) in LyX. That process is not the source for providing an .eps file for inclusion/viewing in the pdf format. pdflatex doesn't work, dvipdfm does, and they are a separate processes. So whether or not you could see the .eps graphic within LyX, one does not View it in PDF using pdflatex. One can view it later with pdflatex after first converting the .eps file to a png or jpeg or .pdf image. At least it works this way for me, Stephen
Re: LyX fails picture conversion
Stephen Harris wrote: My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 dvipdfm is really buggy - dvipdfmx Herbert
Re: LyX fails picture conversion
- Original Message - From: Herbert Voss [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, February 19, 2006 1:20 PM Subject: Re: LyX fails picture conversion Stephen Harris wrote: My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 dvipdfm is really buggy - dvipdfmx Herbert Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an x. Seems to work fine, Stephen
Re: LyX fails picture conversion
On 2/18/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > Thanks, Paul. In fact, the command > > > > convert myfile.eps myfile.pdf > > > > does the job correctly. Probably, the problem has to be with LyX. > > Ok. I'm assuming you're not running Windows (if you are, there may be a > problem with spaces in the path to the EPS file, although that doesn't > create any problems for me). > > A workaround is to convert the EPS file to something else (PDF?) outside > LyX and insert the converted image into the LyX document. If you want > to pursue this further, try editing the convertDefault.sh script by > inserting the following line immediately before 'exit 1': > > echo "Trying to convert \"$1\" to \"$2\"." >&2 > > With any luck, if you reproduce the error, this should tell which file > it was trying to convert and where it was trying to store the result. > That will let you check for correct paths, read/write permissions etc. Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul
Re: LyX fails picture conversion
Am Sonntag, 19. Februar 2006 15:14 schrieb Paul Smith: > produce pdf documents in connection with PSTricks. By curiosity, I > ask: is LyX supposed (by default) to convert EPS pictures to usable > formats before applying pdflatex? Perhaps, we are expecting too much > from LyX. It is supposed to do that, and it does so in almost all cases. There are several reports of failing conversions. Maybe you are seeing the same problem as in this report http://bugzilla.lyx.org/show_bug.cgi?id=2235 ? Please file a new bug report with a minimal example file if your problem is something else and if it is reproducible. Georg
Re: LyX fails picture conversion
Paul Smith wrote: On 2/18/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo "Trying to convert \"$1\" to \"$2\"." >&2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. Thanks, Paul. As I said before, the package ps4pdf works fine. In ps4pdf is superseeded by pst-pdf ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. sure, LyX detects the source and the target extension of images files and should do the conversion by default. Run from command line lyx -dbg graphics and have a look at the output when you try to view your document. Herbert
Re: LyX fails picture conversion
- Original Message - From: "Georg Baum" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Sunday, February 19, 2006 6:36 AM Subject: Re: LyX fails picture conversion Am Sonntag, 19. Februar 2006 15:14 schrieb Paul Smith: produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. It is supposed to do that, and it does so in almost all cases. There are several reports of failing conversions. Maybe you are seeing the same problem as in this report http://bugzilla.lyx.org/show_bug.cgi?id=2235 ? Please file a new bug report with a minimal example file if your problem is something else and if it is reproducible. I don't understand your reply. pdflatex doesn't process .eps according to documentation. What part of LyX automatically changes all .eps images into .png or .jpeg or .pdf so that when you have a lyx document which contains .eps images open, you can then click on View ->pdflatex and this will work because LyX by default has previously converted those .eps files into jpeg, png, or pdf, so that such images are available for generating the pdf file by pdflatex? Pauls report: "View --> PDF (pdflatex) I do not get the picture on the PDF document." My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 Regards, Stephen
Re: LyX fails picture conversion
- Original Message - From: "Paul Smith" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Sunday, February 19, 2006 6:14 AM Subject: Re: LyX fails picture conversion Thanks, Paul. As I said before, the package ps4pdf works fine. In particular, that package is useful for me in the sense that I plan to use PSTricks in the same document and ps4pdf is the right package to produce pdf documents in connection with PSTricks. By curiosity, I ask: is LyX supposed (by default) to convert EPS pictures to usable formats before applying pdflatex? Perhaps, we are expecting too much from LyX. Paul Did I understand your original report incorrectly? I thought you said that the .eps graphic wasn't displayed when using pdflatex. That is a different issue than an .eps figure not displaying in LyX. When I read the error originally reported, it did not seem to me that failure to display in LyX was the problem: - Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View --> PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of "convert" failed. - I have a document which has a figure labelled something.eps That image is displayed when I run sample.lyx which contains it. That does not enable the use of pdflatex to convert that .eps file. pdflatex does not process .eps files, but dvipdfm does. Perhaps I misunderstood your report and you meant the eps image did not display within LyX itself. I've had that problem too, and converting to pdf with either pdflatex or dvipdfm doesn't work. But when this does work, LyX is not the source of conversion for the eps file into pdf format, dvips does it. In any event, your original report suggests that you wanted to use pdflatex to convert and read the pdf doc containing the eps image. "View --> PDF (pdflatex) I do not get the picture on the PDF document." The pdflatex process is not designed to view .eps files. It is not supposed to work. dvipfm is designed to view .eps files I am able to view .eps files (at least one) in LyX. That process is not the source for providing an .eps file for inclusion/viewing in the pdf format. pdflatex doesn't work, dvipdfm does, and they are a separate processes. So whether or not you could see the .eps graphic within LyX, one does not View it in PDF using pdflatex. One can view it later with pdflatex after first converting the .eps file to a png or jpeg or .pdf image. At least it works this way for me, Stephen
Re: LyX fails picture conversion
Stephen Harris wrote: My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 dvipdfm is really buggy -> dvipdfmx Herbert
Re: LyX fails picture conversion
- Original Message - From: "Herbert Voss" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Sunday, February 19, 2006 1:20 PM Subject: Re: LyX fails picture conversion Stephen Harris wrote: My experience is that I can generate the a viewable .pdf file using dvipdfm but not pdflatex. http://bugzilla.lyx.org/show_bug.cgi?id=2299 dvipdfm is really buggy -> dvipdfmx Herbert Thanks. I checked in texmf and had a dvipdfmx .exe so I changed the converter in Preferences by adding an "x". Seems to work fine, Stephen
Re: LyX fails picture conversion
On 2/17/06, Stephen Harris [EMAIL PROTECTED] wrote: I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Well you know pdlatex reads jpeg, png and pdf image files. On windows, epstopdf.exe found in the Latex directory will convert: epstopdf image.eps will produce image.pdf Maybe Tetex has the command eps2pdf. But anyway I can view those files using the dvipdfm option, usually. First View-DVI then next View-dvipdfm This does some conversion and invokes the xpdf viewer. Then you can use File-Save copy as (iirc) to put the file where you want it. Works with LyX137 Thanks, Stephen. I have just tried the ps4pdf package, which works fine with EPS pictures and pdflatex together. Paul
Re: LyX fails picture conversion
Paul Smith wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Paul Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo Trying to convert \$1\ to \$2\. 2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. /Paul
Re: LyX fails picture conversion
On 2/17/06, Stephen Harris [EMAIL PROTECTED] wrote: I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Well you know pdlatex reads jpeg, png and pdf image files. On windows, epstopdf.exe found in the Latex directory will convert: epstopdf image.eps will produce image.pdf Maybe Tetex has the command eps2pdf. But anyway I can view those files using the dvipdfm option, usually. First View-DVI then next View-dvipdfm This does some conversion and invokes the xpdf viewer. Then you can use File-Save copy as (iirc) to put the file where you want it. Works with LyX137 Thanks, Stephen. I have just tried the ps4pdf package, which works fine with EPS pictures and pdflatex together. Paul
Re: LyX fails picture conversion
Paul Smith wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Paul Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo Trying to convert \$1\ to \$2\. 2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. /Paul
Re: LyX fails picture conversion
On 2/17/06, Stephen Harris <[EMAIL PROTECTED]> wrote: > I have an EPS picture inserted in a LyX document. When I run > > View --> PDF (pdflatex) > > I do not get the picture on the PDF document. On the command line, it > appears the following: > > $ /usr/share/lyx/scripts/convertDefault.sh ERROR > Execution of "convert" failed. > $ > > Any clue? > > Well you know pdlatex reads jpeg, png and pdf image files. > On windows, epstopdf.exe found in the Latex directory > will convert: "epstopdf image.eps" will produce image.pdf > > Maybe Tetex has the command eps2pdf. But anyway I can > view those files using the dvipdfm option, usually. First > View->DVI then next View->dvipdfm > > This does some conversion and invokes the xpdf viewer. > Then you can use File->Save copy as (iirc) > to put the file where you want it. Works with LyX137 Thanks, Stephen. I have just tried the ps4pdf package, which works fine with EPS pictures and pdflatex together. Paul
Re: LyX fails picture conversion
Paul Smith wrote: Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Paul Ok. I'm assuming you're not running Windows (if you are, there may be a problem with spaces in the path to the EPS file, although that doesn't create any problems for me). A workaround is to convert the EPS file to something else (PDF?) outside LyX and insert the converted image into the LyX document. If you want to pursue this further, try editing the convertDefault.sh script by inserting the following line immediately before 'exit 1': echo "Trying to convert \"$1\" to \"$2\"." >&2 With any luck, if you reproduce the error, this should tell which file it was trying to convert and where it was trying to store the result. That will let you check for correct paths, read/write permissions etc. /Paul
LyX fails picture conversion
Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Thanks in advance, Paul
Re: LyX fails picture conversion
Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Thanks in advance, Paul LyX calls the convertDefault.sh shell script to convert your EPS file into another format (not sure which, possibly PDF). The shell script in turn calls the ImageMagick convert utility, which apparently failed. The error message you got was from the shell script, so we don't know what (if any) error message convert issued. From a command prompt in the directory containing the EPS file, try convert myfile.eps myfile.pdf and see if (a) convert runs and (b) it pulls off the conversion successfully. If so, chances are it's something like LyX not having permission to run convert or LyX not supplying the right path to the image file. If convert fails, hopefully it will give an informative error. If you can't run convert, that in itself will tell you something. HTH, /Paul -- ** Paul A. RubinPhone: (517) 432-3509 Department of ManagementFax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ** Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: LyX fails picture conversion
On 2/17/06, Paul A. Rubin [EMAIL PROTECTED] wrote: I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? LyX calls the convertDefault.sh shell script to convert your EPS file into another format (not sure which, possibly PDF). The shell script in turn calls the ImageMagick convert utility, which apparently failed. The error message you got was from the shell script, so we don't know what (if any) error message convert issued. From a command prompt in the directory containing the EPS file, try convert myfile.eps myfile.pdf and see if (a) convert runs and (b) it pulls off the conversion successfully. If so, chances are it's something like LyX not having permission to run convert or LyX not supplying the right path to the image file. If convert fails, hopefully it will give an informative error. If you can't run convert, that in itself will tell you something. Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Friday, February 17, 2006 2:17 PM Subject: LyX fails picture conversion Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Thanks in advance, Paul Well you know pdlatex reads jpeg, png and pdf image files. On windows, epstopdf.exe found in the Latex directory will convert: epstopdf image.eps will produce image.pdf Maybe Tetex has the command eps2pdf. But anyway I can view those files using the dvipdfm option, usually. First View-DVI then next View-dvipdfm This does some conversion and invokes the xpdf viewer. Then you can use File-Save copy as (iirc) to put the file where you want it. Works with LyX137 Regards, Stephen
LyX fails picture conversion
Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Thanks in advance, Paul
Re: LyX fails picture conversion
Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Thanks in advance, Paul LyX calls the convertDefault.sh shell script to convert your EPS file into another format (not sure which, possibly PDF). The shell script in turn calls the ImageMagick convert utility, which apparently failed. The error message you got was from the shell script, so we don't know what (if any) error message convert issued. From a command prompt in the directory containing the EPS file, try convert myfile.eps myfile.pdf and see if (a) convert runs and (b) it pulls off the conversion successfully. If so, chances are it's something like LyX not having permission to run convert or LyX not supplying the right path to the image file. If convert fails, hopefully it will give an informative error. If you can't run convert, that in itself will tell you something. HTH, /Paul -- ** Paul A. RubinPhone: (517) 432-3509 Department of ManagementFax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ** Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: LyX fails picture conversion
On 2/17/06, Paul A. Rubin [EMAIL PROTECTED] wrote: I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? LyX calls the convertDefault.sh shell script to convert your EPS file into another format (not sure which, possibly PDF). The shell script in turn calls the ImageMagick convert utility, which apparently failed. The error message you got was from the shell script, so we don't know what (if any) error message convert issued. From a command prompt in the directory containing the EPS file, try convert myfile.eps myfile.pdf and see if (a) convert runs and (b) it pulls off the conversion successfully. If so, chances are it's something like LyX not having permission to run convert or LyX not supplying the right path to the image file. If convert fails, hopefully it will give an informative error. If you can't run convert, that in itself will tell you something. Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Paul
Re: LyX fails picture conversion
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Friday, February 17, 2006 2:17 PM Subject: LyX fails picture conversion Dear All I have an EPS picture inserted in a LyX document. When I run View -- PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of convert failed. $ Any clue? Thanks in advance, Paul Well you know pdlatex reads jpeg, png and pdf image files. On windows, epstopdf.exe found in the Latex directory will convert: epstopdf image.eps will produce image.pdf Maybe Tetex has the command eps2pdf. But anyway I can view those files using the dvipdfm option, usually. First View-DVI then next View-dvipdfm This does some conversion and invokes the xpdf viewer. Then you can use File-Save copy as (iirc) to put the file where you want it. Works with LyX137 Regards, Stephen
LyX fails picture conversion
Dear All I have an EPS picture inserted in a LyX document. When I run View --> PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of "convert" failed. $ Any clue? Thanks in advance, Paul
Re: LyX fails picture conversion
Paul Smith wrote: Dear All I have an EPS picture inserted in a LyX document. When I run View --> PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of "convert" failed. $ Any clue? Thanks in advance, Paul LyX calls the convertDefault.sh shell script to convert your EPS file into another format (not sure which, possibly PDF). The shell script in turn calls the ImageMagick convert utility, which apparently failed. The error message you got was from the shell script, so we don't know what (if any) error message convert issued. From a command prompt in the directory containing the EPS file, try convert myfile.eps myfile.pdf and see if (a) convert runs and (b) it pulls off the conversion successfully. If so, chances are it's something like LyX not having permission to run convert or LyX not supplying the right path to the image file. If convert fails, hopefully it will give an informative error. If you can't run convert, that in itself will tell you something. HTH, /Paul -- ** Paul A. RubinPhone: (517) 432-3509 Department of ManagementFax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ** Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: LyX fails picture conversion
On 2/17/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > I have an EPS picture inserted in a LyX document. When I run > > > > View --> PDF (pdflatex) > > > > I do not get the picture on the PDF document. On the command line, it > > appears the following: > > > > $ /usr/share/lyx/scripts/convertDefault.sh ERROR > > Execution of "convert" failed. > > $ > > > > Any clue? > > LyX calls the convertDefault.sh shell script to convert your EPS file > into another format (not sure which, possibly PDF). The shell script in > turn calls the ImageMagick convert utility, which apparently failed. > The error message you got was from the shell script, so we don't know > what (if any) error message convert issued. > > From a command prompt in the directory containing the EPS file, try > > convert myfile.eps myfile.pdf > > and see if (a) convert runs and (b) it pulls off the conversion > successfully. If so, chances are it's something like LyX not having > permission to run convert or LyX not supplying the right path to the > image file. If convert fails, hopefully it will give an informative > error. If you can't run convert, that in itself will tell you something. Thanks, Paul. In fact, the command convert myfile.eps myfile.pdf does the job correctly. Probably, the problem has to be with LyX. Paul
Re: LyX fails picture conversion
- Original Message - From: "Paul Smith" <[EMAIL PROTECTED]> To: <lyx-users@lists.lyx.org> Sent: Friday, February 17, 2006 2:17 PM Subject: LyX fails picture conversion Dear All I have an EPS picture inserted in a LyX document. When I run View --> PDF (pdflatex) I do not get the picture on the PDF document. On the command line, it appears the following: $ /usr/share/lyx/scripts/convertDefault.sh ERROR Execution of "convert" failed. $ Any clue? Thanks in advance, Paul Well you know pdlatex reads jpeg, png and pdf image files. On windows, epstopdf.exe found in the Latex directory will convert: "epstopdf image.eps" will produce image.pdf Maybe Tetex has the command eps2pdf. But anyway I can view those files using the dvipdfm option, usually. First View->DVI then next View->dvipdfm This does some conversion and invokes the xpdf viewer. Then you can use File->Save copy as (iirc) to put the file where you want it. Works with LyX137 Regards, Stephen