Re: 1.5.0beta1 in Debian
On Tue, 20 Mar 2007 19:54:30 +0100 Per Olofsson [EMAIL PROTECTED] wrote: Hi Debian LyX users, Just thought I'd led you know that we have uploaded LyX 1.5.0beta1 to Debian's experimental distribution, if you want to try it out. Will this work for Ubuntu, which essentially is modified debian? And is there a way to install it so it doesn't overwrite the stable version? Paul
Re: 1.5.0beta1 in Debian
On Tue, 20 Mar 2007 19:54:30 +0100 Per Olofsson [EMAIL PROTECTED] wrote: Hi Debian LyX users, Just thought I'd led you know that we have uploaded LyX 1.5.0beta1 to Debian's experimental distribution, if you want to try it out. Will this work for Ubuntu, which essentially is modified debian? And is there a way to install it so it doesn't overwrite the stable version? Paul
Re: 1.5.0beta1 in Debian
On Tue, 20 Mar 2007 19:54:30 +0100 Per Olofsson <[EMAIL PROTECTED]> wrote: > Hi Debian LyX users, > > Just thought I'd led you know that we have uploaded LyX 1.5.0beta1 to > Debian's experimental distribution, if you want to try it out. Will this work for Ubuntu, which essentially is modified debian? And is there a way to install it so it doesn't overwrite the stable version? Paul
Re: LyX crashing when inserting graphics
On Sun, 11 Mar 2007 08:46:17 -0500 Stefano Franchi [EMAIL PROTECTED] wrote: All of a sudden, my 1.4.3 LyX/MacOs installation has become unable to insert graphics into a document. Every time I try Lyx crashes. The console shows the same line all the times: Error locating symbol - dlcompat: Symbol _JVTDecoOpen not found I have tried different graphic files and different file formats and it doesn't make any difference---they all crash LyX. Interestingly, documents containing images are no problem: they open correctly. However, if I try to reimport the image(s) in a new file, LyX crashes. I can only get as far as the file dialog: as soon as I select the graphic file I have a crash. The only difference is that sometime I get a spinning ball, sometimes the crash is instantaneous. I am having the same problem. What happens with me is that when I try to insert a document, and use the browse key, and then find the file I want; just when I click on that file, LyX crashes. It does so in 1.4.3 and 1.4.4. If I enter the path in manually, it does not crash. In ohter words, it sound like the same exact problem. I have found that on one Mac, LyX does crash when I try to add graphic, and for the other Mac it does not. Paul
Re: LyX crashing when inserting graphics
On Sun, 11 Mar 2007 08:46:17 -0500 Stefano Franchi [EMAIL PROTECTED] wrote: All of a sudden, my 1.4.3 LyX/MacOs installation has become unable to insert graphics into a document. Every time I try Lyx crashes. The console shows the same line all the times: Error locating symbol - dlcompat: Symbol _JVTDecoOpen not found I have tried different graphic files and different file formats and it doesn't make any difference---they all crash LyX. Interestingly, documents containing images are no problem: they open correctly. However, if I try to reimport the image(s) in a new file, LyX crashes. I can only get as far as the file dialog: as soon as I select the graphic file I have a crash. The only difference is that sometime I get a spinning ball, sometimes the crash is instantaneous. I am having the same problem. What happens with me is that when I try to insert a document, and use the browse key, and then find the file I want; just when I click on that file, LyX crashes. It does so in 1.4.3 and 1.4.4. If I enter the path in manually, it does not crash. In ohter words, it sound like the same exact problem. I have found that on one Mac, LyX does crash when I try to add graphic, and for the other Mac it does not. Paul
Re: LyX crashing when inserting graphics
On Sun, 11 Mar 2007 08:46:17 -0500 Stefano Franchi <[EMAIL PROTECTED]> wrote: > All of a sudden, my 1.4.3 LyX/MacOs installation has become unable to > > insert graphics into a document. Every time I try Lyx crashes. The > console > shows the same line all the times: > > Error locating symbol - dlcompat: Symbol "_JVTDecoOpen" not found > > I have tried different graphic files and different file formats and it > > doesn't make any difference---they all crash LyX. Interestingly, > documents containing images are no problem: they open correctly. > However, if I try to reimport the image(s) in a new file, LyX > crashes. I can only get as far as the file dialog: as soon as I > select the graphic file I have a crash. The only difference is that > sometime I get a spinning ball, sometimes the crash is instantaneous. > > I am having the same problem. What happens with me is that when I try to insert a document, and use the browse key, and then find the file I want; just when I click on that file, LyX crashes. It does so in 1.4.3 and 1.4.4. If I enter the path in manually, it does not crash. In ohter words, it sound like the same exact problem. I have found that on one Mac, LyX does crash when I try to add graphic, and for the other Mac it does not. Paul
Re: Harvard Style Referencing.
On Sat, 10 Mar 2007 16:55:38 -0500 Richard Heck [EMAIL PROTECTED] wrote: You also need to put \usepackage{harvard.sty} into the preamble (DocumentSettingsLaTeX Preamble). Alternatively, and perhaps better, enable Natbib under DocumentSettingsBibliography. Unfortunately, harvard.sty causes latex to crash if you use the memoir class.
Re: Harvard Style Referencing.
On Sat, 10 Mar 2007 16:55:38 -0500 Richard Heck [EMAIL PROTECTED] wrote: You also need to put \usepackage{harvard.sty} into the preamble (DocumentSettingsLaTeX Preamble). Alternatively, and perhaps better, enable Natbib under DocumentSettingsBibliography. Unfortunately, harvard.sty causes latex to crash if you use the memoir class.
Re: Harvard Style Referencing.
On Sat, 10 Mar 2007 16:55:38 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > You also need to put > \usepackage{harvard.sty} > into the preamble (Document>Settings>LaTeX Preamble). Alternatively, > and perhaps better, enable Natbib under > Document>Settings>Bibliography. > Unfortunately, harvard.sty causes latex to crash if you use the memoir class.
Re: thesis touch ups...
On Tue, 06 Mar 2007 10:21:36 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, Sorry for the delay in replying. So, I got the thesis exported in LaTex on my Mac with all the images etc. I ran it 5-6 times, and I am still not getting anything different. Here is what I have. Pages i-iv are fine. Page v is the first page of the TOC, and it is un-numbered, as it should be. Page vi is the 2nd page of the TOC and it is now numbered, as it should be. Here is the problem. Page vii is the LOT, which is one page and isnt numbered, as it should be. BUT, in the TOC listing, it is shown as starting on page vi(which is actually the 2nd page of the TOC). Then page viii, the first Page of the LOF, is numbered(which it shouldnt be) and is listed as starting on page vii(which is wrong). The second page of the LOF is numbered ix, which it should be. So thats what I have from running it in LaTex. And I ran it several times like you said.. I can attach any text you think will help or that you will like to see since I now have the LaTex file and can run it on my Mac.(The linux version has alot of issues with images and file extension names, so that will take some time for me to go through and manually change them...) Thanks again, Charles One problem has an easy fix, and that is the problem of not having the page number appear on the first page of the lof. When I gave you the code you were supposed to put in your preamble, I forgot the line of code \thispagestyle{empty} for the lof part. So put this in your preamble: \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% \thispagestyle{empty} [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother As for the page numbers appearing wrong, could you show attatch the whole latex file to an email and send it to me home address? Paul
Re: thesis touch ups...
On Tue, 06 Mar 2007 18:21:03 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Here is the entire LaTex file... I havent tried the previous suggestion to fix the pages on the LOF, but I will get back to you when I do. Thanks, Charles Hi Charles, I've fixed all your problems. At least the formatting comes out correct when I run your document. Here you should use as your preamble. Get rid of the previous stuff I told you to add. \makeatletter \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF TABLES} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF FIGURES} [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Let me explain what I am doing. It is simple and worth your while to understand because as a physicist I assume you will be using latex again. First, in order to redefine the command, I had to start off with a makeatletter command. This tells latex to look at symbols such as @ and not to choke. I end this special environment with a makeatother. You only need to do this if you are redefining something very basic. Next, I renenew the commands for the toc, lot, and lof. In order to find out what these commands were, I opened up the report.cls and simply cut and paste. So for the listoftables, every line is the same as it was in the report class *except for 2 lines.* these two lines are: \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF TABLES} I added these commands right after the \chapter command, because that is where they would normally have to go. For instance, if you wrote this latex code: \chapter*{Observations in the lab} And you wanted to the page style to be empty and you wanted to add the title to the toc, you would write: \chapter*{Observations in the lab} \thispagestyle{empty} \addcontentsline{toc}{chapter}{Obserations in the lab} Again, notice how I added the apporiate lines *after* the \chapter command. Your code wasn't working because you were adding the \thispagestyle{empty} \addcontentsline{toc}{chapter}{...} in the wrong place. Once you issued the \listoftables command, latex was doing a \chapter command, writing all the text, and then making an empty page style--too late. Likewise, you tried to issue the \addcontentsline too soon, before the \chapter was issued by latex. That's why your page numbers showed up 1 too short. Normally you don't have to alter the preamble in order to change page style and to add contents to your toc. In this special case you do, because the \chapter* command is issued *inside* the \listoftables command. Hope that makes sense. Try creating a PDF document with LyX itself and see if the page numbers still come out correct. If not, you will have to export the document and then run latex 3 times--unless someone on this mailing list knows how to make LyX run latex 3 times. There is a way you can automate the whole process. I Know because I am doing that with my girlfriend's thesis. I run: lyx -e latex thesis.lyx And I get a document called thesis.tex. I then run latex on this the right number of times. However, I do all of this with a Makefile, so really all's I have to do is type: make from the terminal and I get thesis.pdf You may not need to do any of this. Paul PS I notcie this code in your preamble: \makeatletter \let\myTOC\tableofcontents \renewcommand{\tableofcontents}{% \begingroup [EMAIL PROTECTED]@empty \pagestyle{empty} \myTOC \endgroup% } \makeatother You can get rid of that, since we redefine toc to do what this code does. PSS You probably should rename your images so they have no spaces in them. Unix systems work much better that way, and you will save yourself some headaches.
Re: thesis touch ups...
On Tue, 06 Mar 2007 22:02:15 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: That worked!! Thank you so much for the help and your patience. It was a very good learning experience! I am still very new to LaTex and Lyx, but its people like you and mailing lists like this who help make things understandable. I actually have a few smaller other problems that I would like to ask, but the most annoying one right now has to due with figure placement. I use the Float-figure command to insert images(which I renamed to have no spaces, thanks paul) and sometimes the caption gets cut off and shows up on the next page. So if the image is near the bottom of the page, the caption wont be with with it, and will just be a single line at the top of the next page. I have tried the various place float here options in Lyx, but nothing seems to work. Is there any command to insert in to fix this? Again, thanks alot! Charles Ah! Finally. That was kind of a frustrating problem. Can you generate the file directly from LyX now? I'm just curious. In the future you might want to try working with the memoir class; you can handle these problems more simply, I believe. I'm not sure about the caption problem. You might want to start another thread. I know there is a captions package which handles special captions problems. That is about all I know, though. Paul
Re: thesis touch ups...
On Tue, 06 Mar 2007 10:21:36 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, Sorry for the delay in replying. So, I got the thesis exported in LaTex on my Mac with all the images etc. I ran it 5-6 times, and I am still not getting anything different. Here is what I have. Pages i-iv are fine. Page v is the first page of the TOC, and it is un-numbered, as it should be. Page vi is the 2nd page of the TOC and it is now numbered, as it should be. Here is the problem. Page vii is the LOT, which is one page and isnt numbered, as it should be. BUT, in the TOC listing, it is shown as starting on page vi(which is actually the 2nd page of the TOC). Then page viii, the first Page of the LOF, is numbered(which it shouldnt be) and is listed as starting on page vii(which is wrong). The second page of the LOF is numbered ix, which it should be. So thats what I have from running it in LaTex. And I ran it several times like you said.. I can attach any text you think will help or that you will like to see since I now have the LaTex file and can run it on my Mac.(The linux version has alot of issues with images and file extension names, so that will take some time for me to go through and manually change them...) Thanks again, Charles One problem has an easy fix, and that is the problem of not having the page number appear on the first page of the lof. When I gave you the code you were supposed to put in your preamble, I forgot the line of code \thispagestyle{empty} for the lof part. So put this in your preamble: \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% \thispagestyle{empty} [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother As for the page numbers appearing wrong, could you show attatch the whole latex file to an email and send it to me home address? Paul
Re: thesis touch ups...
On Tue, 06 Mar 2007 18:21:03 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Here is the entire LaTex file... I havent tried the previous suggestion to fix the pages on the LOF, but I will get back to you when I do. Thanks, Charles Hi Charles, I've fixed all your problems. At least the formatting comes out correct when I run your document. Here you should use as your preamble. Get rid of the previous stuff I told you to add. \makeatletter \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF TABLES} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF FIGURES} [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Let me explain what I am doing. It is simple and worth your while to understand because as a physicist I assume you will be using latex again. First, in order to redefine the command, I had to start off with a makeatletter command. This tells latex to look at symbols such as @ and not to choke. I end this special environment with a makeatother. You only need to do this if you are redefining something very basic. Next, I renenew the commands for the toc, lot, and lof. In order to find out what these commands were, I opened up the report.cls and simply cut and paste. So for the listoftables, every line is the same as it was in the report class *except for 2 lines.* these two lines are: \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF TABLES} I added these commands right after the \chapter command, because that is where they would normally have to go. For instance, if you wrote this latex code: \chapter*{Observations in the lab} And you wanted to the page style to be empty and you wanted to add the title to the toc, you would write: \chapter*{Observations in the lab} \thispagestyle{empty} \addcontentsline{toc}{chapter}{Obserations in the lab} Again, notice how I added the apporiate lines *after* the \chapter command. Your code wasn't working because you were adding the \thispagestyle{empty} \addcontentsline{toc}{chapter}{...} in the wrong place. Once you issued the \listoftables command, latex was doing a \chapter command, writing all the text, and then making an empty page style--too late. Likewise, you tried to issue the \addcontentsline too soon, before the \chapter was issued by latex. That's why your page numbers showed up 1 too short. Normally you don't have to alter the preamble in order to change page style and to add contents to your toc. In this special case you do, because the \chapter* command is issued *inside* the \listoftables command. Hope that makes sense. Try creating a PDF document with LyX itself and see if the page numbers still come out correct. If not, you will have to export the document and then run latex 3 times--unless someone on this mailing list knows how to make LyX run latex 3 times. There is a way you can automate the whole process. I Know because I am doing that with my girlfriend's thesis. I run: lyx -e latex thesis.lyx And I get a document called thesis.tex. I then run latex on this the right number of times. However, I do all of this with a Makefile, so really all's I have to do is type: make from the terminal and I get thesis.pdf You may not need to do any of this. Paul PS I notcie this code in your preamble: \makeatletter \let\myTOC\tableofcontents \renewcommand{\tableofcontents}{% \begingroup [EMAIL PROTECTED]@empty \pagestyle{empty} \myTOC \endgroup% } \makeatother You can get rid of that, since we redefine toc to do what this code does. PSS You probably should rename your images so they have no spaces in them. Unix systems work much better that way, and you will save yourself some headaches.
Re: thesis touch ups...
On Tue, 06 Mar 2007 22:02:15 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: That worked!! Thank you so much for the help and your patience. It was a very good learning experience! I am still very new to LaTex and Lyx, but its people like you and mailing lists like this who help make things understandable. I actually have a few smaller other problems that I would like to ask, but the most annoying one right now has to due with figure placement. I use the Float-figure command to insert images(which I renamed to have no spaces, thanks paul) and sometimes the caption gets cut off and shows up on the next page. So if the image is near the bottom of the page, the caption wont be with with it, and will just be a single line at the top of the next page. I have tried the various place float here options in Lyx, but nothing seems to work. Is there any command to insert in to fix this? Again, thanks alot! Charles Ah! Finally. That was kind of a frustrating problem. Can you generate the file directly from LyX now? I'm just curious. In the future you might want to try working with the memoir class; you can handle these problems more simply, I believe. I'm not sure about the caption problem. You might want to start another thread. I know there is a captions package which handles special captions problems. That is about all I know, though. Paul
Re: thesis touch ups...
On Tue, 06 Mar 2007 10:21:36 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > Hi Paul, > Sorry for the delay in replying. So, I got the thesis exported in > LaTex on my Mac with all the images etc. I ran it 5-6 times, and I am > still not getting anything different. Here is what I have. Pages > i-iv are fine. Page v is the first page of the TOC, and it is > un-numbered, as it should be. Page vi is the 2nd page of the TOC and > it is now numbered, as it should be. Here is the problem. Page vii > is the LOT, which is one page and isnt numbered, as it should be. > BUT, in the TOC listing, it is shown as starting on page vi(which is > actually the 2nd page of the TOC). Then page viii, the first Page of > the LOF, is numbered(which it shouldnt be) and is listed as starting > on page vii(which is wrong). The second page of the LOF is numbered > ix, which it should be. So thats what I have from running it in > LaTex. And I ran it several times like you said.. I can attach any > text you think will help or that you will like to see since I now have > the LaTex file and can run it on my Mac.(The linux version has alot of > issues with images and file extension names, so that will take some > time for me to go through and manually change them...) > Thanks again, > Charles > > One problem has an easy fix, and that is the problem of not having the page number appear on the first page of the lof. When I gave you the code you were supposed to put in your preamble, I forgot the line of code \thispagestyle{empty} for the lof part. So put this in your preamble: \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% \thispagestyle{empty} [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother As for the page numbers appearing wrong, could you show attatch the whole latex file to an email and send it to me home address? Paul
Re: thesis touch ups...
On Tue, 06 Mar 2007 18:21:03 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > > Here is the entire LaTex file... I havent tried the previous > suggestion to fix the pages on the LOF, but I will get back to you > when I do. Thanks, Charles > Hi Charles, I've fixed all your problems. At least the formatting comes out correct when I run your document. Here you should use as your preamble. Get rid of the previous stuff I told you to add. \makeatletter \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF TABLES} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF FIGURES} [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Let me explain what I am doing. It is simple and worth your while to understand because as a physicist I assume you will be using latex again. First, in order to redefine the command, I had to start off with a makeatletter command. This tells latex to look at symbols such as "@" and not to choke. I end this special environment with a makeatother. You only need to do this if you are redefining something very basic. Next, I renenew the commands for the toc, lot, and lof. In order to find out what these commands were, I opened up the report.cls and simply cut and paste. So for the listoftables, every line is the same as it was in the report class *except for 2 lines.* these two lines are: \thispagestyle{empty} \addcontentsline{toc}{chapter}{LIST OF TABLES} I added these commands right after the \chapter command, because that is where they would normally have to go. For instance, if you wrote this latex code: \chapter*{Observations in the lab} And you wanted to the page style to be empty and you wanted to add the title to the toc, you would write: \chapter*{Observations in the lab} \thispagestyle{empty} \addcontentsline{toc}{chapter}{Obserations in the lab} Again, notice how I added the apporiate lines *after* the \chapter command. Your code wasn't working because you were adding the \thispagestyle{empty} \addcontentsline{toc}{chapter}{...} in the wrong place. Once you issued the \listoftables command, latex was doing a \chapter command, writing all the text, and then making an empty page style--too late. Likewise, you tried to issue the \addcontentsline too soon, before the \chapter was issued by latex. That's why your page numbers showed up 1 too short. Normally you don't have to alter the preamble in order to change page style and to add contents to your toc. In this special case you do, because the \chapter* command is issued *inside* the \listoftables command. Hope that makes sense. Try creating a PDF document with LyX itself and see if the page numbers still come out correct. If not, you will have to export the document and then run latex 3 times--unless someone on this mailing list knows how to make LyX run latex 3 times. There is a way you can automate the whole process. I Know because I am doing that with my girlfriend's thesis. I run: lyx -e latex thesis.lyx And I get a document called thesis.tex. I then run latex on this the right number of times. However, I do all of this with a Makefile, so really all's I have to do is type: make from the terminal and I get thesis.pdf You may not need to do any of this. Paul PS I notcie this code in your preamble: \makeatletter \let\myTOC\tableofcontents \renewcommand{\tableofcontents}{% \begingroup [EMAIL PROTECTED]@empty \pagestyle{empty} \myTOC \endgroup% } \makeatother You can get rid of that, since we redefine toc to do what this code does. PSS You probably should rename your images so they have no spaces in them. Unix systems work much better that way, and you will save yourself some headaches.
Re: thesis touch ups...
On Tue, 06 Mar 2007 22:02:15 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > That worked!! Thank you so much for the help and your patience. It > was a very good learning experience! I am still very new to LaTex and > Lyx, but its people like you and mailing lists like this who help make > things understandable. >I actually have a few smaller other problems that I would like to > ask, but the most annoying one right now has to due with figure > placement. I use the Float-figure command to insert images(which I > renamed to have no spaces, thanks paul) and sometimes the caption gets > cut off and shows up on the next page. So if the image is near the > bottom of the page, the caption wont be with with it, and will just be > a single line at the top of the next page. I have tried the various > place float here options in Lyx, but nothing seems to work. Is there > any command to insert in to fix this? > Again, thanks alot! > Charles > > Ah! Finally. That was kind of a frustrating problem. Can you generate the file directly from LyX now? I'm just curious. In the future you might want to try working with the memoir class; you can handle these problems more simply, I believe. I'm not sure about the caption problem. You might want to start another thread. I know there is a captions package which handles special captions problems. That is about all I know, though. Paul
Re: thesis touch ups...
On Thu, 01 Mar 2007 11:37:24 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, I put that into the preamble and am getting this error... You cant use '\spacefactor' in vertical mode (Here is the text from the error) \tableofcontents Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. Missing $ inserted ** \tableofcontents I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. ** Missing $ inserted ** You cant use '\spacefactor' in vertical mode * And as for the error Im getting from the command line... LaTeX Warning: Citation `key-1' on page 2 undefined on input line 192. LaTeX Warning: Citation `key-2' on page 2 undefined on input line 208. LaTeX Warning: File `Images/ZnSMn decay.jpg' not found on input line 238. Error: latex (file Images/ZnSMn decay.jpg): cannot find image file == Fatal error occurred, the output PDF file is not finished! * Which doesnt make sense, because those things are all there and defined... Thanks for the help, I hope to hear from you when you get back! Charles Hi Charles, Sorry, but I forgot one line from what I told you to paste into the preamble. At the very top of what I gave you you need to insert \makeatletter. (Actualy, you just need to wrap all of the text I have you by putting at the very beginning \makeatletter and at the end \makeatother. I wrapped each newcommand in these commands, instead of all three. It shouldn't matter either way.) The \makeatletter and \makeatother commands somehow allow you to use code that you normally couldn't use. Regarding the second error, are you sure that you export the latex file to the same place as the LyX file? Specifically, you should have a directory called Images and inside that directory should be a file called ZnSMn decay.jpg One problem may be that you have a file with a space in it. File names with spaces in them always give all sorts of problems on *nix systems. Let me know. I'll be around today, but then not back until Tuesday. Sorry about your frustration. Some of these problems should not be hard to solve as they are. Paul
Re: thesis touch ups...
On Sat, 03 Mar 2007 12:46:50 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, Thanks for all the help so far. Im getting close it seems.. So here is what is happening now. I inserted the \makeatletter at the beginning of the text you gave me to insert in the preamble. What I want is this(just to re-clarify): the TOC starts on page v(I am using roman numerals up till I get to the first chapter) and is two pages long so it is pages v and vi with only the second page, vi, being numbered.. Then the List of Tables(one page at vii un-numbered) and then the List of Figures(two pages long at viii and ix, only page ix numbered) What I am getting is: TOC is fine. It is numbered correctly. BUT it has the List of Tables starting at page vi, instead of vii. So it is not counting the second page of the TOC in the page numbering. Then I get the List of figures at vii instead of viii. Also the first page of the List of figures is still numbered... So that is what I have now. As for the second problem: I use the linux box(ubuntu) at home mainly as a back up to my macbook(OS X) to write my thesis. So there are probably file misplacements that I havent changed or updated on my nix box, which gave the error. I will have to look at that today/tomm.. Again, thanks for all the help. It is worth the frustration if I can learn how to do it in the end. Charles The wrong numbering is probably due to that latex is not run enough by LyX. I think we should try to debug this by exporting to latex and then running latex from the terminal. As for numbering still showing up on the first page of your list of tables, I don't know why that is happening with your LyX document. I just ran a test version in pure latex with enough \chapters to generate a two-page toc, and enough captions to generate a two-page list of tables. Page numbers appeared only on the second page of the toc and lot. One reason that toc and lot can be incorrect is that an old file.toc and file.lot is on your system and you are not running latex enough times. In order to test my file, I removed test.lot and test.toc and then ran latex *3* times. I'm not sure how to do this from LyX. I think if you export your file to latex and run it 3 times both mistakes should be fixed. How many figures do you have? Could you export the file to latex, save it as temp.tex, and get rid of the figures, and then run latex 3 times just to see if we've fixed the list of table and toc problem? If you have a lot of figures, then you could try this: sed -e 's/\\includegraphics{[^}]*}//g' thesis.tex temp.tex This assumes that when you export your document, it is named thesis.tex. Change the name to whatever it is. The sed stuff just gets rid of all graphics in your document so that you can run a text. However, if your grahics are in child documents, that won't work, since missing figures will still show up when you run latex. Let me know if there is any way you can export a latex file and run latex on it. Paul
Re: thesis touch ups...
On Sat, 03 Mar 2007 14:57:08 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: LaTeX Warning: Citation `key-6' on page 3 undefined on input line 293. [3] ElementTable2.jpg, id=55, 395.4775pt x 390.45876pt use ElementTable2.jpg LaTeX Warning: Citation `key-7' on page 4 undefined on input line 310. ElementTable.jpg, id=56, 345.29pt x 466.74374pt use ElementTable.jpg [4 ./ElementTable2.jpg] Error: latex (file Images/particle size table.jpg): cannot find image file == Fatal error occurred, the output PDF file is not finished! *** Im guessing it is still looking for some images, but cant find them. I have about 40 figures in there right now.. Yes, that is the only problem at this point. Also, the page numbering is fine on the Tables list, its the figures list that is wrong. So.. I dont know what else to do, seems like this shouldnt be so hard, right? Thank you for your patience, Charles What do you mean that the numbering is okay for the list of tables? Do you mean that both the right page appears and that no numbering appears on the first page? I think in order for me to help you, I would need you to get the images in the right location. Otherwise I can't tell if the problem is because LyX is not running latex enough, or something else. Are your two compouters networked? If so, then you can use the rsync command to keep the images always up-to-date on both computers. Let me know if you want to know how to do this. However, I would strongly suggest you rename all of your files so that there is no space in them. That will save you a lot of headaches later on, and might save you some headaches right now. One trick you could do right now is copy an existing jpg file to the one that is missing. So if you run latex and it complains it can't find ElementTable2.jpg, find an image it can find, and then just copy that file to ElementTable2.jpg. That way latex will be able to run sucessfully. Just remember to delete these bogus files after we are done with our test! Make sure you make a list of what bogus files you are creating. Paul
Re: thesis touch ups...
On Thu, 01 Mar 2007 11:37:24 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, I put that into the preamble and am getting this error... You cant use '\spacefactor' in vertical mode (Here is the text from the error) \tableofcontents Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. Missing $ inserted ** \tableofcontents I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. ** Missing $ inserted ** You cant use '\spacefactor' in vertical mode * And as for the error Im getting from the command line... LaTeX Warning: Citation `key-1' on page 2 undefined on input line 192. LaTeX Warning: Citation `key-2' on page 2 undefined on input line 208. LaTeX Warning: File `Images/ZnSMn decay.jpg' not found on input line 238. Error: latex (file Images/ZnSMn decay.jpg): cannot find image file == Fatal error occurred, the output PDF file is not finished! * Which doesnt make sense, because those things are all there and defined... Thanks for the help, I hope to hear from you when you get back! Charles Hi Charles, Sorry, but I forgot one line from what I told you to paste into the preamble. At the very top of what I gave you you need to insert \makeatletter. (Actualy, you just need to wrap all of the text I have you by putting at the very beginning \makeatletter and at the end \makeatother. I wrapped each newcommand in these commands, instead of all three. It shouldn't matter either way.) The \makeatletter and \makeatother commands somehow allow you to use code that you normally couldn't use. Regarding the second error, are you sure that you export the latex file to the same place as the LyX file? Specifically, you should have a directory called Images and inside that directory should be a file called ZnSMn decay.jpg One problem may be that you have a file with a space in it. File names with spaces in them always give all sorts of problems on *nix systems. Let me know. I'll be around today, but then not back until Tuesday. Sorry about your frustration. Some of these problems should not be hard to solve as they are. Paul
Re: thesis touch ups...
On Sat, 03 Mar 2007 12:46:50 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, Thanks for all the help so far. Im getting close it seems.. So here is what is happening now. I inserted the \makeatletter at the beginning of the text you gave me to insert in the preamble. What I want is this(just to re-clarify): the TOC starts on page v(I am using roman numerals up till I get to the first chapter) and is two pages long so it is pages v and vi with only the second page, vi, being numbered.. Then the List of Tables(one page at vii un-numbered) and then the List of Figures(two pages long at viii and ix, only page ix numbered) What I am getting is: TOC is fine. It is numbered correctly. BUT it has the List of Tables starting at page vi, instead of vii. So it is not counting the second page of the TOC in the page numbering. Then I get the List of figures at vii instead of viii. Also the first page of the List of figures is still numbered... So that is what I have now. As for the second problem: I use the linux box(ubuntu) at home mainly as a back up to my macbook(OS X) to write my thesis. So there are probably file misplacements that I havent changed or updated on my nix box, which gave the error. I will have to look at that today/tomm.. Again, thanks for all the help. It is worth the frustration if I can learn how to do it in the end. Charles The wrong numbering is probably due to that latex is not run enough by LyX. I think we should try to debug this by exporting to latex and then running latex from the terminal. As for numbering still showing up on the first page of your list of tables, I don't know why that is happening with your LyX document. I just ran a test version in pure latex with enough \chapters to generate a two-page toc, and enough captions to generate a two-page list of tables. Page numbers appeared only on the second page of the toc and lot. One reason that toc and lot can be incorrect is that an old file.toc and file.lot is on your system and you are not running latex enough times. In order to test my file, I removed test.lot and test.toc and then ran latex *3* times. I'm not sure how to do this from LyX. I think if you export your file to latex and run it 3 times both mistakes should be fixed. How many figures do you have? Could you export the file to latex, save it as temp.tex, and get rid of the figures, and then run latex 3 times just to see if we've fixed the list of table and toc problem? If you have a lot of figures, then you could try this: sed -e 's/\\includegraphics{[^}]*}//g' thesis.tex temp.tex This assumes that when you export your document, it is named thesis.tex. Change the name to whatever it is. The sed stuff just gets rid of all graphics in your document so that you can run a text. However, if your grahics are in child documents, that won't work, since missing figures will still show up when you run latex. Let me know if there is any way you can export a latex file and run latex on it. Paul
Re: thesis touch ups...
On Sat, 03 Mar 2007 14:57:08 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: LaTeX Warning: Citation `key-6' on page 3 undefined on input line 293. [3] ElementTable2.jpg, id=55, 395.4775pt x 390.45876pt use ElementTable2.jpg LaTeX Warning: Citation `key-7' on page 4 undefined on input line 310. ElementTable.jpg, id=56, 345.29pt x 466.74374pt use ElementTable.jpg [4 ./ElementTable2.jpg] Error: latex (file Images/particle size table.jpg): cannot find image file == Fatal error occurred, the output PDF file is not finished! *** Im guessing it is still looking for some images, but cant find them. I have about 40 figures in there right now.. Yes, that is the only problem at this point. Also, the page numbering is fine on the Tables list, its the figures list that is wrong. So.. I dont know what else to do, seems like this shouldnt be so hard, right? Thank you for your patience, Charles What do you mean that the numbering is okay for the list of tables? Do you mean that both the right page appears and that no numbering appears on the first page? I think in order for me to help you, I would need you to get the images in the right location. Otherwise I can't tell if the problem is because LyX is not running latex enough, or something else. Are your two compouters networked? If so, then you can use the rsync command to keep the images always up-to-date on both computers. Let me know if you want to know how to do this. However, I would strongly suggest you rename all of your files so that there is no space in them. That will save you a lot of headaches later on, and might save you some headaches right now. One trick you could do right now is copy an existing jpg file to the one that is missing. So if you run latex and it complains it can't find ElementTable2.jpg, find an image it can find, and then just copy that file to ElementTable2.jpg. That way latex will be able to run sucessfully. Just remember to delete these bogus files after we are done with our test! Make sure you make a list of what bogus files you are creating. Paul
Re: thesis touch ups...
On Thu, 01 Mar 2007 11:37:24 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > > Hi Paul, >I put that into the preamble and am getting this error... > You cant use '\spacefactor' in vertical mode > (Here is the text from the error) > \tableofcontents > > Sorry, but I'm not programmed to handle this case; > I'll just pretend that you didn't ask for it. > If you're in the wrong mode, you might be able to > return to the right one by typing `I}' or `I$' or `I\par'. > > Missing $ inserted > ** > \tableofcontents > > I've inserted a begin-math/end-math symbol since I think > you left one out. Proceed, with fingers crossed. > ** > Missing $ inserted > ** > You cant use '\spacefactor' in vertical mode > > * > And as for the error Im getting from the command line... > > LaTeX Warning: Citation `key-1' on page 2 undefined on input line 192. > > > LaTeX Warning: Citation `key-2' on page 2 undefined on input line 208. > > > LaTeX Warning: File `"Images/ZnSMn decay".jpg' not found on input line > 238. > > > Error: latex (file "Images/ZnSMn decay".jpg): cannot find image file > ==> Fatal error occurred, the output PDF file is not finished! > * > Which doesnt make sense, because those things are all there and > defined... Thanks for the help, I hope to hear from you when you get > back! > Charles > > Hi Charles, Sorry, but I forgot one line from what I told you to paste into the preamble. At the very top of what I gave you you need to insert \makeatletter. (Actualy, you just need to wrap all of the text I have you by putting at the very beginning \makeatletter and at the end \makeatother. I wrapped each newcommand in these commands, instead of all three. It shouldn't matter either way.) The \makeatletter and \makeatother commands somehow allow you to use code that you normally couldn't use. Regarding the second error, are you sure that you export the latex file to the same place as the LyX file? Specifically, you should have a directory called "Images" and inside that directory should be a file called "ZnSMn decay.jpg" One problem may be that you have a file with a space in it. File names with spaces in them always give all sorts of problems on *nix systems. Let me know. I'll be around today, but then not back until Tuesday. Sorry about your frustration. Some of these problems should not be hard to solve as they are. Paul
Re: thesis touch ups...
On Sat, 03 Mar 2007 12:46:50 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > Hi Paul, >Thanks for all the help so far. Im getting close it seems.. So here > is what is happening now. I inserted the \makeatletter at the > beginning of the text you gave me to insert in the preamble. What I > want is this(just to re-clarify): > the TOC starts on page v(I am using roman numerals up till I get to > the first chapter) and is two pages long so it is pages v and vi with > only the second page, vi, being numbered.. Then the List of > Tables(one page at vii un-numbered) and then the List of Figures(two > pages long at viii and ix, only page ix numbered) > What I am getting is: > TOC is fine. It is numbered correctly. BUT it has the List of > Tables > starting at page vi, instead of vii. So it is not "counting" the > second page of the TOC in the page numbering. Then I get the List of > figures at vii instead of viii. Also the first page of the List of > figures is still numbered... So that is what I have now. > As for the second problem: I use the linux box(ubuntu) at home > mainly > as a back up to my macbook(OS X) to write my thesis. So there are > probably file misplacements that I havent changed or updated on my nix > box, which gave the error. I will have to look at that today/tomm.. >Again, thanks for all the help. It is worth the frustration if I >can > learn how to do it in the end. > Charles > > The wrong numbering is probably due to that latex is not run enough by LyX. I think we should try to debug this by exporting to latex and then running latex from the terminal. As for numbering still showing up on the first page of your list of tables, I don't know why that is happening with your LyX document. I just ran a test version in pure latex with enough \chapters to generate a two-page toc, and enough captions to generate a two-page list of tables. Page numbers appeared only on the second page of the toc and lot. One reason that toc and lot can be incorrect is that an old file.toc and file.lot is on your system and you are not running latex enough times. In order to test my file, I removed test.lot and test.toc and then ran latex *3* times. I'm not sure how to do this from LyX. I think if you export your file to latex and run it 3 times both mistakes should be fixed. How many figures do you have? Could you export the file to latex, save it as temp.tex, and get rid of the figures, and then run latex 3 times just to see if we've fixed the list of table and toc problem? If you have a lot of figures, then you could try this: sed -e 's/\\includegraphics{[^}]*}//g' thesis.tex > temp.tex This assumes that when you export your document, it is named thesis.tex. Change the name to whatever it is. The sed stuff just gets rid of all graphics in your document so that you can run a text. However, if your grahics are in child documents, that won't work, since missing figures will still show up when you run latex. Let me know if there is any way you can export a latex file and run latex on it. Paul
Re: thesis touch ups...
On Sat, 03 Mar 2007 14:57:08 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > LaTeX Warning: Citation `key-6' on page 3 undefined on input line 293. > > [3]> > > LaTeX Warning: Citation `key-7' on page 4 undefined on input line 310. > > ElementTable.jpg> [4 <./ElementTable2.jpg>] > Error: latex (file "Images/particle size table".jpg): cannot find > image file > ==> Fatal error occurred, the output PDF file is not finished! > > *** > Im guessing it is still looking for some images, but cant find them. > I have about 40 figures in there right now.. Yes, that is the only problem at this point. >Also, the page numbering > is fine on the Tables list, its the figures list that is wrong. So.. > I dont know what else to do, seems like this shouldnt be so hard, > right? Thank you for your patience, > Charles What do you mean that the numbering is okay for the list of tables? Do you mean that both the right page appears and that no numbering appears on the first page? I think in order for me to help you, I would need you to get the images in the right location. Otherwise I can't tell if the problem is because LyX is not running latex enough, or something else. Are your two compouters networked? If so, then you can use the rsync command to keep the images always up-to-date on both computers. Let me know if you want to know how to do this. However, I would strongly suggest you rename all of your files so that there is no space in them. That will save you a lot of headaches later on, and might save you some headaches right now. One trick you could do right now is copy an existing jpg file to the one that is missing. So if you run latex and it complains it can't find ElementTable2.jpg, find an image it can find, and then just copy that file to ElementTable2.jpg. That way latex will be able to run sucessfully. Just remember to delete these bogus files after we are done with our test! Make sure you make a list of what bogus files you are creating. Paul
Re: help with citations (jurabib package)
On Wed, 28 Feb 2007 13:01:49 -0500 Richard Heck [EMAIL PROTECTED] wrote: I think there's an easier way to do this. First, we want to make ordinary citations into footnote citations. Try this: \renewcommand\citep{\footcite} Then insert your citations making sure you're doing it in the (Author, Year) style, so that you get \citep. (Of course, you can also do it other ways and change the \renewcommand, or have several different ones.) Second, getting endnotes is trivial: Just \usepackage{endnotes} and jurabib will give you endnotes automagically (at least as of v. 0.51---see the docs). (If you need endnotes otherwise, of course you'll need the \let\footnote=\endnote trick anyway.) Third, put \jurabibsetup{citefull=first} into the preamble, so you get full bibliographical info in the first citation. (See the other choices, too.) As for the problem with ibidem, this is controlled by jurabib options, too. It looks like you have ibidem=name for some reason. You probably want ibidem=nostrict. Do you have a jurabib.cfg that's setting this? What's below is LaTeX not LyX, but it works and should be adaptable. Of course, you'll have to change the citations to one of yours to get it working for you. The only trick here, then, is getting the footcite to work. It might be worth filing an enhancement request to have that option added to the bibliography dialog. Should be fairly simple to do, I'd suppose. By the way, I tried \let\citep=\footcite and LaTeX choked. Anyone wanna tell me why? Thanks. What you have shown me works like I wanted, but now I have other problems, which always seems to be the case when using \cite and its variations. I needed my entry to show up as: Plunket-Powell, Karen. *Remembering Woolworth's*. (New York: St. Martin's Press, 1999), 51 Instead it showed up as: Plunket-Powell, Karen Remembering Woolworth's. New York: St. Martin's Press, 1999 , 51 There are four problems: there is no period after the author's name; the title is not italicizied; there are no parenthesis around the publicantion place and publisher; there is an extra space between the year and comma. There may be ways to fix this, but I am also going to have to fix the entries in the bibligraphy itself. It seems like using \cite with the humanites is a near impossible task. I have always run into problems. (Note that the MLA style is easy to implement in latex; in fact, it is such a straightforward system, one doesn't even need to use \cite. Unfortunately the thesis directors won't accept this style, though the Chicago Manual of styles recomends it as the superior style to use.) I see that you are a philosophy professor, so maybe you have had better luck. For me I am doing only one paper that needs citations, and the paper contains only 50 different sources, so it may be easier to use my hack. Thanks anyway for your help. Paul
Re: LyX 1.4.4 crashing on OS X
On Wed, 28 Feb 2007 20:46:07 +0100 Patrick De Visschere [EMAIL PROTECTED] wrote: Hi, I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers and on both LyX crashes when opening an existing file (like one of the help-files). I can create a new document, save it and open it again without problem. Anybody else having this problem? Yes, and I submitted a bug report. I didn't realize that it crashed with existing files. I thought the problem was with files that contained child documents, but I came to this conclusion because the document that caused the crash contained child documents; but it also was a pre existing document. Paul
Re: LyX 1.4.4 crashing on OS X
On Thu, 01 Mar 2007 00:08:08 +0100 Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: I guess that a backtrace is required at this point. How does one do this? I looked at the documentation, and I believe it said to type: gdm or something simliar. I did that. The I went and found the LyX binary and executed it and nothing happened. When I wasn't in the backtrack mode and typed the LyX binary, it brought up the LyX application. Paul
Re: thesis touch ups...
On Wed, 28 Feb 2007 19:32:54 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, That ALMOST worked... I now have the TOC first page un-numbered and the second page numbered(which is what I wanted) and no number on the List of Tables(also what I wanted), but there is a problem with the list of figures. Basically here is how I want it: I want to start counting in roman numerals from the title page, supressing all numbers on the first page of a new section. For some reason, when the TOC lists what page the, say List of Figures, is on it is not factoring in the pages of the TOC. So if the TOC is on page 5 and the list of Figures on page 7 ,it will come up on the TOC listed as being on page 6 because it is not counting the actual page in the TOC.(did that make sense?) Also, with your code, I am still getting a number on the first page of the List of figures and List of Tables... I cant get it to work sometimes with combinations of number counting or number supressing the way I want, but not all at once. Thanks for the help, I am really new to this and I am trying to learn! Charles Hi Charles, Your problem should be easy to solve, at least compared to other latex problems. What I think is occurring is that LyX is not processing the document enough times. That is the only way I can account for the wrong page numbering. It is a common problem for latex to not number the pages right when it is not run enough times. Believe it or not, you probably have to run latex 3 times on your document. As for the page numbers showing up for the first page of the list of tables and list of figures, my guess is that the \thispagestyle command is ending up in the wrong place, either because of where you put it in your LyX document or where LyX puts it when it converts it to latex. Here's what I would do. Export your document to latex. Now go to the terminal and type: latex -output-format=pdf -halt-on-error document.tex latex -output-format=pdf -halt-on-error document.tex latex -output-format=pdf -halt-on-error document.tex Or if that is too much for one line, just type: latex -output-format=pdf -halt-on-error document.tex Then type the same command two more times. Make sure that you substute your actual name of your file for document.tex. So if your document is called thesis.tex, you would type: latex -output-format=pdf -halt-on-error thesis.tex That should create a PDF file. Open that up in your PDF viewer and see if that fixes your problem. If it does or if it doesn't, open up your document.tex in a text editor and cut and past the code that has \tableofcontents, including the lines above it and the lines after \listoffigures--in other words, all the relevant text. Paul
Re: thesis touch ups...
O Hi Paul, I am getting an error when I try to output the .tex file.. == Fatal error occurred, the output PDF file is not finished! So here is the text from the tex file immediately before(the acknowlegements) up the first line of Chapter one. Thanks for your patience, Charles \newpage{} \thispagestyle{empty} \addcontentsline{toc}{chapter}{ACKNOWLEDGEMENTS}{\Large \vspace*{2cm} ACKNOWLEDGEMENTS\vspace*{1cm} }{\Large \par} I would like to thank the following people for their help with this thesis. \newpage{} \thispagestyle{empty} \tableofcontents \thispagestyle{empty} \listoftables \addcontentsline{toc}{chapter}{LIST OF TABLES} \thispagestyle{empty} \listoffigures \addcontentsline{toc}{chapter}{LIST OF FIGURES} \chapter{Introduction} \begin{doublespace} \thispagestyle{empty} \pagenumbering{arabic} This project seeks to measure the triboluminescent light emitted a from meso-velocity frontal impact on lunar regolith simulant doped with a phosphorous material. Hi Charles, First, I realize I spoke too soon when I said the fix would be easy. I have just done some experimentation and it seems that the command \thispagestyle does not work with the \tableofcontents \listoflists and \listoffigures environments. That is because you have to issue these commands *after* you issue the \chapter command, but the chapter command is issued internally in the tableofcontents etc commands. So we have to redefine these commands in the preamble like this: \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Now get rid of the \thispagestyle commands you already issued. It is strange that you are getting an error message when you try to run latex on your document. Could you paste the error for me? We want to fix this so we can get latex to run 3 times and see if we can fix your other problem. I won't be on my computer until Sat, and I'm going to bed soon, so hopefully you can respond right away. By the way, if you use the memoir class, you probably don't have to redefine any commands in the preamble because the memoir class lets you customize the first page in any environment. Just a note for the future. Paul
Re: redefining \chapter
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck [EMAIL PROTECTED] wrote: This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more expertise on this mailing list than on the pure texhax mailing list, which is meant just for question like I posed. Paul PS It is too bad that all these techniques can't be put into one very well written book. I suppose to include every little problem on has encountered and solved might take a book 2,000 pages long, but it is unfortunate that there are many nice techniques one finds only be accident or through a mailing list; others might not be so lucky and give up.
Re: help with citations (jurabib package)
On Wed, 28 Feb 2007 13:01:49 -0500 Richard Heck [EMAIL PROTECTED] wrote: I think there's an easier way to do this. First, we want to make ordinary citations into footnote citations. Try this: \renewcommand\citep{\footcite} Then insert your citations making sure you're doing it in the (Author, Year) style, so that you get \citep. (Of course, you can also do it other ways and change the \renewcommand, or have several different ones.) Second, getting endnotes is trivial: Just \usepackage{endnotes} and jurabib will give you endnotes automagically (at least as of v. 0.51---see the docs). (If you need endnotes otherwise, of course you'll need the \let\footnote=\endnote trick anyway.) Third, put \jurabibsetup{citefull=first} into the preamble, so you get full bibliographical info in the first citation. (See the other choices, too.) As for the problem with ibidem, this is controlled by jurabib options, too. It looks like you have ibidem=name for some reason. You probably want ibidem=nostrict. Do you have a jurabib.cfg that's setting this? What's below is LaTeX not LyX, but it works and should be adaptable. Of course, you'll have to change the citations to one of yours to get it working for you. The only trick here, then, is getting the footcite to work. It might be worth filing an enhancement request to have that option added to the bibliography dialog. Should be fairly simple to do, I'd suppose. By the way, I tried \let\citep=\footcite and LaTeX choked. Anyone wanna tell me why? Thanks. What you have shown me works like I wanted, but now I have other problems, which always seems to be the case when using \cite and its variations. I needed my entry to show up as: Plunket-Powell, Karen. *Remembering Woolworth's*. (New York: St. Martin's Press, 1999), 51 Instead it showed up as: Plunket-Powell, Karen Remembering Woolworth's. New York: St. Martin's Press, 1999 , 51 There are four problems: there is no period after the author's name; the title is not italicizied; there are no parenthesis around the publicantion place and publisher; there is an extra space between the year and comma. There may be ways to fix this, but I am also going to have to fix the entries in the bibligraphy itself. It seems like using \cite with the humanites is a near impossible task. I have always run into problems. (Note that the MLA style is easy to implement in latex; in fact, it is such a straightforward system, one doesn't even need to use \cite. Unfortunately the thesis directors won't accept this style, though the Chicago Manual of styles recomends it as the superior style to use.) I see that you are a philosophy professor, so maybe you have had better luck. For me I am doing only one paper that needs citations, and the paper contains only 50 different sources, so it may be easier to use my hack. Thanks anyway for your help. Paul
Re: LyX 1.4.4 crashing on OS X
On Wed, 28 Feb 2007 20:46:07 +0100 Patrick De Visschere [EMAIL PROTECTED] wrote: Hi, I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers and on both LyX crashes when opening an existing file (like one of the help-files). I can create a new document, save it and open it again without problem. Anybody else having this problem? Yes, and I submitted a bug report. I didn't realize that it crashed with existing files. I thought the problem was with files that contained child documents, but I came to this conclusion because the document that caused the crash contained child documents; but it also was a pre existing document. Paul
Re: LyX 1.4.4 crashing on OS X
On Thu, 01 Mar 2007 00:08:08 +0100 Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: I guess that a backtrace is required at this point. How does one do this? I looked at the documentation, and I believe it said to type: gdm or something simliar. I did that. The I went and found the LyX binary and executed it and nothing happened. When I wasn't in the backtrack mode and typed the LyX binary, it brought up the LyX application. Paul
Re: thesis touch ups...
On Wed, 28 Feb 2007 19:32:54 -0600 Lyx Physicist [EMAIL PROTECTED] wrote: Hi Paul, That ALMOST worked... I now have the TOC first page un-numbered and the second page numbered(which is what I wanted) and no number on the List of Tables(also what I wanted), but there is a problem with the list of figures. Basically here is how I want it: I want to start counting in roman numerals from the title page, supressing all numbers on the first page of a new section. For some reason, when the TOC lists what page the, say List of Figures, is on it is not factoring in the pages of the TOC. So if the TOC is on page 5 and the list of Figures on page 7 ,it will come up on the TOC listed as being on page 6 because it is not counting the actual page in the TOC.(did that make sense?) Also, with your code, I am still getting a number on the first page of the List of figures and List of Tables... I cant get it to work sometimes with combinations of number counting or number supressing the way I want, but not all at once. Thanks for the help, I am really new to this and I am trying to learn! Charles Hi Charles, Your problem should be easy to solve, at least compared to other latex problems. What I think is occurring is that LyX is not processing the document enough times. That is the only way I can account for the wrong page numbering. It is a common problem for latex to not number the pages right when it is not run enough times. Believe it or not, you probably have to run latex 3 times on your document. As for the page numbers showing up for the first page of the list of tables and list of figures, my guess is that the \thispagestyle command is ending up in the wrong place, either because of where you put it in your LyX document or where LyX puts it when it converts it to latex. Here's what I would do. Export your document to latex. Now go to the terminal and type: latex -output-format=pdf -halt-on-error document.tex latex -output-format=pdf -halt-on-error document.tex latex -output-format=pdf -halt-on-error document.tex Or if that is too much for one line, just type: latex -output-format=pdf -halt-on-error document.tex Then type the same command two more times. Make sure that you substute your actual name of your file for document.tex. So if your document is called thesis.tex, you would type: latex -output-format=pdf -halt-on-error thesis.tex That should create a PDF file. Open that up in your PDF viewer and see if that fixes your problem. If it does or if it doesn't, open up your document.tex in a text editor and cut and past the code that has \tableofcontents, including the lines above it and the lines after \listoffigures--in other words, all the relevant text. Paul
Re: thesis touch ups...
O Hi Paul, I am getting an error when I try to output the .tex file.. == Fatal error occurred, the output PDF file is not finished! So here is the text from the tex file immediately before(the acknowlegements) up the first line of Chapter one. Thanks for your patience, Charles \newpage{} \thispagestyle{empty} \addcontentsline{toc}{chapter}{ACKNOWLEDGEMENTS}{\Large \vspace*{2cm} ACKNOWLEDGEMENTS\vspace*{1cm} }{\Large \par} I would like to thank the following people for their help with this thesis. \newpage{} \thispagestyle{empty} \tableofcontents \thispagestyle{empty} \listoftables \addcontentsline{toc}{chapter}{LIST OF TABLES} \thispagestyle{empty} \listoffigures \addcontentsline{toc}{chapter}{LIST OF FIGURES} \chapter{Introduction} \begin{doublespace} \thispagestyle{empty} \pagenumbering{arabic} This project seeks to measure the triboluminescent light emitted a from meso-velocity frontal impact on lunar regolith simulant doped with a phosphorous material. Hi Charles, First, I realize I spoke too soon when I said the fix would be easy. I have just done some experimentation and it seems that the command \thispagestyle does not work with the \tableofcontents \listoflists and \listoffigures environments. That is because you have to issue these commands *after* you issue the \chapter command, but the chapter command is issued internally in the tableofcontents etc commands. So we have to redefine these commands in the preamble like this: \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Now get rid of the \thispagestyle commands you already issued. It is strange that you are getting an error message when you try to run latex on your document. Could you paste the error for me? We want to fix this so we can get latex to run 3 times and see if we can fix your other problem. I won't be on my computer until Sat, and I'm going to bed soon, so hopefully you can respond right away. By the way, if you use the memoir class, you probably don't have to redefine any commands in the preamble because the memoir class lets you customize the first page in any environment. Just a note for the future. Paul
Re: redefining \chapter
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck [EMAIL PROTECTED] wrote: This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more expertise on this mailing list than on the pure texhax mailing list, which is meant just for question like I posed. Paul PS It is too bad that all these techniques can't be put into one very well written book. I suppose to include every little problem on has encountered and solved might take a book 2,000 pages long, but it is unfortunate that there are many nice techniques one finds only be accident or through a mailing list; others might not be so lucky and give up.
Re: help with citations (jurabib package)
On Wed, 28 Feb 2007 13:01:49 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > I think there's an easier way to do this. First, we want to make > ordinary citations into footnote citations. Try this: > \renewcommand\citep{\footcite} > Then insert your citations making sure you're doing it in the > "(Author, Year)" style, so that you get \citep. (Of course, you can > also do it other ways and change the \renewcommand, or have several > different ones.) Second, getting endnotes is trivial: Just > \usepackage{endnotes} > and jurabib will give you endnotes automagically (at least as of v. > 0.51---see the docs). (If you need endnotes otherwise, of course > you'll need the \let\footnote=\endnote trick anyway.) Third, put > \jurabibsetup{citefull=first} > into the preamble, so you get full bibliographical info in the first > citation. (See the other choices, too.) As for the problem with > ibidem, this is controlled by jurabib options, too. It looks like you > have ibidem=name for some reason. You probably want ibidem=nostrict. > Do you have a jurabib.cfg that's setting this? > > What's below is LaTeX not LyX, but it works and should be adaptable. > Of course, you'll have to change the citations to one of yours to get > it working for you. > > The only trick here, then, is getting the footcite to work. It might > be worth filing an enhancement request to have that option added to > the bibliography dialog. Should be fairly simple to do, I'd suppose. > > By the way, I tried \let\citep=\footcite and LaTeX choked. Anyone > wanna tell me why? > Thanks. What you have shown me works like I wanted, but now I have other problems, which always seems to be the case when using \cite and its variations. I needed my entry to show up as: Plunket-Powell, Karen. *Remembering Woolworth's*. (New York: St. Martin's Press, 1999), 51 Instead it showed up as: Plunket-Powell, Karen Remembering Woolworth's. New York: St. Martin's Press, 1999 , 51 There are four problems: there is no period after the author's name; the title is not italicizied; there are no parenthesis around the publicantion place and publisher; there is an extra space between the year and comma. There may be ways to fix this, but I am also going to have to fix the entries in the bibligraphy itself. It seems like using \cite with the humanites is a near impossible task. I have always run into problems. (Note that the MLA style is easy to implement in latex; in fact, it is such a straightforward system, one doesn't even need to use \cite. Unfortunately the thesis directors won't accept this style, though the Chicago Manual of styles recomends it as the superior style to use.) I see that you are a philosophy professor, so maybe you have had better luck. For me I am doing only one paper that needs citations, and the paper contains only 50 different sources, so it may be easier to use my hack. Thanks anyway for your help. Paul
Re: LyX 1.4.4 crashing on OS X
On Wed, 28 Feb 2007 20:46:07 +0100 Patrick De Visschere <[EMAIL PROTECTED]> wrote: > Hi, > > I've tried LyX 1.4.4 (PPC version) on OS X on 2 different computers > and on both LyX crashes when opening an existing file (like one of > the help-files). > I can create a new document, save it and open it again without > problem. > > Anybody else having this problem? > Yes, and I submitted a bug report. I didn't realize that it crashed with existing files. I thought the problem was with files that contained child documents, but I came to this conclusion because the document that caused the crash contained child documents; but it also was a pre existing document. Paul
Re: LyX 1.4.4 crashing on OS X
On Thu, 01 Mar 2007 00:08:08 +0100 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > > I guess that a backtrace is required at this point. > > How does one do this? I looked at the documentation, and I believe it said to type: gdm or something simliar. I did that. The I went and found the LyX binary and executed it and nothing happened. When I wasn't in the backtrack mode and typed the LyX binary, it brought up the LyX application. Paul
Re: thesis touch ups...
On Wed, 28 Feb 2007 19:32:54 -0600 Lyx Physicist <[EMAIL PROTECTED]> wrote: > > Hi Paul, > That ALMOST worked... I now have the TOC first page un-numbered and > the second page numbered(which is what I wanted) and no number on the > List of Tables(also what I wanted), but there is a problem with the > list of figures. Basically here is how I want it: I want to start > counting in roman numerals from the title page, supressing all numbers > on the first page of a new section. For some reason, when the TOC > lists what page the, say List of Figures, is on it is not factoring in > the pages of the TOC. So if the TOC is on page 5 and the list of > Figures on page 7 ,it will come up on the TOC listed as being on page > 6 because it is not counting the actual page in the TOC.(did that make > sense?) Also, with your code, I am still getting a number on the first > page of the List of figures and List of Tables... I cant get it to > work sometimes with combinations of number counting or number > supressing the way I want, but not all at once. Thanks for the help, > I am really new to this and I am trying to learn! > Charles > > Hi Charles, Your problem should be easy to solve, at least compared to other latex problems. What I think is occurring is that LyX is not processing the document enough times. That is the only way I can account for the wrong page numbering. It is a common problem for latex to not number the pages right when it is not run enough times. Believe it or not, you probably have to run latex 3 times on your document. As for the page numbers showing up for the first page of the list of tables and list of figures, my guess is that the \thispagestyle command is ending up in the wrong place, either because of where you put it in your LyX document or where LyX puts it when it converts it to latex. Here's what I would do. Export your document to latex. Now go to the terminal and type: latex -output-format=pdf -halt-on-error && latex -output-format=pdf -halt-on-error && latex -output-format=pdf -halt-on-error Or if that is too much for one line, just type: latex -output-format=pdf -halt-on-error Then type the same command two more times. Make sure that you substute your actual name of your file for . So if your document is called thesis.tex, you would type: latex -output-format=pdf -halt-on-error thesis.tex That should create a PDF file. Open that up in your PDF viewer and see if that fixes your problem. If it does or if it doesn't, open up your in a text editor and cut and past the code that has \tableofcontents, including the lines above it and the lines after \listoffigures--in other words, all the relevant text. Paul
Re: thesis touch ups...
O > > Hi Paul, >I am getting an error when I try to output the .tex file.. > ==> Fatal error occurred, the output PDF file is not finished! > > So here is the text from the tex file immediately before(the > acknowlegements) up the first line of Chapter one. Thanks for your > patience, > Charles > > \newpage{} > > \thispagestyle{empty} > \addcontentsline{toc}{chapter}{ACKNOWLEDGEMENTS}{\Large \vspace*{2cm} > ACKNOWLEDGEMENTS\vspace*{1cm} > }{\Large \par} > > I would like to thank the following people for their help with this > thesis. > > \newpage{} > > \thispagestyle{empty} \tableofcontents > \thispagestyle{empty} \listoftables > \addcontentsline{toc}{chapter}{LIST OF TABLES} > \thispagestyle{empty} \listoffigures > \addcontentsline{toc}{chapter}{LIST OF FIGURES} > > > \chapter{Introduction} > > \begin{doublespace} > \thispagestyle{empty} \pagenumbering{arabic} This project seeks to > measure the triboluminescent light emitted a from meso-velocity > frontal impact on lunar regolith simulant doped with a phosphorous > material. > > Hi Charles, First, I realize I spoke too soon when I said the fix would be easy. I have just done some experimentation and it seems that the command \thispagestyle does not work with the \tableofcontents \listoflists and \listoffigures environments. That is because you have to issue these commands *after* you issue the \chapter command, but the chapter command is issued internally in the tableofcontents etc commands. So we have to redefine these commands in the preamble like this: \renewcommand\tableofcontents{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\contentsname \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoftables{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listtablename}% \thispagestyle{empty} [EMAIL PROTECTED] \MakeUppercase\listtablename}% {\MakeUppercase\listtablename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother \makeatletter \renewcommand\listoffigures{% [EMAIL PROTECTED] [EMAIL PROTECTED] \else [EMAIL PROTECTED] \fi \chapter*{\listfigurename}% [EMAIL PROTECTED] {\MakeUppercase\listfigurename}% [EMAIL PROTECTED] [EMAIL PROTECTED] } \makeatother Now get rid of the \thispagestyle commands you already issued. It is strange that you are getting an error message when you try to run latex on your document. Could you paste the error for me? We want to fix this so we can get latex to run 3 times and see if we can fix your other problem. I won't be on my computer until Sat, and I'm going to bed soon, so hopefully you can respond right away. By the way, if you use the memoir class, you probably don't have to redefine any commands in the preamble because the memoir class lets you customize the first page in any environment. Just a note for the future. Paul
Re: redefining \chapter
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > This works: > > \documentclass[oneside,english]{book} > \usepackage[T1]{fontenc} > [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more expertise on this mailing list than on the pure texhax mailing list, which is meant just for question like I posed. Paul PS It is too bad that all these techniques can't be put into one very well written book. I suppose to include every little problem on has encountered and solved might take a book 2,000 pages long, but it is unfortunate that there are many nice techniques one finds only be accident or through a mailing list; others might not be so lucky and give up.
Setting values for lists
How do you customize lists such as enumerate in LyX? I know in raw latex you type something like \begin{itemize}{\setlength{\itemsep}{0pt}} \item{foo} \end{itemize} But how does one set the \itemsep and so fourth? I don't believe you can set these vaules in the preamble, since list values outside the list are ignored. Paul
Re: Setting values for lists
On Tue, 27 Feb 2007 17:58:09 -0500 Paul A. Rubin [EMAIL PROTECTED] wrote: Paul Tremblay wrote: How do you customize lists such as enumerate in LyX? I know in raw latex you type something like \begin{itemize}{\setlength{\itemsep}{0pt}} \item{foo} \end{itemize} But how does one set the \itemsep and so fourth? I don't believe you can set these vaules in the preamble, since list values outside the list are ignored. Paul Have a look at the following: http://wiki.lyx.org/FAQ/Unsorted#toc36 http://thread.gmane.org/gmane.editors.lyx.general/22205/focus=22211 http://thread.gmane.org/gmane.editors.lyx.general/24221/focus=24222 \let\oldenumerate=\enumerate \def\enumerate{\oldenumerate% \setlength{\itemsep}{0pt}\setlength{\parsep}{0pt}}% Okay, good. I was trying: \newenviornment{\oldenumerate}{\begin{enumerate}}{\end{enumerate}} \renewenvironment{\enumerate}{\begin{\oldenumerate}{\setlength{\parsep} {0pt}}}{\\end{oldenumerate}} This gave me an out of memory error, which occurs when renew uses itself somehow. Thanks Paul
redefining \chapter
Is there a way to redefine \chapter? I am using the package \setspace to doublesapce my document, but I want chapter and section titles to be single spaced. I tried using these two lines: \let\OldChapter=\chapter \renewcommand*{\chapter}[1]{\singlespacing\OldChapter{#1}\doublespacing} The problem here is that if I use \chapter*{Title} The latex uses the * as the one and only argument. For pure latex, I could use: \newcommand*{\Chapter}[1]{\singlespacing\chapter{#1}\doublespacing} But then I would have to use ugly ert in LyX. I have tried almost every possible way to get change the definition of \chapter, including altering the primitive \makechaphead command and asking on the texhax mailing list, but have had no luck. By the way, I am using the memoir class, which allows you you alter almost everything in \chapter, but does not allow you to changed spacing. Paul
Re: redefining \chapter
On Tue, 27 Feb 2007 21:02:15 -0500 Richard Heck [EMAIL PROTECTED] wrote: I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred cases. Maybe Helge would know. Helge seems to be a real wiz with these things. Okay, that looks very useful. I've never used an if statements in Latex, but I think that is probably what I need. I'll wait to see if Helge has time to respond and give me some tips. Thanks Paul
help with citations (jurabib package)
Can anyne help me with the jurabib package? I believe it is this package I need to use to get citations for a thesis in the style of the humanities. Specifically, I need to have my citations in endnotes. The first endnote would look like this: Plunket-Powell, Karen. Remembering Woolworth's. (New York: St. Martin's Press, 1999), 51. If the thesis cited Plunket-Powell for the next reference, but on page 52, it should look like this; ibid, 52. If the thesis then cited the same author and the same page, it should look like this: ibid. I have looked at the jurabib documentation and the most I can get get is for the ibids to come out like: Plunket-Powell ibid, 52. I don't need the author there. I am not having a problem getting the endnotes to work. (I could also use another package and simpy put the citation in an \endnote.) Paul PS Right now I have hacked the document to get it to work. \let\footnote=\endnote \newcommand{\Cite}[2][]{#2#1} % I will have many of these references \newcommand{\PlunketPowell}{Plunket-Powell, Karen. \emph{Remembering Woolworth's}. (New York: St. Martin's Press, 1999)} Then when I want to put in citation, I tell LyX to insert a footnote, and use ert to type: \Cite[, pg 51.]{\PlunketPowell} In order to get ibid to work, I have to export the file to latex and then run a python script, which checks the preceding reference, and if it finds the same author, it uses ibid. I would feel better not having to hack the document this way, especially the part that uses the python script.
Setting values for lists
How do you customize lists such as enumerate in LyX? I know in raw latex you type something like \begin{itemize}{\setlength{\itemsep}{0pt}} \item{foo} \end{itemize} But how does one set the \itemsep and so fourth? I don't believe you can set these vaules in the preamble, since list values outside the list are ignored. Paul
Re: Setting values for lists
On Tue, 27 Feb 2007 17:58:09 -0500 Paul A. Rubin [EMAIL PROTECTED] wrote: Paul Tremblay wrote: How do you customize lists such as enumerate in LyX? I know in raw latex you type something like \begin{itemize}{\setlength{\itemsep}{0pt}} \item{foo} \end{itemize} But how does one set the \itemsep and so fourth? I don't believe you can set these vaules in the preamble, since list values outside the list are ignored. Paul Have a look at the following: http://wiki.lyx.org/FAQ/Unsorted#toc36 http://thread.gmane.org/gmane.editors.lyx.general/22205/focus=22211 http://thread.gmane.org/gmane.editors.lyx.general/24221/focus=24222 \let\oldenumerate=\enumerate \def\enumerate{\oldenumerate% \setlength{\itemsep}{0pt}\setlength{\parsep}{0pt}}% Okay, good. I was trying: \newenviornment{\oldenumerate}{\begin{enumerate}}{\end{enumerate}} \renewenvironment{\enumerate}{\begin{\oldenumerate}{\setlength{\parsep} {0pt}}}{\\end{oldenumerate}} This gave me an out of memory error, which occurs when renew uses itself somehow. Thanks Paul
redefining \chapter
Is there a way to redefine \chapter? I am using the package \setspace to doublesapce my document, but I want chapter and section titles to be single spaced. I tried using these two lines: \let\OldChapter=\chapter \renewcommand*{\chapter}[1]{\singlespacing\OldChapter{#1}\doublespacing} The problem here is that if I use \chapter*{Title} The latex uses the * as the one and only argument. For pure latex, I could use: \newcommand*{\Chapter}[1]{\singlespacing\chapter{#1}\doublespacing} But then I would have to use ugly ert in LyX. I have tried almost every possible way to get change the definition of \chapter, including altering the primitive \makechaphead command and asking on the texhax mailing list, but have had no luck. By the way, I am using the memoir class, which allows you you alter almost everything in \chapter, but does not allow you to changed spacing. Paul
Re: redefining \chapter
On Tue, 27 Feb 2007 21:02:15 -0500 Richard Heck [EMAIL PROTECTED] wrote: I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred cases. Maybe Helge would know. Helge seems to be a real wiz with these things. Okay, that looks very useful. I've never used an if statements in Latex, but I think that is probably what I need. I'll wait to see if Helge has time to respond and give me some tips. Thanks Paul
help with citations (jurabib package)
Can anyne help me with the jurabib package? I believe it is this package I need to use to get citations for a thesis in the style of the humanities. Specifically, I need to have my citations in endnotes. The first endnote would look like this: Plunket-Powell, Karen. Remembering Woolworth's. (New York: St. Martin's Press, 1999), 51. If the thesis cited Plunket-Powell for the next reference, but on page 52, it should look like this; ibid, 52. If the thesis then cited the same author and the same page, it should look like this: ibid. I have looked at the jurabib documentation and the most I can get get is for the ibids to come out like: Plunket-Powell ibid, 52. I don't need the author there. I am not having a problem getting the endnotes to work. (I could also use another package and simpy put the citation in an \endnote.) Paul PS Right now I have hacked the document to get it to work. \let\footnote=\endnote \newcommand{\Cite}[2][]{#2#1} % I will have many of these references \newcommand{\PlunketPowell}{Plunket-Powell, Karen. \emph{Remembering Woolworth's}. (New York: St. Martin's Press, 1999)} Then when I want to put in citation, I tell LyX to insert a footnote, and use ert to type: \Cite[, pg 51.]{\PlunketPowell} In order to get ibid to work, I have to export the file to latex and then run a python script, which checks the preceding reference, and if it finds the same author, it uses ibid. I would feel better not having to hack the document this way, especially the part that uses the python script.
Setting values for lists
How do you customize lists such as enumerate in LyX? I know in raw latex you type something like \begin{itemize}{\setlength{\itemsep}{0pt}} \item{foo} \end{itemize} But how does one set the \itemsep and so fourth? I don't believe you can set these vaules in the preamble, since list values outside the list are ignored. Paul
Re: Setting values for lists
On Tue, 27 Feb 2007 17:58:09 -0500 "Paul A. Rubin" <[EMAIL PROTECTED]> wrote: > Paul Tremblay wrote: > > How do you customize lists such as enumerate in LyX? I know in raw > > latex you type something like > > > > \begin{itemize}{\setlength{\itemsep}{0pt}} > > \item{foo} > > \end{itemize} > > > > But how does one set the \itemsep and so fourth? I don't believe you > > can set these vaules in the preamble, since list values outside the > > list are ignored. > > > > Paul > > > > Have a look at the following: > > http://wiki.lyx.org/FAQ/Unsorted#toc36 > http://thread.gmane.org/gmane.editors.lyx.general/22205/focus=22211 > http://thread.gmane.org/gmane.editors.lyx.general/24221/focus=24222 > \let\oldenumerate=\enumerate \def\enumerate{\oldenumerate% \setlength{\itemsep}{0pt}\setlength{\parsep}{0pt}}% Okay, good. I was trying: \newenviornment{\oldenumerate}{\begin{enumerate}}{\end{enumerate}} \renewenvironment{\enumerate}{\begin{\oldenumerate}{\setlength{\parsep} {0pt}}}{\\end{oldenumerate}} This gave me an out of memory error, which occurs when renew uses itself somehow. Thanks Paul
redefining \chapter
Is there a way to redefine \chapter? I am using the package \setspace to doublesapce my document, but I want chapter and section titles to be single spaced. I tried using these two lines: \let\OldChapter=\chapter \renewcommand*{\chapter}[1]{\singlespacing\OldChapter{#1}\doublespacing} The problem here is that if I use \chapter*{Title} The latex uses the "*" as the one and only argument. For pure latex, I could use: \newcommand*{\Chapter}[1]{\singlespacing\chapter{#1}\doublespacing} But then I would have to use ugly ert in LyX. I have tried almost every possible way to get change the definition of \chapter, including altering the primitive \makechaphead command and asking on the texhax mailing list, but have had no luck. By the way, I am using the memoir class, which allows you you alter almost everything in \chapter, but does not allow you to changed spacing. Paul
Re: redefining \chapter
On Tue, 27 Feb 2007 21:02:15 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > I'm not texpert, but I'd have thought the solution had to involve the > if-next-char-is-star trick that seems to be used in a lot of the > classes to allow a single definition to handle both the starred and > non-starred cases. Maybe Helge would know. Helge seems to be a real > wiz with these things. > Okay, that looks very useful. I've never used an if statements in Latex, but I think that is probably what I need. I'll wait to see if Helge has time to respond and give me some tips. Thanks Paul
help with citations (jurabib package)
Can anyne help me with the jurabib package? I believe it is this package I need to use to get citations for a thesis in the style of the humanities. Specifically, I need to have my citations in endnotes. The first endnote would look like this: Plunket-Powell, Karen. Remembering Woolworth's. (New York: St. Martin's Press, 1999), 51. If the thesis cited Plunket-Powell for the next reference, but on page 52, it should look like this; ibid, 52. If the thesis then cited the same author and the same page, it should look like this: ibid. I have looked at the jurabib documentation and the most I can get get is for the ibids to come out like: Plunket-Powell ibid, 52. I don't need the author there. I am not having a problem getting the endnotes to work. (I could also use another package and simpy put the citation in an \endnote.) Paul PS Right now I have hacked the document to get it to work. \let\footnote=\endnote \newcommand{\Cite}[2][]{#2#1} % I will have many of these references \newcommand{\PlunketPowell}{Plunket-Powell, Karen. \emph{Remembering Woolworth's}. (New York: St. Martin's Press, 1999)} Then when I want to put in citation, I tell LyX to insert a footnote, and use ert to type: \Cite[, pg 51.]{\PlunketPowell} In order to get ibid to work, I have to export the file to latex and then run a python script, which checks the preceding reference, and if it finds the same author, it uses ibid. I would feel better not having to hack the document this way, especially the part that uses the python script.
changing default layout for paragraphs
I would like to change the default layout of paragrahs so that they appear left aligned rather than justfied. In my preamble I will put the command \RaggedRight, which will make he paragrahs left aligned. But when I work with the paragraph in lyx, they will still appear to be justfied, which in my opinion makes them very hard to work with. When I insert text in the middle of a paragraph, the lines have to continually adjust themselves, creating a distraction. (I'm surprised this does't drive anyone else crazy--or maybe it does?) I know that back 7 years ago or so there was a way to change the default layout of paragraphs. I lost the notes on how this was done. I hope it is still possible to do this. I know that I can go into the edit menu and change the paragraph settings, but this setting only appears to work for one paragraph, not for every paragraph. And besides, I notice that LyX then encloses the paragraphs in a flushleft environment, something I don't really want, since the RaggedRight command already makes my paragraphs left aligned. Also, I may want my paragraph to appear justfied in the PDF, but still want them to appear left aligned so that I can edit them more easily. I have looked at the LyX tutorial, but I couldn't find any concrete examples on how to make my own layout. I have checked in my ~/.lyx directory and notice that I have nothing in either my example directory or my layout directory. Thanks Paul
Re: changing default layout for paragraphs
On Sat, 24 Feb 2007 15:41:16 -0500 Paul Tremblay [EMAIL PROTECTED] wrote: I have looked at the LyX tutorial, but I couldn't find any concrete examples on how to make my own layout. I have checked in my ~/.lyx directory and notice that I have nothing in either my example directory or my layout directory. Okay, I found my layouts in /usr/local/share/lyx. (I was looking in /usr/share for the lyx folder before). I found memoir.layout and copied it to my local ~/.lyx/layout directory. I then modified the Standard style to look like this: Style Standard MarginStatic LatexType Paragraph LatexName dummy ParIndent MM ParSkip 0.4 Align Left AlignPossible Block, Left, Right, Center LabelType No_Label I just changed one line: the value of Align from Block to left. This gives me a left layout, but it no longer indents my paragrahs. I can get around this by changing the paragraph separator in LyX to vertical space, but I would prefer to have a first line indentation. I'm almost possible that the way I got this to work was by doing something with labels. I tried changing LabelThpe to Static and including a LabelString to MM but that just gave me an M at the start of my paragraph. Paul
changing default layout for paragraphs
I would like to change the default layout of paragrahs so that they appear left aligned rather than justfied. In my preamble I will put the command \RaggedRight, which will make he paragrahs left aligned. But when I work with the paragraph in lyx, they will still appear to be justfied, which in my opinion makes them very hard to work with. When I insert text in the middle of a paragraph, the lines have to continually adjust themselves, creating a distraction. (I'm surprised this does't drive anyone else crazy--or maybe it does?) I know that back 7 years ago or so there was a way to change the default layout of paragraphs. I lost the notes on how this was done. I hope it is still possible to do this. I know that I can go into the edit menu and change the paragraph settings, but this setting only appears to work for one paragraph, not for every paragraph. And besides, I notice that LyX then encloses the paragraphs in a flushleft environment, something I don't really want, since the RaggedRight command already makes my paragraphs left aligned. Also, I may want my paragraph to appear justfied in the PDF, but still want them to appear left aligned so that I can edit them more easily. I have looked at the LyX tutorial, but I couldn't find any concrete examples on how to make my own layout. I have checked in my ~/.lyx directory and notice that I have nothing in either my example directory or my layout directory. Thanks Paul
Re: changing default layout for paragraphs
On Sat, 24 Feb 2007 15:41:16 -0500 Paul Tremblay [EMAIL PROTECTED] wrote: I have looked at the LyX tutorial, but I couldn't find any concrete examples on how to make my own layout. I have checked in my ~/.lyx directory and notice that I have nothing in either my example directory or my layout directory. Okay, I found my layouts in /usr/local/share/lyx. (I was looking in /usr/share for the lyx folder before). I found memoir.layout and copied it to my local ~/.lyx/layout directory. I then modified the Standard style to look like this: Style Standard MarginStatic LatexType Paragraph LatexName dummy ParIndent MM ParSkip 0.4 Align Left AlignPossible Block, Left, Right, Center LabelType No_Label I just changed one line: the value of Align from Block to left. This gives me a left layout, but it no longer indents my paragrahs. I can get around this by changing the paragraph separator in LyX to vertical space, but I would prefer to have a first line indentation. I'm almost possible that the way I got this to work was by doing something with labels. I tried changing LabelThpe to Static and including a LabelString to MM but that just gave me an M at the start of my paragraph. Paul
changing default layout for paragraphs
I would like to change the default layout of paragrahs so that they appear left aligned rather than justfied. In my preamble I will put the command \RaggedRight, which will make he paragrahs left aligned. But when I work with the paragraph in lyx, they will still appear to be justfied, which in my opinion makes them very hard to work with. When I insert text in the middle of a paragraph, the lines have to continually adjust themselves, creating a distraction. (I'm surprised this does't drive anyone else crazy--or maybe it does?) I know that back 7 years ago or so there was a way to change the default layout of paragraphs. I lost the notes on how this was done. I hope it is still possible to do this. I know that I can go into the edit menu and change the paragraph settings, but this setting only appears to work for one paragraph, not for every paragraph. And besides, I notice that LyX then encloses the paragraphs in a flushleft environment, something I don't really want, since the RaggedRight command already makes my paragraphs left aligned. Also, I may want my paragraph to appear justfied in the PDF, but still want them to appear left aligned so that I can edit them more easily. I have looked at the LyX tutorial, but I couldn't find any concrete examples on how to make my own layout. I have checked in my ~/.lyx directory and notice that I have nothing in either my example directory or my layout directory. Thanks Paul
Re: changing default layout for paragraphs
On Sat, 24 Feb 2007 15:41:16 -0500 Paul Tremblay <[EMAIL PROTECTED]> wrote: > > I have looked at the LyX tutorial, but I couldn't find any concrete > examples on how to make my own layout. I have checked in my ~/.lyx > directory and notice that I have nothing in either my example > directory or my layout directory. > Okay, I found my layouts in /usr/local/share/lyx. (I was looking in /usr/share for the lyx folder before). I found memoir.layout and copied it to my local ~/.lyx/layout directory. I then modified the Standard style to look like this: Style Standard MarginStatic LatexType Paragraph LatexName dummy ParIndent MM ParSkip 0.4 Align Left AlignPossible Block, Left, Right, Center LabelType No_Label I just changed one line: the value of Align from Block to left. This gives me a left layout, but it no longer indents my paragrahs. I can get around this by changing the paragraph separator in LyX to vertical space, but I would prefer to have a first line indentation. I'm almost possible that the way I got this to work was by doing something with labels. I tried changing LabelThpe to Static and including a LabelString to "MM" but that just gave me an M at the start of my paragraph. Paul
Re: error when installing on Mac OS X (3.9) python not found
On Wed, 22 Nov 2006 11:00:37 -0500 Cynthia Johnson [EMAIL PROTECTED] wrote: When I try to install LyX on Mac OS X by using the LyX installer, I get the following error message: sh: line 1: python: command not found (127) From the terminal I type: which python /usr/local/bin/python which latex /usr/TeX/bin/powerpc-darwin/latex which pdflatex /usr/TeX/bin/powerpc-darwin//pdflatex When I try to run LyX without using the installer, it cannot find my home TeX directory, and hence I cannot user the view option. I have added the path to the preferences and reconfigured LyX, but that does not work. Can anyone help me here? This is a bit frustrating to get no resposne. I can fix the sh script if someone could just send me it. The problem is that I can't open the sh script itself because because it is embedded in a [EMAIL PROTECTED] applescript. Likewise, I could do manuaully what the sh script does if someone just tells me what that is. I will start another thread on the third possiblity, which is simply configuring LyX itslef. Paul
how to configure LyX
The LyX installation on a Mac OS running 3.9 is not configured properly, and I think to confiugre it should be easy. (I was not able to install LyX using the installer because of problems with the script; I started another thread on this problem, but no one can seem to answer it.) When I open up the view menu, I cannot update my file. That is, I cannot get LyX to convert it automatically to PDF of DVI. I have added the path to the preferences and reconfigured LyX, but that does not work. My latex binary is in: /usr/TeX/bin/powerpc-darwin/latex So I have added /usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then run the reconfigure commnd. But this does not seem to help. LyX cannot find latex and cannot find my classes. I have looked through the documentation and cannot find anything to help me. Thanks Pal
Re: how to configure LyX
On Fri, 24 Nov 2006 13:30:02 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: since your path is not one of those listed under prerequisites at http://wiki.lyx.org/Mac/Mac#toc4 my first question would be if you have checked that pdflatex, ghostscript and imagemagick work properly outside of LyX. How did you install this TeX (manually or using some installer)? If you're sure that this is a kosher TeX installation, you could create a symbolic link as mentioned in the above link. Okay, I didn't realize I needed ghostview and imagemagic. I am installing them right now. The version is 1.4.3. My TeX installation is kosher in that from the terminal I can type latex document and get a PDF document. I installed it with TeXLive, I believe. path to the preferences - I'm assuming you mean the preferences in the LyX menu, under PATH prefix. Is that correct? Yes, that is correct. To make sure people know which sh script you're talking about, it would probably be good to send the verbatim output from the Console or Terminal command line. I did this in a thread on 2006-11-23. The post is actually from Cynthia Johnson (whose computer I am trying to install this on). In brief, the .sh script stated that python was not found, though I have a working version of python in /usr/local/bin. Thanks for your response. I wanted to reply right away even before I downloaded ghostview because the easiest (and perhaps best) way to fix this problem is to fix the installer problem, if possible. Paul
Re: how to configure LyX
On Fri, 24 Nov 2006 16:51:23 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: Thanks again Jens. I will try this in a bit. In the mean time I wanted to report (in case this is valuable to anyone else), that I was able to reconfigure LyX with some success. What I did is create a soft link in /usr/local/bin to the my executable. I didn't think I had to do this because I added the path in the preferences in LyX, but adding the path didn't work. When I tried to view a document using pdflatex, I got a message stating that /tmp/xxxlyx/xxlyx/myfile.pdf could not be found. I went to the directory and found the file myfile.tex and typed pdflatex myfile.tex Some defaults had to run in pdflatex, as if pdflatex was a first run. Then the document was created. When I went back to LyX and tried to view the document in view, I had success. The only problem I have now is that if I modify the document, I cannot update it. I think this problem is different. On my linux machine you can update PDF documents in the PDF viewer, but I know you can't do this in Mac. Since Mac uses Adobe, the file cannot be updated. So I need to find another viewer like ghostview. I have ghostview installed, but it requires X11 (which is also installed), so I may have to use X11 as my viewer. I will let you know how the installation goes when I change that variable. I could also create a soft link to the place where python is expected, couldn't I? Paul On Nov 24, 2006, at 3:56 PM, Paul Tremblay wrote: On Fri, 24 Nov 2006 13:30:02 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: since your path is not one of those listed under prerequisites at http://wiki.lyx.org/Mac/Mac#toc4 my first question would be if you have checked that pdflatex, ghostscript and imagemagick work properly outside of LyX. How did you install this TeX (manually or using some installer)? If you're sure that this is a kosher TeX installation, you could create a symbolic link as mentioned in the above link. Okay, I didn't realize I needed ghostview and imagemagic. I am installing them right now. The version is 1.4.3. My TeX installation is kosher in that from the terminal I can type latex document and get a PDF document. I installed it with TeXLive, I believe. path to the preferences - I'm assuming you mean the preferences in the LyX menu, under PATH prefix. Is that correct? Yes, that is correct. To make sure people know which sh script you're talking about, it would probably be good to send the verbatim output from the Console or Terminal command line. I did this in a thread on 2006-11-23. The post is actually from Cynthia Johnson (whose computer I am trying to install this on). In brief, the .sh script stated that python was not found, though I have a working version of python in /usr/local/bin. Thanks for your response. I wanted to reply right away even before I downloaded ghostview because the easiest (and perhaps best) way to fix this problem is to fix the installer problem, if possible. Paul Paul, looks like your python isn't being recognized, even though it evidently exists. Under factory conditions, there is a python in /usr/ bin/python, but you probably installed another one (maybe MacPython). Hopefully this /usr/local/bin/python of yours is functional. Assuming it is, you could try the following command before invoking the LyX Install script: defaults write ~/.MacOSX/environment PATH $PATH This will hopefully tell the installer what your shell path settings are, and that you want it to find /usr/local/bin/python as you do in the Terminal. That way you can (with luck) get the standard installation process to go through before trying LyX. Regards, Jens
Re: how to configure LyX
On Fri, 24 Nov 2006 16:51:23 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: Paul, looks like your python isn't being recognized, even though it evidently exists. Under factory conditions, there is a python in /usr/ bin/python, but you probably installed another one (maybe MacPython). Hopefully this /usr/local/bin/python of yours is functional. Assuming it is, you could try the following command before invoking the LyX Install script: defaults write ~/.MacOSX/environment PATH $PATH This didn't work, maybe because I had a broken link in /usr/bin/python pointing to a non-existent link. When I got rid of the broken link and created a link to the right location, I was able to get the installer to run. I did get a red x next to preview, indicating that the right preview is not working? At any rate, I now have a working version of LyX. Thanks! Paul
Re: error when installing on Mac OS X (3.9) python not found
On Wed, 22 Nov 2006 11:00:37 -0500 Cynthia Johnson [EMAIL PROTECTED] wrote: When I try to install LyX on Mac OS X by using the LyX installer, I get the following error message: sh: line 1: python: command not found (127) From the terminal I type: which python /usr/local/bin/python which latex /usr/TeX/bin/powerpc-darwin/latex which pdflatex /usr/TeX/bin/powerpc-darwin//pdflatex When I try to run LyX without using the installer, it cannot find my home TeX directory, and hence I cannot user the view option. I have added the path to the preferences and reconfigured LyX, but that does not work. Can anyone help me here? This is a bit frustrating to get no resposne. I can fix the sh script if someone could just send me it. The problem is that I can't open the sh script itself because because it is embedded in a [EMAIL PROTECTED] applescript. Likewise, I could do manuaully what the sh script does if someone just tells me what that is. I will start another thread on the third possiblity, which is simply configuring LyX itslef. Paul
how to configure LyX
The LyX installation on a Mac OS running 3.9 is not configured properly, and I think to confiugre it should be easy. (I was not able to install LyX using the installer because of problems with the script; I started another thread on this problem, but no one can seem to answer it.) When I open up the view menu, I cannot update my file. That is, I cannot get LyX to convert it automatically to PDF of DVI. I have added the path to the preferences and reconfigured LyX, but that does not work. My latex binary is in: /usr/TeX/bin/powerpc-darwin/latex So I have added /usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then run the reconfigure commnd. But this does not seem to help. LyX cannot find latex and cannot find my classes. I have looked through the documentation and cannot find anything to help me. Thanks Pal
Re: how to configure LyX
On Fri, 24 Nov 2006 13:30:02 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: since your path is not one of those listed under prerequisites at http://wiki.lyx.org/Mac/Mac#toc4 my first question would be if you have checked that pdflatex, ghostscript and imagemagick work properly outside of LyX. How did you install this TeX (manually or using some installer)? If you're sure that this is a kosher TeX installation, you could create a symbolic link as mentioned in the above link. Okay, I didn't realize I needed ghostview and imagemagic. I am installing them right now. The version is 1.4.3. My TeX installation is kosher in that from the terminal I can type latex document and get a PDF document. I installed it with TeXLive, I believe. path to the preferences - I'm assuming you mean the preferences in the LyX menu, under PATH prefix. Is that correct? Yes, that is correct. To make sure people know which sh script you're talking about, it would probably be good to send the verbatim output from the Console or Terminal command line. I did this in a thread on 2006-11-23. The post is actually from Cynthia Johnson (whose computer I am trying to install this on). In brief, the .sh script stated that python was not found, though I have a working version of python in /usr/local/bin. Thanks for your response. I wanted to reply right away even before I downloaded ghostview because the easiest (and perhaps best) way to fix this problem is to fix the installer problem, if possible. Paul
Re: how to configure LyX
On Fri, 24 Nov 2006 16:51:23 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: Thanks again Jens. I will try this in a bit. In the mean time I wanted to report (in case this is valuable to anyone else), that I was able to reconfigure LyX with some success. What I did is create a soft link in /usr/local/bin to the my executable. I didn't think I had to do this because I added the path in the preferences in LyX, but adding the path didn't work. When I tried to view a document using pdflatex, I got a message stating that /tmp/xxxlyx/xxlyx/myfile.pdf could not be found. I went to the directory and found the file myfile.tex and typed pdflatex myfile.tex Some defaults had to run in pdflatex, as if pdflatex was a first run. Then the document was created. When I went back to LyX and tried to view the document in view, I had success. The only problem I have now is that if I modify the document, I cannot update it. I think this problem is different. On my linux machine you can update PDF documents in the PDF viewer, but I know you can't do this in Mac. Since Mac uses Adobe, the file cannot be updated. So I need to find another viewer like ghostview. I have ghostview installed, but it requires X11 (which is also installed), so I may have to use X11 as my viewer. I will let you know how the installation goes when I change that variable. I could also create a soft link to the place where python is expected, couldn't I? Paul On Nov 24, 2006, at 3:56 PM, Paul Tremblay wrote: On Fri, 24 Nov 2006 13:30:02 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: since your path is not one of those listed under prerequisites at http://wiki.lyx.org/Mac/Mac#toc4 my first question would be if you have checked that pdflatex, ghostscript and imagemagick work properly outside of LyX. How did you install this TeX (manually or using some installer)? If you're sure that this is a kosher TeX installation, you could create a symbolic link as mentioned in the above link. Okay, I didn't realize I needed ghostview and imagemagic. I am installing them right now. The version is 1.4.3. My TeX installation is kosher in that from the terminal I can type latex document and get a PDF document. I installed it with TeXLive, I believe. path to the preferences - I'm assuming you mean the preferences in the LyX menu, under PATH prefix. Is that correct? Yes, that is correct. To make sure people know which sh script you're talking about, it would probably be good to send the verbatim output from the Console or Terminal command line. I did this in a thread on 2006-11-23. The post is actually from Cynthia Johnson (whose computer I am trying to install this on). In brief, the .sh script stated that python was not found, though I have a working version of python in /usr/local/bin. Thanks for your response. I wanted to reply right away even before I downloaded ghostview because the easiest (and perhaps best) way to fix this problem is to fix the installer problem, if possible. Paul Paul, looks like your python isn't being recognized, even though it evidently exists. Under factory conditions, there is a python in /usr/ bin/python, but you probably installed another one (maybe MacPython). Hopefully this /usr/local/bin/python of yours is functional. Assuming it is, you could try the following command before invoking the LyX Install script: defaults write ~/.MacOSX/environment PATH $PATH This will hopefully tell the installer what your shell path settings are, and that you want it to find /usr/local/bin/python as you do in the Terminal. That way you can (with luck) get the standard installation process to go through before trying LyX. Regards, Jens
Re: how to configure LyX
On Fri, 24 Nov 2006 16:51:23 -0800 Jens Noeckel [EMAIL PROTECTED] wrote: Paul, looks like your python isn't being recognized, even though it evidently exists. Under factory conditions, there is a python in /usr/ bin/python, but you probably installed another one (maybe MacPython). Hopefully this /usr/local/bin/python of yours is functional. Assuming it is, you could try the following command before invoking the LyX Install script: defaults write ~/.MacOSX/environment PATH $PATH This didn't work, maybe because I had a broken link in /usr/bin/python pointing to a non-existent link. When I got rid of the broken link and created a link to the right location, I was able to get the installer to run. I did get a red x next to preview, indicating that the right preview is not working? At any rate, I now have a working version of LyX. Thanks! Paul
Re: error when installing on Mac OS X (3.9) python not found
On Wed, 22 Nov 2006 11:00:37 -0500 Cynthia Johnson <[EMAIL PROTECTED]> wrote: > > When I try to install LyX on Mac OS X by using the LyX installer, I > get the following error message: > > sh: line 1: python: command not found (127) > > From the terminal I type: > > which python > > /usr/local/bin/python > > which latex > > /usr/TeX/bin/powerpc-darwin/latex > > which pdflatex > > /usr/TeX/bin/powerpc-darwin//pdflatex > > When I try to run LyX without using the installer, it cannot find my > home TeX directory, and hence I cannot user the view option. I have > added the path to the preferences and reconfigured LyX, but that does > not work. > Can anyone help me here? This is a bit frustrating to get no resposne. I can fix the sh script if someone could just send me it. The problem is that I can't open the sh script itself because because it is embedded in a [EMAIL PROTECTED] applescript. Likewise, I could do manuaully what the sh script does if someone just tells me what that is. I will start another thread on the third possiblity, which is simply configuring LyX itslef. Paul
how to configure LyX
The LyX installation on a Mac OS running 3.9 is not configured properly, and I think to confiugre it should be easy. (I was not able to install LyX using the installer because of problems with the script; I started another thread on this problem, but no one can seem to answer it.) When I open up the view menu, I cannot update my file. That is, I cannot get LyX to convert it automatically to PDF of DVI. I have added the path to the preferences and reconfigured LyX, but that does not work. My latex binary is in: /usr/TeX/bin/powerpc-darwin/latex So I have added /usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then run the reconfigure commnd. But this does not seem to help. LyX cannot find latex and cannot find my classes. I have looked through the documentation and cannot find anything to help me. Thanks Pal
Re: how to configure LyX
On Fri, 24 Nov 2006 13:30:02 -0800 Jens Noeckel <[EMAIL PROTECTED]> wrote: > since your path is not one of those listed under "prerequisites" at > http://wiki.lyx.org/Mac/Mac#toc4 > my first question would be if you have checked that pdflatex, > ghostscript and imagemagick work properly outside of LyX. How did you > > install this TeX (manually or using some installer)? If you're sure > that this is a kosher TeX installation, you could create a symbolic > link as mentioned in the above link. Okay, I didn't realize I needed ghostview and imagemagic. I am installing them right now. The version is 1.4.3. My TeX installation is "kosher" in that from the terminal I can type "latex " and get a PDF document. I installed it with TeXLive, I believe. > path to the preferences - I'm assuming you mean the preferences in > the LyX menu, under "PATH prefix". Is that correct? Yes, that is correct. > > To make sure people know which sh script you're talking about, it > would probably be good to send the verbatim output from the Console > or Terminal command line. I did this in a thread on 2006-11-23. The post is actually from Cynthia Johnson (whose computer I am trying to install this on). In brief, the .sh script stated that python was not found, though I have a working version of python in /usr/local/bin. Thanks for your response. I wanted to reply right away even before I downloaded ghostview because the easiest (and perhaps best) way to fix this problem is to fix the installer problem, if possible. Paul
Re: how to configure LyX
On Fri, 24 Nov 2006 16:51:23 -0800 Jens Noeckel <[EMAIL PROTECTED]> wrote: Thanks again Jens. I will try this in a bit. In the mean time I wanted to report (in case this is valuable to anyone else), that I was able to reconfigure LyX with some success. What I did is create a soft link in /usr/local/bin to the my executable. I didn't think I had to do this because I added the path in the preferences in LyX, but adding the path didn't work. When I tried to view a document using pdflatex, I got a message stating that /tmp/xxxlyx/xxlyx/myfile.pdf could not be found. I went to the directory and found the file myfile.tex and typed pdflatex myfile.tex Some defaults had to run in pdflatex, as if pdflatex was a first run. Then the document was created. When I went back to LyX and tried to view the document in view, I had success. The only problem I have now is that if I modify the document, I cannot update it. I think this problem is different. On my linux machine you can update PDF documents in the PDF viewer, but I know you can't do this in Mac. Since Mac uses Adobe, the file cannot be updated. So I need to find another viewer like ghostview. I have ghostview installed, but it requires X11 (which is also installed), so I may have to use X11 as my viewer. I will let you know how the installation goes when I change that variable. I could also create a soft link to the place where python is expected, couldn't I? Paul > > On Nov 24, 2006, at 3:56 PM, Paul Tremblay wrote: > > > On Fri, 24 Nov 2006 13:30:02 -0800 > > Jens Noeckel <[EMAIL PROTECTED]> wrote: > > > > > > > >> since your path is not one of those listed under "prerequisites" at > >> http://wiki.lyx.org/Mac/Mac#toc4 > >> my first question would be if you have checked that pdflatex, > >> ghostscript and imagemagick work properly outside of LyX. How did > >you > > >> install this TeX (manually or using some installer)? If you're sure > >> that this is a kosher TeX installation, you could create a symbolic > >> link as mentioned in the above link. > > > > Okay, I didn't realize I needed ghostview and imagemagic. I am > > installing them right now. The version is 1.4.3. My TeX > > installation is > > "kosher" in that from the terminal I can type "latex " > > and get > > a PDF document. I installed it with TeXLive, I believe. > > > >> path to the preferences - I'm assuming you mean the preferences in > >> the LyX menu, under "PATH prefix". Is that correct? > > > > Yes, that is correct. > > > >> > >> To make sure people know which sh script you're talking about, it > >> would probably be good to send the verbatim output from the Console > >> or Terminal command line. > > > > I did this in a thread on 2006-11-23. The post is actually from > > Cynthia > > Johnson (whose computer I am trying to install this on). In brief, > > the .sh script stated that python was not found, though I have a > > working version of python in /usr/local/bin. > > > > Thanks for your response. I wanted to reply right away even before I > > downloaded ghostview because the easiest (and perhaps best) way to > > fix this problem is to fix the installer problem, if possible. > > > > Paul > > > > > > Paul, > > looks like your python isn't being recognized, even though it > evidently exists. Under factory conditions, there is a python in /usr/ > > bin/python, but you probably installed another one (maybe MacPython). > > Hopefully this /usr/local/bin/python of yours is functional. Assuming > > it is, you could try the following command before invoking the LyX > Install script: > > defaults write ~/.MacOSX/environment PATH $PATH > > This will hopefully tell the installer what your shell path settings > are, and that you want it to find /usr/local/bin/python as you do in > the Terminal. > > That way you can (with luck) get the standard installation process to > > go through before trying LyX. > > Regards, > Jens > >
Re: how to configure LyX
On Fri, 24 Nov 2006 16:51:23 -0800 Jens Noeckel <[EMAIL PROTECTED]> wrote: > > > > Paul, > > looks like your python isn't being recognized, even though it > evidently exists. Under factory conditions, there is a python in /usr/ > > bin/python, but you probably installed another one (maybe MacPython). > > Hopefully this /usr/local/bin/python of yours is functional. Assuming > > it is, you could try the following command before invoking the LyX > Install script: > > defaults write ~/.MacOSX/environment PATH $PATH This didn't work, maybe because I had a broken link in /usr/bin/python pointing to a non-existent link. When I got rid of the broken link and created a link to the right location, I was able to get the installer to run. I did get a red x next to preview, indicating that the right preview is not working? At any rate, I now have a working version of LyX. Thanks! Paul
Re: LyX grammar
I strongly second this motion. I understand that the LyX format is changing, but it would still be nice to have some definitive information in front of me. Paul Is the file format for the .lyx files published anywhere? We might want to do our own automatic generation and manipulation of LyX files - so far I've just been going by the examples I can generate and that's gone fairly well, but if we someday want to implement a better parser it would probably be nicer to build up a proper specification from a friendly document instead of just looking through the source, especially with regard to hints as to what might change! -- Mark -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: LyX grammar
I strongly second this motion. I understand that the LyX format is changing, but it would still be nice to have some definitive information in front of me. Paul Is the file format for the .lyx files published anywhere? We might want to do our own automatic generation and manipulation of LyX files - so far I've just been going by the examples I can generate and that's gone fairly well, but if we someday want to implement a better parser it would probably be nicer to build up a proper specification from a friendly document instead of just looking through the source, especially with regard to hints as to what might change! -- Mark -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: LyX grammar
I strongly second this motion. I understand that the LyX format is changing, but it would still be nice to have some definitive information in front of me. Paul > > Is the file format for the .lyx files published anywhere? We might want to > do our own automatic generation and manipulation of LyX files - so far > I've just been going by the examples I can generate and that's gone fairly > well, but if we someday want to implement a better parser it would > probably be nicer to build up a proper specification from a friendly > document instead of just looking through the source, especially with > regard to hints as to what might change! > > -- Mark -- **** *Paul Tremblay * *[EMAIL PROTECTED]*
Re: difference beween lyx 1.16 and 1.2
On Tue, Dec 24, 2002 at 07:46:28PM +1100, Steven Homolya wrote: Yes there are. After I've discovered I prefer lyx-1.1.* to lyx-1.2.*, I've also discovered that I can not downgrade easily because lyx-1.1.* can't read lyx-1.2.* docs. Since there is a difference, I guess I will have to look at some LyX 1.2* docs. I don't want to install 1.2 yet on my system, because installing anything on linux can take a week. LyX is running real nice for me right now. However, I will write an XML file that describes both older and newer versions of LyX. There will be just one XML file. For example: lyx preamble margins left=.5 right=1 top=1 bottom=1 unit=in/ packages package name=geometry option1= option2=/ /packages /preamble body para layout=StandardJust an example of a LyX document expressed in XML format. Here is an example of an emempasized phrase/em. /para /body /lyx This is the part I will need help with. First, I need to know all of the necessary elements of a LyX document. For example, every paragraph in LyX has to have a layout associated with it. Every table must have certain information about the rows. What else is in a LyX document? Then I will need some help on how each element actually looks in LyX. For example, para layout=Standard text/para gets translated to: \layout text My wish is that future versions of LyX will actually store the information of a document in XML with full UTF-8 encoding. The lack of XML support in LyX right now is keeping me from completely embracing it. I have written a backward converter which handles paragraph styles I use (i.e. it won't work for everyone). Write to me if you want to check it out (Do so privately, this list already knows about it and has more than enough traffic). As far as I know lyx 1.3 also has its own non-backward-compatible format. Sure, send this along so at least I can get an idea. What about conversion to tex instead. If you use reasonably standard/simple (?) tex, lyx should be able to import it. Some free word processors can export in tex format, though not very well... [snip] Ted is _very_ good for reading/writing/editing rtf files; much better than staroffice or openoffice, or any other linux office/word-proc. package I've tried. You should check out what formats it can export. The problems with using TeX as a converter is that it doesn't preserve your styles. For example, you might write a 500 page book in Word. You have given this document structure by applying styles to every single paragraph. These styles are analogous to the layouts in LyX. If you convert the document to TeX and then import it into LyX, you lose your styles. In order to apply the styles to your document, you have to manually pull down the layout menu for every one of your 500 paragraphs. I assume the same limitations apply to Ted. I have used Ted a few times. I believe it has very limited RTF support, becuase it only converts those RTF elements that Ted itself can use. Since Ted doesn't have stylesheets, it does not convert styles. My script gives structure to virtually every element in RTF. sounds v. ambitious. Good luck! I hope not too ambitious! Making a basic conversion is the matter of a few afternoon's work. Even such a basic conversion would save people who have written structured documents in Word the tedium of cutting and pasting, or pulling down styles. Steve -- Steven Homolya School of Physics and Materials Engineering Monash University VIC 3800 Australia Tel: INT +61 3 9905 3694 Fax: INT +61 3 9905 3637 -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: difference beween lyx 1.16 and 1.2
On Tue, Dec 24, 2002 at 07:46:28PM +1100, Steven Homolya wrote: Yes there are. After I've discovered I prefer lyx-1.1.* to lyx-1.2.*, I've also discovered that I can not downgrade easily because lyx-1.1.* can't read lyx-1.2.* docs. Since there is a difference, I guess I will have to look at some LyX 1.2* docs. I don't want to install 1.2 yet on my system, because installing anything on linux can take a week. LyX is running real nice for me right now. However, I will write an XML file that describes both older and newer versions of LyX. There will be just one XML file. For example: lyx preamble margins left=.5 right=1 top=1 bottom=1 unit=in/ packages package name=geometry option1= option2=/ /packages /preamble body para layout=StandardJust an example of a LyX document expressed in XML format. Here is an example of an emempasized phrase/em. /para /body /lyx This is the part I will need help with. First, I need to know all of the necessary elements of a LyX document. For example, every paragraph in LyX has to have a layout associated with it. Every table must have certain information about the rows. What else is in a LyX document? Then I will need some help on how each element actually looks in LyX. For example, para layout=Standard text/para gets translated to: \layout text My wish is that future versions of LyX will actually store the information of a document in XML with full UTF-8 encoding. The lack of XML support in LyX right now is keeping me from completely embracing it. I have written a backward converter which handles paragraph styles I use (i.e. it won't work for everyone). Write to me if you want to check it out (Do so privately, this list already knows about it and has more than enough traffic). As far as I know lyx 1.3 also has its own non-backward-compatible format. Sure, send this along so at least I can get an idea. What about conversion to tex instead. If you use reasonably standard/simple (?) tex, lyx should be able to import it. Some free word processors can export in tex format, though not very well... [snip] Ted is _very_ good for reading/writing/editing rtf files; much better than staroffice or openoffice, or any other linux office/word-proc. package I've tried. You should check out what formats it can export. The problems with using TeX as a converter is that it doesn't preserve your styles. For example, you might write a 500 page book in Word. You have given this document structure by applying styles to every single paragraph. These styles are analogous to the layouts in LyX. If you convert the document to TeX and then import it into LyX, you lose your styles. In order to apply the styles to your document, you have to manually pull down the layout menu for every one of your 500 paragraphs. I assume the same limitations apply to Ted. I have used Ted a few times. I believe it has very limited RTF support, becuase it only converts those RTF elements that Ted itself can use. Since Ted doesn't have stylesheets, it does not convert styles. My script gives structure to virtually every element in RTF. sounds v. ambitious. Good luck! I hope not too ambitious! Making a basic conversion is the matter of a few afternoon's work. Even such a basic conversion would save people who have written structured documents in Word the tedium of cutting and pasting, or pulling down styles. Steve -- Steven Homolya School of Physics and Materials Engineering Monash University VIC 3800 Australia Tel: INT +61 3 9905 3694 Fax: INT +61 3 9905 3637 -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: difference beween lyx 1.16 and 1.2
On Tue, Dec 24, 2002 at 07:46:28PM +1100, Steven Homolya wrote: > > > Yes there are. After I've discovered I prefer lyx-1.1.* to lyx-1.2.*, I've > also discovered that I can not downgrade easily because lyx-1.1.* can't read > lyx-1.2.* docs. Since there is a difference, I guess I will have to look at some LyX 1.2* docs. I don't want to install 1.2 yet on my system, because installing anything on linux can take a week. LyX is running real nice for me right now. However, I will write an XML file that describes both older and newer versions of LyX. There will be just one XML file. For example: Just an example of a LyX document expressed in XML format. Here is an example of an empasized phrase. This is the part I will need help with. First, I need to know all of the necessary elements of a LyX document. For example, every paragraph in LyX has to have a layout associated with it. Every table must have certain information about the rows. What else is in a LyX document? Then I will need some help on how each element actually looks in LyX. For example, "para layout="Standard"> text gets translated to: \layout text My wish is that future versions of LyX will actually store the information of a document in XML with full UTF-8 encoding. The lack of XML support in LyX right now is keeping me from completely embracing it. >I have written a backward converter which handles paragraph > styles I use (i.e. it won't work for everyone). Write to me if you want to > check it out (Do so privately, this list already knows about it and has more > than enough traffic). As far as I know lyx 1.3 also has its own > non-backward-compatible format. Sure, send this along so at least I can get an idea. > > What about conversion to tex instead. If you use reasonably standard/simple > (?) tex, lyx should be able to import it. Some free word processors can > export in tex format, though not very well... [snip] > Ted is _very_ good for reading/writing/editing rtf files; much better than > staroffice or openoffice, or any other linux office/word-proc. package I've > tried. You should check out what formats it can export. The problems with using TeX as a converter is that it doesn't preserve your styles. For example, you might write a 500 page book in Word. You have given this document structure by applying styles to every single paragraph. These styles are analogous to the layouts in LyX. If you convert the document to TeX and then import it into LyX, you lose your styles. In order to apply the styles to your document, you have to manually pull down the layout menu for every one of your 500 paragraphs. I assume the same limitations apply to Ted. I have used Ted a few times. I believe it has very limited RTF support, becuase it only converts those RTF elements that Ted itself can use. Since Ted doesn't have stylesheets, it does not convert styles. My script gives structure to virtually every element in RTF. > > sounds v. ambitious. Good luck! I hope not too ambitious! Making a basic conversion is the matter of a few afternoon's work. Even such a basic conversion would save people who have written structured documents in Word the tedium of cutting and pasting, or pulling down styles. > > Steve > > -- > Steven Homolya > School of Physics and Materials Engineering > Monash University VIC 3800 > Australia > Tel: INT +61 3 9905 3694 > Fax: INT +61 3 9905 3637 -- *Paul Tremblay * *[EMAIL PROTECTED]*
difference beween lyx 1.16 and 1.2
I am in the process of writing a converter to convert Word RTF documents to LyX. When I brought this topic up before, I was told that the form of the .lyx files is evolving. Are there great differences between version 1.16 (which I use) and 1.2? I have done the most difficult part of the work, converting RTF to valid XML. The script that performs this task will soon be available on Sourceforge. I am working with someone who is writing an xslt stylesheet to convert the XML to sdocbook. It shouldn't be too dificult to also write an xslt style sheet to convert the XML to LyX. My script puts a description of all the styles at the top of the document. paragraph_style style=for description space_before=12 left_indent=12/ All of these styles can be converted to layouts in a layout file. In this way, a user does not lose his/her styles. As long as the user moves the layout file to the right directory and reconfigures LyX, s/he will be able to have pull-down files that correspond to the pull-down styles available in Word for the same document. Anyone want to help me with this? I mostly need help with the LyX format. It just occurred to me that I am starting this thread right before the holidays. I will check my email once before I leave tomorrow evening (the 24th) and then be gone until the 30th. If anyone has a burning need to reach me before then (!) the email is: [EMAIL PROTECTED] It is probably better to discuss this on the mailing list. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*
difference beween lyx 1.16 and 1.2
I am in the process of writing a converter to convert Word RTF documents to LyX. When I brought this topic up before, I was told that the form of the .lyx files is evolving. Are there great differences between version 1.16 (which I use) and 1.2? I have done the most difficult part of the work, converting RTF to valid XML. The script that performs this task will soon be available on Sourceforge. I am working with someone who is writing an xslt stylesheet to convert the XML to sdocbook. It shouldn't be too dificult to also write an xslt style sheet to convert the XML to LyX. My script puts a description of all the styles at the top of the document. paragraph_style style=for description space_before=12 left_indent=12/ All of these styles can be converted to layouts in a layout file. In this way, a user does not lose his/her styles. As long as the user moves the layout file to the right directory and reconfigures LyX, s/he will be able to have pull-down files that correspond to the pull-down styles available in Word for the same document. Anyone want to help me with this? I mostly need help with the LyX format. It just occurred to me that I am starting this thread right before the holidays. I will check my email once before I leave tomorrow evening (the 24th) and then be gone until the 30th. If anyone has a burning need to reach me before then (!) the email is: [EMAIL PROTECTED] It is probably better to discuss this on the mailing list. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*
difference beween lyx 1.16 and 1.2
I am in the process of writing a converter to convert Word RTF documents to LyX. When I brought this topic up before, I was told that the form of the .lyx files is evolving. Are there great differences between version 1.16 (which I use) and 1.2? I have done the most difficult part of the work, converting RTF to valid XML. The script that performs this task will soon be available on Sourceforge. I am working with someone who is writing an xslt stylesheet to convert the XML to sdocbook. It shouldn't be too dificult to also write an xslt style sheet to convert the XML to LyX. My script puts a description of all the styles at the top of the document. All of these styles can be converted to layouts in a layout file. In this way, a user does not lose his/her styles. As long as the user moves the layout file to the right directory and reconfigures LyX, s/he will be able to have pull-down files that correspond to the pull-down styles available in Word for the same document. Anyone want to help me with this? I mostly need help with the LyX format. It just occurred to me that I am starting this thread right before the holidays. I will check my email once before I leave tomorrow evening (the 24th) and then be gone until the 30th. If anyone has a burning need to reach me before then (!) the email is: [EMAIL PROTECTED] It is probably better to discuss this on the mailing list. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: How to write layout files?
On Sun, Dec 22, 2002 at 05:35:09PM +0530, Ananda Murthy R S wrote: Can any body tell me where we can get information regarding writing layout files for LyX 1.2.2? Thanks for helping me. Robin gave you one pointer. Also look at http://www.troubleshooters.com/lpm/200210/200210.htm#_ExpandingYourLayoutFile This link provides you with very clear directions. (Thanks Steve!) I think it would help if there was even a longer document or tutorial explaining the fine points of writing your own styles. Unfortunately, I don't think I'll have time to write it. Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: How to write layout files?
On Sun, Dec 22, 2002 at 05:35:09PM +0530, Ananda Murthy R S wrote: Can any body tell me where we can get information regarding writing layout files for LyX 1.2.2? Thanks for helping me. Robin gave you one pointer. Also look at http://www.troubleshooters.com/lpm/200210/200210.htm#_ExpandingYourLayoutFile This link provides you with very clear directions. (Thanks Steve!) I think it would help if there was even a longer document or tutorial explaining the fine points of writing your own styles. Unfortunately, I don't think I'll have time to write it. Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: How to write layout files?
On Sun, Dec 22, 2002 at 05:35:09PM +0530, Ananda Murthy R S wrote: > Can any body tell me where we can get information regarding writing > layout files for LyX 1.2.2? > > Thanks for helping me. > Robin gave you one pointer. Also look at http://www.troubleshooters.com/lpm/200210/200210.htm#_ExpandingYourLayoutFile This link provides you with very clear directions. (Thanks Steve!) I think it would help if there was even a longer document or tutorial explaining the fine points of writing your own styles. Unfortunately, I don't think I'll have time to write it. Paul -- **** *Paul Tremblay * *[EMAIL PROTECTED]*
Re: Question about using placeholders in lyx
Here is one way to do it. Go to the beginning of your document. Hit the TeX menu button. As you type, you should see that the text is in red. Now type this line: \providecommand{\release}{December 12, 2002} This is the equivalent of an entity in XML. The entity name in XML is replacesd with a user-defined name in LaTeX. In this case it is \release. The text that replaces the command is December 12, 2002. Now whenever you want to include the entity in the text of your document, hit the TeX menu button, and type: \release When you view your document as dvi or pdf, you will see that \release gets replaced with the date. As with entities in XML, you can use as many commands as you like with LyX. Hope this helps Paul On Wed, Dec 11, 2002 at 05:42:05PM +0100, Rémi Cohen-Scali wrote: Date: Wed, 11 Dec 2002 17:42:05 +0100 From: Rémi Cohen-Scali [EMAIL PROTECTED] User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 To: [EMAIL PROTECTED] Subject: Question about using placeholders in lyx Hye I have a question about a feature I need, that I didn't found in LyX, but not sure is it exists or not (my laTeX knowledge is really limited). I'am writing some docs for a products and I 'd like to use kind of placeholder or variable predefined that I could change when the product changes (ex. version, release name or short release name, ... this sort of stuff). The target format is docbook and I have some entities defined for this purpose (release;, release-short;) that I need to use. Did one of you already use such a feature and could help me ? Thanks for any help ... -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: Copyright symbol?
On Thu, Dec 12, 2002 at 10:53:13AM +1030, Paul Medwell wrote: I have a very similar question but instead of a C inside a circle, I would like to add an R inside a circle (for registered). I think that someone else on this mailing list answered the question better than I did. That person said to type the symbol in directly. I don't know what kind of operating system you use, but if you press a certain combination of keys and see the registered symbol, LyX should produce this symbol in your dvi file. However, if this doesn't work (I coldn't get any special symbols to work on my keyboard), then use the same exact method you used to produce the copyright symbol. But instead of typing \copyright, type: \textregistered You should see this text in all red. Paul Cheers Paul Praedor Atrebates wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am finishing up my thesis and have to add a copyright page which happens to use the C inside a circle copyright symbol. Does lyx/latex have such a symbol available? praedor -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE98Nu+mkm5RO1gX9cRAvs4AJ9RfI8LTaxm1XkRqljLyiavkksEzACgtfK7 zTUOsVbZKrWGGezBRARKBZ4= =WbPg -END PGP SIGNATURE- -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: Question about using placeholders in lyx
Here is one way to do it. Go to the beginning of your document. Hit the TeX menu button. As you type, you should see that the text is in red. Now type this line: \providecommand{\release}{December 12, 2002} This is the equivalent of an entity in XML. The entity name in XML is replacesd with a user-defined name in LaTeX. In this case it is \release. The text that replaces the command is December 12, 2002. Now whenever you want to include the entity in the text of your document, hit the TeX menu button, and type: \release When you view your document as dvi or pdf, you will see that \release gets replaced with the date. As with entities in XML, you can use as many commands as you like with LyX. Hope this helps Paul On Wed, Dec 11, 2002 at 05:42:05PM +0100, Rémi Cohen-Scali wrote: Date: Wed, 11 Dec 2002 17:42:05 +0100 From: Rémi Cohen-Scali [EMAIL PROTECTED] User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 To: [EMAIL PROTECTED] Subject: Question about using placeholders in lyx Hye I have a question about a feature I need, that I didn't found in LyX, but not sure is it exists or not (my laTeX knowledge is really limited). I'am writing some docs for a products and I 'd like to use kind of placeholder or variable predefined that I could change when the product changes (ex. version, release name or short release name, ... this sort of stuff). The target format is docbook and I have some entities defined for this purpose (release;, release-short;) that I need to use. Did one of you already use such a feature and could help me ? Thanks for any help ... -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: Copyright symbol?
On Thu, Dec 12, 2002 at 10:53:13AM +1030, Paul Medwell wrote: I have a very similar question but instead of a C inside a circle, I would like to add an R inside a circle (for registered). I think that someone else on this mailing list answered the question better than I did. That person said to type the symbol in directly. I don't know what kind of operating system you use, but if you press a certain combination of keys and see the registered symbol, LyX should produce this symbol in your dvi file. However, if this doesn't work (I coldn't get any special symbols to work on my keyboard), then use the same exact method you used to produce the copyright symbol. But instead of typing \copyright, type: \textregistered You should see this text in all red. Paul Cheers Paul Praedor Atrebates wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am finishing up my thesis and have to add a copyright page which happens to use the C inside a circle copyright symbol. Does lyx/latex have such a symbol available? praedor -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE98Nu+mkm5RO1gX9cRAvs4AJ9RfI8LTaxm1XkRqljLyiavkksEzACgtfK7 zTUOsVbZKrWGGezBRARKBZ4= =WbPg -END PGP SIGNATURE- -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: Question about using placeholders in lyx
Here is one way to do it. Go to the beginning of your document. Hit the TeX menu button. As you type, you should see that the text is in red. Now type this line: \providecommand{\release}{December 12, 2002} This is the equivalent of an entity in XML. The entity name in XML is replacesd with a user-defined name in LaTeX. In this case it is \release. The text that replaces the command is "December 12, 2002". Now whenever you want to include the entity in the text of your document, hit the TeX menu button, and type: \release When you view your document as dvi or pdf, you will see that \release gets replaced with the date. As with entities in XML, you can use as many commands as you like with LyX. Hope this helps Paul On Wed, Dec 11, 2002 at 05:42:05PM +0100, Rémi Cohen-Scali wrote: > Date: Wed, 11 Dec 2002 17:42:05 +0100 > From: Rémi Cohen-Scali <[EMAIL PROTECTED]> > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 > To: [EMAIL PROTECTED] > Subject: Question about using placeholders in lyx > > Hye > > I have a question about a feature I need, that I didn't found in LyX, > but not sure is it exists or not (my laTeX knowledge is really limited). > I'am writing some docs for a products and I 'd like to use kind of > placeholder or variable predefined that I could change when the product > changes (ex. version, release name or short release name, ... this sort > of stuff). > The target format is docbook and I have some entities defined for this > purpose (, ) that I need to use. > Did one of you already use such a feature and could help me ? > > Thanks for any help ... -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: Copyright symbol?
On Thu, Dec 12, 2002 at 10:53:13AM +1030, Paul Medwell wrote: > > I have a very similar question but instead of a C inside a circle, I > would like to add an R inside a circle (for registered). > I think that someone else on this mailing list answered the question better than I did. That person said to type the symbol in directly. I don't know what kind of operating system you use, but if you press a certain combination of keys and see the registered symbol, LyX should produce this symbol in your dvi file. However, if this doesn't work (I coldn't get any special symbols to work on my keyboard), then use the same exact method you used to produce the copyright symbol. But instead of typing \copyright, type: \textregistered You should see this text in all red. Paul > Cheers > Paul > > Praedor Atrebates wrote: > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > > >I am finishing up my thesis and have to add a copyright page which happens > >to use the C inside a circle copyright symbol. Does lyx/latex have such a > >symbol available? > > > >praedor > >-BEGIN PGP SIGNATURE- > >Version: GnuPG v1.0.6 (GNU/Linux) > >Comment: For info see http://www.gnupg.org > > > >iD8DBQE98Nu+mkm5RO1gX9cRAvs4AJ9RfI8LTaxm1XkRqljLyiavkksEzACgtfK7 > >zTUOsVbZKrWGGezBRARKBZ4= > >=WbPg > >-END PGP SIGNATURE- > > > > -- *Paul Tremblay * *[EMAIL PROTECTED]*
Re: pdf won't open on other platform
On Sat, Dec 07, 2002 at 02:13:21PM -0500, rab wrote: What e-mail program are you using? I have found that Mozilla 1.0.1 (1.0.1-26 I386 rpm for Red Hat) corrupts outgoing Excel .xls spreadsheet files. Although the fact that they can be read on the Mac may point to a different problem. Try zipping the file and then sending. This works for me until this bug gets fixed. I am using Mutt 1.3x, on a linux box running Mandrake. I an unsure in the ways of Windows. Can they read zipped files? Can I use the gunzip program that comes with my Mandrake? Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]*