Re: how to scale a xfig figure in lyx?
Am Samstag, den 21.04.2018, 08:48 +0200 schrieb Wolfgang Engelmann: > it turned out that I did not have the fig file in my folder. I was > mislead by the correct figure name shown in the lyx file. In the case > of > 'normal' figures lyx informs the user, that the file is missing. Can > this feature be implemented also for the fig files? Please file a bug report. Jürgen > Wolfgang signature.asc Description: This is a digitally signed message part
Re: how to scale a xfig figure in lyx?
Am 20.04.2018 um 15:35 schrieb Jürgen Spitzmüller: Am Freitag, den 20.04.2018, 15:22 +0200 schrieb Wolfgang Engelmann: Jürgen, I have listed infos from the terminal output which might have a clue for you, but did not find any converter claims. I started from the end of the output and went up to the begin: This is not the complete output. Post all console output when starting LyX from a terminal and trying to compile your document. Jürgen Jürgen, it turned out that I did not have the fig file in my folder. I was mislead by the correct figure name shown in the lyx file. In the case of 'normal' figures lyx informs the user, that the file is missing. Can this feature be implemented also for the fig files? Wolfgang
Re: how to scale a xfig figure in lyx?
Am Freitag, den 20.04.2018, 15:22 +0200 schrieb Wolfgang Engelmann: > Jürgen, I have listed infos from the terminal output which might have > a clue for you, but did not find any converter claims. I started from > the end of the output and went up to the begin: This is not the complete output. Post all console output when starting LyX from a terminal and trying to compile your document. Jürgen signature.asc Description: This is a digitally signed message part
Re: how to scale a xfig figure in lyx?
Am 20.04.2018 um 15:19 schrieb Wolfgang Engelmann: Am 20.04.2018 um 10:59 schrieb Jürgen Spitzmüller: Am Donnerstag, den 19.04.2018, 19:22 +0200 schrieb Wolfgang Engelmann: The file you corrected gives me this error message: # Package caption Info: Begin \AtBeginDocument code. Package caption Info: End \AtBeginDocument code. Package lastpage Info: Please have a look at the pageslts package at (lastpage)https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 154. ! LaTeX Error: File `1_home_we_Downloads_Schrempf-Fig02.pdftex_t' not found. Type X to quit or to proceed, or enter new name. (Default extension: pdftex_t) Enter file name: ! Emergency stop. I can't view it even if I select 'show output anyway'. I have to produce the pdftex_t file which I do -as mentioned before- in xfig by 'export the xfig figure as combined PDF/LaTeX (both parts)'. Do you get any error messages oin the console (or the "Messages" pane) indicating that a converter or the fig2pdftex script fails? Jürgen Jürgen, I have listed infos from the terminal output which might have a clue for you, but did not find any converter claims. I started from the end of the output and went up to the begin: Package caption Info: Begin \AtBeginDocument code. Package caption Info: End \AtBeginDocument code. Package lastpage Info: Please have a look at the pageslts package at (lastpage) https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 154. Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 38. Package grfext Info: Graphics extension search list: (grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE G,.JBIG2,.JB2,.eps] (grfext) \AppendGraphicsExtensions on input line 456. (/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv Package caption Info: KOMA-Script document class. \c@ContinuedFloat=\count128 Package caption Info: hyperref package is loaded. ) (/usr/local/texlive/2017/texmf-dist/tex/latex/lastpage/lastpage.sty Package: lastpage 2015/03/29 v1.2m Refers to last page's name (HMM; JPG) ) (/usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/mathpazo.sty Package hyperref Info: Hyper figures OFF on input line 6358. Package hyperref Info: Link nesting OFF on input line 6363. Package hyperref Info: Hyper index ON on input line 6366. Package hyperref Info: backreferencing ON on input line 6371. Package hyperref Info: Link coloring ON on input line 6376. Package hyperref Info: Link coloring with OCG OFF on input line 6383. Package hyperref Info: PDF/A mode OFF on input line 6388. LaTeX Info: Redefining \ref on input line 6428. LaTeX Info: Redefining \pageref on input line 6432. \Hy@abspage=\count113 Package atveryend Info: \enddocument detected (standard20110627). Package hobsub Info: Skipping package `hobsub' (already loaded). -dist/tex/generic/oberdiek/hobsub-generic.sty Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO) Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO) Package hobsub Info: Skipping package `infwarerr' (already loaded). Package hobsub Info: Skipping package `ltxcmds' (already loaded). Package hobsub Info: Skipping package `ifluatex' (already loaded). Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO) Package ifvtex Info: VTeX not detected. Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO) Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) Package etexcmds Info: Could not find \expanded. p.s. I have also commented out all my preamble stuff, but the error stays> ! LaTeX Error: File `1_home_we_Einordnen_Schrempf-Fig02.pdftex_t' not found. Wolfgang
Re: how to scale a xfig figure in lyx?
Am 20.04.2018 um 10:59 schrieb Jürgen Spitzmüller: Am Donnerstag, den 19.04.2018, 19:22 +0200 schrieb Wolfgang Engelmann: The file you corrected gives me this error message: # Package caption Info: Begin \AtBeginDocument code. Package caption Info: End \AtBeginDocument code. Package lastpage Info: Please have a look at the pageslts package at (lastpage) https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 154. ! LaTeX Error: File `1_home_we_Downloads_Schrempf-Fig02.pdftex_t' not found. Type X to quit or to proceed, or enter new name. (Default extension: pdftex_t) Enter file name: ! Emergency stop. I can't view it even if I select 'show output anyway'. I have to produce the pdftex_t file which I do -as mentioned before- in xfig by 'export the xfig figure as combined PDF/LaTeX (both parts)'. Do you get any error messages oin the console (or the "Messages" pane) indicating that a converter or the fig2pdftex script fails? Jürgen Jürgen, I have listed infos from the terminal output which might have a clue for you, but did not find any converter claims. I started from the end of the output and went up to the begin: Package caption Info: Begin \AtBeginDocument code. Package caption Info: End \AtBeginDocument code. Package lastpage Info: Please have a look at the pageslts package at (lastpage) https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 154. Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 38. Package grfext Info: Graphics extension search list: (grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE G,.JBIG2,.JB2,.eps] (grfext) \AppendGraphicsExtensions on input line 456. (/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv Package caption Info: KOMA-Script document class. \c@ContinuedFloat=\count128 Package caption Info: hyperref package is loaded. ) (/usr/local/texlive/2017/texmf-dist/tex/latex/lastpage/lastpage.sty Package: lastpage 2015/03/29 v1.2m Refers to last page's name (HMM; JPG) ) (/usr/local/texlive/2017/texmf-dist/tex/latex/psnfss/mathpazo.sty Package hyperref Info: Hyper figures OFF on input line 6358. Package hyperref Info: Link nesting OFF on input line 6363. Package hyperref Info: Hyper index ON on input line 6366. Package hyperref Info: backreferencing ON on input line 6371. Package hyperref Info: Link coloring ON on input line 6376. Package hyperref Info: Link coloring with OCG OFF on input line 6383. Package hyperref Info: PDF/A mode OFF on input line 6388. LaTeX Info: Redefining \ref on input line 6428. LaTeX Info: Redefining \pageref on input line 6432. \Hy@abspage=\count113 Package atveryend Info: \enddocument detected (standard20110627). Package hobsub Info: Skipping package `hobsub' (already loaded). -dist/tex/generic/oberdiek/hobsub-generic.sty Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO) Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO) Package hobsub Info: Skipping package `infwarerr' (already loaded). Package hobsub Info: Skipping package `ltxcmds' (already loaded). Package hobsub Info: Skipping package `ifluatex' (already loaded). Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO) Package ifvtex Info: VTeX not detected. Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO) Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) Package etexcmds Info: Could not find \expanded.
Re: how to scale a xfig figure in lyx?
Am Donnerstag, den 19.04.2018, 19:22 +0200 schrieb Wolfgang Engelmann: > The file you corrected gives me this error message: > # > Package caption Info: Begin \AtBeginDocument code. > Package caption Info: End \AtBeginDocument code. > Package lastpage Info: Please have a look at the pageslts package at > (lastpage) https://www.ctan.org/pkg/pageslts > (lastpage) ! on input line 154. > ! LaTeX Error: File `1_home_we_Downloads_Schrempf-Fig02.pdftex_t' not > found. > Type X to quit or to proceed, > or enter new name. (Default extension: pdftex_t) > Enter file name: > ! Emergency stop. > > > I can't view it even if I select 'show output anyway'. I have to > produce the pdftex_t file which I do -as mentioned before- in xfig by > 'export the xfig figure as combined PDF/LaTeX (both parts)'. Do you get any error messages oin the console (or the "Messages" pane) indicating that a converter or the fig2pdftex script fails? Jürgen signature.asc Description: This is a digitally signed message part
Re: how to scale a xfig figure in lyx?
Am 19.04.2018 um 17:43 schrieb Jürgen Spitzmüller: 2018-04-19 17:34 GMT+02:00 Wolfgang Engelmann>: Here is a MWE. How can I scale it down in the pdf export? Like this. Have a look at the External Material dialog, third pane ("Size and Rotation"), where I entered the size as "80 Textwidth %". ok, got it now. Why you insert the figure a second time as a PDF is beyond me. I sent a wrong lyx-file, the second fig should have been omitted. Jürgen Wolfgang The file you corrected gives me this error message: # Package caption Info: Begin \AtBeginDocument code. Package caption Info: End \AtBeginDocument code. Package lastpage Info: Please have a look at the pageslts package at (lastpage) https://www.ctan.org/pkg/pageslts (lastpage) ! on input line 154. ! LaTeX Error: File `1_home_we_Downloads_Schrempf-Fig02.pdftex_t' not found. Type X to quit or to proceed, or enter new name. (Default extension: pdftex_t) Enter file name: ! Emergency stop. I can't view it even if I select 'show output anyway'. I have to produce the pdftex_t file which I do -as mentioned before- in xfig by 'export the xfig figure as combined PDF/LaTeX (both parts)'. This is the content of the pdftex_t file: \begin{picture}(0,0)% \includegraphics{Schrempf-Fig02.pdf}% \end{picture}% \setlength{\unitlength}{4144sp}% % \begingroup\makeatletter\ifx\SetFigFont\undefined% \gdef\SetFigFont#1#2#3#4#5{% \reset@font\fontsize{#1}{#2pt}% \fontfamily{#3}\fontseries{#4}\fontshape{#5}% \selectfont}% \fi\endgroup% \begin{picture}(8062,10221)(583,-9679) \end{picture}% Thanks again, now I know what I have to do (the "Size and Rotation" pane!!!). Wolfgang
Re: how to scale a xfig figure in lyx?
2018-04-19 17:34 GMT+02:00 Wolfgang Engelmann: > Here is a MWE. How can I scale it down in the pdf export? > Like this. Have a look at the External Material dialog, third pane ("Size and Rotation"), where I entered the size as "80 Textwidth %". Why you insert the figure a second time as a PDF is beyond me. Jürgen > Wolfgang > xfig.lyx Description: application/lyx
Re: how to scale a xfig figure in lyx?
Am 19.04.2018 um 15:51 schrieb Jürgen Spitzmüller: 2018-04-19 14:58 GMT+02:00 Wolfgang Engelmann>: Thanks, Jürgen, I think one mistake I made was, not to export the xfig figure as combined PDF/LaTeX (both parts), which I now did. In the Lyx:Graphics window I clicked Scale graphics (%) and changed the output size from 50 over various smaller sizes down to 1 (%). However, the figure pdf output does not change and is far to large. This is the output I see on the terminal: figure \ref{fig:recording of petal movement}, figure \ref{fig:recording of movement of single flowers}). \begin{figure} \begin{centering} \input{Schrempf-Fig02.pdftex_t}\includegraphics[clip,scale=0.01]{Schrempf-Fig02} \par\end{centering} \caption[Recording of petal movement]{\label{fig:recording of petal movement}Recording of petal movement using a cuvette, schematic (after \citet{Engelmann1973}). Details in text.} \end{figure} May be I did not quite grasp what you ment. You don't need to export the xfig figure to PDF. Just use the external template (Insert > File > External Material). This should work. If it doesn't, please send a MWE. Jürgen Wolfgang Here is a MWE. How can I scale it down in the pdf export? Wolfgang xfig.lyx Description: application/lyx
Re: how to scale a xfig figure in lyx?
2018-04-19 14:58 GMT+02:00 Wolfgang Engelmann: > Thanks, Jürgen, > I think one mistake I made was, not to export the xfig figure as combined > PDF/LaTeX (both parts), which I now did. In the Lyx:Graphics window I > clicked Scale graphics (%) and changed the output size from 50 over various > smaller sizes down to 1 (%). However, the figure pdf output does not change > and is far to large. > This is the output I see on the terminal: > > figure \ref{fig:recording of petal movement}, > > figure \ref{fig:recording of movement of single flowers}). > > \begin{figure} > > \begin{centering} > > \input{Schrempf-Fig02.pdftex_t}\includegraphics[clip,scale= > 0.01]{Schrempf-Fig02} > > \par\end{centering} > > \caption[Recording of petal movement]{\label{fig:recording of petal > movement}Recording of petal movement > > using a cuvette, schematic (after \citet{Engelmann1973}). Details > > in text.} > > \end{figure} > > May be I did not quite grasp what you ment. > You don't need to export the xfig figure to PDF. Just use the external template (Insert > File > External Material). This should work. If it doesn't, please send a MWE. Jürgen > Wolfgang >
Re: how to scale a xfig figure in lyx?
Am 19.04.2018 um 14:58 schrieb Wolfgang Engelmann: Am 19.04.2018 um 10:04 schrieb Jürgen Spitzmüller: 2018-04-19 8:56 GMT+02:00 Jürgen Spitzmüller>: Am Mittwoch, den 18.04.2018, 20:26 +0200 schrieb Wolfgang Engelmann: > I can't scale a x.fig figure in a float figure which I inserted as > file > > external material > xfig figure. It is shown too large in the pdf > output, whatever textwidth I insert. You can put it in the Scalebox inset (from the Graphic Boxes module). Having said that, using the external material dialog size options should also work (and do so for me). Jürgen Thanks, Jürgen, I think one mistake I made was, not to export the xfig figure as combined PDF/LaTeX (both parts), which I now did. In the Lyx:Graphics window I clicked Scale graphics (%) and changed the output size from 50 over various smaller sizes down to 1 (%). However, the figure pdf output does not change and is far to large. This is the output I see on the terminal: figure \ref{fig:recording of petal movement}, figure \ref{fig:recording of movement of single flowers}). \begin{figure} \begin{centering} \input{Schrempf-Fig02.pdftex_t}\includegraphics[clip,scale=0.01]{Schrempf-Fig02} \par\end{centering} \caption[Recording of petal movement]{\label{fig:recording of petal movement}Recording of petal movement using a cuvette, schematic (after \citet{Engelmann1973}). Details in text.} \end{figure} May be I did not quite grasp what you ment. Wolfgang p.s. I also noticed something very strange: There are more fig files in my document, but the pdf output of all of them is the first figure, which is much to large. Wolfgang Wolfgang
Re: how to scale a xfig figure in lyx?
Am 19.04.2018 um 10:04 schrieb Jürgen Spitzmüller: 2018-04-19 8:56 GMT+02:00 Jürgen Spitzmüller>: Am Mittwoch, den 18.04.2018, 20:26 +0200 schrieb Wolfgang Engelmann: > I can't scale a x.fig figure in a float figure which I inserted as > file > > external material > xfig figure. It is shown too large in the pdf > output, whatever textwidth I insert. You can put it in the Scalebox inset (from the Graphic Boxes module). Having said that, using the external material dialog size options should also work (and do so for me). Jürgen Thanks, Jürgen, I think one mistake I made was, not to export the xfig figure as combined PDF/LaTeX (both parts), which I now did. In the Lyx:Graphics window I clicked Scale graphics (%) and changed the output size from 50 over various smaller sizes down to 1 (%). However, the figure pdf output does not change and is far to large. This is the output I see on the terminal: figure \ref{fig:recording of petal movement}, figure \ref{fig:recording of movement of single flowers}). \begin{figure} \begin{centering} \input{Schrempf-Fig02.pdftex_t}\includegraphics[clip,scale=0.01]{Schrempf-Fig02} \par\end{centering} \caption[Recording of petal movement]{\label{fig:recording of petal movement}Recording of petal movement using a cuvette, schematic (after \citet{Engelmann1973}). Details in text.} \end{figure} May be I did not quite grasp what you ment. Wolfgang
Re: how to scale a xfig figure in lyx?
2018-04-19 8:56 GMT+02:00 Jürgen Spitzmüller: > Am Mittwoch, den 18.04.2018, 20:26 +0200 schrieb Wolfgang Engelmann: > > I can't scale a x.fig figure in a float figure which I inserted as > > file > > > external material > xfig figure. It is shown too large in the pdf > > output, whatever textwidth I insert. > > You can put it in the Scalebox inset (from the Graphic Boxes module). > Having said that, using the external material dialog size options should also work (and do so for me). Jürgen
Re: how to scale a xfig figure in lyx?
Am Mittwoch, den 18.04.2018, 20:26 +0200 schrieb Wolfgang Engelmann: > I can't scale a x.fig figure in a float figure which I inserted as > file > > external material > xfig figure. It is shown too large in the pdf > output, whatever textwidth I insert. You can put it in the Scalebox inset (from the Graphic Boxes module). Jürgen > > Wolfgang > > signature.asc Description: This is a digitally signed message part
how to scale a xfig figure in lyx?
I can't scale a x.fig figure in a float figure which I inserted as file > external material > xfig figure. It is shown too large in the pdf output, whatever textwidth I insert. Wolfgang
about the figure in lyx
hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong
Re: about the figure in lyx
On Sun, Oct 23, 2011 at 6:32 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; Have you tried using Insert Graphics? Liviu The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: about the figure in lyx
Hi, Includegraphics is written in separated file of tikz codes. Of course, Insert-Graphics works perfectly. Weidong On Sun, Oct 23, 2011 at 6:54 PM, Liviu Andronic landronim...@gmail.comwrote: On Sun, Oct 23, 2011 at 6:32 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; Have you tried using Insert Graphics? Liviu The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail -- Weidong LIAN Bureau F 230 Telephone: +33 (0)2 40 37 25 79 Fax: +33 (0)2 40 37 25 73 Email: weidong.l...@gmail.com Ecole Centrale de Nantes Department Mechanical Engineering and Materials GEM - Institut de Recherches en Génie Civil et Mécanique UMR CNRS 6183 Equipe Structure et Simulation B.P. 92101 44321 Nantes cedex 3 FRANCE
about the figure in lyx
hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong
Re: about the figure in lyx
On Sun, Oct 23, 2011 at 6:32 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; Have you tried using Insert Graphics? Liviu The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: about the figure in lyx
Hi, Includegraphics is written in separated file of tikz codes. Of course, Insert-Graphics works perfectly. Weidong On Sun, Oct 23, 2011 at 6:54 PM, Liviu Andronic landronim...@gmail.comwrote: On Sun, Oct 23, 2011 at 6:32 PM, Wei-Dong Lian weidong.l...@gmail.com wrote: hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; Have you tried using Insert Graphics? Liviu The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail -- Weidong LIAN Bureau F 230 Telephone: +33 (0)2 40 37 25 79 Fax: +33 (0)2 40 37 25 73 Email: weidong.l...@gmail.com Ecole Centrale de Nantes Department Mechanical Engineering and Materials GEM - Institut de Recherches en Génie Civil et Mécanique UMR CNRS 6183 Equipe Structure et Simulation B.P. 92101 44321 Nantes cedex 3 FRANCE
about the figure in lyx
hello, I am including a figure in lyx through ERT command, e.g. \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; The problem was that the converted pdf file was not in the current path, but the lyx cache path i.e. /tmp/x. Thus, I got a error that ! Package pdftex.def Error: File `1_5_part_orignal_model_L10240X10240_R20_alter native-eps-converted-to.pdf' not found. How to deal with this problem? Thanks for your suggestion. weidong
Re: about the figure in lyx
On Sun, Oct 23, 2011 at 6:32 PM, Wei-Dong Lian <weidong.l...@gmail.com> wrote: > hello, > I am including a figure in lyx through ERT command, e.g. > \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; > Have you tried using Insert > Graphics? Liviu > The problem was that the converted pdf file was not in the current path, but > the lyx cache path i.e. /tmp/x. > Thus, I got a error that > > ! Package pdftex.def Error: File > `1_5_part_orignal_model_L10240X10240_R20_alter > > native-eps-converted-to.pdf' not found. > > How to deal with this problem? > > Thanks for your suggestion. > > weidong -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: about the figure in lyx
Hi, Includegraphics is written in separated file of tikz codes. Of course, Insert->Graphics works perfectly. Weidong On Sun, Oct 23, 2011 at 6:54 PM, Liviu Andronic <landronim...@gmail.com>wrote: > On Sun, Oct 23, 2011 at 6:32 PM, Wei-Dong Lian <weidong.l...@gmail.com> > wrote: > > hello, > > I am including a figure in lyx through ERT command, e.g. > > > \includegraphics[width=0.2\columnwidth]{1_5_part_orignal_model_L10240X10240_R20_alternative.eps}; > > > Have you tried using Insert > Graphics? > > Liviu > > > > The problem was that the converted pdf file was not in the current path, > but > > the lyx cache path i.e. /tmp/x. > > Thus, I got a error that > > > > ! Package pdftex.def Error: File > > `1_5_part_orignal_model_L10240X10240_R20_alter > > > > native-eps-converted-to.pdf' not found. > > > > How to deal with this problem? > > > > Thanks for your suggestion. > > > > weidong > > > > -- > Do you know how to read? > http://www.alienetworks.com/srtest.cfm > http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader > Do you know how to write? > http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail > -- Weidong LIAN Bureau F 230 Telephone: +33 (0)2 40 37 25 79 Fax: +33 (0)2 40 37 25 73 Email: weidong.l...@gmail.com Ecole Centrale de Nantes Department Mechanical Engineering and Materials GEM - Institut de Recherches en Génie Civil et Mécanique UMR CNRS 6183 Equipe "Structure et Simulation" B.P. 92101 44321 Nantes cedex 3 FRANCE
Centrage horizontal des figure dans lyx 1.4.2
Bonjour à tous , Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les figures que j'insère dans les espaces « figure flottante » A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où il suffit de cocher l'option « tableau long ». Quelqu'un pourrait il m'aider ? Merci d'avance, Florent
Re: Centrage horizontal des figure dans lyx 1.4.2
If I understand the question correctly, you need to change the paragraph setting within the figure to be centered instead of justified. On Aug 2, 2006, at 10:27 AM, THIBAULT Florent wrote: Bonjour à tous , Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les figures que j'insère dans les espaces « figure flottante » A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où il suffit de cocher l'option « tableau long ». Quelqu'un pourrait il m'aider ? Merci d'avance, Florent
Centrage horizontal des figure dans lyx 1.4.2
Bonjour à tous , Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les figures que j'insère dans les espaces « figure flottante » A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où il suffit de cocher l'option « tableau long ». Quelqu'un pourrait il m'aider ? Merci d'avance, Florent
Re: Centrage horizontal des figure dans lyx 1.4.2
If I understand the question correctly, you need to change the paragraph setting within the figure to be centered instead of justified. On Aug 2, 2006, at 10:27 AM, THIBAULT Florent wrote: Bonjour à tous , Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les figures que j'insère dans les espaces « figure flottante » A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où il suffit de cocher l'option « tableau long ». Quelqu'un pourrait il m'aider ? Merci d'avance, Florent
Centrage horizontal des figure dans lyx 1.4.2
Bonjour à tous , Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les figures que j'insère dans les espaces « figure flottante » A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où il suffit de cocher l'option « tableau long ». Quelqu'un pourrait il m'aider ? Merci d'avance, Florent
Re: Centrage horizontal des figure dans lyx 1.4.2
If I understand the question correctly, you need to change the paragraph setting within the figure to be "centered" instead of "justified." On Aug 2, 2006, at 10:27 AM, THIBAULT Florent wrote: Bonjour à tous , Je suis en train de rédiger mon mémoire de thèse sous Lyx, tout se passe très bien à l'exception d'un détail : je n'arrive pas à centrer horizontalement les figures que j'insère dans les espaces « figure flottante » A part l'utilisation, lourde et génératrice d'erreurs, de deux ressorts horizontaux, je n'ai pas trouvé de solution comme dans le cas des tableaux où il suffit de cocher l'option « tableau long ». Quelqu'un pourrait il m'aider ? Merci d'avance, Florent
figure* in LyX?
When working with a two-column document in LyX, is there a way to specify floats which should span both columns? (i.e., \begin{figure*} in LaTeX) -- Maciej Kalisiak [EMAIL PROTECTED] http://www.dgp.toronto.edu/~mac
Re: figure* in LyX?
If you right click the float box a load of options appear - one of which is Span Columns. Check this box and all should be ok. BTW in many cases the float will appear on the page following its position so if you want it to span two columns on page 2 make sure you place it somewhere on page 1. Geoff - Original Message - From: Maciej Kalisiak [EMAIL PROTECTED] To: lyx-users lyx-users@lists.lyx.org Sent: Monday, July 25, 2005 6:40 PM Subject: figure* in LyX? When working with a two-column document in LyX, is there a way to specify floats which should span both columns? (i.e., \begin{figure*} in LaTeX) -- Maciej Kalisiak [EMAIL PROTECTED] http://www.dgp.toronto.edu/~mac
Re: figure* in LyX?
Ohh... thinko on my part... I kept searching for the option in the graphic's options (i.e., the dialog box you get after clicking on the image in the figure)... didn't realize you could right click in the figure, but outside the included image. Thanks! On 7/25/05, Geoffrey Lloyd [EMAIL PROTECTED] wrote: If you right click the float box a load of options appear - one of which is Span Columns. Check this box and all should be ok. BTW in many cases the float will appear on the page following its position so if you want it to span two columns on page 2 make sure you place it somewhere on page 1. Geoff -- Maciej Kalisiak [EMAIL PROTECTED] http://www.dgp.toronto.edu/~mac
figure* in LyX?
When working with a two-column document in LyX, is there a way to specify floats which should span both columns? (i.e., \begin{figure*} in LaTeX) -- Maciej Kalisiak [EMAIL PROTECTED] http://www.dgp.toronto.edu/~mac
Re: figure* in LyX?
If you right click the float box a load of options appear - one of which is Span Columns. Check this box and all should be ok. BTW in many cases the float will appear on the page following its position so if you want it to span two columns on page 2 make sure you place it somewhere on page 1. Geoff - Original Message - From: Maciej Kalisiak [EMAIL PROTECTED] To: lyx-users lyx-users@lists.lyx.org Sent: Monday, July 25, 2005 6:40 PM Subject: figure* in LyX? When working with a two-column document in LyX, is there a way to specify floats which should span both columns? (i.e., \begin{figure*} in LaTeX) -- Maciej Kalisiak [EMAIL PROTECTED] http://www.dgp.toronto.edu/~mac
Re: figure* in LyX?
Ohh... thinko on my part... I kept searching for the option in the graphic's options (i.e., the dialog box you get after clicking on the image in the figure)... didn't realize you could right click in the figure, but outside the included image. Thanks! On 7/25/05, Geoffrey Lloyd [EMAIL PROTECTED] wrote: If you right click the float box a load of options appear - one of which is Span Columns. Check this box and all should be ok. BTW in many cases the float will appear on the page following its position so if you want it to span two columns on page 2 make sure you place it somewhere on page 1. Geoff -- Maciej Kalisiak [EMAIL PROTECTED] http://www.dgp.toronto.edu/~mac
figure* in LyX?
When working with a two-column document in LyX, is there a way to specify floats which should span both columns? (i.e., \begin{figure*} in LaTeX) -- Maciej Kalisiak <[EMAIL PROTECTED]> http://www.dgp.toronto.edu/~mac
Re: figure* in LyX?
If you right click the float box a load of options appear - one of which is Span Columns. Check this box and all should be ok. BTW in many cases the float will appear on the page following its position so if you want it to span two columns on page 2 make sure you place it somewhere on page 1. Geoff - Original Message - From: "Maciej Kalisiak" <[EMAIL PROTECTED]> To: "lyx-users" <lyx-users@lists.lyx.org> Sent: Monday, July 25, 2005 6:40 PM Subject: figure* in LyX? When working with a two-column document in LyX, is there a way to specify floats which should span both columns? (i.e., \begin{figure*} in LaTeX) -- Maciej Kalisiak <[EMAIL PROTECTED]> http://www.dgp.toronto.edu/~mac
Re: figure* in LyX?
Ohh... thinko on my part... I kept searching for the option in the graphic's options (i.e., the dialog box you get after clicking on the image in the figure)... didn't realize you could right click in the figure, but outside the included image. Thanks! On 7/25/05, Geoffrey Lloyd <[EMAIL PROTECTED]> wrote: > > If you right click the float box a load of options appear - one of which > is > Span Columns. > > Check this box and all should be ok. > > BTW in many cases the float will appear on the page following its position > so if you want it to span two columns on page 2 make sure you place it > somewhere on page 1. > > Geoff > -- Maciej Kalisiak <[EMAIL PROTECTED]> http://www.dgp.toronto.edu/~mac
Cannot display figure in lyx
Hallo, I just upgraded my debian from woody to sarge. And lyx installed is of the version 1.3.1. Lyx is still an excellent program. I have a small problem, I cannot display figures withn LyX. I have done this from menu bar: Insert- Graphics - Lyx display: 'clicked/yes' show in lyx The following message is displayed on the working screen of lyx: Error converting to loadable format Could some help me please? Setyo
Cannot display figure in lyx
Hallo, I just upgraded my debian from woody to sarge. And lyx installed is of the version 1.3.1. Lyx is still an excellent program. I have a small problem, I cannot display figures withn LyX. I have done this from menu bar: Insert- Graphics - Lyx display: 'clicked/yes' show in lyx The following message is displayed on the working screen of lyx: Error converting to loadable format Could some help me please? Setyo
Cannot display figure in lyx
Hallo, I just upgraded my debian from woody to sarge. And lyx installed is of the version 1.3.1. Lyx is still an excellent program. I have a small problem, I cannot display figures withn LyX. I have done this from menu bar: Insert- Graphics - Lyx display: 'clicked/yes' show in lyx The following message is displayed on the working screen of lyx: "Error converting to loadable format" Could some help me please? Setyo
Use an Xfig figure in LyX with non-latin1 Special flagged text
Hello, I use to make Xfig figures with Special flagged text quite often. I mostly write english documets, but sometimes I need to make a figure that includes non-english text -- namely the Czech. A block scheme is such an example (see the attachments). I used a trick with TeX macros for typesetting accented characters for a long time, but creating the figures in such a way requires so much effort -- you need to rerun LaTeX several times while editting the figure to get the final result. So I decided to localize Xfig and put the figure (with non-latin1 characters) right into the LyX document in regular way. But there were some problems that arised during this process. I finaly found the solution so I'm gonna to describe what I did. Hope this helps any one. It's clear that you don't need to use TeX macros for accented characters any more or do another fiddling around. You just switch the keyboard layout and write the text directly into the figure. NOTE: I've tried this for Czech (iso8859-2) text only, so I hope it should work also for other alphabets. 1) Localize Xfig Common instructions for Xfig localization can be found at http://member.nifty.ne.jp/tsato/xfig/latin/latin-e.html For example if you have transfig-3.2.3d-7 you need to nuthin' at all. You just make a symlink in your FIG2DEV_LIBDIR directory (usually in /usr/share/fig2dev/) czech.ps - cs_CZ.ps If there's no cs_CZ.ps file in that directory get the file czech.ps from the above site and put it into your FIG2DEV_LIBDIR directory. Set the locale to appropriate language export LANG=czech and run Xfig. You would be able to enter non-latin1 characters right from the keyboard. 2) Change the LyX template Add the -j option to the fig2dev command in the /usr/share/lyx/scripts/fig2pstex.py script so it will look like this os.execvp(fig2dev, [fig2dev, -j, -Lpstex] + parameters + [filename, basename + .eps]) os.execvp(fig2dev, [fig2dev, -j, -Lpstex_t] + parameters + [filename, basename + .pstex_t]) Insert the figure to the LyX document via standard template: Insert External Material... Xfig and enjoy the result! ADDITIONAL NOTES (and suggestions for the developpers): In fact there's no need to change the LyX tempalte. You can export the figure manually by Combined PS/LaTeX (both parts) and include the *.pstex_t part into the LyX document via Insert Include File. Needless to say that inserting the *.fig file via Insert External Material Xfig is much more comfortable since Transfig creates both parts automatically. So the secret that the non-latin1 characters appear right in the typeset document lies in the missing -j option in fig2dev command which provides the conversion from FIG format to another languages. The -j option is always set when the figure is exported manually from Xfig, so that's the reason why it works with inclusion of *.pstex_t. In fact I haven't found what the option -j does. There's no description in fig2dev man page. But it's clear that it really works with -j so I suggest to add this option to the future releases of LyX, namely in fig2pstex script. Moreover it doesn't affect the behaviour of the template at all. Regards, KAMIL ;-{ xfig-czech.pdf Description: Adobe PDF document
Use an Xfig figure in LyX with non-latin1 Special flagged text
Hello, I use to make Xfig figures with Special flagged text quite often. I mostly write english documets, but sometimes I need to make a figure that includes non-english text -- namely the Czech. A block scheme is such an example (see the attachments). I used a trick with TeX macros for typesetting accented characters for a long time, but creating the figures in such a way requires so much effort -- you need to rerun LaTeX several times while editting the figure to get the final result. So I decided to localize Xfig and put the figure (with non-latin1 characters) right into the LyX document in regular way. But there were some problems that arised during this process. I finaly found the solution so I'm gonna to describe what I did. Hope this helps any one. It's clear that you don't need to use TeX macros for accented characters any more or do another fiddling around. You just switch the keyboard layout and write the text directly into the figure. NOTE: I've tried this for Czech (iso8859-2) text only, so I hope it should work also for other alphabets. 1) Localize Xfig Common instructions for Xfig localization can be found at http://member.nifty.ne.jp/tsato/xfig/latin/latin-e.html For example if you have transfig-3.2.3d-7 you need to nuthin' at all. You just make a symlink in your FIG2DEV_LIBDIR directory (usually in /usr/share/fig2dev/) czech.ps - cs_CZ.ps If there's no cs_CZ.ps file in that directory get the file czech.ps from the above site and put it into your FIG2DEV_LIBDIR directory. Set the locale to appropriate language export LANG=czech and run Xfig. You would be able to enter non-latin1 characters right from the keyboard. 2) Change the LyX template Add the -j option to the fig2dev command in the /usr/share/lyx/scripts/fig2pstex.py script so it will look like this os.execvp(fig2dev, [fig2dev, -j, -Lpstex] + parameters + [filename, basename + .eps]) os.execvp(fig2dev, [fig2dev, -j, -Lpstex_t] + parameters + [filename, basename + .pstex_t]) Insert the figure to the LyX document via standard template: Insert External Material... Xfig and enjoy the result! ADDITIONAL NOTES (and suggestions for the developpers): In fact there's no need to change the LyX tempalte. You can export the figure manually by Combined PS/LaTeX (both parts) and include the *.pstex_t part into the LyX document via Insert Include File. Needless to say that inserting the *.fig file via Insert External Material Xfig is much more comfortable since Transfig creates both parts automatically. So the secret that the non-latin1 characters appear right in the typeset document lies in the missing -j option in fig2dev command which provides the conversion from FIG format to another languages. The -j option is always set when the figure is exported manually from Xfig, so that's the reason why it works with inclusion of *.pstex_t. In fact I haven't found what the option -j does. There's no description in fig2dev man page. But it's clear that it really works with -j so I suggest to add this option to the future releases of LyX, namely in fig2pstex script. Moreover it doesn't affect the behaviour of the template at all. Regards, KAMIL ;-{ xfig-czech.pdf Description: Adobe PDF document
Use an Xfig figure in LyX with non-latin1 Special flagged text
Hello, I use to make Xfig figures with Special flagged text quite often. I mostly write english documets, but sometimes I need to make a figure that includes non-english text -- namely the Czech. A block scheme is such an example (see the attachments). I used a trick with TeX macros for typesetting accented characters for a long time, but creating the figures in such a way requires so much effort -- you need to rerun LaTeX several times while editting the figure to get the final result. So I decided to localize Xfig and put the figure (with non-latin1 characters) right into the LyX document in regular way. But there were some problems that arised during this process. I finaly found the solution so I'm gonna to describe what I did. Hope this helps any one. It's clear that you don't need to use TeX macros for accented characters any more or do another fiddling around. You just switch the keyboard layout and write the text directly into the figure. NOTE: I've tried this for Czech (iso8859-2) text only, so I hope it should work also for other alphabets. 1) Localize Xfig Common instructions for Xfig localization can be found at http://member.nifty.ne.jp/tsato/xfig/latin/latin-e.html For example if you have transfig-3.2.3d-7 you need to nuthin' at all. You just make a symlink in your FIG2DEV_LIBDIR directory (usually in /usr/share/fig2dev/) czech.ps -> cs_CZ.ps If there's no cs_CZ.ps file in that directory get the file czech.ps from the above site and put it into your FIG2DEV_LIBDIR directory. Set the locale to appropriate language export LANG=czech and run Xfig. You would be able to enter non-latin1 characters right from the keyboard. 2) Change the LyX template Add the -j option to the fig2dev command in the /usr/share/lyx/scripts/fig2pstex.py script so it will look like this os.execvp("fig2dev", ["fig2dev", "-j", "-Lpstex"] + parameters + [filename, basename + ".eps"]) os.execvp("fig2dev", ["fig2dev", "-j", "-Lpstex_t"] + parameters + [filename, basename + ".pstex_t"]) Insert the figure to the LyX document via standard template: Insert > External Material... > Xfig and enjoy the result! ADDITIONAL NOTES (and suggestions for the developpers): In fact there's no need to change the LyX tempalte. You can export the figure manually by Combined PS/LaTeX (both parts) and include the *.pstex_t part into the LyX document via Insert > Include File. Needless to say that inserting the *.fig file via Insert > External Material > Xfig is much more comfortable since Transfig creates both parts automatically. So the secret that the non-latin1 characters appear right in the typeset document lies in the missing -j option in fig2dev command which provides the conversion from FIG format to another languages. The -j option is always set when the figure is exported manually from Xfig, so that's the reason why it works with inclusion of *.pstex_t. In fact I haven't found what the option -j does. There's no description in fig2dev man page. But it's clear that it really works with -j so I suggest to add this option to the future releases of LyX, namely in fig2pstex script. Moreover it doesn't affect the behaviour of the template at all. Regards, KAMIL ;-{ xfig-czech.pdf Description: Adobe PDF document