dedication not shown in English version
I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? I am using LyX Version 2.1.3 Wolfgang SingularpunktTest.lyx Description: application/lyx SingularpointTest.lyx Description: application/lyx
Re: Lyx doesn't compile but Export Tex then pdfLatex does
Thank you Scott for your answer. Indeed, I forgot to remove the code from the preamble, sorry for that. Moreover, since you told me that ERT and relative paths could be the key, I removed the \includegraphicsand replaced them include the graphics with its Lyx version through Insert / Graphics, and it worked under Windows. To conclude, relative paths in ERT work correctly with Linux, not with Windows, which is somewhat related to the bug http://www.lyx.org/trac/ticket/1751 Gilles ___ Gilles Moyse Mobile : +33 6 38 03 71 63 On 14 July 2015 at 23:47, Scott Kostyshak skost...@lyx.org wrote: On Tue, Jul 14, 2015 at 11:11 AM, Gilles Moyse gilles.mo...@gmail.com wrote: Dear all, I ran into a strange problem today. A Beamer file I often use for my presentation does not compile any more on my Windows machine since Lyx (v2.1.3) says it cannot find the graphic files I use for the logo. Moving them to the .lyx file directory doe not fix the problem, but commenting the \logo instruction does. The strange thing is that the same file compiles correctly on my Linux machine with Lyx 2.1.3 at the lab. The even stranger thing is that using File / Export / Latex (pfdLatex) on my Windows machine and then running pdfLatex test.tex works correctly! It must be a silly mistake but I cannot find it. I attached the files needed to replay : Test.lyx file working correctly on my Linux machine, not on my Windows one Test.tex generated from .lyx on my Windows machine Test.pdf generated from .tex upmc.pdf and lip6.pdf are the 2 graphics file not found when compiling from Lyx on my Windows machine - they must be located relatively to the lyx file in a subdirectory called res Hi Giles, I did not try your example because it is far from a minimal example (see http://wiki.lyx.org/FAQ/MinimalExample). However, I see that you use ERT. In this case, you must give the full path to the files, because LyX does not know about them and thus won't copy them to the temporary directory. Does using the full path to all files work? If not, can you please create a minimal example as I reference above? Best, Scott
Re: dedication not shown in English version
Am Mittwoch 15 Juli 2015, 15:23:14 schrieb Wolfgang Engelmann: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? In the English version, you have a paragraph break just before the vertical space. Remove it and it will work. The paragraph break results in two separate dedication commands (one with the dedication, the other with the motto box). The latter then overwrites the former. Jürgen
Re: dedication not shown in English version
On 07/15/2015 03:23 PM, Wolfgang Engelmann wrote: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? I am using LyX Version 2.1.3 Wolfgang Hallo Wolfgang, Jürgen has a cure for everything. You may alternatively insert an environment separator before the dedication paragraph. Michael
Re: dedication not shown in English version
Am 15.07.2015 um 17:33 schrieb Jürgen Spitzmüller: Am Mittwoch 15 Juli 2015, 15:23:14 schrieb Wolfgang Engelmann: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? In the English version, you have a paragraph break just before the vertical space. Remove it and it will work. The paragraph break results in two separate dedication commands (one with the dedication, the other with the motto box). The latter then overwrites the former. Jürgen Thanks, Jürgen and Michael, especially also for the explanation why it failed. Wolfgang
Re: Lyx doesn't compile but Export Tex then pdfLatex does
Gilles Moyse writes: Thank you Scott for your answer. Indeed, I forgot to remove the code from the preamble, sorry for that. Moreover, since you told me that ERT and relative paths could be the key, I removed the \includegraphicsand replaced them include the graphics with its Lyx version through Insert / Graphics, and it worked under Windows. To conclude, relative paths in ERT work correctly with Linux, not with Windows, which is somewhat related to the bug http://www.lyx.org/trac/ticket/1751 I rather think that you are hit by http://www.lyx.org/trac/ticket/9453 which should be fixed in lyx 2.1.4. -- Enrico
Re: Lyx doesn't compile but Export Tex then pdfLatex does
Gilles Moyse writes: Thank you Scott for your answer. Indeed, I forgot to remove the code from the preamble, sorry for that. Moreover, since you told me that ERT and relative paths could be the key, I removed the \includegraphicsand replaced them include the graphics with its Lyx version through Insert / Graphics, and it worked under Windows. To conclude, relative paths in ERT work correctly with Linux, not with Windows, which is somewhat related to the bug http://www.lyx.org/trac/ticket/1751 I rather think that you are hit by http://www.lyx.org/trac/ticket/9453 which should be fixed in lyx 2.1.4. -- Enrico
Re: dedication not shown in English version
Am 15.07.2015 um 17:33 schrieb Jürgen Spitzmüller: Am Mittwoch 15 Juli 2015, 15:23:14 schrieb Wolfgang Engelmann: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? In the English version, you have a paragraph break just before the vertical space. Remove it and it will work. The paragraph break results in two separate dedication commands (one with the dedication, the other with the motto box). The latter then overwrites the former. Jürgen Thanks, Jürgen and Michael, especially also for the explanation why it failed. Wolfgang
dedication not shown in English version
I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? I am using LyX Version 2.1.3 Wolfgang SingularpunktTest.lyx Description: application/lyx SingularpointTest.lyx Description: application/lyx
Re: dedication not shown in English version
Am Mittwoch 15 Juli 2015, 15:23:14 schrieb Wolfgang Engelmann: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? In the English version, you have a paragraph break just before the vertical space. Remove it and it will work. The paragraph break results in two separate dedication commands (one with the dedication, the other with the motto box). The latter then overwrites the former. Jürgen
Re: dedication not shown in English version
On 07/15/2015 03:23 PM, Wolfgang Engelmann wrote: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? I am using LyX Version 2.1.3 Wolfgang Hallo Wolfgang, Jürgen has a cure for everything. You may alternatively insert an environment separator before the dedication paragraph. Michael
Re: Lyx doesn't compile but Export Tex then pdfLatex does
Thank you Scott for your answer. Indeed, I forgot to remove the code from the preamble, sorry for that. Moreover, since you told me that ERT and relative paths could be the key, I removed the \includegraphicsand replaced them include the graphics with its Lyx version through Insert / Graphics, and it worked under Windows. To conclude, relative paths in ERT work correctly with Linux, not with Windows, which is somewhat related to the bug http://www.lyx.org/trac/ticket/1751 Gilles ___ Gilles Moyse Mobile : +33 6 38 03 71 63 On 14 July 2015 at 23:47, Scott Kostyshak skost...@lyx.org wrote: On Tue, Jul 14, 2015 at 11:11 AM, Gilles Moyse gilles.mo...@gmail.com wrote: Dear all, I ran into a strange problem today. A Beamer file I often use for my presentation does not compile any more on my Windows machine since Lyx (v2.1.3) says it cannot find the graphic files I use for the logo. Moving them to the .lyx file directory doe not fix the problem, but commenting the \logo instruction does. The strange thing is that the same file compiles correctly on my Linux machine with Lyx 2.1.3 at the lab. The even stranger thing is that using File / Export / Latex (pfdLatex) on my Windows machine and then running pdfLatex test.tex works correctly! It must be a silly mistake but I cannot find it. I attached the files needed to replay : Test.lyx file working correctly on my Linux machine, not on my Windows one Test.tex generated from .lyx on my Windows machine Test.pdf generated from .tex upmc.pdf and lip6.pdf are the 2 graphics file not found when compiling from Lyx on my Windows machine - they must be located relatively to the lyx file in a subdirectory called res Hi Giles, I did not try your example because it is far from a minimal example (see http://wiki.lyx.org/FAQ/MinimalExample). However, I see that you use ERT. In this case, you must give the full path to the files, because LyX does not know about them and thus won't copy them to the temporary directory. Does using the full path to all files work? If not, can you please create a minimal example as I reference above? Best, Scott
dedication not shown in English version
I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? I am using LyX Version 2.1.3 Wolfgang SingularpunktTest.lyx Description: application/lyx SingularpointTest.lyx Description: application/lyx
Re: Lyx doesn't compile but Export Tex then pdfLatex does
Thank you Scott for your answer. Indeed, I forgot to remove the code from the preamble, sorry for that. Moreover, since you told me that ERT and relative paths could be the key, I removed the "\includegraphics"and replaced them include the graphics with its Lyx version through Insert / Graphics, and it worked under Windows. To conclude, relative paths in ERT work correctly with Linux, not with Windows, which is somewhat related to the bug http://www.lyx.org/trac/ticket/1751 Gilles ___ Gilles Moyse Mobile : +33 6 38 03 71 63 On 14 July 2015 at 23:47, Scott Kostyshakwrote: > On Tue, Jul 14, 2015 at 11:11 AM, Gilles Moyse > wrote: > > > > Dear all, > > > > I ran into a strange problem today. A Beamer file I often use for my > > presentation does not compile any more on my Windows machine since Lyx > > (v2.1.3) says it cannot find the graphic files I use for the logo. Moving > > them to the .lyx file directory doe not fix the problem, but commenting > the > > \logo instruction does. > > > > The strange thing is that the same file compiles correctly on my Linux > > machine with Lyx 2.1.3 at the lab. > > > > The even stranger thing is that using File / Export / Latex (pfdLatex) > on my > > Windows machine and then running "pdfLatex test.tex" works correctly! > > > > It must be a silly mistake but I cannot find it. I attached the files > needed > > to replay : > > > > Test.lyx file working correctly on my Linux machine, not on my Windows > one > > Test.tex generated from .lyx on my Windows machine > > Test.pdf generated from .tex > > upmc.pdf and lip6.pdf are the 2 graphics file not found when compiling > from > > Lyx on my Windows machine - they must be located relatively to the lyx > file > > in a subdirectory called "res" > > Hi Giles, > > I did not try your example because it is far from a minimal example > (see http://wiki.lyx.org/FAQ/MinimalExample). However, I see that you > use ERT. In this case, you must give the full path to the files, > because LyX does not know about them and thus won't copy them to the > temporary directory. > > Does using the full path to all files work? If not, can you please > create a minimal example as I reference above? > > Best, > > Scott >
Re: dedication not shown in English version
Am Mittwoch 15 Juli 2015, 15:23:14 schrieb Wolfgang Engelmann: > I have a German and an English version of a Koma script book. The > dedication is shown only in the pdf export of the German version. I must > have done something wrong, but I can't find it. Anybody outside who has > better eyes and/or brain? In the English version, you have a paragraph break just before the vertical space. Remove it and it will work. The paragraph break results in two separate dedication commands (one with the dedication, the other with the motto box). The latter then overwrites the former. Jürgen
Re: dedication not shown in English version
On 07/15/2015 03:23 PM, Wolfgang Engelmann wrote: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? I am using LyX Version 2.1.3 Wolfgang Hallo Wolfgang, Jürgen has a cure for everything. You may alternatively insert an environment separator before the dedication paragraph. Michael
Re: dedication not shown in English version
Am 15.07.2015 um 17:33 schrieb Jürgen Spitzmüller: Am Mittwoch 15 Juli 2015, 15:23:14 schrieb Wolfgang Engelmann: I have a German and an English version of a Koma script book. The dedication is shown only in the pdf export of the German version. I must have done something wrong, but I can't find it. Anybody outside who has better eyes and/or brain? In the English version, you have a paragraph break just before the vertical space. Remove it and it will work. The paragraph break results in two separate dedication commands (one with the dedication, the other with the motto box). The latter then overwrites the former. Jürgen Thanks, Jürgen and Michael, especially also for the explanation why it failed. Wolfgang
Re: Lyx doesn't compile but Export Tex then pdfLatex does
Gilles Moyse writes: > Thank you Scott for your answer. Indeed, I forgot to remove the code > from the preamble, sorry for that. Moreover, since you told me that ERT > and relative paths could be the key, I removed the "\includegraphics"and > replaced them include the graphics with its Lyx version through Insert / > Graphics, and it worked under Windows. > > To conclude, relative paths in ERT work correctly with Linux, not with > Windows, which is somewhat related to the bug > http://www.lyx.org/trac/ticket/1751 I rather think that you are hit by http://www.lyx.org/trac/ticket/9453 which should be fixed in lyx 2.1.4. -- Enrico