ps2pdf, ERT, and includegraphics
Dear all, I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new article document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). thank you very much for any suggestion giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Re: ps2pdf, ERT, and includegraphics
Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an article with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe --- #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \begin_preamble \usepackage{graphicx} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \backslash includegraphics[scale=0.2]{beckmann2005} \end_layout \end_inset \end_layout \end_body \end_document -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
ps2pdf, ERT, and includegraphics
Dear all, I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new article document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). thank you very much for any suggestion giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Re: ps2pdf, ERT, and includegraphics
Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an article with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe --- #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \begin_preamble \usepackage{graphicx} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \backslash includegraphics[scale=0.2]{beckmann2005} \end_layout \end_inset \end_layout \end_body \end_document -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
ps2pdf, ERT, and includegraphics
Dear all, I am using lyx with powerdot for a presentation. I am trying to insert a figure within an ERT box, to get advantage of the \twocolumn command of powerdot. I discovered that lyx does not output figures to pdf when using ps2pdf (I checked this with a new "article" document containing a single ERT command \includegraphics{}). It does output the figure when using dvipdfm, but the problem is that powerdot requires ps2pdf... Does anybody know of a workaround? I am using lyx 1.4.3 on Ubuntu (and the figure I am inserting is an eps). thank you very much for any suggestion giuseppe -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233
Re: ps2pdf, ERT, and includegraphics
Dear Paul, thank you very much for your comments. It is quite weird: if I export my file prova.lyx in latex (pdflatex or plain) and run latex prova.tex, the dvi file shows the picture correctly, and of course the picture is kept through the chain of dvips and ps2pdf; if I, however, try to preview the document in LyX or export it directly to pdf (ps2pdf), the image does not appear. Looking at the output in the shell window I see the message: dvips: Could not find figure file /home/giuseppe/tmp//beckmann2005.eps; continuing which is puzzling given that the file is definitely there: ls /home/giuseppe/tmp//beckmann2005.eps /home/giuseppe/tmp//beckmann2005.eps I noticed the use of the double slash in front of the eps file name, but that should not be a problem, right? The document I am testing this on is an "article" with the command \usepackage{graphicx} in the preamble, and a single ERT box containing the command: \includegraphics[scale=0.2]{beckmann2005} where the image beckmann2005.eps is contained in the local directory. I am attaching in the following my prova.lyx file, which may contain useful information. Thank you very much for your help, I truly appreciate it but please do not feel obliged to reply if this takes up too much of your time. best regards giuseppe --- #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \begin_preamble \usepackage{graphicx} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \backslash includegraphics[scale=0.2]{beckmann2005} \end_layout \end_inset \end_layout \end_body \end_document -- - Giuseppe Pagnoni Psychiatry and Behavioral Sciences Emory University School of Medicine 101 Woodruff Circle, Suite 4000 Atlanta, GA, 30322 tel: 404-712-9582 fax: 404-727-3233