Re: hanging par strange behavior
Paul A. Rubin wrote: Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. Just to finish this off, it is a bug, and it's been (being?) fixed. Not sure if the fix made the 1.6.1 release (probably not).
Re: LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
Stoutemyer, David wrote: For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions. You're saying that, on top of the document not compiling, File - Export - LaTeX (plain) also fails with no warnings? It seems to me I saw this once before, but I've forgotten now what the cause was. It might have been an encoding problem, but I'm not positive. I thought I'd filed a report somewhere, but I can't find any trace of it if I did, and it was a while back. If the 45 page document that you think is unchanged is doing this, and if it uses a BibTeX bibliography, try deleting the bibliography and exporting it to plain LaTeX. If that works, a change has occurred in the .bib file that is breaking something. (I'd check encoding problems first.) /Paul
Re: hanging par strange behavior
Paul A. Rubin wrote: Paul A. Rubin wrote: Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. Just to finish this off, it is a bug, and it's been (being?) fixed. Not sure if the fix made the 1.6.1 release (probably not). Just missed it. But the patch is here: http://www.lyx.org/trac/changeset/27882 and is easily applied oneself. rh
PNG to EPS without file size explosion
Hi, when exporting a LyX file with embedded .png graphics as LaTeX (plain), .eps files are generated automatically from the .png's. That's good! However the resulting .eps file sizes can get huge. (from 700K to 110M in one case). The reason is that LyX uses convert with no options to do the .png-.eps conversion, generating an uncompressed Level 1 EPS file. The solution is to set a new Converter PNG - EPS in the LyX preferences, like so convert -compress LZW $$i eps2:$$o This got the file size down to about 2M in the above example. Even leaving out the explicit -compress option and keeping only the eps2 (i.e. Level 2) format specification gives acceptable file sizes. I found this out after some trying around, I thought I'd let you know. Should this be a default setting? Should I file an enhancement request? Should I put it on the wiki? cheers, Nils
Re: Show pagebreaks in the editor?
Rich Shepard wrote: Nor the TeX way. If someone wants a WISIWIG writing tool there are multiple word processors that are specifically designed for that. They'll show page breaks, different typefaces, and all the other appearance items on the screen as the document is being written. If that's what's desired, use those tools and don't ask that a totally different tool be adapted to your wants. Rich Well, I found this answer to be a little rude, and this moved me to answer. Maybe it was not the intention, but it looks to me that way. What is wrong with asking LyX to be adapted to one's needs? Nothing, in my opinion. If LyX is becoming a more and more powerful and comfortable to use tool is thanks to the developers, but also thanks to all the people that suggest feature improvements (based on their own needs). A different thing is demanding your request to be fulfilled! But that was not what bigblop did. He was just wondering about any potential plans for showing separate pages in LyX. I guess he was just not aware that this is actually not feasible in LyX, as Richard G. Heck kindly explained. You say nor the TeX way. Well, if I am not wrong, LyX is not a mere front-end for TeX, so you should say nor the LyX way. :-) Cheers, Nicolás
Re: LyX 1.6.1 binaries for Ubuntu
Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install, having installed texlive-full first using synaptic package manager. Nick Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. -chris
table headers
I am new to lyx (I found it in a search for an SCM-amenable tool), and have a question: In the standard WYSIWYG tool, the table headers are a different style than rest of the table. How do I get the same effect in lyx? I would like to configure a style such that table headers are automatically emphasized with a 10% grey background, without having to configure each table separately. Of course, the next question is how do I select which rows are table header rows and which aren't. Steve Friedman
Re: LyX 1.6.1 binaries for Ubuntu
On Dec 16, 2008, at 4:46 PM, Nick Bell wrote: Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install... a.k.a. Intrepid Ibex. ;-) -chris
Re: macros in the middle of the text
On 2008-12-15, Richard Heck wrote: Niko Schwarz wrote: hello, i noticed that math macros exist. i want something similar, but in my text. i'm writing a text about a cs problem called minimum KT distance, which is a noun. and I'm really tired of typing that name and then setting it to be a noun. isn't there a quicker way? ... You can use normal LaTeX macros by defining them in your preamble, e.g.: \newcommand{\mktd}{minimum KT distance} and then putting \mktd in ERT where you want it. With LyX 1.6, a text-analogon to math-macros are insets. However, they aare defined in a module, not in the document (this is sometimes an advantage and sometimes not). You can also define a keyboard binding to do that for you. You can alos define a key binding to insert the text and set it to noun. Find the required lyx functions and use command-sequence, e.g. # Capitalise current word: \bind C-u command-sequence word-backward; word-capitalize; mark-off 1.6 also comes with some completion mechanism (but I did not try it because it makes LyX too slow on my machine). Text macros are something it'd be nice to have, though. Maybe embeddable modules would do the trick? Günter
Re: hanging par strange behavior
Paul A. Rubin wrote: Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. Just to finish this off, it is a bug, and it's been (being?) fixed. Not sure if the fix made the 1.6.1 release (probably not).
Re: LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
Stoutemyer, David wrote: For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions. You're saying that, on top of the document not compiling, File - Export - LaTeX (plain) also fails with no warnings? It seems to me I saw this once before, but I've forgotten now what the cause was. It might have been an encoding problem, but I'm not positive. I thought I'd filed a report somewhere, but I can't find any trace of it if I did, and it was a while back. If the 45 page document that you think is unchanged is doing this, and if it uses a BibTeX bibliography, try deleting the bibliography and exporting it to plain LaTeX. If that works, a change has occurred in the .bib file that is breaking something. (I'd check encoding problems first.) /Paul
Re: hanging par strange behavior
Paul A. Rubin wrote: Paul A. Rubin wrote: Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. Just to finish this off, it is a bug, and it's been (being?) fixed. Not sure if the fix made the 1.6.1 release (probably not). Just missed it. But the patch is here: http://www.lyx.org/trac/changeset/27882 and is easily applied oneself. rh
PNG to EPS without file size explosion
Hi, when exporting a LyX file with embedded .png graphics as LaTeX (plain), .eps files are generated automatically from the .png's. That's good! However the resulting .eps file sizes can get huge. (from 700K to 110M in one case). The reason is that LyX uses convert with no options to do the .png-.eps conversion, generating an uncompressed Level 1 EPS file. The solution is to set a new Converter PNG - EPS in the LyX preferences, like so convert -compress LZW $$i eps2:$$o This got the file size down to about 2M in the above example. Even leaving out the explicit -compress option and keeping only the eps2 (i.e. Level 2) format specification gives acceptable file sizes. I found this out after some trying around, I thought I'd let you know. Should this be a default setting? Should I file an enhancement request? Should I put it on the wiki? cheers, Nils
Re: Show pagebreaks in the editor?
Rich Shepard wrote: Nor the TeX way. If someone wants a WISIWIG writing tool there are multiple word processors that are specifically designed for that. They'll show page breaks, different typefaces, and all the other appearance items on the screen as the document is being written. If that's what's desired, use those tools and don't ask that a totally different tool be adapted to your wants. Rich Well, I found this answer to be a little rude, and this moved me to answer. Maybe it was not the intention, but it looks to me that way. What is wrong with asking LyX to be adapted to one's needs? Nothing, in my opinion. If LyX is becoming a more and more powerful and comfortable to use tool is thanks to the developers, but also thanks to all the people that suggest feature improvements (based on their own needs). A different thing is demanding your request to be fulfilled! But that was not what bigblop did. He was just wondering about any potential plans for showing separate pages in LyX. I guess he was just not aware that this is actually not feasible in LyX, as Richard G. Heck kindly explained. You say nor the TeX way. Well, if I am not wrong, LyX is not a mere front-end for TeX, so you should say nor the LyX way. :-) Cheers, Nicolás
Re: LyX 1.6.1 binaries for Ubuntu
Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install, having installed texlive-full first using synaptic package manager. Nick Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. -chris
table headers
I am new to lyx (I found it in a search for an SCM-amenable tool), and have a question: In the standard WYSIWYG tool, the table headers are a different style than rest of the table. How do I get the same effect in lyx? I would like to configure a style such that table headers are automatically emphasized with a 10% grey background, without having to configure each table separately. Of course, the next question is how do I select which rows are table header rows and which aren't. Steve Friedman
Re: LyX 1.6.1 binaries for Ubuntu
On Dec 16, 2008, at 4:46 PM, Nick Bell wrote: Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install... a.k.a. Intrepid Ibex. ;-) -chris
Re: macros in the middle of the text
On 2008-12-15, Richard Heck wrote: Niko Schwarz wrote: hello, i noticed that math macros exist. i want something similar, but in my text. i'm writing a text about a cs problem called minimum KT distance, which is a noun. and I'm really tired of typing that name and then setting it to be a noun. isn't there a quicker way? ... You can use normal LaTeX macros by defining them in your preamble, e.g.: \newcommand{\mktd}{minimum KT distance} and then putting \mktd in ERT where you want it. With LyX 1.6, a text-analogon to math-macros are insets. However, they aare defined in a module, not in the document (this is sometimes an advantage and sometimes not). You can also define a keyboard binding to do that for you. You can alos define a key binding to insert the text and set it to noun. Find the required lyx functions and use command-sequence, e.g. # Capitalise current word: \bind C-u command-sequence word-backward; word-capitalize; mark-off 1.6 also comes with some completion mechanism (but I did not try it because it makes LyX too slow on my machine). Text macros are something it'd be nice to have, though. Maybe embeddable modules would do the trick? Günter
Re: hanging par strange behavior
Paul A. Rubin wrote: Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. Just to finish this off, it is a bug, and it's been (being?) fixed. Not sure if the fix made the 1.6.1 release (probably not).
Re: LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
Stoutemyer, David wrote: For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions. You're saying that, on top of the document not compiling, File -> Export -> LaTeX (plain) also fails with no warnings? It seems to me I saw this once before, but I've forgotten now what the cause was. It might have been an encoding problem, but I'm not positive. I thought I'd filed a report somewhere, but I can't find any trace of it if I did, and it was a while back. If the 45 page document that you think is unchanged is doing this, and if it uses a BibTeX bibliography, try deleting the bibliography and exporting it to plain LaTeX. If that works, a change has occurred in the .bib file that is breaking something. (I'd check encoding problems first.) /Paul
Re: hanging par strange behavior
Paul A. Rubin wrote: Paul A. Rubin wrote: Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. Just to finish this off, it is a bug, and it's been (being?) fixed. Not sure if the fix made the 1.6.1 release (probably not). Just missed it. But the patch is here: http://www.lyx.org/trac/changeset/27882 and is easily applied oneself. rh
PNG to EPS without file size explosion
Hi, when exporting a LyX file with embedded .png graphics as "LaTeX (plain)", .eps files are generated automatically from the .png's. That's good! However the resulting .eps file sizes can get huge. (from 700K to 110M in one case). The reason is that LyX uses convert with no options to do the .png->.eps conversion, generating an uncompressed Level 1 EPS file. The solution is to set a new Converter PNG -> EPS in the LyX preferences, like so convert -compress LZW $$i eps2:$$o This got the file size down to about 2M in the above example. Even leaving out the explicit -compress option and keeping only the eps2 (i.e. Level 2) format specification gives acceptable file sizes. I found this out after some trying around, I thought I'd let you know. Should this be a default setting? Should I file an enhancement request? Should I put it on the wiki? cheers, Nils
Re: Show pagebreaks in the editor?
Rich Shepard wrote: Nor the TeX way. If someone wants a WISIWIG writing tool there are multiple word processors that are specifically designed for that. They'll show page breaks, different typefaces, and all the other appearance items on the screen as the document is being written. If that's what's desired, use those tools and don't ask that a totally different tool be adapted to your wants. Rich Well, I found this answer to be a little rude, and this moved me to answer. Maybe it was not the intention, but it looks to me that way. What is wrong with asking LyX to be adapted to one's needs? Nothing, in my opinion. If LyX is becoming a more and more powerful and comfortable to use tool is thanks to the developers, but also thanks to all the people that suggest feature improvements (based on their own needs). A different thing is demanding your request to be fulfilled! But that was not what bigblop did. He was just wondering about any potential plans for showing separate pages in LyX. I guess he was just not aware that this is actually not feasible in LyX, as Richard G. Heck kindly explained. You say "nor the TeX way". Well, if I am not wrong, LyX is not a mere front-end for TeX, so you should say "nor the LyX way". :-) Cheers, Nicolás
Re: LyX 1.6.1 binaries for Ubuntu
Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install, having installed texlive-full first using synaptic package manager. Nick Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. -chris
table headers
I am new to lyx (I found it in a search for an SCM-amenable tool), and have a question: In the standard WYSIWYG tool, the table headers are a different style than rest of the table. How do I get the same effect in lyx? I would like to configure a style such that table headers are automatically emphasized with a 10% grey background, without having to configure each table separately. Of course, the next question is how do I select which rows are table header rows and which aren't. Steve Friedman
Re: LyX 1.6.1 binaries for Ubuntu
On Dec 16, 2008, at 4:46 PM, Nick Bell wrote: Christopher Menzel wrote: On Dec 15, 2008, at 10:21 AM, Fritz Bein wrote: Am 15.12.2008, 08:06 Uhr, schrieb Jürgen Spitzmüller Public release of LyX version 1.6.1 === Thank to all developpers for the new version of Lyx! Does anybody have the 1.6.1 Version as Ubuntu binaries and can put it on the Web? Quick Google search turns up: http://www.getdeb.net/release.php?id=3591 That's for Intrepid, btw. Just a note to the newbies (like me): This works with a fresh Ubuntu 8.10 install... a.k.a. Intrepid Ibex. ;-) -chris
Re: macros in the middle of the text
On 2008-12-15, Richard Heck wrote: > Niko Schwarz wrote: >> hello, i noticed that math macros exist. i want something similar, but >> in my text. i'm writing a text about a cs problem called "minimum KT >> distance", which is a noun. and I'm really tired of typing that name >> and then setting it to be a noun. isn't there a quicker way? > ... You can use normal LaTeX macros by > defining them in your preamble, e.g.: > \newcommand{\mktd}{minimum KT distance} > and then putting \mktd in ERT where you want it. With LyX 1.6, a text-analogon to math-macros are insets. However, they aare defined in a module, not in the document (this is sometimes an advantage and sometimes not). > You can also define a keyboard binding to do that for you. You can alos define a key binding to insert the text and set it to noun. Find the required lyx functions and use "command-sequence", e.g. # Capitalise current word: \bind "C-u" "command-sequence word-backward; word-capitalize; mark-off" 1.6 also comes with some "completion" mechanism (but I did not try it because it makes LyX too slow on my machine). > Text macros are something it'd be nice to have, though. Maybe "embeddable modules" would do the trick? Günter