Re: linguistics module missing
thank you, finally I managed. somehow i managed to completely get my installation stuck, so I reinstalled (with the alternative installer), updated, configured, went to mikeTek package manager and installed specifically the convington, I just played around - most of the documentation concerns Lyx, I didn't understand exactly how to add packages and why wouldn't they be added and installed on demand, yes, you're right, it's a GUI for latex. but I don't think I found in the wiki explicit instructions how to add to mikeTek or install, you know?.. but maybe i wasn't looking hard enough. thank you for your support! 2009/12/4 Maria Gouskova gousk...@gmail.com still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? The linguistics module manual (LyXHelpSpecific ManualsLinguistics Manual) lists the extra packages required for the module, and Covington is among them. I think the key thing to keep in mind here is that LyX is just a gui for LaTeX--even though it is now pretty sophisticated, it relies on the LaTeX distribution for certain functions. You should also have a look at the wiki page: http://wiki.lyx.org/LyX/LinguistLyX . it lists recommended packages that aren't always included in default installations. Maria -- Ces cloches parlaient d’heureuses années, et, dans le grand bois, semblaient reverdir les feuilles fanées, des jours d’autrefois.
Re: Insets and Options (or how do I use todonotes effectively)
Alex Simma wrote: I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. Glad to hear that. I do not use it myself, so feedback and requests are appreciated. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? Unless I have overlooked something, this is not yet possible, unfortunately. The InsetLayout does not know OptionalArgs. So the only solution now is the one you have chosen. Jürgen
Re: disabling math toolbar
Uwe Stöhr wrote: Can you please open a regression bug report so that Abdel won't forget to fix this? this is now: http://www.lyx.org/trac/ticket/6364 pavel
Re: crashes with templates
humanengr wrote: Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/user name/Library/Application Support/LyX-1.6/templates. Advice? upgrade to 1.6.4.2 ? pavel
Re: Lyx is messing with my PNG images.
william.croc...@analog.com wrote: Hello: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. Apparently, as part of the exporting process, lyx processes the PNG file and produces a new PNG file which is referenced in the html. Which exporter are you using ? If you are using elyxer, which version ? The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. The processed image appears to have been scaled up a little, but I did not specify any scaling as part of the graphics insert. For png/jpeg, you can simply replace the distorted files with the new ones. They should have same names, so you needn't edit the HTML. If you are using elyxer: There has been many changes in the way elyxer handles figures in the last month. Try the latest version (should be 0.37) and try 0.34 (this one is not messing with images for sure). The most simple way is to download the archive from https://savannah.nongnu.org/files/?group=elyxer and simply copy the elyxer.py file in it to the LyX script folder. (on Windows, it's something like: C:\Program Files\LyX 1.6.4\Resources\scripts ). Then reconfigure, quit LyX, reopen LyX, try to export. Perhaps you'll find one that will suit you. Why does lyx mess with my PNG? I'm using version 1.6.4 Best regards, Olivier
Re: Problem with table format
On Dec 3, 2009, at 9:32 PM, bur...@caltech.edu bur...@caltech.edu wrote: I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Specifically, I get part of an extra cell attached to the bottom-left corner of the table I create. The partial extra cell does not exist in the table I created in the Lyx document itself, it only exists in the pdf or dvi file I generate from it. Any assistance would be greatly appreciated in helping me determine what I am doing wrong. It might help if you post a simple example illustrating the problem.
Re: Lyx is messing with my PNG images.
william.croc...@analog.com schrieb: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. ... The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. This is most probably a problem with your version of ImageMagick. To fix this, - wait for the next LyX release (LyX 1.6.5 will be available during this weekend) - uninstall LyX 1.6.4 _completely_ - check if Imagemagick is now still in the list of installed programs in Windows. If so, uninstall it. - open an Internet connection and reinstall LyX using the alternative LyX 1.6.5 for Windows installer This way you get the latest version of ImageMagick and a new LyX-HTML converter. This converter is called eLyXer and works much more stable than tex4ht converter that is the default on in LyX 1.6.4. regards Uwe
Re: Problem with table format
bur...@caltech.edu schrieb: I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Can you please provide a _small_ LyX example file to be able to have a closer look? regards Uwe
Re: Lyx is messing with my PNG images.
The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. This is most probably a problem with your version of ImageMagick. To fix this, - wait for the next LyX release (LyX 1.6.5 will be available during this weekend) - uninstall LyX 1.6.4 _completely_ - check if Imagemagick is now still in the list of installed programs in Windows. If so, uninstall it. - open an Internet connection and reinstall LyX using the alternative LyX 1.6.5 for Windows installer This way you get the latest version of ImageMagick and a new LyX-HTML converter.This converter is called eLyXer and works much more stable than tex4ht converter that is the default on in LyX 1.6.4. I should have mentioned that I am running on Linux (RedHat4.) Below is all of the chatter which is emitted during the export/HTML process. I see use of latex2html, perl scripts to interrogate the image size and Generating postscript images using dvips. Is this the intended process ? Thanks for your help. Bill --- Export chatter -- This is jLaTeX2HTML Version 2002-2-1 (1.70) JA patch-2.0 by Kenshi Muto, Debian Project. Original LaTeX2HTML Version 2002-2-1 (1.70) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. Revised and extended by: Marcus Hennecke, Ross Moore, Herb Swan and others ...producing markup for HTML version 3.2 Extension: loading /usr/share/latex2html/versions/latin1.pl HTML version: loading /usr/share/latex2html/versions/html3_2.pl *** processing declarations *** OPENING /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0/newfile1.tex Cannot create directory ./: File exists, reusing it. Note: Working directory is /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0 Note: Images will be generated in /tmp/l2h24097 texexpand V2002-2-1 (Revision 1.11) Loading /usr/share/latex2html/styles/texdefs.perl... Package: loading /usr/share/latex2html/styles/article.perl Warning: No implementation found for option: `english' for `article' package Warning: No implementation found for option: `T1' for `fontenc' package Package: loading /usr/share/latex2html/styles/inputenc.perl Loading /usr/share/latex2html/versions/latin9.pl Package: loading /usr/share/latex2html/styles/graphixx.perl Package: loading /usr/share/latex2html/styles/graphics-support.perl Package: loading /usr/share/latex2html/styles/getimagesize.perl Package: loading /usr/share/latex2html/styles/babel.perl Extension: loading /usr/share/latex2html/versions/lang.pl Reading ... %,++ @@ Reading aux file: /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0/newfile1.aux ... Processing macros ...++ Translating ... 0/0:top of newfile1: for newfile1.html *** translating preamble *** Warning: No implementation found for option: `english' for `article' package . Warning: No implementation found for package: fontenc.. Warning: No implementation found for package: graphicx.. *** preamble done *** ;;. Writing image file ... This is TeX, Version 3.14159 (Web2C 7.4.5) (./images.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. *** processing 1 images *** Generating postscript images using dvips ... This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2009.12.04:1036' - /tmp/l2h24097/image (- /tmp/l2h24097/image001) tex.proalt-rule.protexc.prospecial.pro color.pro[10_home_whc_lintel_r10_images_24_cut.eps] Converting image #1 Doing section links *** Adding document-specific styles *** *** WARNINGS *** No implementation found for style `fontenc' No implementation found for style `graphicx' Done.
Re: Marking lines in a Program Listing in Lyx
Steve Litt wrote: I suggest you look at the lyx-code environment. I think it's better for displaying computer programs. The listings environment gives you a whole lot of options, including syntax formatting for a number of languages, that you wouldn't have (or would have to fake manually) in lyx-code. /Paul
Problem with table format
I can see how to respond to the two questions regarding my original post, but I don't see how to respond and also include attachments as requested so my apologies for starting a new thread. Here is the lyx document and also the resulting pdf document. Sincerely, Rick tables_test.lyx Description: Binary data tables_test.pdf Description: Adobe PDF document
Re: Problem with table format
burnes wrote: I can see how to respond to the two questions regarding my original post, but I don't see how to respond and also include attachments as requested so my apologies for starting a new thread. In any case this comes from the class. Switching to article fixes the issue. It might be some APA-specific trick. Jürgen
Trouble with View PDF (pdflatex)
When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Bruce
Re: Trouble with View PDF (pdflatex)
On 12/04/2009 01:14 PM, Bruce Pourciau wrote: When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Is the single quote the problem? rh
Re: Lyx is messing with my PNG images.
william.croc...@analog.com schrieb: I should have mentioned that I am running on Linux (RedHat4.) Then first have a look if your copy of Imagemagick is a recent one. Below is all of the chatter which is emitted during the export/HTML process. I see use of latex2html, perl scripts to interrogate the image size and Generating postscript images using dvips. latex2html is dead since many years. Better try to use tex4ht. Another option is to use eLyXer: http://www.nongnu.org/elyxer/ This is a simple Python script. To get it working properly you need to wait the two days for LyX 1.6.5. If you still prefer latex2html, you should ask in the forums of RedHat since it seems to be a configuration problem. regards Uwe
Re: Trouble with View PDF (pdflatex)
On Dec 4, 2009, at 12:55 PM, rgheck wrote: On 12/04/2009 01:14 PM, Bruce Pourciau wrote: When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Is the single quote the problem? rh Yes, thank you, Richard. I should have remembered: the same thing happened to me a few years back. Bruce
Re: crashes with templates
Pavel -- thanks; couldn't go to 1.6.4.2 since I haven't gone to snow yet on my MacBook. I've now found a non-template-based doc that crashes lyx 1.6.4.1. Uninstalling lyx and everything tex; re-installing mactex and lyx 1.6.4.1 didn't help. Found a solution for that non-template doc by opening in 1.6.2 (on a G5); eliminating \ensuremath, exporting to tex, importing to 1.6.4.1. However, template docs still cause trouble in 1.6.4.1 on my MacBook -- e.g., I can open a new beamer template maybe 1 time in 10 tries without lyx crashing. Just tried again, successfully opened and closed a beamer template 3 times in row but then lyx crashed after the last close with no other docs open. humanengr wrote: Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/user name/Library/Application Support/LyX-1.6/templates. Advice? upgrade to 1.6.4.2 ? pavel
adding appendix before Bibliography
After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices to come before the bibliography I have added \usepackage[titletoc]{appendix} to the preamble and \begin{appendices} and \end{appendices} but the example file seems to have these commands wrapped in an appendix box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk
plotting with LyX
Hi all, Can someone tell me how do I plot graphs from math formulas in LyX? I have LyX 1.6.4.2 on Ubuntu. I've read there should be support for Octave (for example) but couldn't find which package to install. Thanks a lot, Yoel
Re: plotting with LyX
On Friday 04 December 2009 17:29:20 Yoel Koenka wrote: Hi all, Can someone tell me how do I plot graphs from math formulas in LyX? I have LyX 1.6.4.2 on Ubuntu. I've read there should be support for Octave (for example) but couldn't find which package to install. Thanks a lot, Yoel I usually use Grace (http://plasma-gate.weizmann.ac.il/Grace/). It produces very nice results, is very flexible once you learn it, and is supported transparently by LyX: if you install LyX on a computer with Grace installed, you can use Grace project files as figures directly. Les -- Les Denham --- http://www.hal-pc.org/~ldenham --- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: adding appendix before Bibliography
OK, The appendix box was a red herring as this wasn't what I wanted and removing [titletoc] from the load package line seems to let it work. Graham Graham M Smith wrote: After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices to come before the bibliography I have added \usepackage[titletoc]{appendix} to the preamble and \begin{appendices} and \end{appendices} but the example file seems to have these commands wrapped in an appendix box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk Station Cottage, Station Road Binegar, Somerset BA3 4UQ
Re: linguistics module missing
thank you, finally I managed. somehow i managed to completely get my installation stuck, so I reinstalled (with the alternative installer), updated, configured, went to mikeTek package manager and installed specifically the convington, I just played around - most of the documentation concerns Lyx, I didn't understand exactly how to add packages and why wouldn't they be added and installed on demand, yes, you're right, it's a GUI for latex. but I don't think I found in the wiki explicit instructions how to add to mikeTek or install, you know?.. but maybe i wasn't looking hard enough. thank you for your support! 2009/12/4 Maria Gouskova gousk...@gmail.com still ti doesn't help. what dependency still am I missing? why doesn't it come with the installer if the linguistic module is supposed to be supported? The linguistics module manual (LyXHelpSpecific ManualsLinguistics Manual) lists the extra packages required for the module, and Covington is among them. I think the key thing to keep in mind here is that LyX is just a gui for LaTeX--even though it is now pretty sophisticated, it relies on the LaTeX distribution for certain functions. You should also have a look at the wiki page: http://wiki.lyx.org/LyX/LinguistLyX . it lists recommended packages that aren't always included in default installations. Maria -- Ces cloches parlaient d’heureuses années, et, dans le grand bois, semblaient reverdir les feuilles fanées, des jours d’autrefois.
Re: Insets and Options (or how do I use todonotes effectively)
Alex Simma wrote: I am writing up my thesis in LyX and want to use the todonotes package. I found Jürgen Spitzmüller's layout and it's very useful. Glad to hear that. I do not use it myself, so feedback and requests are appreciated. The basic way the that the todo package is used is as \todo[options] {todoEntry} and I want to know how to pass options to the todo command. For example, one valid option is 'inline.' I created a second, TODOInline inset where the corresponding LatexName is todo[inline] and that works but does not scale when I want more types of todos with more options. It feels like creating a new inset type for each permutation of options is clearly the wrong way. However, optional-insert does not work with the todo inset. What's the LyX way of having inset commands that accept options? Unless I have overlooked something, this is not yet possible, unfortunately. The InsetLayout does not know OptionalArgs. So the only solution now is the one you have chosen. Jürgen
Re: disabling math toolbar
Uwe Stöhr wrote: Can you please open a regression bug report so that Abdel won't forget to fix this? this is now: http://www.lyx.org/trac/ticket/6364 pavel
Re: crashes with templates
humanengr wrote: Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/user name/Library/Application Support/LyX-1.6/templates. Advice? upgrade to 1.6.4.2 ? pavel
Re: Lyx is messing with my PNG images.
william.croc...@analog.com wrote: Hello: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. Apparently, as part of the exporting process, lyx processes the PNG file and produces a new PNG file which is referenced in the html. Which exporter are you using ? If you are using elyxer, which version ? The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. The processed image appears to have been scaled up a little, but I did not specify any scaling as part of the graphics insert. For png/jpeg, you can simply replace the distorted files with the new ones. They should have same names, so you needn't edit the HTML. If you are using elyxer: There has been many changes in the way elyxer handles figures in the last month. Try the latest version (should be 0.37) and try 0.34 (this one is not messing with images for sure). The most simple way is to download the archive from https://savannah.nongnu.org/files/?group=elyxer and simply copy the elyxer.py file in it to the LyX script folder. (on Windows, it's something like: C:\Program Files\LyX 1.6.4\Resources\scripts ). Then reconfigure, quit LyX, reopen LyX, try to export. Perhaps you'll find one that will suit you. Why does lyx mess with my PNG? I'm using version 1.6.4 Best regards, Olivier
Re: Problem with table format
On Dec 3, 2009, at 9:32 PM, bur...@caltech.edu bur...@caltech.edu wrote: I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Specifically, I get part of an extra cell attached to the bottom-left corner of the table I create. The partial extra cell does not exist in the table I created in the Lyx document itself, it only exists in the pdf or dvi file I generate from it. Any assistance would be greatly appreciated in helping me determine what I am doing wrong. It might help if you post a simple example illustrating the problem.
Re: Lyx is messing with my PNG images.
william.croc...@analog.com schrieb: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. ... The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. This is most probably a problem with your version of ImageMagick. To fix this, - wait for the next LyX release (LyX 1.6.5 will be available during this weekend) - uninstall LyX 1.6.4 _completely_ - check if Imagemagick is now still in the list of installed programs in Windows. If so, uninstall it. - open an Internet connection and reinstall LyX using the alternative LyX 1.6.5 for Windows installer This way you get the latest version of ImageMagick and a new LyX-HTML converter. This converter is called eLyXer and works much more stable than tex4ht converter that is the default on in LyX 1.6.4. regards Uwe
Re: Problem with table format
bur...@caltech.edu schrieb: I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Can you please provide a _small_ LyX example file to be able to have a closer look? regards Uwe
Re: Lyx is messing with my PNG images.
The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. This is most probably a problem with your version of ImageMagick. To fix this, - wait for the next LyX release (LyX 1.6.5 will be available during this weekend) - uninstall LyX 1.6.4 _completely_ - check if Imagemagick is now still in the list of installed programs in Windows. If so, uninstall it. - open an Internet connection and reinstall LyX using the alternative LyX 1.6.5 for Windows installer This way you get the latest version of ImageMagick and a new LyX-HTML converter.This converter is called eLyXer and works much more stable than tex4ht converter that is the default on in LyX 1.6.4. I should have mentioned that I am running on Linux (RedHat4.) Below is all of the chatter which is emitted during the export/HTML process. I see use of latex2html, perl scripts to interrogate the image size and Generating postscript images using dvips. Is this the intended process ? Thanks for your help. Bill --- Export chatter -- This is jLaTeX2HTML Version 2002-2-1 (1.70) JA patch-2.0 by Kenshi Muto, Debian Project. Original LaTeX2HTML Version 2002-2-1 (1.70) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. Revised and extended by: Marcus Hennecke, Ross Moore, Herb Swan and others ...producing markup for HTML version 3.2 Extension: loading /usr/share/latex2html/versions/latin1.pl HTML version: loading /usr/share/latex2html/versions/html3_2.pl *** processing declarations *** OPENING /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0/newfile1.tex Cannot create directory ./: File exists, reusing it. Note: Working directory is /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0 Note: Images will be generated in /tmp/l2h24097 texexpand V2002-2-1 (Revision 1.11) Loading /usr/share/latex2html/styles/texdefs.perl... Package: loading /usr/share/latex2html/styles/article.perl Warning: No implementation found for option: `english' for `article' package Warning: No implementation found for option: `T1' for `fontenc' package Package: loading /usr/share/latex2html/styles/inputenc.perl Loading /usr/share/latex2html/versions/latin9.pl Package: loading /usr/share/latex2html/styles/graphixx.perl Package: loading /usr/share/latex2html/styles/graphics-support.perl Package: loading /usr/share/latex2html/styles/getimagesize.perl Package: loading /usr/share/latex2html/styles/babel.perl Extension: loading /usr/share/latex2html/versions/lang.pl Reading ... %,++ @@ Reading aux file: /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0/newfile1.aux ... Processing macros ...++ Translating ... 0/0:top of newfile1: for newfile1.html *** translating preamble *** Warning: No implementation found for option: `english' for `article' package . Warning: No implementation found for package: fontenc.. Warning: No implementation found for package: graphicx.. *** preamble done *** ;;. Writing image file ... This is TeX, Version 3.14159 (Web2C 7.4.5) (./images.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. *** processing 1 images *** Generating postscript images using dvips ... This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2009.12.04:1036' - /tmp/l2h24097/image (- /tmp/l2h24097/image001) tex.proalt-rule.protexc.prospecial.pro color.pro[10_home_whc_lintel_r10_images_24_cut.eps] Converting image #1 Doing section links *** Adding document-specific styles *** *** WARNINGS *** No implementation found for style `fontenc' No implementation found for style `graphicx' Done.
Re: Marking lines in a Program Listing in Lyx
Steve Litt wrote: I suggest you look at the lyx-code environment. I think it's better for displaying computer programs. The listings environment gives you a whole lot of options, including syntax formatting for a number of languages, that you wouldn't have (or would have to fake manually) in lyx-code. /Paul
Problem with table format
I can see how to respond to the two questions regarding my original post, but I don't see how to respond and also include attachments as requested so my apologies for starting a new thread. Here is the lyx document and also the resulting pdf document. Sincerely, Rick tables_test.lyx Description: Binary data tables_test.pdf Description: Adobe PDF document
Re: Problem with table format
burnes wrote: I can see how to respond to the two questions regarding my original post, but I don't see how to respond and also include attachments as requested so my apologies for starting a new thread. In any case this comes from the class. Switching to article fixes the issue. It might be some APA-specific trick. Jürgen
Trouble with View PDF (pdflatex)
When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Bruce
Re: Trouble with View PDF (pdflatex)
On 12/04/2009 01:14 PM, Bruce Pourciau wrote: When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Is the single quote the problem? rh
Re: Lyx is messing with my PNG images.
william.croc...@analog.com schrieb: I should have mentioned that I am running on Linux (RedHat4.) Then first have a look if your copy of Imagemagick is a recent one. Below is all of the chatter which is emitted during the export/HTML process. I see use of latex2html, perl scripts to interrogate the image size and Generating postscript images using dvips. latex2html is dead since many years. Better try to use tex4ht. Another option is to use eLyXer: http://www.nongnu.org/elyxer/ This is a simple Python script. To get it working properly you need to wait the two days for LyX 1.6.5. If you still prefer latex2html, you should ask in the forums of RedHat since it seems to be a configuration problem. regards Uwe
Re: Trouble with View PDF (pdflatex)
On Dec 4, 2009, at 12:55 PM, rgheck wrote: On 12/04/2009 01:14 PM, Bruce Pourciau wrote: When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Is the single quote the problem? rh Yes, thank you, Richard. I should have remembered: the same thing happened to me a few years back. Bruce
Re: crashes with templates
Pavel -- thanks; couldn't go to 1.6.4.2 since I haven't gone to snow yet on my MacBook. I've now found a non-template-based doc that crashes lyx 1.6.4.1. Uninstalling lyx and everything tex; re-installing mactex and lyx 1.6.4.1 didn't help. Found a solution for that non-template doc by opening in 1.6.2 (on a G5); eliminating \ensuremath, exporting to tex, importing to 1.6.4.1. However, template docs still cause trouble in 1.6.4.1 on my MacBook -- e.g., I can open a new beamer template maybe 1 time in 10 tries without lyx crashing. Just tried again, successfully opened and closed a beamer template 3 times in row but then lyx crashed after the last close with no other docs open. humanengr wrote: Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users/user name/Library/Application Support/LyX-1.6/templates. Advice? upgrade to 1.6.4.2 ? pavel
adding appendix before Bibliography
After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices to come before the bibliography I have added \usepackage[titletoc]{appendix} to the preamble and \begin{appendices} and \end{appendices} but the example file seems to have these commands wrapped in an appendix box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk
plotting with LyX
Hi all, Can someone tell me how do I plot graphs from math formulas in LyX? I have LyX 1.6.4.2 on Ubuntu. I've read there should be support for Octave (for example) but couldn't find which package to install. Thanks a lot, Yoel
Re: plotting with LyX
On Friday 04 December 2009 17:29:20 Yoel Koenka wrote: Hi all, Can someone tell me how do I plot graphs from math formulas in LyX? I have LyX 1.6.4.2 on Ubuntu. I've read there should be support for Octave (for example) but couldn't find which package to install. Thanks a lot, Yoel I usually use Grace (http://plasma-gate.weizmann.ac.il/Grace/). It produces very nice results, is very flexible once you learn it, and is supported transparently by LyX: if you install LyX on a computer with Grace installed, you can use Grace project files as figures directly. Les -- Les Denham --- http://www.hal-pc.org/~ldenham --- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: adding appendix before Bibliography
OK, The appendix box was a red herring as this wasn't what I wanted and removing [titletoc] from the load package line seems to let it work. Graham Graham M Smith wrote: After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices to come before the bibliography I have added \usepackage[titletoc]{appendix} to the preamble and \begin{appendices} and \end{appendices} but the example file seems to have these commands wrapped in an appendix box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk Station Cottage, Station Road Binegar, Somerset BA3 4UQ
Re: linguistics module missing
thank you, finally I managed. somehow i managed to completely get my installation stuck, so I reinstalled (with the alternative installer), updated, configured, went to mikeTek package manager and installed specifically the convington, I just played around - most of the documentation concerns Lyx, I didn't understand exactly how to add packages and why wouldn't they be added and installed on demand, yes, you're right, it's a GUI for latex. but I don't think I found in the wiki explicit instructions how to add to mikeTek or install, you know?.. but maybe i wasn't looking hard enough. thank you for your support! 2009/12/4 Maria Gouskova> > still ti doesn't help. what dependency still am I missing? why > doesn't > it come with the installer if the linguistic module is supposed to be > supported? > > The linguistics module manual (LyX>Help>Specific Manuals>Linguistics > Manual) lists the extra packages required for the module, and > Covington is among them. I think the key thing to keep in mind here is > that LyX is just a gui for LaTeX--even though it is now pretty > sophisticated, it relies on the LaTeX distribution for certain > functions. > > You should also have a look at the wiki page: > http://wiki.lyx.org/LyX/LinguistLyX . it lists recommended packages > that aren't always included in default installations. > > Maria > -- Ces cloches parlaient d’heureuses années, et, dans le grand bois, semblaient reverdir les feuilles fanées, des jours d’autrefois.
Re: Insets and Options (or how do I use todonotes effectively)
Alex Simma wrote: > I am writing up my thesis in LyX and want to use the todonotes > package. I found Jürgen Spitzmüller's layout and it's very useful. Glad to hear that. I do not use it myself, so feedback and requests are appreciated. > The basic way the that the todo package is used is as \todo[options] > {todoEntry} and I want to know how to pass options to the todo > command. For example, one valid option is 'inline.' I created a > second, TODOInline inset where the corresponding LatexName is > todo[inline] and that works but does not scale when I want more types > of todos with more options. It feels like creating a new inset type > for each permutation of options is clearly the wrong way. However, > optional-insert does not work with the todo inset. > > What's the LyX way of having inset commands that accept options? Unless I have overlooked something, this is not yet possible, unfortunately. The InsetLayout does not know OptionalArgs. So the only solution now is the one you have chosen. Jürgen
Re: disabling math toolbar
Uwe Stöhr wrote: > Can you please open a regression bug report so that Abdel won't forget to > fix this? this is now: http://www.lyx.org/trac/ticket/6364 pavel
Re: crashes with templates
humanengr wrote: > Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or > created with Lyx 1.5.x) using any template. Preferences:Path:Document > Templates points to /Users//Library/Application > Support/LyX-1.6/templates. > > Advice? upgrade to 1.6.4.2 ? pavel
Re: Lyx is messing with my PNG images.
william.croc...@analog.com wrote: Hello: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. Apparently, as part of the exporting process, lyx processes the PNG file and produces a new PNG file which is referenced in the html. Which exporter are you using ? If you are using elyxer, which version ? The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. The processed image appears to have been scaled up a little, but I did not specify any scaling as part of the graphics insert. For png/jpeg, you can simply replace the distorted files with the new ones. They should have same names, so you needn't edit the HTML. If you are using elyxer: There has been many changes in the way elyxer handles figures in the last month. Try the latest version (should be 0.37) and try 0.34 (this one is not messing with images for sure). The most simple way is to download the archive from https://savannah.nongnu.org/files/?group=elyxer and simply copy the "elyxer.py" file in it to the LyX script folder. (on Windows, it's something like: C:\Program Files\LyX 1.6.4\Resources\scripts ). Then reconfigure, quit LyX, reopen LyX, try to export. Perhaps you'll find one that will suit you. Why does lyx mess with my PNG? I'm using version 1.6.4 Best regards, Olivier
Re: Problem with table format
On Dec 3, 2009, at 9:32 PM,wrote: > I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a > new user of the Lyx application. I am having problems with the format of > a simple table when I generate a pdf file. Specifically, I get part of an > extra cell attached to the bottom-left corner of the table I create. The > partial extra cell does not exist in the table I created in the Lyx > document itself, it only exists in the pdf or dvi file I generate from it. > Any assistance would be greatly appreciated in helping me determine what > I am doing wrong. > It might help if you post a simple example illustrating the problem.
Re: Lyx is messing with my PNG images.
william.croc...@analog.com schrieb: I Insert/Graphics... a PNG file into my lyx document. I then export the doc to HTML. ... The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. This is most probably a problem with your version of ImageMagick. To fix this, - wait for the next LyX release (LyX 1.6.5 will be available during this weekend) - uninstall LyX 1.6.4 _completely_ - check if Imagemagick is now still in the list of installed programs in Windows. If so, uninstall it. - open an Internet connection and reinstall LyX using the alternative LyX 1.6.5 for Windows installer This way you get the latest version of ImageMagick and a new LyX->HTML converter. This converter is called eLyXer and works much more stable than tex4ht converter that is the default on in LyX 1.6.4. regards Uwe
Re: Problem with table format
bur...@caltech.edu schrieb: I have Lyx version 1.6.4.1 on a mac running os x version 10.5.8 and am a new user of the Lyx application. I am having problems with the format of a simple table when I generate a pdf file. Can you please provide a _small_ LyX example file to be able to have a closer look? regards Uwe
Re: Lyx is messing with my PNG images.
The problem is that, while my original PNG file (cut.png, attached) looks good (and the preview in lyx looks just as good), the processed PNG image (img2.png, attached) does not look good. This is most probably a problem with your version of ImageMagick. To fix this, - wait for the next LyX release (LyX 1.6.5 will be available during this weekend) - uninstall LyX 1.6.4 _completely_ - check if Imagemagick is now still in the list of installed programs in Windows. If so, uninstall it. - open an Internet connection and reinstall LyX using the alternative LyX 1.6.5 for Windows installer This way you get the latest version of ImageMagick and a new LyX->HTML converter.This converter is called eLyXer and works much more stable than tex4ht converter that is the default on in LyX 1.6.4. I should have mentioned that I am running on Linux (RedHat4.) Below is all of the chatter which is emitted during the export/HTML process. I see use of latex2html, perl scripts to interrogate the image size and "Generating postscript images using dvips." Is this the intended process ? Thanks for your help. Bill --- Export chatter -- This is jLaTeX2HTML Version 2002-2-1 (1.70) JA patch-2.0 by Kenshi Muto, Debian Project. Original LaTeX2HTML Version 2002-2-1 (1.70) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. Revised and extended by: Marcus Hennecke, Ross Moore, Herb Swan and others ...producing markup for HTML version 3.2 Extension: loading /usr/share/latex2html/versions/latin1.pl HTML version: loading /usr/share/latex2html/versions/html3_2.pl *** processing declarations *** OPENING /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0/newfile1.tex Cannot create directory ./: File exists, reusing it. Note: Working directory is /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0 Note: Images will be generated in /tmp/l2h24097 texexpand V2002-2-1 (Revision 1.11) Loading /usr/share/latex2html/styles/texdefs.perl... Package: loading /usr/share/latex2html/styles/article.perl Warning: No implementation found for option: `english' for `article' package Warning: No implementation found for option: `T1' for `fontenc' package Package: loading /usr/share/latex2html/styles/inputenc.perl Loading /usr/share/latex2html/versions/latin9.pl Package: loading /usr/share/latex2html/styles/graphixx.perl Package: loading /usr/share/latex2html/styles/graphics-support.perl Package: loading /usr/share/latex2html/styles/getimagesize.perl Package: loading /usr/share/latex2html/styles/babel.perl Extension: loading /usr/share/latex2html/versions/lang.pl Reading ... %,++ @@ Reading aux file: /tmp/lyx_tmpdir.J23478/lyx_tmpbuf0/newfile1.aux ... Processing macros ...++ Translating ... 0/0:top of newfile1: for newfile1.html *** translating preamble *** Warning: No implementation found for option: `english' for `article' package . Warning: No implementation found for package: fontenc.. Warning: No implementation found for package: graphicx.. *** preamble done *** ;;. Writing image file ... This is TeX, Version 3.14159 (Web2C 7.4.5) (./images.tex LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. *** processing 1 images *** Generating postscript images using dvips ... This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2009.12.04:1036' -> /tmp/l2h24097/image (-> /tmp/l2h24097/image001) [1<0_home_whc_lintel_r10_images_24_cut.eps>] Converting image #1 Doing section links *** Adding document-specific styles *** *** WARNINGS *** No implementation found for style `fontenc' No implementation found for style `graphicx' Done.
Re: Marking lines in a Program Listing in Lyx
Steve Litt wrote: I suggest you look at the lyx-code environment. I think it's better for displaying computer programs. The listings environment gives you a whole lot of options, including syntax formatting for a number of languages, that you wouldn't have (or would have to fake manually) in lyx-code. /Paul
Problem with table format
I can see how to respond to the two questions regarding my original post, but I don't see how to respond and also include attachments as requested so my apologies for starting a new thread. Here is the lyx document and also the resulting pdf document. Sincerely, Rick tables_test.lyx Description: Binary data tables_test.pdf Description: Adobe PDF document
Re: Problem with table format
burnes wrote: > I can see how to respond to the two questions regarding my original post, > but I don't see how to respond and also include attachments as requested > so my apologies for starting a new thread. In any case this comes from the class. Switching to article fixes the issue. It might be some APA-specific trick. Jürgen
Trouble with View PDF (pdflatex)
When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Bruce
Re: Trouble with View PDF (pdflatex)
On 12/04/2009 01:14 PM, Bruce Pourciau wrote: When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Is the single quote the problem? rh
Re: Lyx is messing with my PNG images.
william.croc...@analog.com schrieb: I should have mentioned that I am running on Linux (RedHat4.) Then first have a look if your copy of Imagemagick is a recent one. Below is all of the chatter which is emitted during the export/HTML process. I see use of latex2html, perl scripts to interrogate the image size and "Generating postscript images using dvips." latex2html is dead since many years. Better try to use tex4ht. Another option is to use eLyXer: http://www.nongnu.org/elyxer/ This is a simple Python script. To get it working properly you need to wait the two days for LyX 1.6.5. If you still prefer latex2html, you should ask in the forums of RedHat since it seems to be a configuration problem. regards Uwe
Re: Trouble with View PDF (pdflatex)
On Dec 4, 2009, at 12:55 PM, rgheck wrote: On 12/04/2009 01:14 PM, Bruce Pourciau wrote: When I select View PDF (pdflatex) for a document just created (by making changes in an older document and doing Save As), I get this error message: File does not exist: /var/folders/fM/fMVJAuudF3mykCC-YewvpGq6JHA/-Tmp-/lyx_tmpdir.JL1277/ lyx_tmpbuf0/O'HalloranJoe(PhDPhysics).pdf This does not happen with other lyx files. Any help would be appreciated. Is the single quote the problem? rh Yes, thank you, Richard. I should have remembered: the same thing happened to me a few years back. Bruce
Re: crashes with templates
Pavel -- thanks; couldn't go to 1.6.4.2 since I haven't gone to snow yet on my MacBook. I've now found a non-template-based doc that crashes lyx 1.6.4.1. Uninstalling lyx and everything tex; re-installing mactex and lyx 1.6.4.1 didn't help. Found a solution for that non-template doc by opening in 1.6.2 (on a G5); eliminating \ensuremath, exporting to tex, importing to 1.6.4.1. However, template docs still cause trouble in 1.6.4.1 on my MacBook -- e.g., I can open a new beamer template maybe 1 time in 10 tries without lyx crashing. Just tried again, successfully opened and closed a beamer template 3 times in row but then lyx crashed after the last close with no other docs open. humanengr wrote: Lyx 1.6.4.1 on OS X 10.5.8 crashes when opening a document (either new or created with Lyx 1.5.x) using any template. Preferences:Path:Document Templates points to /Users//Library/Application > Support/LyX-1.6/templates. > > Advice? upgrade to 1.6.4.2 ? pavel
adding appendix before Bibliography
After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices to come before the bibliography I have added \usepackage[titletoc]{appendix} to the preamble and \begin{appendices} and \end{appendices} but the example file seems to have these commands wrapped in an "appendix" box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk
plotting with LyX
Hi all, Can someone tell me how do I plot graphs from math formulas in LyX? I have LyX 1.6.4.2 on Ubuntu. I've read there should be support for Octave (for example) but couldn't find which package to install. Thanks a lot, Yoel
Re: plotting with LyX
On Friday 04 December 2009 17:29:20 Yoel Koenka wrote: > Hi all, > Can someone tell me how do I plot graphs from math formulas in LyX? > I have LyX 1.6.4.2 on Ubuntu. > I've read there should be support for Octave (for example) but couldn't > find which package to install. > Thanks a lot, > Yoel > I usually use Grace (http://plasma-gate.weizmann.ac.il/Grace/). It produces very nice results, is very flexible once you learn it, and is supported transparently by LyX: if you install LyX on a computer with Grace installed, you can use Grace project files as figures directly. Les -- Les Denham --- http://www.hal-pc.org/~ldenham --- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: adding appendix before Bibliography
OK, The appendix box was a red herring as this wasn't what I wanted and removing [titletoc] from the load package line seems to let it work. Graham Graham M Smith wrote: After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices to come before the bibliography I have added \usepackage[titletoc]{appendix} to the preamble and \begin{appendices} and \end{appendices} but the example file seems to have these commands wrapped in an "appendix" box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk Station Cottage, Station Road Binegar, Somerset BA3 4UQ