Re: Lyx to Latex to Lyx
Den 13. aug. 2015 22:53, skrev Hal Kierstead: I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Currently, LaTeX import isn't perfect. There are some ways around this. If your co-author only works on certain chapters/sections, then you may put those in files (child documents) of their own. Then you can work on most of your LyX document undisturbed by his work on his parts. You may even be able to avoid re-converting his pieces back to LyX files - for a LyX master document can have child documents that are latex files too. Obviously, this only works if he works on separate parts of the document - not if he needs to make changes everywhere. The best would be to convince the coauthor to use LyX for this document - perhaps helping out with the LyX installation. But I guess that is not an option here. Helge Hafting
Re: Lyx to Latex to Lyx
Den 13. aug. 2015 22:53, skrev Hal Kierstead: I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Currently, LaTeX import isn't perfect. There are some ways around this. If your co-author only works on certain chapters/sections, then you may put those in files (child documents) of their own. Then you can work on most of your LyX document undisturbed by his work on his parts. You may even be able to avoid re-converting his pieces back to LyX files - for a LyX master document can have child documents that are latex files too. Obviously, this only works if he works on separate parts of the document - not if he needs to make changes everywhere. The best would be to convince the coauthor to use LyX for this document - perhaps helping out with the LyX installation. But I guess that is not an option here. Helge Hafting
Re: Lyx to Latex to Lyx
Use include files. Many and small ones. :-)-O el On 2015-08-13 21:53, Hal Kierstead wrote: [...] I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal
Re: Lyx to Latex to Lyx
Use include files. Many and small ones. :-)-O el On 2015-08-13 21:53, Hal Kierstead wrote: [...] > I do not think you understood me. Suppose a create a LyX file and > use it to generate a tex file. I send it to my coauthor who does > not use LyX. He makes modifications to the LaTex file without > changing the front material, and sends me his Tex file. I should > be able to use tex2lyx to make a revised version of my LyX file. > But this requires many corrections by hand. > > Hal
Re: Lyx to Latex to Lyx
On 2015-08-15, Georg Baum wrote: ... There are some constructs in LyX that cannot be expressed in LaTeX or are not exported (e.g. Notes). We discussed in the past how to get rid of this limitation, but, but we do not have a consensus on a good soluition yet. Notes are not the best example: While Notes are not exported and hence naturally not in the re-imported file, they will not cause the re-import to fail. Günter
Re: Lyx to Latex to Lyx
On 2015-08-15, Georg Baum wrote: ... > There are some constructs in LyX that cannot be expressed in LaTeX or > are not exported (e.g. Notes). We discussed in the past how to get rid > of this limitation, but, but we do not have a consensus on a good > soluition yet. Notes are not the best example: While Notes are not exported and hence naturally not in the re-imported file, they will not cause the re-import to fail. Günter
Re: Lyx to Latex to Lyx
On Aug 15, 2015, at 10:24 AM, Georg Baum georg.b...@post.rwth-aachen.de wrote: Hal Kierstead wrote: First of all, tex2lyx already comes close to making a good LyX file. The main problem is that there always seem to be a handful or errors that must be fixed before the file will run. For some reason the program cannot handle options like \begin{thm}[Main Lemma], but also other options. It also seems that comments in the Latex file can sometimes produce errors. Please report bugs for these errors at http://www.lyx.org/trac/wiki/BugTrackerHome and include an example .tex file that shows the bug. These problems are sometimes easy to fix, the only thing we need is to be aware of them and a test case. A huge annoyance is that theorems, etc. are displayed in ERT. The problem with theorems is that they are only recognized if the preamble is the same that would be used by LyX. Otherwise it cannot be guaranteed that the PDF output will be the same as in the original document. If the origional .tex file was produced by LyX, and your co-author did not define a new theorem style, but only changed an existing theorem or added a new one, then the theorems should be imported correctrly by tex2lyx. If this is not the case then please file bug report. I understand that for arbitrary LaTex files some of these issues maybe very complicated or impossible, but what I am asking for does not involve arbitrary files. Let’s take an easy case. Suppose my coauthor only makes changes between \begin{document} and \end{document} of the LaTex file, and does not use any new constructs. Shouldn’t it be possible, perhaps with a helper file that records settings and any other special issues, to make a good LyX version? Or even easier, shouldn’t I be able to export a Latex file and then without changing it, import it and get the same LyX file back. Yes, I know there is no reason to do this, but it is a benchmark. Yes, this should be possible (with one limitation): There are some constructs in LyX that cannot be expressed in LaTeX or are not exported (e.g. Notes). We discussed in the past how to get rid of this limitation, but, but we do not have a consensus on a good soluition yet. Again, if have documents that do not re-import correctly, please file a bug. Georg Georg - Thanks for a very positive response with very concrete ways for me to help. Unfortunately at the moment I am in rush to prepare for the start of the new semester next week, but I will get back to you with examples. Thanks again, Hal
Re: Lyx to Latex to Lyx
Hal Kierstead wrote: First of all, tex2lyx already comes close to making a good LyX file. The main problem is that there always seem to be a handful or errors that must be fixed before the file will run. For some reason the program cannot handle options like \begin{thm}[Main Lemma], but also other options. It also seems that comments in the Latex file can sometimes produce errors. Please report bugs for these errors at http://www.lyx.org/trac/wiki/BugTrackerHome and include an example .tex file that shows the bug. These problems are sometimes easy to fix, the only thing we need is to be aware of them and a test case. A huge annoyance is that theorems, etc. are displayed in ERT. The problem with theorems is that they are only recognized if the preamble is the same that would be used by LyX. Otherwise it cannot be guaranteed that the PDF output will be the same as in the original document. If the origional .tex file was produced by LyX, and your co-author did not define a new theorem style, but only changed an existing theorem or added a new one, then the theorems should be imported correctrly by tex2lyx. If this is not the case then please file bug report. I understand that for arbitrary LaTex files some of these issues maybe very complicated or impossible, but what I am asking for does not involve arbitrary files. Let’s take an easy case. Suppose my coauthor only makes changes between \begin{document} and \end{document} of the LaTex file, and does not use any new constructs. Shouldn’t it be possible, perhaps with a helper file that records settings and any other special issues, to make a good LyX version? Or even easier, shouldn’t I be able to export a Latex file and then without changing it, import it and get the same LyX file back. Yes, I know there is no reason to do this, but it is a benchmark. Yes, this should be possible (with one limitation): There are some constructs in LyX that cannot be expressed in LaTeX or are not exported (e.g. Notes). We discussed in the past how to get rid of this limitation, but, but we do not have a consensus on a good soluition yet. Again, if have documents that do not re-import correctly, please file a bug. Georg
Re: Lyx to Latex to Lyx
Hal Kierstead wrote: > First of all, tex2lyx already comes close to making a good LyX file. The > main problem is that there always seem to be a handful or errors that must > be fixed before the file will run. For some reason the program cannot > handle options like \begin{thm}[Main Lemma], but also other options. It > also seems that comments in the Latex file can sometimes produce errors. Please report bugs for these errors at http://www.lyx.org/trac/wiki/BugTrackerHome and include an example .tex file that shows the bug. These problems are sometimes easy to fix, the only thing we need is to be aware of them and a test case. > A huge annoyance is that theorems, etc. are displayed in ERT. The problem with theorems is that they are only recognized if the preamble is the same that would be used by LyX. Otherwise it cannot be guaranteed that the PDF output will be the same as in the original document. If the origional .tex file was produced by LyX, and your co-author did not define a new theorem style, but only changed an existing theorem or added a new one, then the theorems should be imported correctrly by tex2lyx. If this is not the case then please file bug report. > I understand that for arbitrary LaTex files some of these issues maybe > very complicated or impossible, but what I am asking for does not involve > arbitrary files. Let’s take an easy case. Suppose my coauthor only makes > changes between \begin{document} and \end{document} of the LaTex file, and > does not use any new constructs. Shouldn’t it be possible, perhaps with a > helper file that records settings and any other special issues, to make a > good LyX version? Or even easier, shouldn’t I be able to export a Latex > file and then without changing it, import it and get the same LyX file > back. Yes, I know there is no reason to do this, but it is a benchmark. Yes, this should be possible (with one limitation): There are some constructs in LyX that cannot be expressed in LaTeX or are not exported (e.g. Notes). We discussed in the past how to get rid of this limitation, but, but we do not have a consensus on a good soluition yet. Again, if have documents that do not re-import correctly, please file a bug. Georg
Re: Lyx to Latex to Lyx
> On Aug 15, 2015, at 10:24 AM, Georg Baum> wrote: > > Hal Kierstead wrote: > >> First of all, tex2lyx already comes close to making a good LyX file. The >> main problem is that there always seem to be a handful or errors that must >> be fixed before the file will run. For some reason the program cannot >> handle options like \begin{thm}[Main Lemma], but also other options. It >> also seems that comments in the Latex file can sometimes produce errors. > > Please report bugs for these errors at > http://www.lyx.org/trac/wiki/BugTrackerHome and include an example .tex file > that shows the bug. These problems are sometimes easy to fix, the only thing > we need is to be aware of them and a test case. > >> A huge annoyance is that theorems, etc. are displayed in ERT. > > The problem with theorems is that they are only recognized if the preamble > is the same that would be used by LyX. Otherwise it cannot be guaranteed > that the PDF output will be the same as in the original document. If the > origional .tex file was produced by LyX, and your co-author did not define a > new theorem style, but only changed an existing theorem or added a new one, > then the theorems should be imported correctrly by tex2lyx. If this is not > the case then please file bug report. > >> I understand that for arbitrary LaTex files some of these issues maybe >> very complicated or impossible, but what I am asking for does not involve >> arbitrary files. Let’s take an easy case. Suppose my coauthor only makes >> changes between \begin{document} and \end{document} of the LaTex file, and >> does not use any new constructs. Shouldn’t it be possible, perhaps with a >> helper file that records settings and any other special issues, to make a >> good LyX version? Or even easier, shouldn’t I be able to export a Latex >> file and then without changing it, import it and get the same LyX file >> back. Yes, I know there is no reason to do this, but it is a benchmark. > > Yes, this should be possible (with one limitation): There are some > constructs in LyX that cannot be expressed in LaTeX or are not exported > (e.g. Notes). We discussed in the past how to get rid of this limitation, > but, but we do not have a consensus on a good soluition yet. Again, if have > documents that do not re-import correctly, please file a bug. > > > Georg > Georg - Thanks for a very positive response with very concrete ways for me to help. Unfortunately at the moment I am in rush to prepare for the start of the new semester next week, but I will get back to you with examples. Thanks again, Hal
Re: Lyx to Latex to Lyx
On Thu, Aug 13, 2015 at 6:45 PM, Hal Kierstead hal.kierst...@me.com wrote: On Aug 13, 2015, at 2:31 PM, Steve Thompson scth...@gmail.com wrote: Hal, I think I did understand. You want your collaborator to be able to make arbitrary changes to the .tex file, then have tex2lyx figure out how to create a new .lyx file. But your collaborator could have done anything. That makes the “modified” file no different from any other completely arbitrary new input file. Steve Steve - I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal Steve - First of all, tex2lyx already comes close to making a good LyX file. The main problem is that there always seem to be a handful or errors that must be fixed before the file will run. For some reason the program cannot handle options like \begin{thm}[Main Lemma], but also other options. It also seems that comments in the Latex file can sometimes produce errors. A huge annoyance is that theorems, etc. are displayed in ERT. I understand that for arbitrary LaTex files some of these issues maybe very complicated or impossible, but what I am asking for does not involve arbitrary files. Let’s take an easy case. Suppose my coauthor only makes changes between \begin{document} and \end{document} of the LaTex file, and does not use any new constructs. Shouldn’t it be possible, perhaps with a helper file that records settings and any other special issues, to make a good LyX version? Or even easier, shouldn’t I be able to export a Latex file and then without changing it, import it and get the same LyX file back. Yes, I know there is no reason to do this, but it is a benchmark. Hal Hal, I think your reasoning is sound. I agree that it would be really nice to have clean round trip (even though as Steve rightly points out this is useless in theory if we don't make any manual change). The reason is simply that it is hard to import LaTeX, *even* LaTeX that LyX produces. Sometimes one way is easier than the other way. tex2lyx is actually a completely separate program from LyX (it is literally a separate binary program). There is no communication between the two. Communication wouldn't even help. Import is just a completely different procedure from export. Many people (including myself) agree with you that it would be nice to have this. To see previous discussions on this topic, search for LyX roundtrip LaTeX or something similar. Best, Scott
Re: Lyx to Latex to Lyx
On Aug 13, 2015, at 2:31 PM, Steve Thompson scth...@gmail.com wrote: Hal, I think I did understand. You want your collaborator to be able to make arbitrary changes to the .tex file, then have tex2lyx figure out how to create a new .lyx file. But your collaborator could have done anything. That makes the “modified” file no different from any other completely arbitrary new input file. Steve Steve - I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal Steve - First of all, tex2lyx already comes close to making a good LyX file. The main problem is that there always seem to be a handful or errors that must be fixed before the file will run. For some reason the program cannot handle options like \begin{thm}[Main Lemma], but also other options. It also seems that comments in the Latex file can sometimes produce errors. A huge annoyance is that theorems, etc. are displayed in ERT. I understand that for arbitrary LaTex files some of these issues maybe very complicated or impossible, but what I am asking for does not involve arbitrary files. Let’s take an easy case. Suppose my coauthor only makes changes between \begin{document} and \end{document} of the LaTex file, and does not use any new constructs. Shouldn’t it be possible, perhaps with a helper file that records settings and any other special issues, to make a good LyX version? Or even easier, shouldn’t I be able to export a Latex file and then without changing it, import it and get the same LyX file back. Yes, I know there is no reason to do this, but it is a benchmark. Hal
RE: Lyx to Latex to Lyx
If you used Lyx to create the LaTeX file, then you already have the helper file to that would be needed to work with the LaTeX. It is just the filename.lyx file that created it in the first place. For my own work, I do this all the time. Create a document with Lyx, and send it to a journal as the .tex file with the figure files also attached. Going the other way just doesn't work. I can't imagine an automated routine that would look at an arbitrary .tex file and figure out what set of .layout, and template files that could be used to create it again. OTOH, maybe I just don't have sufficient imagination. From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of Hal Kierstead Sent: Thursday, August 13, 2015 3:54 PM To: Mike Reeks mike.re...@newcastle.ac.uk Cc: Lyx-users lyx-users@lists.lyx.org Subject: Re: Lyx to Latex to Lyx On Aug 13, 2015, at 12:02 PM, Mike Reeks mike.re...@newcastle.ac.uk mailto:mike.re...@newcastle.ac.uk wrote: Dear Lyx Users I have written a very large article in Lyx for publication in a scientific journal which will only accept the article as a latex file. Of course Lyx will generate a Latex file as well as a pdf file. I wanted to check that the Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can anyone help. Most grateful. Does that mean I will encounter problems using the latex to produce pdf files direct. It would seem odd that Lyx wont read the latex file it produces! Regards Mike Reeks I have used LyX for a long time, and really like it, but I think this is its biggest weakness. I also think this is a major obstacle to its wider adoption. When I collaborate with somebody who does not use LyX I am forced to use LaTex, rather than to be able to show off how easy LyX is to use. I understand that it maybe very difficult convert an arbitrary LaTex file LyX, but it should be routine to convert a LaTex file constructed by LyX, perhaps by producing an extra helper file during the first conversion. Hal
Re: Lyx to Latex to Lyx
On Aug 13, 2015, at 1:30 PM, Steve Thompson scth...@gmail.com wrote: If you used Lyx to create the LaTeX file, then you already have the “helper file” to that would be needed to work with the LaTeX. It is just the filename.lyx file that created it in the first place. For my own work, I do this all the time. Create a document with Lyx, and send it to a journal as the .tex file with the figure files also attached. Going the other way just doesn’t work. I can’t imagine an automated routine that would look at an arbitrary .tex file and figure out what set of .layout, and template files that could be used to create it again. OTOH, maybe I just don’t have sufficient imagination… From: lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org] On Behalf Of Hal Kierstead Sent: Thursday, August 13, 2015 3:54 PM To: Mike Reeks mike.re...@newcastle.ac.uk mailto:mike.re...@newcastle.ac.uk Cc: Lyx-users lyx-users@lists.lyx.org mailto:lyx-users@lists.lyx.org Subject: Re: Lyx to Latex to Lyx On Aug 13, 2015, at 12:02 PM, Mike Reeks mike.re...@newcastle.ac.uk mailto:mike.re...@newcastle.ac.uk wrote: Dear Lyx Users I have written a very large article in Lyx for publication in a scientific journal which will only accept the article as a latex file. Of course Lyx will generate a Latex file as well as a pdf file. I wanted to check that the Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can anyone help. Most grateful. Does that mean I will encounter problems using the latex to produce pdf files direct. It would seem odd that Lyx wont read the latex file it produces! Regards Mike Reeks I have used LyX for a long time, and really like it, but I think this is its biggest weakness. I also think this is a major obstacle to its wider adoption. When I collaborate with somebody who does not use LyX I am forced to use LaTex, rather than to be able to show off how easy LyX is to use. I understand that it maybe very difficult convert an arbitrary LaTex file LyX, but it should be routine to convert a LaTex file constructed by LyX, perhaps by producing an extra helper file during the first conversion. Hal Steve - I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal
RE: Lyx to Latex to Lyx
Hal, I think I did understand. You want your collaborator to be able to make arbitrary changes to the .tex file, then have tex2lyx figure out how to create a new .lyx file. But your collaborator could have done anything. That makes the “modified” file no different from any other completely arbitrary new input file. Steve Steve - I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal
RE: Lyx to Latex to Lyx
Dear Lyx Users I have written a very large article in Lyx for publication in a scientific journal which will only accept the article as a latex file. Of course Lyx will generate a Latex file as well as a pdf file. I wanted to check that the Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can anyone help. Most grateful. Does that mean I will encounter problems using the latex to produce pdf files direct. It would seem odd that Lyx wont read the latex file it produces! Regards Mike Reeks
Re: Lyx to Latex to Lyx
On Aug 13, 2015, at 12:02 PM, Mike Reeks mike.re...@newcastle.ac.uk wrote: Dear Lyx Users I have written a very large article in Lyx for publication in a scientific journal which will only accept the article as a latex file. Of course Lyx will generate a Latex file as well as a pdf file. I wanted to check that the Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can anyone help. Most grateful. Does that mean I will encounter problems using the latex to produce pdf files direct. It would seem odd that Lyx wont read the latex file it produces! Regards Mike Reeks I have used LyX for a long time, and really like it, but I think this is its biggest weakness. I also think this is a major obstacle to its wider adoption. When I collaborate with somebody who does not use LyX I am forced to use LaTex, rather than to be able to show off how easy LyX is to use. I understand that it maybe very difficult convert an arbitrary LaTex file LyX, but it should be routine to convert a LaTex file constructed by LyX, perhaps by producing an extra helper file during the first conversion. Hal
RE: Lyx to Latex to Lyx
Dear Lyx Users I have written a very large article in Lyx for publication in a scientific journal which will only accept the article as a latex file. Of course Lyx will generate a Latex file as well as a pdf file. I wanted to check that the Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can anyone help. Most grateful. Does that mean I will encounter problems using the latex to produce pdf files direct. It would seem odd that Lyx wont read the latex file it produces! Regards Mike Reeks
Re: Lyx to Latex to Lyx
> On Aug 13, 2015, at 12:02 PM, Mike Reeks <mike.re...@newcastle.ac.uk> wrote: > > Dear Lyx Users > I have written a very large article in Lyx for publication in a scientific > journal which will only accept the article as a latex file. Of course Lyx > will generate a Latex file as well as a pdf file. I wanted to check that the > Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx > insetP saying 'Unknown parameter name'. So what does that mean? Can anyone > help. Most grateful. Does that mean I will encounter problems using the latex > to produce pdf files direct. It would seem odd that Lyx wont read the latex > file it produces! > Regards > Mike Reeks I have used LyX for a long time, and really like it, but I think this is its biggest weakness. I also think this is a major obstacle to its wider adoption. When I collaborate with somebody who does not use LyX I am forced to use LaTex, rather than to be able to show off how easy LyX is to use. I understand that it maybe very difficult convert an arbitrary LaTex file LyX, but it should be routine to convert a LaTex file constructed by LyX, perhaps by producing an extra helper file during the first conversion. Hal
RE: Lyx to Latex to Lyx
If you used Lyx to create the LaTeX file, then you already have the "helper file" to that would be needed to work with the LaTeX. It is just the .lyx file that created it in the first place. For my own work, I do this all the time. Create a document with Lyx, and send it to a journal as the .tex file with the figure files also attached. Going the other way just doesn't work. I can't imagine an automated routine that would look at an arbitrary .tex file and figure out what set of .layout, and template files that could be used to create it again. OTOH, maybe I just don't have sufficient imagination. From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of Hal Kierstead Sent: Thursday, August 13, 2015 3:54 PM To: Mike Reeks <mike.re...@newcastle.ac.uk> Cc: Lyx-users <lyx-users@lists.lyx.org> Subject: Re: Lyx to Latex to Lyx On Aug 13, 2015, at 12:02 PM, Mike Reeks <mike.re...@newcastle.ac.uk <mailto:mike.re...@newcastle.ac.uk> > wrote: Dear Lyx Users I have written a very large article in Lyx for publication in a scientific journal which will only accept the article as a latex file. Of course Lyx will generate a Latex file as well as a pdf file. I wanted to check that the Latex file is acceptable to Lyx. Unfortunately I get an error window Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can anyone help. Most grateful. Does that mean I will encounter problems using the latex to produce pdf files direct. It would seem odd that Lyx wont read the latex file it produces! Regards Mike Reeks I have used LyX for a long time, and really like it, but I think this is its biggest weakness. I also think this is a major obstacle to its wider adoption. When I collaborate with somebody who does not use LyX I am forced to use LaTex, rather than to be able to show off how easy LyX is to use. I understand that it maybe very difficult convert an arbitrary LaTex file LyX, but it should be routine to convert a LaTex file constructed by LyX, perhaps by producing an extra helper file during the first conversion. Hal
Re: Lyx to Latex to Lyx
> On Aug 13, 2015, at 1:30 PM, Steve Thompson <scth...@gmail.com> wrote: > > If you used Lyx to create the LaTeX file, then you already have the “helper > file” to that would be needed to work with the LaTeX. It is just the > .lyx file that created it in the first place. For my own work, I do > this all the time. Create a document with Lyx, and send it to a journal as > the .tex file with the figure files also attached. > > Going the other way just doesn’t work. I can’t imagine an automated routine > that would look at an arbitrary .tex file and figure out what set of .layout, > and template files that could be used to create it again. OTOH, maybe I just > don’t have sufficient imagination… > > > > From: lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org> > [mailto:lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>] On Behalf > Of Hal Kierstead > Sent: Thursday, August 13, 2015 3:54 PM > To: Mike Reeks <mike.re...@newcastle.ac.uk > <mailto:mike.re...@newcastle.ac.uk>> > Cc: Lyx-users <lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>> > Subject: Re: Lyx to Latex to Lyx > > >> On Aug 13, 2015, at 12:02 PM, Mike Reeks <mike.re...@newcastle.ac.uk >> <mailto:mike.re...@newcastle.ac.uk>> wrote: >> >> Dear Lyx Users >> I have written a very large article in Lyx for publication in a scientific >> journal which will only accept the article as a latex file. Of course Lyx >> will generate a Latex file as well as a pdf file. I wanted to check that >> the Latex file is acceptable to Lyx. Unfortunately I get an error window >> Lyx insetP saying 'Unknown parameter name'. So what does that mean? Can >> anyone help. Most grateful. Does that mean I will encounter problems using >> the latex to produce pdf files direct. It would seem odd that Lyx wont read >> the latex file it produces! >> Regards >> Mike Reeks > > > I have used LyX for a long time, and really like it, but I think this is its > biggest weakness. I also think this is a major obstacle to its wider > adoption. When I collaborate with somebody who does not use LyX I am forced > to use LaTex, rather than to be able to show off how easy LyX is to use. I > understand that it maybe very difficult convert an arbitrary LaTex file LyX, > but it should be routine to convert a LaTex file constructed by LyX, perhaps > by producing an extra helper file during the first conversion. > > Hal Steve - I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal
RE: Lyx to Latex to Lyx
Hal, I think I did understand. You want your collaborator to be able to make arbitrary changes to the .tex file, then have tex2lyx figure out how to create a new .lyx file. But your collaborator could have done anything. That makes the “modified” file no different from any other completely arbitrary new input file. Steve Steve - I do not think you understood me. Suppose a create a LyX file and use it to generate a tex file. I send it to my coauthor who does not use LyX. He makes modifications to the LaTex file without changing the front material, and sends me his Tex file. I should be able to use tex2lyx to make a revised version of my LyX file. But this requires many corrections by hand. Hal
Re: Lyx to Latex to Lyx
> On Aug 13, 2015, at 2:31 PM, Steve Thompsonwrote: > > Hal, > I think I did understand. You want your collaborator to be able to make > arbitrary changes to the .tex file, then have tex2lyx figure out how to > create a new .lyx file. But your collaborator could have done anything. That > makes the “modified” file no different from any other completely arbitrary > new input file. > Steve > > > > Steve - > > I do not think you understood me. Suppose a create a LyX file and use it to > generate a tex file. I send it to my coauthor who does not use LyX. He > makes modifications to the LaTex file without changing the front material, > and sends me his Tex file. I should be able to use tex2lyx to make a revised > version of my LyX file. But this requires many corrections by hand. > > Hal Steve - First of all, tex2lyx already comes close to making a good LyX file. The main problem is that there always seem to be a handful or errors that must be fixed before the file will run. For some reason the program cannot handle options like \begin{thm}[Main Lemma], but also other options. It also seems that comments in the Latex file can sometimes produce errors. A huge annoyance is that theorems, etc. are displayed in ERT. I understand that for arbitrary LaTex files some of these issues maybe very complicated or impossible, but what I am asking for does not involve arbitrary files. Let’s take an easy case. Suppose my coauthor only makes changes between \begin{document} and \end{document} of the LaTex file, and does not use any new constructs. Shouldn’t it be possible, perhaps with a helper file that records settings and any other special issues, to make a good LyX version? Or even easier, shouldn’t I be able to export a Latex file and then without changing it, import it and get the same LyX file back. Yes, I know there is no reason to do this, but it is a benchmark. Hal
Re: Lyx to Latex to Lyx
On Thu, Aug 13, 2015 at 6:45 PM, Hal Kierstead <hal.kierst...@me.com> wrote: > > On Aug 13, 2015, at 2:31 PM, Steve Thompson <scth...@gmail.com> wrote: > > Hal, > I think I did understand. You want your collaborator to be able to make > arbitrary changes to the .tex file, then have tex2lyx figure out how to > create a new .lyx file. But your collaborator could have done anything. That > makes the “modified” file no different from any other completely arbitrary > new input file. > Steve > > > > Steve - > > I do not think you understood me. Suppose a create a LyX file and use it to > generate a tex file. I send it to my coauthor who does not use LyX. He > makes modifications to the LaTex file without changing the front material, > and sends me his Tex file. I should be able to use tex2lyx to make a > revised version of my LyX file. But this requires many corrections by > hand. > > Hal > > > Steve - > > First of all, tex2lyx already comes close to making a good LyX file. The > main problem is that there always seem to be a handful or errors that must > be fixed before the file will run. For some reason the program cannot > handle options like \begin{thm}[Main Lemma], but also other options. It > also seems that comments in the Latex file can sometimes produce errors. A > huge annoyance is that theorems, etc. are displayed in ERT. > > I understand that for arbitrary LaTex files some of these issues maybe very > complicated or impossible, but what I am asking for does not involve > arbitrary files. Let’s take an easy case. Suppose my coauthor only makes > changes between \begin{document} and \end{document} of the LaTex file, and > does not use any new constructs. Shouldn’t it be possible, perhaps with a > helper file that records settings and any other special issues, to make a > good LyX version? Or even easier, shouldn’t I be able to export a Latex > file and then without changing it, import it and get the same LyX file back. > Yes, I know there is no reason to do this, but it is a benchmark. > > Hal Hal, I think your reasoning is sound. I agree that it would be really nice to have clean round trip (even though as Steve rightly points out this is useless in theory if we don't make any manual change). The reason is simply that it is hard to import LaTeX, *even* LaTeX that LyX produces. Sometimes one way is easier than the other way. tex2lyx is actually a completely separate program from LyX (it is literally a separate binary program). There is no communication between the two. Communication wouldn't even help. Import is just a completely different procedure from export. Many people (including myself) agree with you that it would be nice to have this. To see previous discussions on this topic, search for "LyX roundtrip LaTeX" or something similar. Best, Scott
Re: Lyx to Latex backto Lyx
LB wrote: Is it a good idea to avoid underscores and use hyphens instead? Yes, underscores have tendency to confuse LaTeX (being a sign for subscript) and they need to be protected. If you can, avoid them. Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 A child can go only so far in life without potty training. It is not mere coincidence that six of the last seven presidents were potty trained, not to mention nearly half of the nation's state legislators. -- Dave Barry
Re: Lyx to Latex backto Lyx
LB wrote: Is it a good idea to avoid underscores and use hyphens instead? Yes, underscores have tendency to confuse LaTeX (being a sign for subscript) and they need to be protected. If you can, avoid them. Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 A child can go only so far in life without potty training. It is not mere coincidence that six of the last seven presidents were potty trained, not to mention nearly half of the nation's state legislators. -- Dave Barry
Re: Lyx to Latex backto Lyx
LB wrote: > Is it a good idea to avoid underscores and use hyphens instead? Yes, underscores have tendency to confuse LaTeX (being a sign for subscript) and they need to be protected. If you can, avoid them. Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 A child can go only so far in life without potty training. It is not mere coincidence that six of the last seven presidents were potty trained, not to mention nearly half of the nation's state legislators. -- Dave Barry
Re: Lyx to Latex backto Lyx
Am Samstag, 4. Dezember 2004 00:32 schrieb LB: 1) The graphics appear inserted with a latex commands so they don't get displayed in the document relyx may have problems with some graphics, but in general it should recognize them. 2) For no apparent reason I use a lot of underscores in all my labels and in citation references, for example I use authorsname_1 and authorsname_2 to distinguish different publications by the same author. It looks like the underscores are not understood by relyx. Everywhere where underscore was relyx decided that the citation or label was over and the rest of them appeared as text in the document so if I had a caption of a figure labelled Pretty-figure_1 then the relyxed label would be Pretty-figure and 1} would appear in the document where the cross reference was inserted. Does my description make sense? It is a known bug in relyx. Is it a good idea to avoid underscores and use hyphens instead? Yes if you need this round trip. An alternative is to use tex2lyx, the successor of relyx, but this involves some initial work. tex2lyx has no problems with underscores in labels and graphics. Search for messages by Angus Leeming concerning tex2lyx in the mailing list archive (or is there a wiki page?) for more information. Georg
Re: Lyx to Latex backto Lyx
Am Samstag, 4. Dezember 2004 00:32 schrieb LB: 1) The graphics appear inserted with a latex commands so they don't get displayed in the document relyx may have problems with some graphics, but in general it should recognize them. 2) For no apparent reason I use a lot of underscores in all my labels and in citation references, for example I use authorsname_1 and authorsname_2 to distinguish different publications by the same author. It looks like the underscores are not understood by relyx. Everywhere where underscore was relyx decided that the citation or label was over and the rest of them appeared as text in the document so if I had a caption of a figure labelled Pretty-figure_1 then the relyxed label would be Pretty-figure and 1} would appear in the document where the cross reference was inserted. Does my description make sense? It is a known bug in relyx. Is it a good idea to avoid underscores and use hyphens instead? Yes if you need this round trip. An alternative is to use tex2lyx, the successor of relyx, but this involves some initial work. tex2lyx has no problems with underscores in labels and graphics. Search for messages by Angus Leeming concerning tex2lyx in the mailing list archive (or is there a wiki page?) for more information. Georg
Re: Lyx to Latex backto Lyx
Am Samstag, 4. Dezember 2004 00:32 schrieb LB: > 1) The graphics appear inserted with a latex commands so they don't get > displayed in the document relyx may have problems with some graphics, but in general it should recognize them. > 2) For no apparent reason I use a lot of underscores in all my labels and > in citation references, for example I use authorsname_1 and authorsname_2 to > distinguish different publications by the same author. It looks like the > underscores are not understood by relyx. Everywhere where underscore was > relyx decided that the citation or label was over and the rest of them > appeared as text in the document so if I had a caption of a figure labelled > Pretty-figure_1 then the relyxed label would be Pretty-figure and 1} would > appear in the document where the cross reference was inserted. Does my > description make sense? It is a known bug in relyx. > Is it a good idea to avoid underscores and use hyphens instead? Yes if you need this round trip. An alternative is to use tex2lyx, the successor of relyx, but this involves some initial work. tex2lyx has no problems with underscores in labels and graphics. Search for messages by Angus Leeming concerning tex2lyx in the mailing list archive (or is there a wiki page?) for more information. Georg
Lyx to Latex backto Lyx
Hello I'm working on a project with a few other people. So far I'm the only one using LyX. I wrote the initial part of the document and then gave it to the other people as a Latex file. They have edited it and gave it back to me to make the final corrections and print out the final copy. There are a couple things that I have noticed: 1) The graphics appear inserted with a latex commands so they don't get displayed in the document 2) For no apparent reason I use a lot of underscores in all my labels and in citation references, for example I use authorsname_1 and authorsname_2 to distinguish different publications by the same author. It looks like the underscores are not understood by relyx. Everywhere where underscore was relyx decided that the citation or label was over and the rest of them appeared as text in the document so if I had a caption of a figure labelled Pretty-figure_1 then the relyxed label would be Pretty-figure and 1} would appear in the document where the cross reference was inserted. Does my description make sense? Is it a good idea to avoid underscores and use hyphens instead? Other than that everything else worked fine. Thanks Leo
Lyx to Latex backto Lyx
Hello I'm working on a project with a few other people. So far I'm the only one using LyX. I wrote the initial part of the document and then gave it to the other people as a Latex file. They have edited it and gave it back to me to make the final corrections and print out the final copy. There are a couple things that I have noticed: 1) The graphics appear inserted with a latex commands so they don't get displayed in the document 2) For no apparent reason I use a lot of underscores in all my labels and in citation references, for example I use authorsname_1 and authorsname_2 to distinguish different publications by the same author. It looks like the underscores are not understood by relyx. Everywhere where underscore was relyx decided that the citation or label was over and the rest of them appeared as text in the document so if I had a caption of a figure labelled Pretty-figure_1 then the relyxed label would be Pretty-figure and 1} would appear in the document where the cross reference was inserted. Does my description make sense? Is it a good idea to avoid underscores and use hyphens instead? Other than that everything else worked fine. Thanks Leo
Lyx to Latex backto Lyx
Hello I'm working on a project with a few other people. So far I'm the only one using LyX. I wrote the initial part of the document and then gave it to the other people as a Latex file. They have edited it and gave it back to me to make the final corrections and print out the final copy. There are a couple things that I have noticed: 1) The graphics appear inserted with a latex commands so they don't get displayed in the document 2) For no apparent reason I use a lot of underscores in all my labels and in citation references, for example I use authorsname_1 and authorsname_2 to distinguish different publications by the same author. It looks like the underscores are not understood by relyx. Everywhere where underscore was relyx decided that the citation or label was over and the rest of them appeared as text in the document so if I had a caption of a figure labelled Pretty-figure_1 then the relyxed label would be Pretty-figure and 1} would appear in the document where the cross reference was inserted. Does my description make sense? Is it a good idea to avoid underscores and use hyphens instead? Other than that everything else worked fine. Thanks Leo
Re: Lyx upgrade Latex to Lyx *.cls files
Carole Womeldorf wrote: Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? there is no problem Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Lyx upgrade Latex to Lyx *.cls files
Carole Womeldorf wrote: Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? there is no problem Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Lyx upgrade & Latex to Lyx & *.cls files
Carole Womeldorf wrote: > Quick question - will I be losing any functionality by doing this? Are > tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) > but just not registering as individual programs in the rpm database? there is no problem Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Lyx upgrade Latex to Lyx *.cls files
On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I get failed dependencies tetex-dvips and tetex-latex. I tried installing the rpms from tetex but I must have gotten the wrong versions. My current version of teTeX is beta.20020207-70. Suggestions? Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx 2) Are there many demos of different journal article formats somewhere? Thanks a bunch everybody - Carole [EMAIL PROTECTED]
Re: Lyx upgrade Latex to Lyx *.cls files
Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I rpm -Uvh --nodeps Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx http://www.educat.hu-berlin.de/~voss/lyx/layouts/layout.phtml 2) Are there many demos of different journal article formats somewhere? http://www.educat.hu-berlin.de/~voss/lyx/layouts/templates.phtml and the examples which are part of LyX Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Lyx upgrade Latex to Lyx *.cls files
Herbert Voss wrote: Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I rpm -Uvh --nodeps Thanks for all the tips, Herbert. Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? Carole
Re: Lyx upgrade Latex to Lyx *.cls files
On Thu, Oct 10, 2002 at 03:59:45PM -0400, Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I get failed dependencies tetex-dvips and tetex-latex. I tried installing the rpms from tetex but I must have gotten the wrong versions. My current version of teTeX is beta.20020207-70. Suggestions? rpm -Uvh --nodeps lyx-1.2.1-1.i386.rpm ;-) Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx None that I am aware of. Best way is probably to copy some existing .layout and tweak this. 2) Are there many demos of different journal article formats somewhere? 'Many' is the wrong word. There are a few article .layout files in /lib/layouts/ though. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Lyx upgrade Latex to Lyx *.cls files
On Thu, Oct 10, 2002 at 07:20:47PM -0400, Carole Womeldorf wrote: Herbert Voss wrote: Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I rpm -Uvh --nodeps Thanks for all the tips, Herbert. Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? They are probably there but registered with another name. On SuSE 7.3: rpm -qa | grep tex: te_etex-1.0.7-319 tetex-latex-heb-1.0-3 te_latex-1.0.7-285 tetex-1.0.7-285 The problem is that the dependencies built into the .rpm are for RedHat packages, and naming differs between RedHat and SuSE. If you have teTeX installed you should not encounter any problems when using --nodeps. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Lyx upgrade Latex to Lyx *.cls files
On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I get failed dependencies tetex-dvips and tetex-latex. I tried installing the rpms from tetex but I must have gotten the wrong versions. My current version of teTeX is beta.20020207-70. Suggestions? Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx 2) Are there many demos of different journal article formats somewhere? Thanks a bunch everybody - Carole [EMAIL PROTECTED]
Re: Lyx upgrade Latex to Lyx *.cls files
Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I rpm -Uvh --nodeps Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx http://www.educat.hu-berlin.de/~voss/lyx/layouts/layout.phtml 2) Are there many demos of different journal article formats somewhere? http://www.educat.hu-berlin.de/~voss/lyx/layouts/templates.phtml and the examples which are part of LyX Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Lyx upgrade Latex to Lyx *.cls files
Herbert Voss wrote: Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I rpm -Uvh --nodeps Thanks for all the tips, Herbert. Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? Carole
Re: Lyx upgrade Latex to Lyx *.cls files
On Thu, Oct 10, 2002 at 03:59:45PM -0400, Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I get failed dependencies tetex-dvips and tetex-latex. I tried installing the rpms from tetex but I must have gotten the wrong versions. My current version of teTeX is beta.20020207-70. Suggestions? rpm -Uvh --nodeps lyx-1.2.1-1.i386.rpm ;-) Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx None that I am aware of. Best way is probably to copy some existing .layout and tweak this. 2) Are there many demos of different journal article formats somewhere? 'Many' is the wrong word. There are a few article .layout files in /lib/layouts/ though. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Lyx upgrade Latex to Lyx *.cls files
On Thu, Oct 10, 2002 at 07:20:47PM -0400, Carole Womeldorf wrote: Herbert Voss wrote: Carole Womeldorf wrote: On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run rpm -Uvh --test lyx-1.2.1-1.i386.rpm I rpm -Uvh --nodeps Thanks for all the tips, Herbert. Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? They are probably there but registered with another name. On SuSE 7.3: rpm -qa | grep tex: te_etex-1.0.7-319 tetex-latex-heb-1.0-3 te_latex-1.0.7-285 tetex-1.0.7-285 The problem is that the dependencies built into the .rpm are for RedHat packages, and naming differs between RedHat and SuSE. If you have teTeX installed you should not encounter any problems when using --nodeps. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Lyx upgrade & Latex to Lyx & *.cls files
On my SuSE 8.0 system, I want to upgrade my Lyx version (currently 1.1.6fix4) - however when I run "rpm -Uvh --test lyx-1.2.1-1.i386.rpm" I get failed dependencies "tetex-dvips" and "tetex-latex." I tried installing the rpms from tetex but I must have gotten the wrong versions. My current version of teTeX is beta.20020207-70. Suggestions? Also 1) Is there a good guide for a newbie to learn to turn a *.cls file into something useful in Lyx 2) Are there many demos of different journal article formats somewhere? Thanks a bunch everybody - Carole [EMAIL PROTECTED]
Re: Lyx upgrade & Latex to Lyx & *.cls files
Carole Womeldorf wrote: > On my SuSE 8.0 system, I want to upgrade my Lyx version (currently > 1.1.6fix4) - however when I run "rpm -Uvh --test lyx-1.2.1-1.i386.rpm" I rpm -Uvh --nodeps > Also > 1) Is there a good guide for a newbie to learn to turn a *.cls file > into something useful in Lyx http://www.educat.hu-berlin.de/~voss/lyx/layouts/layout.phtml > 2) Are there many demos of different journal article formats somewhere? http://www.educat.hu-berlin.de/~voss/lyx/layouts/templates.phtml and the examples which are part of LyX Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Lyx upgrade & Latex to Lyx & *.cls files
Herbert Voss wrote: > Carole Womeldorf wrote: > > On my SuSE 8.0 system, I want to upgrade my Lyx version (currently > > 1.1.6fix4) - however when I run "rpm -Uvh --test lyx-1.2.1-1.i386.rpm" I > > rpm -Uvh --nodeps Thanks for all the tips, Herbert. Quick question - will I be losing any functionality by doing this? Are tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) but just not registering as individual programs in the rpm database? Carole
Re: Lyx upgrade & Latex to Lyx & *.cls files
On Thu, Oct 10, 2002 at 03:59:45PM -0400, Carole Womeldorf wrote: > On my SuSE 8.0 system, I want to upgrade my Lyx version (currently > 1.1.6fix4) - however when I run "rpm -Uvh --test lyx-1.2.1-1.i386.rpm" I > get failed dependencies "tetex-dvips" and "tetex-latex." I tried > installing the rpms from tetex but I must have gotten the wrong > versions. My current version of teTeX is beta.20020207-70. > Suggestions? rpm -Uvh --nodeps lyx-1.2.1-1.i386.rpm ;-) > Also > 1) Is there a good guide for a newbie to learn to turn a *.cls file > into something useful in Lyx None that I am aware of. Best way is probably to copy some existing .layout and tweak this. > 2) Are there many demos of different journal article formats somewhere? 'Many' is the wrong word. There are a few article .layout files in /lib/layouts/ though. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Lyx upgrade & Latex to Lyx & *.cls files
On Thu, Oct 10, 2002 at 07:20:47PM -0400, Carole Womeldorf wrote: > Herbert Voss wrote: > > > Carole Womeldorf wrote: > > > On my SuSE 8.0 system, I want to upgrade my Lyx version (currently > > > 1.1.6fix4) - however when I run "rpm -Uvh --test lyx-1.2.1-1.i386.rpm" I > > > > rpm -Uvh --nodeps > > Thanks for all the tips, Herbert. > > Quick question - will I be losing any functionality by doing this? Are > tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70) > but just not registering as individual programs in the rpm database? They are probably there but registered with another name. On SuSE 7.3: rpm -qa | grep tex: te_etex-1.0.7-319 tetex-latex-heb-1.0-3 te_latex-1.0.7-285 tetex-1.0.7-285 The problem is that the dependencies built into the .rpm are for RedHat packages, and naming differs between RedHat and SuSE. If you have teTeX installed you should not encounter any problems when using --nodeps. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
LyX to LaTeX without LyX code in .tex file
Hi all!! I'm having troubles with the Lyx-LaTeX export and the latex2HTML converter. 1. I generate the .tex file ... OK 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about %%% LyX specific LaTeX commands. My question is: How can I generate LaTeX from Lyx whithout LyX code in the .tex result? Thanks. -- Adolfo Pachón (Director Desarrollos).
Re: LyX to LaTeX without LyX code in .tex file
On Wed, Aug 29, 2001 at 05:51:29PM +0200, Adolfo Pachón wrote: 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about %%% LyX specific LaTeX commands. Which problems? How can I generate LaTeX from Lyx whithout LyX code in the .tex result? You could write a script that deletes that part of the .tex file... Andre' -- André Pönitz . [EMAIL PROTECTED]
Re: LyX to LaTeX without LyX code in .tex file
From: Andre Poenitz [EMAIL PROTECTED] Date: Wed, 29 Aug 2001 17:54:49 +0200 To: Adolfo Pachón [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: LyX to LaTeX without LyX code in .tex file On Wed, Aug 29, 2001 at 05:51:29PM +0200, Adolfo Pachón wrote: 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about %%% LyX specific LaTeX commands. Which problems? How can I generate LaTeX from Lyx whithout LyX code in the .tex result? You could write a script that deletes that part of the .tex file... Andre' -- André Pönitz . [EMAIL PROTECTED] This is embedded in the latex2html script already: - in the preamble \usepackage{html} - in ERT \begin{latexonly} ... \end{latexonly} around the LyX code. -- Jean-Pierre
LyX to LaTeX without LyX code in .tex file
Hi all!! I'm having troubles with the Lyx-LaTeX export and the latex2HTML converter. 1. I generate the .tex file ... OK 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about %%% LyX specific LaTeX commands. My question is: How can I generate LaTeX from Lyx whithout LyX code in the .tex result? Thanks. -- Adolfo Pachón (Director Desarrollos).
Re: LyX to LaTeX without LyX code in .tex file
On Wed, Aug 29, 2001 at 05:51:29PM +0200, Adolfo Pachón wrote: 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about %%% LyX specific LaTeX commands. Which problems? How can I generate LaTeX from Lyx whithout LyX code in the .tex result? You could write a script that deletes that part of the .tex file... Andre' -- André Pönitz . [EMAIL PROTECTED]
Re: LyX to LaTeX without LyX code in .tex file
From: Andre Poenitz [EMAIL PROTECTED] Date: Wed, 29 Aug 2001 17:54:49 +0200 To: Adolfo Pachón [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: LyX to LaTeX without LyX code in .tex file On Wed, Aug 29, 2001 at 05:51:29PM +0200, Adolfo Pachón wrote: 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about %%% LyX specific LaTeX commands. Which problems? How can I generate LaTeX from Lyx whithout LyX code in the .tex result? You could write a script that deletes that part of the .tex file... Andre' -- André Pönitz . [EMAIL PROTECTED] This is embedded in the latex2html script already: - in the preamble \usepackage{html} - in ERT \begin{latexonly} ... \end{latexonly} around the LyX code. -- Jean-Pierre
LyX to LaTeX without LyX code in .tex file
Hi all!! I'm having troubles with the Lyx->LaTeX export and the latex2HTML converter. 1. I generate the .tex file ... OK 2. I try to generate the HTML version from the .tex file, and there are some problems that I resolve deleting the lines about "%%% LyX specific LaTeX commands". My question is: How can I generate LaTeX from Lyx whithout LyX code in the .tex result? Thanks. -- Adolfo Pachón (Director Desarrollos).
Re: LyX to LaTeX without LyX code in .tex file
On Wed, Aug 29, 2001 at 05:51:29PM +0200, Adolfo Pachón wrote: > 2. I try to generate the HTML version from the .tex file, and there are > some problems that I resolve deleting the lines about "%%% LyX > specific LaTeX commands". Which problems? > How can I generate LaTeX from Lyx whithout LyX code in the .tex result? You could write a script that deletes that part of the .tex file... Andre' -- André Pönitz . [EMAIL PROTECTED]
Re: LyX to LaTeX without LyX code in .tex file
>>From: Andre Poenitz <[EMAIL PROTECTED]> >>Date: Wed, 29 Aug 2001 17:54:49 +0200 >>To: Adolfo Pachón <[EMAIL PROTECTED]> >>Cc: [EMAIL PROTECTED] >>Subject: Re: LyX to LaTeX without LyX code in .tex file >> >>On Wed, Aug 29, 2001 at 05:51:29PM +0200, Adolfo Pachón wrote: >>> 2. I try to generate the HTML version from the .tex file, and there are >>> some problems that I resolve deleting the lines about "%%% LyX >>> specific LaTeX commands". >> >>Which problems? >> >>> How can I generate LaTeX from Lyx whithout LyX code in the .tex result? >> >>You could write a script that deletes that part of the .tex file... >> >>Andre' >> >>-- >>André Pönitz . [EMAIL PROTECTED] This is embedded in the latex2html script already: - in the preamble \usepackage{html} - in ERT \begin{latexonly} ... \end{latexonly} around the LyX code. -- Jean-Pierre