Compiling in the Background
I am using LyX under SuSE Linux, but sometimes under Fedora too. In /both/ installations of LyX, when exporting the document or wishing to view it, LyX freezes until the translation has been completed. I tried to disable that by appending '' to the end of commands under Preference - Converters. While it appears to have the necessary effect on LyX (it benefits from this simple case of multi-threading), the conversion stage jumps to the next command which is opening of the compiled document; it is of course is not ready yet. This causes all sorts of issues, the main one being that one needs to navigate to the output file and open it time after time to get a preview. If there any safe and simple way of continuating document edits while a preview is generated in the background? Many thanks in advance, Roy
Error of \printglossary under LyX win 1 .3.6
Hi, all, The new version of lyx seems not recoginize the tex command \printglossary used for 'nomencl' package. The displayed errors are: Undefined control sequence. \printglossary The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Anyone can give me some suggestion? More thanks.
Re: Lyx 1.3.6 and Debian Sarge, something went wrong again
Micha Feigin wrote: I am testing the 1.3.6 version on debian and I get consistent crashes with one document that contains a lot of math (mostly math) and the text is in hebrew. The problem seems to be in scrolling when preview is active and something speciffic to the document, possibly either the amount of math or the combination with hebrew. Disabling preview solves the problem and another document I have works fine. Could you open a new bug on bugzilla.lyx.org describing the problem. If you can attach a file that crashes, that would be great. -- Angus
Re: Tex Information
Stephen P. Harris wrote: I am not an expert and only wish to address this one issue: The problem is I am not able to assign the .sh files to open with sh.exe which in the minsys folder. Did you follow these Wiki instructions? From the Wiki: LyX can only find programs if the folders of the program executables are listed in the system variable called PATH. After updating the PATH (you need administrator permissions for that) reconfigure LyX again. You shouldn't need to do this in LyX 1.3.6. Instead, modify the path_prefix entry that is stored in you preferences file. It's editable from within LyX using the Edit-Preferences dialog, Path pane. -- Angus
Re: File format extension
Paul A. Rubin wrote: Is the extension field in Edit-Preferences-File formats documented anywhere? I tried changing the extension for a clone of the PDF (pdflatex) format to 'pdf4' (because I was trying to open it in a non-Acrobat viewer, and the files were opening in Acrobat Reader regardless). Turns out this doesn't work, because pdflatex gives the file a .pdf extension regardless. Define a pdf4 format but give it a .pdf extension. Then define a converter to pdf4. -- Angus
Re: Compiling in the Background
Roy Schestowitz wrote: If there any safe and simple way of continuating document edits while a preview is generated in the background? No. This is the number one item on my wish list too. -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? It is possible, but it's a total hack ;-) What I would do is define a new LaTeX-DVI converter, my_latex.sh, containing something like: #! /bin/sh test $# -gt 1 || { echo No .tex file specified! 2 exit 1 } # Strip out the \usepackage{amsmath} line: TMP=tmp.$$ sed '/^ *\\usepackage{amsmath}/d' $1 ${TMP} diff -u $1 ${TMP} mv ${TMP} $1 # Now invoke the latex compiler. latex $@ Note that this script is totally untested. But I hope that it's enough to get you started. Who knows, it might even work perfectly ;-) -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? I have a problem that when using amsmath and hebrew in the same document. babel has to be used before amsmath or else the split environment can not be used. Lyx 1.3.4 didn't try to be too smart and didn't include amsmath if the amsmath checkbox wasn't checked. Lyx 1.3.6 tries to be smart but includes things in the wrong order which makes it impossible to compile the document without messing with the tex file directly. a simple \usepackage{babel} in your preamble should help. Layout-Document-preamble Herbert
Re: Multirow ... no go !
Geoffrey Lloyd wrote: - Original Message - From: Søren O'Neill [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Friday, August 05, 2005 7:36 PM Subject: Multirow ... no go ! I've included two lyx files. One is from the wiki at http://wiki.lyx.org/LyX/Tables called table-,ultirow-lyx and it demonstrates multirow support. That filel comes out as expected in the DVI. The other one is my own lyx table - and it doesnt work as expected, but I cant quite see why not ... Ok this appears to be something to do with the fact that you have set column widths in your table settings. I have delete them all and it works. I have no idea why this makes a difference of how you get your table to show up the way you want it to as it now spans more than the page witdth, but it does allow multicol to work properly! I attach the new file but like I say all I have done is removed the column widths from the table properties box. Geoff Actually, it's not the column widths per se. The problem only occurs when cell contents wrap around to a second line (which, in turn, can only occur if you use a fixed column width). If the column widths are fixed wide enough that no wrapping occur, things go ok. I assume this is a limitation in multirow. Attached is a file that I think does what you want manually, by using a raisebox to elevate the content of the lower of the two cells to be merged. You may want to fiddle with the amount of vertical shift. I think you might also be able to use the cellular package to generate your table, but I don't have it installed here. HTH, Paul table.lyx Description: application/lyx
Re: File format extension
Stephen P. Harris wrote: BTW, adding a new format, new converter, new viewer does not require tinkering with LyX source. I'm interested to know how you did this. If it is documented perhaps you can point me to the instructions. I just noticed that Adobe released Reader ver. 7.0 for Linux and Solaris. ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ Maybe this is old news but I just noticed it. I dual boot and was going to see how this worked out with FC4 as a LyX pdf viewer. All the following takes place in Edit-Preferences: 1. Click File formats-New. Set the Format: field to pdf4 (or pdf5 if you already have a pdf4, etc.). Make the GUI name anything that you want (that isn't already used, of course); this is how it will be listed in the View and File-Export menus. If you're going to use it often enough, you can fill in a keyboard shortcut (again, one not currently in use) in Shortcut:, but this is strictly optional. Set the Extension: field to pdf. Fill in the Viewer: field with the name of the viewer executable. Click Modify and Save. 2. Go to Converters. Find the current converter that matches what you plan to use to generate PDFs. If you use View-PDF, this will probably be the Postscript-PDF converter. If you use View-PDF (dvipdfm), this will probably be the DVI-PDF converter. If you use View-PDF (pdflatex), this will presumably be the LaTeX-PDF converter. Change the From: field to your new format (which should be on the list, else step 1 failed), then click Modify and Save. 3. Open a document, go to the View menu, and verify that the new viewer is present (and works). You can do this for all three PDF conversion methods if you want, but you'll need to create three new formats in step 1 (with distinct names). HTH, Paul
Re: File format extension
Paul A. Rubin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Stephen P. Harris wrote: BTW, adding a new format, new converter, new viewer does not require tinkering with LyX source. I'm interested to know how you did this. If it is documented perhaps you can point me to the instructions. I just noticed that Adobe released Reader ver. 7.0 for Linux and Solaris. ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ Maybe this is old news but I just noticed it. I dual boot and was going to see how this worked out with FC4 as a LyX pdf viewer. All the following takes place in Edit-Preferences: 1. Click File formats-New. Set the Format: field to pdf4 (or pdf5 if you already have a pdf4, etc.). Make the GUI name anything that you want (that isn't already used, of course); this is how it will be listed in the View and File-Export menus. If you're going to use it often enough, you can fill in a keyboard shortcut (again, one not currently in use) in Shortcut:, but this is strictly optional. Set the Extension: field to pdf. Fill in the Viewer: field with the name of the viewer executable. Click Modify and Save. In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. HTH, Paul Yes, Stephen
Re: File format extension
Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
On Sun, 07 Aug 2005 16:08:35 +0200 Herbert Voss [EMAIL PROTECTED] wrote: Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? I have a problem that when using amsmath and hebrew in the same document. babel has to be used before amsmath or else the split environment can not be used. Lyx 1.3.4 didn't try to be too smart and didn't include amsmath if the amsmath checkbox wasn't checked. Lyx 1.3.6 tries to be smart but includes things in the wrong order which makes it impossible to compile the document without messing with the tex file directly. a simple \usepackage{babel} in your preamble should help. Layout-Document-preamble It doesn't help since lyx 1.3.6 includes amsmath before the preamble instead of after it. Including \usepackage{babel} in the preamble is what I did with 1.3.4 but because of that aforementioned problem that workaround doesn't work with 1.3.6 Herbert +++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC. +++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC.
Re: File format extension
Angus Leeming wrote: Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? Where would the sport be in that?
Re: File format extension
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, August 07, 2005 2:14 PM Subject: Re: File format extension Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? -- Angus Hello Angus, Before I answer that question I would like to comment on your advice to change the Path statement in the preference file rather than run a reconfigure. Since the location of the preference file is somewhat out of the way, I usually Search for it, starting from C:\documents and settings. Then double-click on it to invoke a text editor. I have to set my Windows search tool on display hidden files and folders or Search won't report finding the preference file that needs editing. A small thing but this really aggravated somebody who didn't know about it. I want to have gsview32 open a file, dvi -- ps and then save it in C:\lyx\lyx\bin\tmp where I keep flps.exe, a ghostscript powered annotator for postscript. So sometimes I would use flpsed, enough to have another viewer, but I didn't want to use it in place of gsview32. I wanted to save the dvi -- ps created file with gsview32 and save it to where flpsed could read it. flpsed doesn't seem to be able to read that distant lyxtmpbufdir where those conversions are stored. And flpsed keeps defualting to that distant spot, whereas I would have like for it to default to C:\lyx\lyx\bin\tmp where gsview32 first stores the file. So I fiddled with the paths and now get flpsed to open up with just a little appendage to the path which I can backspace over. Works ok, but I doubt it saves more than 2 seconds over invoking flpsed outside of Lyx and have it open to the default directory that I want. Now that I've done this much work on it though, I am certainly going to use flpsed from inside Lyx! :-) flps.exe would be better if its comments were captured in a balloon like Jurgen's example. And it needs at least yellow highlighting functionality which the Linux flpsed already has (yang yang's page). flps.exe is 500k and unfortunately doesn't work on win98 just win XP. It provides erasable and replyable text comments to be included on postscript docs and requires ghostscript. I started testing by following your suggestion up above. Regards, Stephen
Fwd: Re: How to print change bars
Jane, Still no luck. I tried your suggestion, but when I tried to View-PDF Lyx came up with an error box saying dvipspost failed. I then tried an slocate dvipspost which came up blank implying that I don't have a dvipspost converter? I've also looked through the Wiki page again but couldn't see anything that was helpfull to this problem. I think the Wiki page was the one that I originally used for its installation instructions. Thanks again Roger On Sat, 6 Aug 2005 02:58 am, Jane McKean wrote: Roger: I don't call dvipost in my preamble, I set in my converters. Go to the menu bar and choose Edit Preferences Converters DVI - Postscript and set the converter to /usr/bin/dvipspost $$i $$o See if that does the trick for you. There are more details on setting this all up on the Wiki page - http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2 . Let me know if this works. thanks, --jane On Fri, 2005-08-05 at 13:30 +1000, Roger McMurtrie wrote: Jane, I checked the dvipost version using the command line. It shows version 1.0. Following is my preamble, in case you can spot something amiss there. \usepackage{ae,aecompl} \usepackage{dvipost} \makeatletter [EMAIL PROTECTED] \makeatother \lhead{} \renewcommand{\headrulewidth}{0pt} %Set fixed vertical justification \raggedbottom I'm wondering if this problem may be due to an attempt to upgrade teTex that I made awhile ago. As the upgrade was unsuccessful (many things wouldn't work) I reverted to the original version. I think that it was after that episode that just a few problems arose to do with conversion such as having to run View twice for a first printing during a Lyx session. Its not only that the change bars are not shown. Deleted text (strike throughs) print but without the strike through. Seems like dvipost isn't being invoked. If I ever discover what's causing the problem I'll let you know. I wonder what will happen with Lyx 1.4? Regards Roger ---
Compiling in the Background
I am using LyX under SuSE Linux, but sometimes under Fedora too. In /both/ installations of LyX, when exporting the document or wishing to view it, LyX freezes until the translation has been completed. I tried to disable that by appending '' to the end of commands under Preference - Converters. While it appears to have the necessary effect on LyX (it benefits from this simple case of multi-threading), the conversion stage jumps to the next command which is opening of the compiled document; it is of course is not ready yet. This causes all sorts of issues, the main one being that one needs to navigate to the output file and open it time after time to get a preview. If there any safe and simple way of continuating document edits while a preview is generated in the background? Many thanks in advance, Roy
Error of \printglossary under LyX win 1 .3.6
Hi, all, The new version of lyx seems not recoginize the tex command \printglossary used for 'nomencl' package. The displayed errors are: Undefined control sequence. \printglossary The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Anyone can give me some suggestion? More thanks.
Re: Lyx 1.3.6 and Debian Sarge, something went wrong again
Micha Feigin wrote: I am testing the 1.3.6 version on debian and I get consistent crashes with one document that contains a lot of math (mostly math) and the text is in hebrew. The problem seems to be in scrolling when preview is active and something speciffic to the document, possibly either the amount of math or the combination with hebrew. Disabling preview solves the problem and another document I have works fine. Could you open a new bug on bugzilla.lyx.org describing the problem. If you can attach a file that crashes, that would be great. -- Angus
Re: Tex Information
Stephen P. Harris wrote: I am not an expert and only wish to address this one issue: The problem is I am not able to assign the .sh files to open with sh.exe which in the minsys folder. Did you follow these Wiki instructions? From the Wiki: LyX can only find programs if the folders of the program executables are listed in the system variable called PATH. After updating the PATH (you need administrator permissions for that) reconfigure LyX again. You shouldn't need to do this in LyX 1.3.6. Instead, modify the path_prefix entry that is stored in you preferences file. It's editable from within LyX using the Edit-Preferences dialog, Path pane. -- Angus
Re: File format extension
Paul A. Rubin wrote: Is the extension field in Edit-Preferences-File formats documented anywhere? I tried changing the extension for a clone of the PDF (pdflatex) format to 'pdf4' (because I was trying to open it in a non-Acrobat viewer, and the files were opening in Acrobat Reader regardless). Turns out this doesn't work, because pdflatex gives the file a .pdf extension regardless. Define a pdf4 format but give it a .pdf extension. Then define a converter to pdf4. -- Angus
Re: Compiling in the Background
Roy Schestowitz wrote: If there any safe and simple way of continuating document edits while a preview is generated in the background? No. This is the number one item on my wish list too. -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? It is possible, but it's a total hack ;-) What I would do is define a new LaTeX-DVI converter, my_latex.sh, containing something like: #! /bin/sh test $# -gt 1 || { echo No .tex file specified! 2 exit 1 } # Strip out the \usepackage{amsmath} line: TMP=tmp.$$ sed '/^ *\\usepackage{amsmath}/d' $1 ${TMP} diff -u $1 ${TMP} mv ${TMP} $1 # Now invoke the latex compiler. latex $@ Note that this script is totally untested. But I hope that it's enough to get you started. Who knows, it might even work perfectly ;-) -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? I have a problem that when using amsmath and hebrew in the same document. babel has to be used before amsmath or else the split environment can not be used. Lyx 1.3.4 didn't try to be too smart and didn't include amsmath if the amsmath checkbox wasn't checked. Lyx 1.3.6 tries to be smart but includes things in the wrong order which makes it impossible to compile the document without messing with the tex file directly. a simple \usepackage{babel} in your preamble should help. Layout-Document-preamble Herbert
Re: Multirow ... no go !
Geoffrey Lloyd wrote: - Original Message - From: Søren O'Neill [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Friday, August 05, 2005 7:36 PM Subject: Multirow ... no go ! I've included two lyx files. One is from the wiki at http://wiki.lyx.org/LyX/Tables called table-,ultirow-lyx and it demonstrates multirow support. That filel comes out as expected in the DVI. The other one is my own lyx table - and it doesnt work as expected, but I cant quite see why not ... Ok this appears to be something to do with the fact that you have set column widths in your table settings. I have delete them all and it works. I have no idea why this makes a difference of how you get your table to show up the way you want it to as it now spans more than the page witdth, but it does allow multicol to work properly! I attach the new file but like I say all I have done is removed the column widths from the table properties box. Geoff Actually, it's not the column widths per se. The problem only occurs when cell contents wrap around to a second line (which, in turn, can only occur if you use a fixed column width). If the column widths are fixed wide enough that no wrapping occur, things go ok. I assume this is a limitation in multirow. Attached is a file that I think does what you want manually, by using a raisebox to elevate the content of the lower of the two cells to be merged. You may want to fiddle with the amount of vertical shift. I think you might also be able to use the cellular package to generate your table, but I don't have it installed here. HTH, Paul table.lyx Description: application/lyx
Re: File format extension
Stephen P. Harris wrote: BTW, adding a new format, new converter, new viewer does not require tinkering with LyX source. I'm interested to know how you did this. If it is documented perhaps you can point me to the instructions. I just noticed that Adobe released Reader ver. 7.0 for Linux and Solaris. ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ Maybe this is old news but I just noticed it. I dual boot and was going to see how this worked out with FC4 as a LyX pdf viewer. All the following takes place in Edit-Preferences: 1. Click File formats-New. Set the Format: field to pdf4 (or pdf5 if you already have a pdf4, etc.). Make the GUI name anything that you want (that isn't already used, of course); this is how it will be listed in the View and File-Export menus. If you're going to use it often enough, you can fill in a keyboard shortcut (again, one not currently in use) in Shortcut:, but this is strictly optional. Set the Extension: field to pdf. Fill in the Viewer: field with the name of the viewer executable. Click Modify and Save. 2. Go to Converters. Find the current converter that matches what you plan to use to generate PDFs. If you use View-PDF, this will probably be the Postscript-PDF converter. If you use View-PDF (dvipdfm), this will probably be the DVI-PDF converter. If you use View-PDF (pdflatex), this will presumably be the LaTeX-PDF converter. Change the From: field to your new format (which should be on the list, else step 1 failed), then click Modify and Save. 3. Open a document, go to the View menu, and verify that the new viewer is present (and works). You can do this for all three PDF conversion methods if you want, but you'll need to create three new formats in step 1 (with distinct names). HTH, Paul
Re: File format extension
Paul A. Rubin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Stephen P. Harris wrote: BTW, adding a new format, new converter, new viewer does not require tinkering with LyX source. I'm interested to know how you did this. If it is documented perhaps you can point me to the instructions. I just noticed that Adobe released Reader ver. 7.0 for Linux and Solaris. ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ Maybe this is old news but I just noticed it. I dual boot and was going to see how this worked out with FC4 as a LyX pdf viewer. All the following takes place in Edit-Preferences: 1. Click File formats-New. Set the Format: field to pdf4 (or pdf5 if you already have a pdf4, etc.). Make the GUI name anything that you want (that isn't already used, of course); this is how it will be listed in the View and File-Export menus. If you're going to use it often enough, you can fill in a keyboard shortcut (again, one not currently in use) in Shortcut:, but this is strictly optional. Set the Extension: field to pdf. Fill in the Viewer: field with the name of the viewer executable. Click Modify and Save. In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. HTH, Paul Yes, Stephen
Re: File format extension
Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
On Sun, 07 Aug 2005 16:08:35 +0200 Herbert Voss [EMAIL PROTECTED] wrote: Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? I have a problem that when using amsmath and hebrew in the same document. babel has to be used before amsmath or else the split environment can not be used. Lyx 1.3.4 didn't try to be too smart and didn't include amsmath if the amsmath checkbox wasn't checked. Lyx 1.3.6 tries to be smart but includes things in the wrong order which makes it impossible to compile the document without messing with the tex file directly. a simple \usepackage{babel} in your preamble should help. Layout-Document-preamble It doesn't help since lyx 1.3.6 includes amsmath before the preamble instead of after it. Including \usepackage{babel} in the preamble is what I did with 1.3.4 but because of that aforementioned problem that workaround doesn't work with 1.3.6 Herbert +++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC. +++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC.
Re: File format extension
Angus Leeming wrote: Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? Where would the sport be in that?
Re: File format extension
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Sunday, August 07, 2005 2:14 PM Subject: Re: File format extension Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? -- Angus Hello Angus, Before I answer that question I would like to comment on your advice to change the Path statement in the preference file rather than run a reconfigure. Since the location of the preference file is somewhat out of the way, I usually Search for it, starting from C:\documents and settings. Then double-click on it to invoke a text editor. I have to set my Windows search tool on display hidden files and folders or Search won't report finding the preference file that needs editing. A small thing but this really aggravated somebody who didn't know about it. I want to have gsview32 open a file, dvi -- ps and then save it in C:\lyx\lyx\bin\tmp where I keep flps.exe, a ghostscript powered annotator for postscript. So sometimes I would use flpsed, enough to have another viewer, but I didn't want to use it in place of gsview32. I wanted to save the dvi -- ps created file with gsview32 and save it to where flpsed could read it. flpsed doesn't seem to be able to read that distant lyxtmpbufdir where those conversions are stored. And flpsed keeps defualting to that distant spot, whereas I would have like for it to default to C:\lyx\lyx\bin\tmp where gsview32 first stores the file. So I fiddled with the paths and now get flpsed to open up with just a little appendage to the path which I can backspace over. Works ok, but I doubt it saves more than 2 seconds over invoking flpsed outside of Lyx and have it open to the default directory that I want. Now that I've done this much work on it though, I am certainly going to use flpsed from inside Lyx! :-) flps.exe would be better if its comments were captured in a balloon like Jurgen's example. And it needs at least yellow highlighting functionality which the Linux flpsed already has (yang yang's page). flps.exe is 500k and unfortunately doesn't work on win98 just win XP. It provides erasable and replyable text comments to be included on postscript docs and requires ghostscript. I started testing by following your suggestion up above. Regards, Stephen
Fwd: Re: How to print change bars
Jane, Still no luck. I tried your suggestion, but when I tried to View-PDF Lyx came up with an error box saying dvipspost failed. I then tried an slocate dvipspost which came up blank implying that I don't have a dvipspost converter? I've also looked through the Wiki page again but couldn't see anything that was helpfull to this problem. I think the Wiki page was the one that I originally used for its installation instructions. Thanks again Roger On Sat, 6 Aug 2005 02:58 am, Jane McKean wrote: Roger: I don't call dvipost in my preamble, I set in my converters. Go to the menu bar and choose Edit Preferences Converters DVI - Postscript and set the converter to /usr/bin/dvipspost $$i $$o See if that does the trick for you. There are more details on setting this all up on the Wiki page - http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2 . Let me know if this works. thanks, --jane On Fri, 2005-08-05 at 13:30 +1000, Roger McMurtrie wrote: Jane, I checked the dvipost version using the command line. It shows version 1.0. Following is my preamble, in case you can spot something amiss there. \usepackage{ae,aecompl} \usepackage{dvipost} \makeatletter [EMAIL PROTECTED] \makeatother \lhead{} \renewcommand{\headrulewidth}{0pt} %Set fixed vertical justification \raggedbottom I'm wondering if this problem may be due to an attempt to upgrade teTex that I made awhile ago. As the upgrade was unsuccessful (many things wouldn't work) I reverted to the original version. I think that it was after that episode that just a few problems arose to do with conversion such as having to run View twice for a first printing during a Lyx session. Its not only that the change bars are not shown. Deleted text (strike throughs) print but without the strike through. Seems like dvipost isn't being invoked. If I ever discover what's causing the problem I'll let you know. I wonder what will happen with Lyx 1.4? Regards Roger ---
Compiling in the Background
I am using LyX under SuSE Linux, but sometimes under Fedora too. In /both/ installations of LyX, when exporting the document or wishing to view it, LyX freezes until the translation has been completed. I tried to disable that by appending '&' to the end of commands under Preference -> Converters. While it appears to have the necessary effect on LyX (it benefits from this simple case of multi-threading), the conversion stage jumps to the next command which is opening of the compiled document; it is of course is not ready yet. This causes all sorts of issues, the main one being that one needs to navigate to the output file and open it time after time to get a preview. If there any safe and simple way of continuating document edits while a preview is generated in the background? Many thanks in advance, Roy
Error of "\printglossary" under LyX win 1 .3.6
Hi, all, The new version of lyx seems not recoginize the tex command "\printglossary" used for 'nomencl' package. The displayed errors are: Undefined control sequence. \printglossary The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Anyone can give me some suggestion? More thanks.
Re: Lyx 1.3.6 and Debian Sarge, something went wrong again
Micha Feigin wrote: > I am testing the 1.3.6 version on debian and I get consistent crashes > with one document that contains a lot of math (mostly math) and the text > is in hebrew. > > The problem seems to be in scrolling when preview is active and something > speciffic to the document, possibly either the amount of math or the > combination with hebrew. Disabling preview solves the problem and another > document I have works fine. Could you open a new bug on bugzilla.lyx.org describing the problem. If you can attach a file that crashes, that would be great. -- Angus
Re: Tex Information
Stephen P. Harris wrote: > I am not an expert and only wish to address this one issue: > >> The problem is I am not able to assign the .sh files to open >> with sh.exe which in the minsys folder. > > Did you follow these Wiki instructions? > >> From the Wiki: >> "LyX can only find programs if the folders of the program executables >> are listed in the system variable called PATH. After updating the PATH >> (you need administrator permissions for that) reconfigure LyX again." You shouldn't need to do this in LyX 1.3.6. Instead, modify the path_prefix entry that is stored in you preferences file. It's editable from within LyX using the Edit->Preferences dialog, Path pane. -- Angus
Re: File format extension
Paul A. Rubin wrote: > Is the extension field in Edit->Preferences->File formats documented > anywhere? I tried changing the extension for a clone of the PDF > (pdflatex) format to 'pdf4' (because I was trying to open it in a > non-Acrobat viewer, and the files were opening in Acrobat Reader > regardless). Turns out this doesn't work, because pdflatex gives the > file a .pdf extension regardless. Define a pdf4 format but give it a .pdf extension. Then define a converter to pdf4. -- Angus
Re: Compiling in the Background
Roy Schestowitz wrote: > If there any safe and simple way of continuating document edits while a > preview is generated in the background? No. This is the number one item on my wish list too. -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
Micha Feigin wrote: > Is it possible to suppress the use of the amsmath package with lyx 1.3.6 > even when relevant commands such as split are used? It is possible, but it's a total hack ;-) What I would do is define a new LaTeX->DVI converter, my_latex.sh, containing something like: #! /bin/sh test $# -gt 1 || { echo "No .tex file specified!" >&2 exit 1 } # Strip out the "\usepackage{amsmath}" line: TMP=tmp.$$ sed '/^ *\\usepackage{amsmath}/d' "$1" > "${TMP}" diff -u "$1" "${TMP}" mv "${TMP}" "$1" # Now invoke the latex compiler. latex "$@" Note that this script is totally untested. But I hope that it's enough to get you started. Who knows, it might even work perfectly ;-) -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
Micha Feigin wrote: Is it possible to suppress the use of the amsmath package with lyx 1.3.6 even when relevant commands such as split are used? I have a problem that when using amsmath and hebrew in the same document. babel has to be used before amsmath or else the split environment can not be used. Lyx 1.3.4 didn't try to be too smart and didn't include amsmath if the amsmath checkbox wasn't checked. Lyx 1.3.6 tries to be smart but includes things in the wrong order which makes it impossible to compile the document without messing with the tex file directly. a simple \usepackage{babel} in your preamble should help. Layout->Document->preamble Herbert
Re: Multirow ... no go !
Geoffrey Lloyd wrote: - Original Message - From: "Søren O'Neill" <[EMAIL PROTECTED]> To:Sent: Friday, August 05, 2005 7:36 PM Subject: Multirow ... no go ! I've included two lyx files. One is from the wiki at http://wiki.lyx.org/LyX/Tables called table-,ultirow-lyx and it demonstrates multirow support. That filel comes out as expected in the DVI. The other one is my own lyx table - and it doesnt work as expected, but I cant quite see why not ... Ok this appears to be something to do with the fact that you have set column widths in your table settings. I have delete them all and it works. I have no idea why this makes a difference of how you get your table to show up the way you want it to as it now spans more than the page witdth, but it does allow multicol to work properly! I attach the new file but like I say all I have done is removed the column widths from the table properties box. Geoff Actually, it's not the column widths per se. The problem only occurs when cell contents wrap around to a second line (which, in turn, can only occur if you use a fixed column width). If the column widths are fixed wide enough that no wrapping occur, things go ok. I assume this is a limitation in multirow. Attached is a file that I think does what you want "manually", by using a raisebox to elevate the content of the lower of the two cells to be merged. You may want to fiddle with the amount of vertical shift. I think you might also be able to use the cellular package to generate your table, but I don't have it installed here. HTH, Paul table.lyx Description: application/lyx
Re: File format extension
Stephen P. Harris wrote: BTW, adding a new format, new converter, new viewer does not require tinkering with LyX source. I'm interested to know how you did this. If it is documented perhaps you can point me to the instructions. I just noticed that Adobe released Reader ver. 7.0 for Linux and Solaris. ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ Maybe this is old news but I just noticed it. I dual boot and was going to see how this worked out with FC4 as a LyX pdf viewer. All the following takes place in Edit->Preferences: 1. Click File formats->New. Set the Format: field to pdf4 (or pdf5 if you already have a pdf4, etc.). Make the GUI name anything that you want (that isn't already used, of course); this is how it will be listed in the View and File->Export menus. If you're going to use it often enough, you can fill in a keyboard shortcut (again, one not currently in use) in Shortcut:, but this is strictly optional. Set the Extension: field to pdf. Fill in the Viewer: field with the name of the viewer executable. Click Modify and Save. 2. Go to Converters. Find the current converter that matches what you plan to use to generate PDFs. If you use View->PDF, this will probably be the Postscript->PDF converter. If you use View->PDF (dvipdfm), this will probably be the DVI->PDF converter. If you use View->PDF (pdflatex), this will presumably be the LaTeX->PDF converter. Change the From: field to your new format (which should be on the list, else step 1 failed), then click Modify and Save. 3. Open a document, go to the View menu, and verify that the new viewer is present (and works). You can do this for all three PDF conversion methods if you want, but you'll need to create three new formats in step 1 (with distinct names). HTH, Paul
Re: File format extension
"Paul A. Rubin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Stephen P. Harris wrote: BTW, adding a new format, new converter, new viewer does not require tinkering with LyX source. I'm interested to know how you did this. If it is documented perhaps you can point me to the instructions. I just noticed that Adobe released Reader ver. 7.0 for Linux and Solaris. ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ Maybe this is old news but I just noticed it. I dual boot and was going to see how this worked out with FC4 as a LyX pdf viewer. All the following takes place in Edit->Preferences: 1. Click File formats->New. Set the Format: field to pdf4 (or pdf5 if you already have a pdf4, etc.). Make the GUI name anything that you want (that isn't already used, of course); this is how it will be listed in the View and File->Export menus. If you're going to use it often enough, you can fill in a keyboard shortcut (again, one not currently in use) in Shortcut:, but this is strictly optional. Set the Extension: field to pdf. Fill in the Viewer: field with the name of the viewer executable. Click Modify and Save. In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. HTH, Paul Yes, Stephen
Re: File format extension
Stephen P. Harris wrote: > In my case I wanted a new .ps viewer. I changed the format to ps2. > I set the extension field to ps the GUI name to Gscript and the viewer > executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? -- Angus
Re: suppressing the use of amsmath package with kyx 1.3.6
On Sun, 07 Aug 2005 16:08:35 +0200 Herbert Voss <[EMAIL PROTECTED]> wrote: > Micha Feigin wrote: > > Is it possible to suppress the use of the amsmath package with lyx 1.3.6 > > even > > when relevant commands such as split are used? > > > > I have a problem that when using amsmath and hebrew in the same document. > > babel > > has to be used before amsmath or else the split environment can not be used. > > Lyx 1.3.4 didn't try to be too smart and didn't include amsmath if the > > amsmath > > checkbox wasn't checked. Lyx 1.3.6 tries to be smart but includes things in > > the > > wrong order which makes it impossible to compile the document without > > messing > > with the tex file directly. > > a simple \usepackage{babel} in your preamble should help. > Layout->Document->preamble > It doesn't help since lyx 1.3.6 includes amsmath before the preamble instead of after it. Including \usepackage{babel} in the preamble is what I did with 1.3.4 but because of that aforementioned problem that workaround doesn't work with 1.3.6 > Herbert > > > +++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > +++ This Mail Was Scanned By Mail-seCure System at the Tel-Aviv University CC.
Re: File format extension
Angus Leeming wrote: Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? Where would the sport be in that?
Re: File format extension
- Original Message - From: "Angus Leeming" <[EMAIL PROTECTED]> To:Sent: Sunday, August 07, 2005 2:14 PM Subject: Re: File format extension Stephen P. Harris wrote: In my case I wanted a new .ps viewer. I changed the format to ps2. I set the extension field to ps the GUI name to Gscript and the viewer executable to flps. It worked just like you said it would. Thank you. Incidentally, if you're interested in just changing the Viewer, why not just change the Viewer of the existing ps format? -- Angus Hello Angus, Before I answer that question I would like to comment on your advice to change the Path statement in the preference file rather than run a reconfigure. Since the location of the preference file is somewhat out of the way, I usually Search for it, starting from C:\documents and settings. Then double-click on it to invoke a text editor. I have to set my Windows search tool on display "hidden files and folders" or Search won't report finding the preference file that needs editing. A small thing but this really aggravated somebody who didn't know about it. I want to have gsview32 open a file, dvi --> ps and then save it in C:\lyx\lyx\bin\tmp where I keep flps.exe, a ghostscript powered annotator for postscript. So sometimes I would use flpsed, enough to have another viewer, but I didn't want to use it in place of gsview32. I wanted to save the dvi --> ps created file with gsview32 and save it to where flpsed could read it. flpsed doesn't seem to be able to read that distant lyxtmpbufdir where those conversions are stored. And flpsed keeps defualting to that distant spot, whereas I would have like for it to default to C:\lyx\lyx\bin\tmp where gsview32 first stores the file. So I fiddled with the paths and now get flpsed to open up with just a little appendage to the path which I can backspace over. Works ok, but I doubt it saves more than 2 seconds over invoking flpsed outside of Lyx and have it open to the default directory that I want. Now that I've done this much work on it though, I am certainly going to use flpsed from inside Lyx! :-) flps.exe would be better if its comments were captured in a balloon like Jurgen's example. And it needs at least yellow highlighting functionality which the Linux flpsed already has (yang yang's page). flps.exe is 500k and unfortunately doesn't work on win98 just win XP. It provides erasable and replyable text comments to be included on postscript docs and requires ghostscript. I started testing by following your suggestion up above. Regards, Stephen
Fwd: Re: How to print change bars
Jane, Still no luck. I tried your suggestion, but when I tried to View->PDF Lyx came up with an error box saying dvipspost failed. I then tried an slocate dvipspost which came up blank implying that I don't have a dvipspost converter? I've also looked through the Wiki page again but couldn't see anything that was helpfull to this problem. I think the Wiki page was the one that I originally used for its installation instructions. Thanks again Roger On Sat, 6 Aug 2005 02:58 am, Jane McKean wrote: > Roger: > > I don't call dvipost in my preamble, I set in my converters. > > Go to the menu bar and choose Edit > Preferences > Converters > DVI -> > Postscript and set the converter to /usr/bin/dvipspost $$i $$o > > See if that does the trick for you. There are more details on setting > this all up on the Wiki page - > http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2 . > > Let me know if this works. > > thanks, > --jane > > On Fri, 2005-08-05 at 13:30 +1000, Roger McMurtrie wrote: > > Jane, > > I checked the dvipost version using the command line. It shows version > > 1.0. > > > > Following is my preamble, in case you can spot something amiss there. > > > > \usepackage{ae,aecompl} > > \usepackage{dvipost} > > \makeatletter > > [EMAIL PROTECTED] > > \makeatother > > \lhead{} > > \renewcommand{\headrulewidth}{0pt} > > %Set fixed vertical justification > > \raggedbottom > > > > I'm wondering if this problem may be due to an attempt to upgrade teTex > > that I made awhile ago. As the upgrade was unsuccessful (many things > > wouldn't work) I reverted to the original version. I think that it was > > after that episode that just a few problems arose to do with conversion > > such as having to run View twice for a first printing during a Lyx > > session. > > > > Its not only that the change bars are not shown. Deleted text (strike > > throughs) print but without the strike through. > > > > Seems like dvipost isn't being invoked. > > > > If I ever discover what's causing the problem I'll let you know. > > I wonder what will happen with Lyx 1.4? > > > > Regards > > > > Roger ---