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: 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: 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: Springer Style in Lyx
The lecture notes style is given by the llncs.cls class. If that is the one you want to use, then LyX includes already a layout. The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to have the layout available. Cheers, Nicolás bluegreengrassnow bluegreengrassnow wrote: I'm trying to use lyx to write a document in springer lecture notes style. I created the following layout file, however it doesn't create output documents in the correct style: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svjour3]{article (svjour3)} # Input general definitions Input stdclass.inc The svglov3.clo and svjour3.cls files provided by springer are installed in tex\latex\sv-journ3. Springer also provides a template latex file that renders correctly in TeXnicCenter but not in Lyx when imported. Can someone help with this?
Re: Springer Style in Lyx
The lecture notes style is given by the llncs.cls class. If that is the one you want to use, then LyX includes already a layout. The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to have the layout available. Cheers, Nicolás bluegreengrassnow bluegreengrassnow wrote: I'm trying to use lyx to write a document in springer lecture notes style. I created the following layout file, however it doesn't create output documents in the correct style: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svjour3]{article (svjour3)} # Input general definitions Input stdclass.inc The svglov3.clo and svjour3.cls files provided by springer are installed in tex\latex\sv-journ3. Springer also provides a template latex file that renders correctly in TeXnicCenter but not in Lyx when imported. Can someone help with this?
Re: Springer Style in Lyx
The lecture notes style is given by the llncs.cls class. If that is the one you want to use, then LyX includes already a layout. The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to have the layout available. Cheers, Nicolás bluegreengrassnow bluegreengrassnow wrote: I'm trying to use lyx to write a document in springer lecture notes style. I created the following layout file, however it doesn't create output documents in the correct style: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svjour3]{article (svjour3)} # Input general definitions Input stdclass.inc The svglov3.clo and svjour3.cls files provided by springer are installed in tex\latex\sv-journ3. Springer also provides a template latex file that renders correctly in TeXnicCenter but not in Lyx when imported. Can someone help with this?
Re: LyX 1.6.0. breaks down all the time
I can reproduce the recipe from Olivier. I had reported that in this bug entry: http://bugzilla.lyx.org/show_bug.cgi?id=5472 Still I do not know if we can call this a bug or a nice anti-Microsoft feature :-D Cheers, Nicolás Alex wrote: Olivier Ripoll [EMAIL PROTECTED] writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then Copy to Clipboard. Go to a text editor and paste the contents! Alex
Re: LyX 1.6.0. breaks down all the time
I can reproduce the recipe from Olivier. I had reported that in this bug entry: http://bugzilla.lyx.org/show_bug.cgi?id=5472 Still I do not know if we can call this a bug or a nice anti-Microsoft feature :-D Cheers, Nicolás Alex wrote: Olivier Ripoll [EMAIL PROTECTED] writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your Local Settings\Temp directory. Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then Copy to Clipboard. Go to a text editor and paste the contents! Alex
Re: LyX 1.6.0. breaks down all the time
I can reproduce the recipe from Olivier. I had reported that in this bug entry: http://bugzilla.lyx.org/show_bug.cgi?id=5472 Still I do not know if we can call this a bug or a nice anti-Microsoft feature :-D Cheers, Nicolás Alex wrote: Olivier Ripoll <[EMAIL PROTECTED]> writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your "Local Settings\Temp directory". Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then "Copy to Clipboard". Go to a text editor and paste the contents! Alex
Re: Problem with full-screen mode: can you reproduce?
Yes! You are right Vincent. I can get the menu bar pressing Alt-F and then all other shortcuts work again. This is definitely a windows related bug (present with both installers). I had already reported it, but Jürgen Spitzmüller could not reproduce it, therefore I asked here. Thanks for your help. Cheers, Nicolás Vincent van Ravesteijn - TNW wrote: Nicolás wrote: Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? For what it's worth, I don't see this on Linux. rh I can see it on Windows. The only thing that does work is to press Alt-F (e.g.) .. then the menu appears and you can close Full-Screen. Even all short-cuts work when the menu bar is visible. Vincent
Re: Problem with full-screen mode: can you reproduce?
Yes! You are right Vincent. I can get the menu bar pressing Alt-F and then all other shortcuts work again. This is definitely a windows related bug (present with both installers). I had already reported it, but Jürgen Spitzmüller could not reproduce it, therefore I asked here. Thanks for your help. Cheers, Nicolás Vincent van Ravesteijn - TNW wrote: Nicolás wrote: Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? For what it's worth, I don't see this on Linux. rh I can see it on Windows. The only thing that does work is to press Alt-F (e.g.) .. then the menu appears and you can close Full-Screen. Even all short-cuts work when the menu bar is visible. Vincent
Re: Problem with full-screen mode: can you reproduce?
Yes! You are right Vincent. I can get the menu bar pressing Alt-F and then all other shortcuts work again. This is definitely a windows related bug (present with both installers). I had already reported it, but Jürgen Spitzmüller could not reproduce it, therefore I asked here. Thanks for your help. Cheers, Nicolás Vincent van Ravesteijn - TNW wrote: Nicolás wrote: Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? For what it's worth, I don't see this on Linux. rh I can see it on Windows. The only thing that does work is to press Alt-F (e.g.) .. then the menu appears and you can close Full-Screen. Even all short-cuts work when the menu bar is visible. Vincent
Re: Is it possible to insert bibliography after the appendices?
I am not sure if Charles' solution will always work. I myself had a similiar problem. I had several child documents, each of them describing a chapter of a book. One of the child documents had an appendix, and the result was that all the child documents (i.e. chapters) following the one with the appendix appeared as part of the appendix itself. In my case I was using the memoir class. To solve the problem I used \begin{subappendices} and \end{subappendices}, which is part of the appendix package that is natively supported by the memoir class. In your case I guess you should use \begin{appendices} and \end{appendices}. That is, forget about Lyx's support of appendices and insert those commands inside an ERT insert at the beginning and end of your appendix. You may also need to load the appendix package in the document preamble with \usepackage{appendix}. Take a look here for more info: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=appendix Hope this helps Cheers, Nicolás charles reid wrote: Hi Manoj - This has a pretty easy solution. You can put the appendix into a child document[s] (i.e. its own Lyx file or files). Then, in your thesis, you can do Insert File Child Document There will be a small gray box in your Lyx document that now represents the Appendix file. Next, you can go to a line after that gray box and do Insert List / TOC BibTeX Bibliography (or whatever you want to put after the Appendix) and make sure its gray box goes after the Appendix's gray box. I just tested this out to make sure it works OK using LyX 1.5.6. (Note that if you are using macros in your Appendix, you'll have to also include those in the document before you run the latex part. You could even put those macros in their own file and include them as a child document.) Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Thu, Nov 13, 2008 at 1:27 PM, Manoj Rajagopalan [EMAIL PROTECTED] wrote: hi all, I am working on writing my dissertation and of the samples I have seen all have the bibliography after the appendices. Is this possible in Lyx? I find that LyX starts and Appendix section which extends till the end of the document. In creating a bibtex generated bibliography section Lyx assigns it an chapter number which I do not want. How do I go about setting this up? thanks, Manoj
Problem with full-screen mode: can you reproduce?
Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? Cheers, Nicolás
Re: Is it possible to insert bibliography after the appendices?
I am not sure if Charles' solution will always work. I myself had a similiar problem. I had several child documents, each of them describing a chapter of a book. One of the child documents had an appendix, and the result was that all the child documents (i.e. chapters) following the one with the appendix appeared as part of the appendix itself. In my case I was using the memoir class. To solve the problem I used \begin{subappendices} and \end{subappendices}, which is part of the appendix package that is natively supported by the memoir class. In your case I guess you should use \begin{appendices} and \end{appendices}. That is, forget about Lyx's support of appendices and insert those commands inside an ERT insert at the beginning and end of your appendix. You may also need to load the appendix package in the document preamble with \usepackage{appendix}. Take a look here for more info: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=appendix Hope this helps Cheers, Nicolás charles reid wrote: Hi Manoj - This has a pretty easy solution. You can put the appendix into a child document[s] (i.e. its own Lyx file or files). Then, in your thesis, you can do Insert File Child Document There will be a small gray box in your Lyx document that now represents the Appendix file. Next, you can go to a line after that gray box and do Insert List / TOC BibTeX Bibliography (or whatever you want to put after the Appendix) and make sure its gray box goes after the Appendix's gray box. I just tested this out to make sure it works OK using LyX 1.5.6. (Note that if you are using macros in your Appendix, you'll have to also include those in the document before you run the latex part. You could even put those macros in their own file and include them as a child document.) Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Thu, Nov 13, 2008 at 1:27 PM, Manoj Rajagopalan [EMAIL PROTECTED] wrote: hi all, I am working on writing my dissertation and of the samples I have seen all have the bibliography after the appendices. Is this possible in Lyx? I find that LyX starts and Appendix section which extends till the end of the document. In creating a bibtex generated bibliography section Lyx assigns it an chapter number which I do not want. How do I go about setting this up? thanks, Manoj
Problem with full-screen mode: can you reproduce?
Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? Cheers, Nicolás
Re: Is it possible to insert bibliography after the appendices?
I am not sure if Charles' solution will always work. I myself had a similiar problem. I had several child documents, each of them describing a chapter of a book. One of the child documents had an appendix, and the result was that all the child documents (i.e. chapters) following the one with the appendix appeared as part of the appendix itself. In my case I was using the memoir class. To solve the problem I used \begin{subappendices} and \end{subappendices}, which is part of the appendix package that is natively supported by the memoir class. In your case I guess you should use \begin{appendices} and \end{appendices}. That is, forget about Lyx's support of appendices and insert those commands inside an ERT insert at the beginning and end of your appendix. You may also need to load the appendix package in the document preamble with \usepackage{appendix}. Take a look here for more info: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=appendix Hope this helps Cheers, Nicolás charles reid wrote: Hi Manoj - This has a pretty easy solution. You can put the appendix into a child document[s] (i.e. its own Lyx file or files). Then, in your thesis, you can do Insert > File > Child Document There will be a small gray box in your Lyx document that now represents the Appendix file. Next, you can go to a line after that gray box and do Insert > List / TOC > BibTeX Bibliography (or whatever you want to put after the Appendix) and make sure its gray box goes after the Appendix's gray box. I just tested this out to make sure it works OK using LyX 1.5.6. (Note that if you are using macros in your Appendix, you'll have to also include those in the document before you run the latex part. You could even put those macros in their own file and include them as a child document.) Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Thu, Nov 13, 2008 at 1:27 PM, Manoj Rajagopalan <[EMAIL PROTECTED]> wrote: hi all, I am working on writing my dissertation and of the samples I have seen all have the bibliography after the appendices. Is this possible in Lyx? I find that LyX starts and Appendix section which extends till the end of the document. In creating a bibtex generated bibliography section Lyx assigns it an chapter number which I do not want. How do I go about setting this up? thanks, Manoj
Problem with full-screen mode: can you reproduce?
Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? Cheers, Nicolás
Re: Problem with LyX 1.6 on Windows
Olivier Ripoll wrote: Nicolás wrote: Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. [...] When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Hi, It should depends on your settings: look into Tools-Preferences... Then into Look Feel-User interface-Session There is a checkbox saying Load opened files from last session. I suspect it is checked for you. Mine is unchecked, and I have no files opening when starting LyX. Thanks Oliver! It was what you said. I was unaware of this new configuration option. Cheers Nicolás Best regards, Olivier Cheers, Nicolás
Re: Problem with LyX 1.6 on Windows
Olivier Ripoll wrote: Nicolás wrote: Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. [...] When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Hi, It should depends on your settings: look into Tools-Preferences... Then into Look Feel-User interface-Session There is a checkbox saying Load opened files from last session. I suspect it is checked for you. Mine is unchecked, and I have no files opening when starting LyX. Thanks Oliver! It was what you said. I was unaware of this new configuration option. Cheers Nicolás Best regards, Olivier Cheers, Nicolás
Re: Problem with LyX 1.6 on Windows
Olivier Ripoll wrote: Nicolás wrote: Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. [...] When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Hi, It should depends on your settings: look into Tools->Preferences... Then into Look & Feel->User interface->Session There is a checkbox saying "Load opened files from last session". I suspect it is checked for you. Mine is unchecked, and I have no files opening when starting LyX. Thanks Oliver! It was what you said. I was unaware of this new configuration option. Cheers Nicolás Best regards, Olivier Cheers, Nicolás
Problem with LyX 1.6 on Windows
Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. Almost at the end of the installation, I got a cannot write to file error message. The installation log looks like this: Output folder: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h Can't write: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h\dvipost.sty The first time I pressed retry twice and I got an unsuccessful installation message. The second time (after uninstalling) I pressed ignore and the installation continued. When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Cheers, Nicolás
Problem with LyX 1.6 on Windows
Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. Almost at the end of the installation, I got a cannot write to file error message. The installation log looks like this: Output folder: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h Can't write: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h\dvipost.sty The first time I pressed retry twice and I got an unsuccessful installation message. The second time (after uninstalling) I pressed ignore and the installation continued. When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Cheers, Nicolás
Problem with LyX 1.6 on Windows
Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. Almost at the end of the installation, I got a "cannot write to file " error message. The installation log looks like this: Output folder: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h Can't write: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h\dvipost.sty The first time I pressed "retry" twice and I got an "unsuccessful installation" message. The second time (after uninstalling) I pressed "ignore" and the installation continued. When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Cheers, Nicolás
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the track changes function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the track changes function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the "track changes" function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
List of figures with child documents
Hi! I have a document with several child documents included. The list of figures generated by the \listoffigues command does not include the figures inside the child documents. Is there any way to make those figures be included? Thanks! Cheers, Nicolás
List of figures with child documents
Hi! I have a document with several child documents included. The list of figures generated by the \listoffigues command does not include the figures inside the child documents. Is there any way to make those figures be included? Thanks! Cheers, Nicolás
List of figures with child documents
Hi! I have a document with several child documents included. The list of figures generated by the \listoffigues command does not include the figures inside the child documents. Is there any way to make those figures be included? Thanks! Cheers, Nicolás
Re: Refernces
Use Refworks to export your references as Bibtex. A .bib file should be generated. Then follow the intructions in LyX's User's Guide (Help-User's Guide, section 6.5.1) to insert your references in the document. Cheers, Nicolás Hesham Kamel wrote: Hello, I am writing my thesis now, and just knew about LATEX. I downloaded LyX, and started to work with, however I have a concern. In MS Word, I am using a citation manager, Refworks to insert citations, and at the end it produces a bibliography numbered list, while in the main document itself, it generates references to the list according to the selected style. e.g. a full frontal impact can extend for more than half a day even with current computational capabilities [1]. and 1. REFERENCES [1] Natori, S., and Yu, Q., 2007, 2007-01-0882 an Application of CAP (Computer-Aided Principle) to Structural Design for Vehicle Crash Safety, SAE SP, (2072) pp. 73-80. so, can I get the same using LyX? Do I need any additional software? Thank you,
Re: Refernces
Use Refworks to export your references as Bibtex. A .bib file should be generated. Then follow the intructions in LyX's User's Guide (Help-User's Guide, section 6.5.1) to insert your references in the document. Cheers, Nicolás Hesham Kamel wrote: Hello, I am writing my thesis now, and just knew about LATEX. I downloaded LyX, and started to work with, however I have a concern. In MS Word, I am using a citation manager, Refworks to insert citations, and at the end it produces a bibliography numbered list, while in the main document itself, it generates references to the list according to the selected style. e.g. a full frontal impact can extend for more than half a day even with current computational capabilities [1]. and 1. REFERENCES [1] Natori, S., and Yu, Q., 2007, 2007-01-0882 an Application of CAP (Computer-Aided Principle) to Structural Design for Vehicle Crash Safety, SAE SP, (2072) pp. 73-80. so, can I get the same using LyX? Do I need any additional software? Thank you,
Re: Refernces
Use Refworks to export your references as Bibtex. A .bib file should be generated. Then follow the intructions in LyX's User's Guide (Help->User's Guide, section 6.5.1) to insert your references in the document. Cheers, Nicolás Hesham Kamel wrote: Hello, I am writing my thesis now, and just knew about LATEX. I downloaded LyX, and started to work with, however I have a concern. In MS Word, I am using a citation manager, Refworks to insert citations, and at the end it produces a bibliography numbered list, while in the main document itself, it generates references to the list according to the selected style. e.g. a full frontal impact can extend for more than half a day even with current computational capabilities [1]. and 1. REFERENCES [1] Natori, S., and Yu, Q., 2007, "2007-01-0882 an Application of CAP (Computer-Aided Principle) to Structural Design for Vehicle Crash Safety," SAE SP, (2072) pp. 73-80. so, can I get the same using LyX? Do I need any additional software? Thank you,
Re: Converting msword to LyX is ugly!
All that seems like too much work! I would first try to convert Word to Latex, import into LyX and chechk the result. You will still probably have to do some manual adjustment, but they will hopefully be less. I recently use this application: http://www.grindeq.com/index.php?p=word2latex It is not free, but you can download a trail version. If I am not wrong, it works with all the features for a limited period of time. Since you only want to do one conversion, it should be enough. Good luck! Nicolás Steve Litt wrote: Hi all, I have a 300 page book written in MS Word version 97, and I have to convert it to LyX in order to make the second edition. I'll accept all condolences now :-) Believe it or not, the MS Word version was written very much what you guys would call WYSIWYM. I had styles for everything -- almost no appearance was fine tuned. Obviously it's essential that all those styles transfer over into the LyX version. I'll accept all condolences now :-) So heres what my plan, unless someone else has a better idea. First, I'll export to RTF. I'll accept all condolences now :-) Then in Vim I'll do this: :%s/}/}\r/g Now the rtf file will have lines that are somewhat recognizeable as markup. Next I'll look at the \stylesheet part of the RTF, and make a list of all paragraph and character styles, sort of like this: \fs20 Normal \s1 heading 1 \s2 heading 2 \cs10 \additive Default Paragraph Font \s16 myparagraphstyle \cs17 mycharstyle \cs18 mycharstyle2 Then, within Vim I'll run substitions so that the text referred to by the numbers such as \s2 are prepended with my own tags such as phdr2, and better yet that text has a proper ending tag appended. This is not so simple for three reasons: 1) There's always a bunch of gobblety gook between the \s2 and the text to which it refers, and that must eventually be deleted. 2) There's often gobblety gook before the \s2, and that gobblety gook must eventually be deleted. 3) It's MUCH harder to reliably put end tags at the end of the text to which it refers. If I don't put end tags, that means I'll have a much harder time converting it to LyX. Next, I'll re-import the rtf into MS Word. What should happen is it re-imports the same as it originally was, only now it has my tags. From there I should be able to export it to plain text, and use my tags to create the LyX file with suitable scripts. Or maybe make scripts to directly manipulate the RTF. Of course, for all my custom character and paragraph styles, I'll need to create those styles within LyX, in a blank document, before appending the actual content. Then comes the cleanup. Stuff like tables and images won't convert -- I'll need to manually do that cleanup and then run at least a rough proofread. The good news is, because the original document used styles for almost every appearance, fine tuning won't be necessary (hooray for styles!). I'd estimate this to be about a week's job. That's a lot of time, but in the end I'll have converted a 300 page book, style for style, from MS Word to LyX. If anyone has a better idea for converting a 300 page MS Word document to LyX, style for style and word for word, please let me know. Thanks STeveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Converting msword to LyX is ugly!
All that seems like too much work! I would first try to convert Word to Latex, import into LyX and chechk the result. You will still probably have to do some manual adjustment, but they will hopefully be less. I recently use this application: http://www.grindeq.com/index.php?p=word2latex It is not free, but you can download a trail version. If I am not wrong, it works with all the features for a limited period of time. Since you only want to do one conversion, it should be enough. Good luck! Nicolás Steve Litt wrote: Hi all, I have a 300 page book written in MS Word version 97, and I have to convert it to LyX in order to make the second edition. I'll accept all condolences now :-) Believe it or not, the MS Word version was written very much what you guys would call WYSIWYM. I had styles for everything -- almost no appearance was fine tuned. Obviously it's essential that all those styles transfer over into the LyX version. I'll accept all condolences now :-) So heres what my plan, unless someone else has a better idea. First, I'll export to RTF. I'll accept all condolences now :-) Then in Vim I'll do this: :%s/}/}\r/g Now the rtf file will have lines that are somewhat recognizeable as markup. Next I'll look at the \stylesheet part of the RTF, and make a list of all paragraph and character styles, sort of like this: \fs20 Normal \s1 heading 1 \s2 heading 2 \cs10 \additive Default Paragraph Font \s16 myparagraphstyle \cs17 mycharstyle \cs18 mycharstyle2 Then, within Vim I'll run substitions so that the text referred to by the numbers such as \s2 are prepended with my own tags such as phdr2, and better yet that text has a proper ending tag appended. This is not so simple for three reasons: 1) There's always a bunch of gobblety gook between the \s2 and the text to which it refers, and that must eventually be deleted. 2) There's often gobblety gook before the \s2, and that gobblety gook must eventually be deleted. 3) It's MUCH harder to reliably put end tags at the end of the text to which it refers. If I don't put end tags, that means I'll have a much harder time converting it to LyX. Next, I'll re-import the rtf into MS Word. What should happen is it re-imports the same as it originally was, only now it has my tags. From there I should be able to export it to plain text, and use my tags to create the LyX file with suitable scripts. Or maybe make scripts to directly manipulate the RTF. Of course, for all my custom character and paragraph styles, I'll need to create those styles within LyX, in a blank document, before appending the actual content. Then comes the cleanup. Stuff like tables and images won't convert -- I'll need to manually do that cleanup and then run at least a rough proofread. The good news is, because the original document used styles for almost every appearance, fine tuning won't be necessary (hooray for styles!). I'd estimate this to be about a week's job. That's a lot of time, but in the end I'll have converted a 300 page book, style for style, from MS Word to LyX. If anyone has a better idea for converting a 300 page MS Word document to LyX, style for style and word for word, please let me know. Thanks STeveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Converting msword to LyX is ugly!
All that seems like too much work! I would first try to convert Word to Latex, import into LyX and chechk the result. You will still probably have to do some manual adjustment, but they will hopefully be less. I recently use this application: http://www.grindeq.com/index.php?p=word2latex It is not free, but you can download a trail version. If I am not wrong, it works with all the features for a limited period of time. Since you only want to do one conversion, it should be enough. Good luck! Nicolás Steve Litt wrote: Hi all, I have a 300 page book written in MS Word version 97, and I have to convert it to LyX in order to make the second edition. I'll accept all condolences now :-) Believe it or not, the MS Word version was written very much what you guys would call WYSIWYM. I had styles for everything -- almost no appearance was fine tuned. Obviously it's essential that all those styles transfer over into the LyX version. I'll accept all condolences now :-) So heres what my plan, unless someone else has a better idea. First, I'll export to RTF. I'll accept all condolences now :-) Then in Vim I'll do this: :%s/}/}\r/g Now the rtf file will have lines that are somewhat recognizeable as markup. Next I'll look at the \stylesheet part of the RTF, and make a list of all paragraph and character styles, sort of like this: \fs20 Normal \s1 heading 1 \s2 heading 2 \cs10 \additive Default Paragraph Font \s16 myparagraphstyle \cs17 mycharstyle \cs18 mycharstyle2 Then, within Vim I'll run substitions so that the text referred to by the numbers such as \s2 are prepended with my own tags such as phdr2, and better yet that text has a proper ending tag appended. This is not so simple for three reasons: 1) There's always a bunch of gobblety gook between the \s2 and the text to which it refers, and that must eventually be deleted. 2) There's often gobblety gook before the \s2, and that gobblety gook must eventually be deleted. 3) It's MUCH harder to reliably put end tags at the end of the text to which it refers. If I don't put end tags, that means I'll have a much harder time converting it to LyX. Next, I'll re-import the rtf into MS Word. What should happen is it re-imports the same as it originally was, only now it has my tags. From there I should be able to export it to plain text, and use my tags to create the LyX file with suitable scripts. Or maybe make scripts to directly manipulate the RTF. Of course, for all my custom character and paragraph styles, I'll need to create those styles within LyX, in a blank document, before appending the actual content. Then comes the cleanup. Stuff like tables and images won't convert -- I'll need to manually do that cleanup and then run at least a rough proofread. The good news is, because the original document used styles for almost every appearance, fine tuning won't be necessary (hooray for styles!). I'd estimate this to be about a week's job. That's a lot of time, but in the end I'll have converted a 300 page book, style for style, from MS Word to LyX. If anyone has a better idea for converting a 300 page MS Word document to LyX, style for style and word for word, please let me know. Thanks STeveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Why the ugly PNG pictures?
I strongly suggest you to use the OTEditor utility to convert Visio diagrams to EPS. I have been using it for a long time now and I am very, very happy with the result. OTEditor is a free program that can be downloaded from www.sourceforge.net/projects/oletex. It is rather simple to install and to use. Assuming that you have this program installed, this are the steps to make the conversion: 1- Select the diagram in Visio, Powerpoint, etc 2- Copy it into the OTEditor 3- Choose EPS properties and give a name (you may also change the size of the figure) 4- Choose Convert.. and that's it! One nice thing is that the generated EPS has a correct bounding box! Nicolás Aleksandar Kanchev wrote: Hey Georg, thanks a lot for this nice explanation. I figured out yesterday that using bitmaps (i.e. PNG, JPEG) is not the right way. I actually tried exporting the drawing into SVG from MS Visio but it was a disaster. Visio itself was able to recreate the drawing without any problems, but unfortunately the libraries that came with Fedora 9 couldn't. I also tried other free tools like inkscape, but none of them could handle the Visio SVG. So I'm currently using the Adobe Illustrator, I'm importing the SVG from Visio than I'm exporting it to EPS. It works wonderfully, the drawing looks to be exactly the same. Thanks for the link about the Metafile EPS Converter. I don't know how did I miss that. The automatic convertsion sounds nice, but it's kind of better if you're using LyX under windows. I'll stick with using the Illustrator for now. Thanks, Aleksandar Georg Baum wrote: Aleksandar Kanchev wrote: Hello list, whats wrong with LyX and PNG files? Nothing. PNG files usually work fine. I draw a diagram in MS Visio, export Since Visio produces vector graphics it would be better to use a vector format, e.g. EMF. Then you will not get any scaling problems. See http://wiki.lyx.org/Windows/MetafileToEPSConverter for instructions on getting good EMF/WMF support in LyX. it to PNG, open it on LyX 1.5.5 (on Fedora 9). The PNG looks nice in LyX itself, but when I create a pdf the picture gets over-scaled beyond the page size. I tried forcing the picture size in lyx but it looked like it was first over-scaled, then scaled again to the size I gave it and as a result it looked completely ugly. This seems to be a problem with PNG files, I tried exporting from MS Visio the same file with the same size in JPEG and it displayed ok in LyX and the picture wasn't over-scaled I left it to automatically scale the picture. Am I doing something wrong? Is there a known problem with PNG files? Could it be fixed? I really don't like JPEG, the diagram looks better in PNG. The picture size is 14x11,2 cm or 529x423 pixels. It is the nature of bitmap files that the size is always measured in pixels, never in physical length units like cm. Some bitmap formats do allow to specify a resolution, so that you can relate pixels to physical lengths, but this setting is usually ignored. In order to get predictable results you should therefore avoid the setting Original size for bitmap files and specify a fixed size, either in physical length units or LaTeX variables, e.g. page width. If you get ugly looking PNGs you are probably not using pdflatex (which supports PNG directly), and a bad PNG-EPS converter. Georg
Re: Why the ugly PNG pictures?
I strongly suggest you to use the OTEditor utility to convert Visio diagrams to EPS. I have been using it for a long time now and I am very, very happy with the result. OTEditor is a free program that can be downloaded from www.sourceforge.net/projects/oletex. It is rather simple to install and to use. Assuming that you have this program installed, this are the steps to make the conversion: 1- Select the diagram in Visio, Powerpoint, etc 2- Copy it into the OTEditor 3- Choose EPS properties and give a name (you may also change the size of the figure) 4- Choose Convert.. and that's it! One nice thing is that the generated EPS has a correct bounding box! Nicolás Aleksandar Kanchev wrote: Hey Georg, thanks a lot for this nice explanation. I figured out yesterday that using bitmaps (i.e. PNG, JPEG) is not the right way. I actually tried exporting the drawing into SVG from MS Visio but it was a disaster. Visio itself was able to recreate the drawing without any problems, but unfortunately the libraries that came with Fedora 9 couldn't. I also tried other free tools like inkscape, but none of them could handle the Visio SVG. So I'm currently using the Adobe Illustrator, I'm importing the SVG from Visio than I'm exporting it to EPS. It works wonderfully, the drawing looks to be exactly the same. Thanks for the link about the Metafile EPS Converter. I don't know how did I miss that. The automatic convertsion sounds nice, but it's kind of better if you're using LyX under windows. I'll stick with using the Illustrator for now. Thanks, Aleksandar Georg Baum wrote: Aleksandar Kanchev wrote: Hello list, whats wrong with LyX and PNG files? Nothing. PNG files usually work fine. I draw a diagram in MS Visio, export Since Visio produces vector graphics it would be better to use a vector format, e.g. EMF. Then you will not get any scaling problems. See http://wiki.lyx.org/Windows/MetafileToEPSConverter for instructions on getting good EMF/WMF support in LyX. it to PNG, open it on LyX 1.5.5 (on Fedora 9). The PNG looks nice in LyX itself, but when I create a pdf the picture gets over-scaled beyond the page size. I tried forcing the picture size in lyx but it looked like it was first over-scaled, then scaled again to the size I gave it and as a result it looked completely ugly. This seems to be a problem with PNG files, I tried exporting from MS Visio the same file with the same size in JPEG and it displayed ok in LyX and the picture wasn't over-scaled I left it to automatically scale the picture. Am I doing something wrong? Is there a known problem with PNG files? Could it be fixed? I really don't like JPEG, the diagram looks better in PNG. The picture size is 14x11,2 cm or 529x423 pixels. It is the nature of bitmap files that the size is always measured in pixels, never in physical length units like cm. Some bitmap formats do allow to specify a resolution, so that you can relate pixels to physical lengths, but this setting is usually ignored. In order to get predictable results you should therefore avoid the setting Original size for bitmap files and specify a fixed size, either in physical length units or LaTeX variables, e.g. page width. If you get ugly looking PNGs you are probably not using pdflatex (which supports PNG directly), and a bad PNG-EPS converter. Georg
Re: Why the ugly PNG pictures?
I strongly suggest you to use the OTEditor utility to convert Visio diagrams to EPS. I have been using it for a long time now and I am very, very happy with the result. OTEditor is a free program that can be downloaded from www.sourceforge.net/projects/oletex. It is rather simple to install and to use. Assuming that you have this program installed, this are the steps to make the conversion: 1- Select the diagram in Visio, Powerpoint, etc 2- Copy it into the OTEditor 3- Choose "EPS properties" and give a name (you may also change the size of the figure) 4- Choose "Convert.." and that's it! One nice thing is that the generated EPS has a correct bounding box! Nicolás Aleksandar Kanchev wrote: Hey Georg, thanks a lot for this nice explanation. I figured out yesterday that using bitmaps (i.e. PNG, JPEG) is not the right way. I actually tried exporting the drawing into SVG from MS Visio but it was a disaster. Visio itself was able to recreate the drawing without any problems, but unfortunately the libraries that came with Fedora 9 couldn't. I also tried other free tools like inkscape, but none of them could handle the Visio SVG. So I'm currently using the Adobe Illustrator, I'm importing the SVG from Visio than I'm exporting it to EPS. It works wonderfully, the drawing looks to be exactly the same. Thanks for the link about the Metafile EPS Converter. I don't know how did I miss that. The automatic convertsion sounds nice, but it's kind of better if you're using LyX under windows. I'll stick with using the Illustrator for now. Thanks, Aleksandar Georg Baum wrote: Aleksandar Kanchev wrote: Hello list, whats wrong with LyX and PNG files? Nothing. PNG files usually work fine. I draw a diagram in MS Visio, export Since Visio produces vector graphics it would be better to use a vector format, e.g. EMF. Then you will not get any scaling problems. See http://wiki.lyx.org/Windows/MetafileToEPSConverter for instructions on getting good EMF/WMF support in LyX. it to PNG, open it on LyX 1.5.5 (on Fedora 9). The PNG looks nice in LyX itself, but when I create a pdf the picture gets over-scaled beyond the page size. I tried forcing the picture size in lyx but it looked like it was first over-scaled, then scaled again to the size I gave it and as a result it looked completely ugly. This seems to be a problem with PNG files, I tried exporting from MS Visio the same file with the same size in JPEG and it displayed ok in LyX and the picture wasn't over-scaled I left it to automatically scale the picture. Am I doing something wrong? Is there a known problem with PNG files? Could it be fixed? I really don't like JPEG, the diagram looks better in PNG. The picture size is 14x11,2 cm or 529x423 pixels. It is the nature of bitmap files that the size is always measured in pixels, never in physical length units like cm. Some bitmap formats do allow to specify a resolution, so that you can relate pixels to physical lengths, but this setting is usually ignored. In order to get predictable results you should therefore avoid the setting "Original size" for bitmap files and specify a fixed size, either in physical length units or LaTeX variables, e.g. page width. If you get ugly looking PNGs you are probably not using pdflatex (which supports PNG directly), and a bad PNG->EPS converter. Georg
Re: change page order for parts
If I am not wrong, you get this for free when you use the book class (or a derived one) and you choose the two-sided option in Docuemnt Settings. assasukasse wrote: Hello i was wondering if is possible to tell LyX, to impaginate following this rule: the page bearing the Part I, Part II or similar, should be always the front side of a sheet, since at the moment i have part pages in the back side of the sheet as well (i am printing double side). I am not sure i am clear enough, but i will try to use a more specific language: I want the part to be always printed in the recto of the paper sheet, NEVER it should end up in the verso.. Is that possible? Thanks alot! Agostino
Re: change page order for parts
If I am not wrong, you get this for free when you use the book class (or a derived one) and you choose the two-sided option in Docuemnt Settings. assasukasse wrote: Hello i was wondering if is possible to tell LyX, to impaginate following this rule: the page bearing the Part I, Part II or similar, should be always the front side of a sheet, since at the moment i have part pages in the back side of the sheet as well (i am printing double side). I am not sure i am clear enough, but i will try to use a more specific language: I want the part to be always printed in the recto of the paper sheet, NEVER it should end up in the verso.. Is that possible? Thanks alot! Agostino
Re: change page order for "parts"
If I am not wrong, you get this for free when you use the book class (or a derived one) and you choose the "two-sided" option in Docuemnt Settings. assasukasse wrote: Hello i was wondering if is possible to tell LyX, to impaginate following this rule: the page bearing the Part I, Part II or similar, should be always the front side of a sheet, since at the moment i have "part" pages in the back side of the sheet as well (i am printing double side). I am not sure i am clear enough, but i will try to use a more specific language: I want the "part" to be always printed in the recto of the paper sheet, NEVER it should end up in the verso.. Is that possible? Thanks alot! Agostino
Re: Bounding box problem (not caused by LyX but ghostscript)
Tom, you can specify the resolution with -r300 (that's the maximun) You may also consider embedding the fonts with: -dEmbeddAllFonts=true -dSubsetFonts=true You may find this interesting: http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS Nicolás Tom Schlangen wrote: Dear Olivier, I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps I tried this, but ... The resulting image displays fine in LyX with or without the clipping options While this is true regarding the bounding box problem, the resulting picture quality I get (LyX display and printout) is very poor compared to the other method I used so far. I am using AFPL Ghostscript V8.54, because it is installed on the Windows machine anyway. I will try some younger Windows versions of ghostscript tomorrow and report back. This morning I tried the GPL GS V8.61 windows binary using your suggested method too, sadly also giving bad quality/resolution results. Any suggestion to improve the output quality? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Tom, you can specify the resolution with -r300 (that's the maximun) You may also consider embedding the fonts with: -dEmbeddAllFonts=true -dSubsetFonts=true You may find this interesting: http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS Nicolás Tom Schlangen wrote: Dear Olivier, I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps I tried this, but ... The resulting image displays fine in LyX with or without the clipping options While this is true regarding the bounding box problem, the resulting picture quality I get (LyX display and printout) is very poor compared to the other method I used so far. I am using AFPL Ghostscript V8.54, because it is installed on the Windows machine anyway. I will try some younger Windows versions of ghostscript tomorrow and report back. This morning I tried the GPL GS V8.61 windows binary using your suggested method too, sadly also giving bad quality/resolution results. Any suggestion to improve the output quality? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Tom, you can specify the resolution with -r300 (that's the maximun) You may also consider embedding the fonts with: -dEmbeddAllFonts=true -dSubsetFonts=true You may find this interesting: http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS Nicolás Tom Schlangen wrote: Dear Olivier, I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps I tried this, but ... The resulting image displays fine in LyX with or without the clipping options While this is true regarding the bounding box problem, the resulting picture quality I get (LyX display and printout) is very poor compared to the other method I used so far. I am using AFPL Ghostscript V8.54, because it is installed on the Windows machine anyway. I will try some younger Windows versions of ghostscript tomorrow and report back. This morning I tried the GPL GS V8.61 windows binary using your suggested method too, sadly also giving bad quality/resolution results. Any suggestion to improve the output quality? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Well, it seems that I have a lucky configuration/installation in my machine. As I already said, I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6, Miktex 2.7 and Acrobat Reader 7. For me, all images except dummy_bbget_gs862.eps (which GsView reports errors when trying to open it) are correctly visualized in LyX and in pdf, with and w/o the clipping option selected. Could someone explain what LyX really does when the cclipping option is selected? Nicolás Olivier Ripoll wrote: Hi, I tried your eps files in LyX 1.6 beta3 under windows XP. I use Adobe reader 8 for pdf (generated by pdflatex IIRC) and gsview 4.9 / ghostscript 8.62 for postscript viewing. It does work better for me that for you it seems (you may suffer from an outdated/buggy imagemagick). I tried the images without checking the option to clip to the bounding box, and with it (ion that case, also with clicking on the button to get the size from the file). Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) displays fine in LyX with or without the clipping options pdf/ps/dvi output is fine Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) gsview 4.9 cannot even open this file... it reports errors. displays wrong in LyX with and without the clipping options. LyX cannot actually read the bounding box at all. does not display in pdf (blank pages), result in errors in gsview and dvi viewer. Output from gsview v4.7, using option PS to EPS, also checkmarked Automatically calculate Baounding Box. BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) displays wrong (full page) in LyX with or without the clipping options pdf/ps/dvi is fine though Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) displays wrong (full page) in LyX without the clipping options and fine with it. ps/dvi are correct pdf is correct without the clipping option, but the figure is missing when using the clipping option (yep... it works without and _not_ with). Now, I do not really understand why you need such a complex workflow. Why do you need to go in Linux ? I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps (You need to have gs in your path) The resulting image displays fine in LyX with or without the clipping options, and ps/pdf/dvi is fine also. So my conclusion is : don't care about what LyX displays, care about the final result, and most encapsulated postscripts (eps) are fine there. And also, use ghostscript 8.62 on windows. Regards, Tom Schlangen Regards, Olivier PS: personally, I use pdf instead of eps: it takes less disc space, you can edit easily with inkscape, everyone can view them, and last but not least, it is the base format for pdf(La)TeX which is nicer (pdf bookmarks).
Re: Bounding box problem (not caused by LyX but ghostscript)
Well, it seems that I have a lucky configuration/installation in my machine. As I already said, I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6, Miktex 2.7 and Acrobat Reader 7. For me, all images except dummy_bbget_gs862.eps (which GsView reports errors when trying to open it) are correctly visualized in LyX and in pdf, with and w/o the clipping option selected. Could someone explain what LyX really does when the cclipping option is selected? Nicolás Olivier Ripoll wrote: Hi, I tried your eps files in LyX 1.6 beta3 under windows XP. I use Adobe reader 8 for pdf (generated by pdflatex IIRC) and gsview 4.9 / ghostscript 8.62 for postscript viewing. It does work better for me that for you it seems (you may suffer from an outdated/buggy imagemagick). I tried the images without checking the option to clip to the bounding box, and with it (ion that case, also with clicking on the button to get the size from the file). Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) displays fine in LyX with or without the clipping options pdf/ps/dvi output is fine Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) gsview 4.9 cannot even open this file... it reports errors. displays wrong in LyX with and without the clipping options. LyX cannot actually read the bounding box at all. does not display in pdf (blank pages), result in errors in gsview and dvi viewer. Output from gsview v4.7, using option PS to EPS, also checkmarked Automatically calculate Baounding Box. BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) displays wrong (full page) in LyX with or without the clipping options pdf/ps/dvi is fine though Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) displays wrong (full page) in LyX without the clipping options and fine with it. ps/dvi are correct pdf is correct without the clipping option, but the figure is missing when using the clipping option (yep... it works without and _not_ with). Now, I do not really understand why you need such a complex workflow. Why do you need to go in Linux ? I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps (You need to have gs in your path) The resulting image displays fine in LyX with or without the clipping options, and ps/pdf/dvi is fine also. So my conclusion is : don't care about what LyX displays, care about the final result, and most encapsulated postscripts (eps) are fine there. And also, use ghostscript 8.62 on windows. Regards, Tom Schlangen Regards, Olivier PS: personally, I use pdf instead of eps: it takes less disc space, you can edit easily with inkscape, everyone can view them, and last but not least, it is the base format for pdf(La)TeX which is nicer (pdf bookmarks).
Re: Bounding box problem (not caused by LyX but ghostscript)
Well, it seems that I have a lucky configuration/installation in my machine. As I already said, I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6, Miktex 2.7 and Acrobat Reader 7. For me, all images except dummy_bbget_gs862.eps (which GsView reports errors when trying to open it) are correctly visualized in LyX and in pdf, with and w/o the clipping option selected. Could someone explain what LyX really does when the cclipping option is selected? Nicolás Olivier Ripoll wrote: Hi, I tried your eps files in LyX 1.6 beta3 under windows XP. I use Adobe reader 8 for pdf (generated by pdflatex IIRC) and gsview 4.9 / ghostscript 8.62 for postscript viewing. It does work better for me that for you it seems (you may suffer from an outdated/buggy imagemagick). I tried the images without checking the option to clip to the bounding box, and with it (ion that case, also with clicking on the button to get the size from the file). Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) displays fine in LyX with or without the clipping options pdf/ps/dvi output is fine Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) gsview 4.9 cannot even open this file... it reports errors. displays wrong in LyX with and without the clipping options. LyX cannot actually read the bounding box at all. does not display in pdf (blank pages), result in errors in gsview and dvi viewer. Output from gsview v4.7, using option PS to EPS, also checkmarked "Automatically calculate Baounding Box". BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) displays wrong (full page) in LyX with or without the clipping options pdf/ps/dvi is fine though Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) displays wrong (full page) in LyX without the clipping options and fine with it. ps/dvi are correct pdf is correct without the clipping option, but the figure is missing when using the clipping option (yep... it works without and _not_ with). Now, I do not really understand why you need such a complex workflow. Why do you need to go in Linux ? I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps (You need to have gs in your path) The resulting image displays fine in LyX with or without the clipping options, and ps/pdf/dvi is fine also. So my conclusion is : don't care about what LyX displays, care about the final result, and most encapsulated postscripts (eps) are fine there. And also, use ghostscript 8.62 on windows. Regards, Tom Schlangen Regards, Olivier PS: personally, I use pdf instead of eps: it takes less disc space, you can edit easily with inkscape, everyone can view them, and last but not least, it is the base format for pdf(La)TeX which is nicer (pdf bookmarks).
Re: Lyx 1.5.3 not showing references from Jabref 2.3.1
If I create a .bib file with those two references and use it in LyX, I can see both references. Don't know where is the problem. I use JabRef 2.3.1 to create my .bib file and have not experienced any problem so far. Ralf77 wrote: rgheck wrote: vu wrote: rgheck wrote: Export the document to LaTeX and try compiling it manually. Report the error messages. It sounds to me as if either LyX or LaTeX isn't finding the .bib file, and there are various reasons this can happen. Hi, I have a similar problem. Some of my References from Jabref 2.3.1 are shown in the list of references in lyx 1.5.5 but SOME ARE NOT. e.g. this entry is shown: @TECHREPORT{URI-standard, author = {{Tim Berners-Lee}}, title = {{Uniform Resource Identifier (URI): Generic Syntax}}, institution = {W3C / MIT / The Internet Society}, year = {2005}, type = {RFC}, number = {3986}, owner = {rwe}, timestamp = {2008.06.26}, url = {http://tools.ietf.org/html/rfc3986} } while this one is not: @MISC{Thatte2001, author = {{Thatte}}, title = {{XLANG – Web Services for Business Process Design}}, howpublished = {Online}, year = {2001}, institution = {Microsoft Corporation}, owner = {rwe}, timestamp = {2008.06.24}, url = {http://www.gotdotnet.com/team/xml_wsspecs/xlang-c/default.htm} } Can someone help? Cheers, Ralf
Re: Lyx 1.5.3 not showing references from Jabref 2.3.1
If I create a .bib file with those two references and use it in LyX, I can see both references. Don't know where is the problem. I use JabRef 2.3.1 to create my .bib file and have not experienced any problem so far. Ralf77 wrote: rgheck wrote: vu wrote: rgheck wrote: Export the document to LaTeX and try compiling it manually. Report the error messages. It sounds to me as if either LyX or LaTeX isn't finding the .bib file, and there are various reasons this can happen. Hi, I have a similar problem. Some of my References from Jabref 2.3.1 are shown in the list of references in lyx 1.5.5 but SOME ARE NOT. e.g. this entry is shown: @TECHREPORT{URI-standard, author = {{Tim Berners-Lee}}, title = {{Uniform Resource Identifier (URI): Generic Syntax}}, institution = {W3C / MIT / The Internet Society}, year = {2005}, type = {RFC}, number = {3986}, owner = {rwe}, timestamp = {2008.06.26}, url = {http://tools.ietf.org/html/rfc3986} } while this one is not: @MISC{Thatte2001, author = {{Thatte}}, title = {{XLANG – Web Services for Business Process Design}}, howpublished = {Online}, year = {2001}, institution = {Microsoft Corporation}, owner = {rwe}, timestamp = {2008.06.24}, url = {http://www.gotdotnet.com/team/xml_wsspecs/xlang-c/default.htm} } Can someone help? Cheers, Ralf
Re: Lyx 1.5.3 not showing references from Jabref 2.3.1
If I create a .bib file with those two references and use it in LyX, I can see both references. Don't know where is the problem. I use JabRef 2.3.1 to create my .bib file and have not experienced any problem so far. Ralf77 wrote: rgheck wrote: vu wrote: rgheck wrote: Export the document to LaTeX and try compiling it manually. Report the error messages. It sounds to me as if either LyX or LaTeX isn't finding the .bib file, and there are various reasons this can happen. Hi, I have a similar problem. Some of my References from Jabref 2.3.1 are shown in the list of references in lyx 1.5.5 but SOME ARE NOT. e.g. this entry is shown: @TECHREPORT{URI-standard, author = {{Tim Berners-Lee}}, title = {{Uniform Resource Identifier (URI): Generic Syntax}}, institution = {W3C / MIT / The Internet Society}, year = {2005}, type = {RFC}, number = {3986}, owner = {rwe}, timestamp = {2008.06.26}, url = {http://tools.ietf.org/html/rfc3986} } while this one is not: @MISC{Thatte2001, author = {{Thatte}}, title = {{XLANG – Web Services for Business Process Design}}, howpublished = {Online}, year = {2001}, institution = {Microsoft Corporation}, owner = {rwe}, timestamp = {2008.06.24}, url = {http://www.gotdotnet.com/team/xml_wsspecs/xlang-c/default.htm} } Can someone help? Cheers, Ralf
Re: Bounding box problem (not caused by LyX but ghostscript)
I you select the Clip to bounding box option and get the bounding box from the file, the result will be the same as if you simply do not select the Clip to bounding box option (in my experience, at least). Now, regarding your eps files, are the last two or three eps files really useless? I can see that the only difference with the ok file is that their bounding box is one point bigger in both th evertical and horizontal dimensions. Is that really a problem? What you get is a white frame of less than 1mm of thickness, and since I assume your paper is white... no one will notice such fame! Just my opinion. Cheers, Nicolás Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. .EPS output file of the circuit drawing program I use: http://www.ines.mynetcologne.de/dummy.eps (64k) bbget script from http://silas.psfc.mit.edu/elec_fig/ : http://www.ines.mynetcologne.de/bbget Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) Output from gsview v4.7, using option PS to EPS, also checkmarked Automatically calculate Baounding Box. BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) Just import those example eps files dummy_bbget_espgs770.eps (64k) (works!) dummy_bbget_gs862.eps (64k) (doesn´t work) dummy_gsview47.eps (64k) (doesn´t work) dummy_ps2eps164.eps (64k) (doesn´t work) to LyX always using the Clip to bounding box and Read from file options in the dialog, and have a look at the output. You will see the only file giving correct clipping is the one with the bounding box values generated by bbget and an old, discontinued ESP ghostscript version. Now, everybody can say that is not a problem of LyX, but on the other hand, the LyX image import dialogue is left pretty useless if there is only some certain script/program combination being able to generate bounding boxes that LyX is able to deal with? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Do you mean that when the eps is displayed in LyX is not clipped, as it would happen if it was opened with Gsview? In my machine I can see the clipped figure both in LyX and in the generated pdf/ps/dvi. I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6. Nicolás Mukhtar Ullah wrote: Dear Tom, I checked your figures in LyX and could verify your problem. It seems that imagemagick is culprit. I converted your eps files to pdf and included that in LyX. That was shown perfectly clipped. So you could consider switchin gto pdflatex, converting all your eps files by a script using epstopdf command from MiKTeX. That, ofcourse, will only be possible if you are not using pstricks. Mukhtar
Re: Bounding box problem (not caused by LyX but ghostscript)
I you select the Clip to bounding box option and get the bounding box from the file, the result will be the same as if you simply do not select the Clip to bounding box option (in my experience, at least). Now, regarding your eps files, are the last two or three eps files really useless? I can see that the only difference with the ok file is that their bounding box is one point bigger in both th evertical and horizontal dimensions. Is that really a problem? What you get is a white frame of less than 1mm of thickness, and since I assume your paper is white... no one will notice such fame! Just my opinion. Cheers, Nicolás Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. .EPS output file of the circuit drawing program I use: http://www.ines.mynetcologne.de/dummy.eps (64k) bbget script from http://silas.psfc.mit.edu/elec_fig/ : http://www.ines.mynetcologne.de/bbget Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) Output from gsview v4.7, using option PS to EPS, also checkmarked Automatically calculate Baounding Box. BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) Just import those example eps files dummy_bbget_espgs770.eps (64k) (works!) dummy_bbget_gs862.eps (64k) (doesn´t work) dummy_gsview47.eps (64k) (doesn´t work) dummy_ps2eps164.eps (64k) (doesn´t work) to LyX always using the Clip to bounding box and Read from file options in the dialog, and have a look at the output. You will see the only file giving correct clipping is the one with the bounding box values generated by bbget and an old, discontinued ESP ghostscript version. Now, everybody can say that is not a problem of LyX, but on the other hand, the LyX image import dialogue is left pretty useless if there is only some certain script/program combination being able to generate bounding boxes that LyX is able to deal with? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Do you mean that when the eps is displayed in LyX is not clipped, as it would happen if it was opened with Gsview? In my machine I can see the clipped figure both in LyX and in the generated pdf/ps/dvi. I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6. Nicolás Mukhtar Ullah wrote: Dear Tom, I checked your figures in LyX and could verify your problem. It seems that imagemagick is culprit. I converted your eps files to pdf and included that in LyX. That was shown perfectly clipped. So you could consider switchin gto pdflatex, converting all your eps files by a script using epstopdf command from MiKTeX. That, ofcourse, will only be possible if you are not using pstricks. Mukhtar
Re: Bounding box problem (not caused by LyX but ghostscript)
I you select the "Clip to bounding box" option and get the bounding box from the file, the result will be the same as if you simply do not select the "Clip to bounding box" option (in my experience, at least). Now, regarding your eps files, are the last two or three eps files really useless? I can see that the only difference with the ok file is that their bounding box is one point bigger in both th evertical and horizontal dimensions. Is that really a problem? What you get is a white frame of less than 1mm of thickness, and since I assume your paper is white... no one will notice such fame! Just my opinion. Cheers, Nicolás Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. .EPS output file of the circuit drawing program I use: http://www.ines.mynetcologne.de/dummy.eps (64k) bbget script from http://silas.psfc.mit.edu/elec_fig/ : http://www.ines.mynetcologne.de/bbget Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) Output from gsview v4.7, using option PS to EPS, also checkmarked "Automatically calculate Baounding Box". BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) Just import those example eps files dummy_bbget_espgs770.eps (64k) (works!) dummy_bbget_gs862.eps (64k) (doesn´t work) dummy_gsview47.eps (64k) (doesn´t work) dummy_ps2eps164.eps (64k) (doesn´t work) to LyX always using the "Clip to bounding box" and "Read from file" options in the dialog, and have a look at the output. You will see the only file giving correct clipping is the one with the bounding box values generated by bbget and an old, discontinued ESP ghostscript version. Now, everybody can say "that is not a problem of LyX", but on the other hand, the LyX image import dialogue is left pretty useless if there is only some certain script/program combination being able to generate bounding boxes that LyX is able to deal with? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Do you mean that when the eps is displayed in LyX is not clipped, as it would happen if it was opened with Gsview? In my machine I can see the clipped figure both in LyX and in the generated pdf/ps/dvi. I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6. Nicolás Mukhtar Ullah wrote: Dear Tom, I checked your figures in LyX and could verify your problem. It seems that imagemagick is culprit. I converted your eps files to pdf and included that in LyX. That was shown perfectly clipped. So you could consider switchin gto pdflatex, converting all your eps files by a script using epstopdf command from MiKTeX. That, ofcourse, will only be possible if you are not using pstricks. Mukhtar
Find Replace with ERT insets
Hi! LyX (v1.5.5) is able to find a certain text string inside an ERT inset. However, the automatic replacement feature does not seem to work. Is this a bug or the intended behavior? If the second case applies, what is the reason for such behavior? Thanks! Nicolás
Find Replace with ERT insets
Hi! LyX (v1.5.5) is able to find a certain text string inside an ERT inset. However, the automatic replacement feature does not seem to work. Is this a bug or the intended behavior? If the second case applies, what is the reason for such behavior? Thanks! Nicolás
Find & Replace with ERT insets
Hi! LyX (v1.5.5) is able to find a certain text string inside an ERT inset. However, the automatic replacement feature does not seem to work. Is this a bug or the intended behavior? If the second case applies, what is the reason for such behavior? Thanks! Nicolás
Re: LyX renumbered footnotes when I began new chapter---how to fix?
I would say that this is not a problem of LyX (although I may be wrong), but of the Latex class you are using. Anyway, the following link might be of help: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-05/msg01776.html Cheers, Nicolás drew loewe wrote: Hello. I recently installed LyX 1.5.5, updating from 1.3. I am using LyX to write my dissertation. Footnotes are to be numbered consecutively through the document, and indeed the output in 1.3 did this. Now, however, LyX renumbered the footnotes, beginning again with footnote 1, where a new chapter begins. Here is my preamble, if it helps: \ProvidesPackage{mla}\RequirePackage{geometry,setspace,fancyhdr}\geometry{margin=1.5in,top=0.5in,headheight=15pt,headsep=0.25in, nofoot}\lhead{}\chead{}\rhead{Loewe~\thepage}\lfoot{}\cfoot{}\rfoot{}\renewcommand{\headrulewidth}{0in}\pagestyle{fancy}\renewcommand{\doublespacing}{\setstretch{1.92}} % only for 12 pt\doublespacing\setlength{\parindent}{0.5in} \textwidth=6in\oddsidemargin=0.5in \evensidemargin=0.5in \topmargin=-0.5in\textheight=9in \usepackage{url} \tolerance 1414 \hbadness 1414 \emergencystretch 1.5em \hfuzz 0.3pt \widowpenalty=1 \hyphenpenalty=1 \vfuzz \hfuzz \raggedbottom \usepackage{titlesec} Help! Thank you!
Re: LyX renumbered footnotes when I began new chapter---how to fix?
I would say that this is not a problem of LyX (although I may be wrong), but of the Latex class you are using. Anyway, the following link might be of help: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-05/msg01776.html Cheers, Nicolás drew loewe wrote: Hello. I recently installed LyX 1.5.5, updating from 1.3. I am using LyX to write my dissertation. Footnotes are to be numbered consecutively through the document, and indeed the output in 1.3 did this. Now, however, LyX renumbered the footnotes, beginning again with footnote 1, where a new chapter begins. Here is my preamble, if it helps: \ProvidesPackage{mla}\RequirePackage{geometry,setspace,fancyhdr}\geometry{margin=1.5in,top=0.5in,headheight=15pt,headsep=0.25in, nofoot}\lhead{}\chead{}\rhead{Loewe~\thepage}\lfoot{}\cfoot{}\rfoot{}\renewcommand{\headrulewidth}{0in}\pagestyle{fancy}\renewcommand{\doublespacing}{\setstretch{1.92}} % only for 12 pt\doublespacing\setlength{\parindent}{0.5in} \textwidth=6in\oddsidemargin=0.5in \evensidemargin=0.5in \topmargin=-0.5in\textheight=9in \usepackage{url} \tolerance 1414 \hbadness 1414 \emergencystretch 1.5em \hfuzz 0.3pt \widowpenalty=1 \hyphenpenalty=1 \vfuzz \hfuzz \raggedbottom \usepackage{titlesec} Help! Thank you!
Re: LyX renumbered footnotes when I began new chapter---how to fix?
I would say that this is not a problem of LyX (although I may be wrong), but of the Latex class you are using. Anyway, the following link might be of help: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-05/msg01776.html Cheers, Nicolás drew loewe wrote: Hello. I recently installed LyX 1.5.5, updating from 1.3. I am using LyX to write my dissertation. Footnotes are to be numbered consecutively through the document, and indeed the output in 1.3 did this. Now, however, LyX renumbered the footnotes, beginning again with footnote 1, where a new chapter begins. Here is my preamble, if it helps: \ProvidesPackage{mla}\RequirePackage{geometry,setspace,fancyhdr}\geometry{margin=1.5in,top=0.5in,headheight=15pt,headsep=0.25in, nofoot}\lhead{}\chead{}\rhead{Loewe~\thepage}\lfoot{}\cfoot{}\rfoot{}\renewcommand{\headrulewidth}{0in}\pagestyle{fancy}\renewcommand{\doublespacing}{\setstretch{1.92}} % only for 12 pt\doublespacing\setlength{\parindent}{0.5in} \textwidth=6in\oddsidemargin=0.5in \evensidemargin=0.5in \topmargin=-0.5in\textheight=9in \usepackage{url} \tolerance 1414 \hbadness 1414 \emergencystretch 1.5em \hfuzz 0.3pt \widowpenalty=1 \hyphenpenalty=1 \vfuzz \hfuzz \raggedbottom \usepackage{titlesec} Help! Thank you!
Re: No headers with memoir class
Thanks Maksi! Your solution almost worked. It removed the headings as I wanted, but I also wanted the page number on the foot of the page. I have seen now that the plain page style defined by memoir is exactly the one I want. So by setting \pagestyle{plain} I solved my problem. I have also seen now that there was some related info already in the list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44139.html Cheers, Nicolás Maksi wrote: Nicolás wrote: Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks If I got you right, you want to avoid your default page style (headings) for some parts of a document. Try to insert some ERT before: \pagestyle{empty} and after the section: \pagestyle{your_style_as_in_document_settings_dialogue} This should work but I have not tried it myself. Regards, Maksi
Re: No headers with memoir class
Thanks Maksi! Your solution almost worked. It removed the headings as I wanted, but I also wanted the page number on the foot of the page. I have seen now that the plain page style defined by memoir is exactly the one I want. So by setting \pagestyle{plain} I solved my problem. I have also seen now that there was some related info already in the list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44139.html Cheers, Nicolás Maksi wrote: Nicolás wrote: Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks If I got you right, you want to avoid your default page style (headings) for some parts of a document. Try to insert some ERT before: \pagestyle{empty} and after the section: \pagestyle{your_style_as_in_document_settings_dialogue} This should work but I have not tried it myself. Regards, Maksi
Re: No headers with memoir class
Thanks Maksi! Your solution almost worked. It removed the headings as I wanted, but I also wanted the page number on the foot of the page. I have seen now that the "plain" page style defined by memoir is exactly the one I want. So by setting \pagestyle{plain} I solved my problem. I have also seen now that there was some related info already in the list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44139.html Cheers, Nicolás Maksi wrote: Nicolás wrote: Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks If I got you right, you want to avoid your default page style (headings) for some parts of a document. Try to insert some ERT before: \pagestyle{empty} and after the section: \pagestyle{your_style_as_in_document_settings_dialogue} This should work but I have not tried it myself. Regards, Maksi
No headers with memoir class
Hi! Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks Nicolás
No headers with memoir class
Hi! Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks Nicolás
No headers with memoir class
Hi! Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks Nicolás
Child document inside LyX note
Hi! I have an include child document inset (of type input) inside a LyX note. Despite being inside a note, when I export to latex, LyX reads and tries to compile the child document. I guess this is a bug? Nicolás
Bibliography in each chapter of a book
Hi! I writing a book with the memoir class and each chapter should have its own bibliography section. In addition, I want a comprenhensive bibliography for the whole. I have seen that I should use the chapterbib package. I load this package in the preamble of my master document. Each chapter is included as a child document, and each child document has its own Bibliography inset. The master document has also a bibliography inset. The problem is that when I export to latex, I get an error message saying command \etalchar already defined. Could someone help me and tell me what I am doing wrong? Thanks! Nicolás
Child document inside LyX note
Hi! I have an include child document inset (of type input) inside a LyX note. Despite being inside a note, when I export to latex, LyX reads and tries to compile the child document. I guess this is a bug? Nicolás
Bibliography in each chapter of a book
Hi! I writing a book with the memoir class and each chapter should have its own bibliography section. In addition, I want a comprenhensive bibliography for the whole. I have seen that I should use the chapterbib package. I load this package in the preamble of my master document. Each chapter is included as a child document, and each child document has its own Bibliography inset. The master document has also a bibliography inset. The problem is that when I export to latex, I get an error message saying command \etalchar already defined. Could someone help me and tell me what I am doing wrong? Thanks! Nicolás
Child document inside LyX note
Hi! I have an include child document inset (of type "input") inside a LyX note. Despite being inside a note, when I export to latex, LyX reads and tries to compile the child document. I guess this is a bug? Nicolás
Bibliography in each chapter of a book
Hi! I writing a book with the memoir class and each chapter should have its own bibliography section. In addition, I want a comprenhensive bibliography for the whole. I have seen that I should use the chapterbib package. I load this package in the preamble of my master document. Each chapter is included as a child document, and each child document has its own Bibliography inset. The master document has also a bibliography inset. The problem is that when I export to latex, I get an error message saying "command \etalchar already defined". Could someone help me and tell me what I am doing wrong? Thanks! Nicolás
Re: paragraph ending unexpectedly?
Paragraph ended before [EMAIL PROTECTED] was complete Extra }, or forgotten \endgroup. Extra }, or forgotten \endgroup. Argument of [EMAIL PROTECTED] has an extra }. Paragraph ended before [EMAIL PROTECTED] was complete. LyX has highlighted the title and there is nothing wrong with it in the source (it hasn't changed in weeks...) I think this sort of error message sometimes occurs when something is inserted in the wrong place, or inserted containing something it ought not contain. LyX highlights approximately where the error is, but not always exactly. Right, the error might not always be near the place where LyX (or latex, I guess) points to. Try to think if you changed something, whatever, since last time it compiled well. There should be the problem. When I cannot find the source of an error, what I do is to use a divide and conquer strategy. I insert parts of the document in Notes and compile. If everything is ok, I know the problem is not there. Nicolás
Re: paragraph ending unexpectedly?
Paragraph ended before [EMAIL PROTECTED] was complete Extra }, or forgotten \endgroup. Extra }, or forgotten \endgroup. Argument of [EMAIL PROTECTED] has an extra }. Paragraph ended before [EMAIL PROTECTED] was complete. LyX has highlighted the title and there is nothing wrong with it in the source (it hasn't changed in weeks...) I think this sort of error message sometimes occurs when something is inserted in the wrong place, or inserted containing something it ought not contain. LyX highlights approximately where the error is, but not always exactly. Right, the error might not always be near the place where LyX (or latex, I guess) points to. Try to think if you changed something, whatever, since last time it compiled well. There should be the problem. When I cannot find the source of an error, what I do is to use a divide and conquer strategy. I insert parts of the document in Notes and compile. If everything is ok, I know the problem is not there. Nicolás
Re: paragraph ending unexpectedly?
Paragraph ended before [EMAIL PROTECTED] was complete Extra }, or forgotten \endgroup. Extra }, or forgotten \endgroup. Argument of [EMAIL PROTECTED] has an extra }. Paragraph ended before [EMAIL PROTECTED] was complete. LyX has highlighted the title and there is nothing wrong with it in the source (it hasn't changed in weeks...) I think this sort of error message sometimes occurs when something is inserted in the wrong place, or inserted containing something it ought not contain. LyX highlights approximately where the error is, but not always exactly. Right, the error might not always be near the place where LyX (or latex, I guess) points to. Try to think if you changed something, whatever, since last time it compiled well. There should be the problem. When I cannot find the source of an error, what I do is to use a divide and conquer strategy. I insert parts of the document in Notes and compile. If everything is ok, I know the problem is not there. Nicolás
Re: Discussion: Labels and parent-child documents
Well, one problem I can see is that this could make cut and paste between documents difficult. And it involves a lot of keeping track of what's a child of what. Not really. Note that labels and cross-references are only updated when we export to latex. But maybe something like this could be made to work. You're welcome to bugzilla it. I just wanted to see what people thought about it before opening a file in bugzilla. But it seems most people do not have an opinion on this :-) I will report it now on bugzilla. rh
Re: Discussion: Labels and parent-child documents
Well, one problem I can see is that this could make cut and paste between documents difficult. And it involves a lot of keeping track of what's a child of what. Not really. Note that labels and cross-references are only updated when we export to latex. But maybe something like this could be made to work. You're welcome to bugzilla it. I just wanted to see what people thought about it before opening a file in bugzilla. But it seems most people do not have an opinion on this :-) I will report it now on bugzilla. rh
Re: Discussion: Labels and parent-child documents
Well, one problem I can see is that this could make cut and paste between documents difficult. And it involves a lot of keeping track of what's a child of what. Not really. Note that labels and cross-references are only updated when we export to latex. But maybe something like this could be made to work. You're welcome to bugzilla it. I just wanted to see what people thought about it before opening a file in bugzilla. But it seems most people do not have an opinion on this :-) I will report it now on bugzilla. rh
Discussion: Labels and parent-child documents
You are right in that we may have cross-references between children documents. I still think that my proposal of automatically renaming labels is a good idea. What you say is actually not a problem is a little of care is taken by LyX when inserting cros-references. Imagine we are working in document A and want to insert a reference to a label LabelInA in the same document. Then LyX would introduce the reference as usual, i.e. \ref{LabelInA}. Now we want to insert a reference to a label LabelInB in same document B. LyX would detect that the label is in another document (easy, since we have to choose that document in the cross-references dialog) and introduce the reference as, e.g., \ref{DocumentB:LabelInB}. Now, when we include document A in a third document and compile, LyX would rename all labels of document A (and of all documents, including the master) by adding a prefix DocumentA: and would update the references (in the same document A) to those lables accordingly (in our example would change \ref{LabelInA} to \ref{DocumentA:LabelInA}). Note that the \ref{DocumentB:LabelInB} would not be modified, and that would not be necessary, since the labels in document B would also be renamed by adding prefix DocumentB: to them. I actually thing that, with independence of doing what I say or not, differentiating whether a reference points to a label in the same document or in another document is wise to facilitate debugging, in case this is necessary. Cheers, Nicolás rgheck wrote: Humberto Castejon wrote: Hi! I have just realized that when importing child documents, the labels of the different documents may overlap. That is, the same label may have been used, e.g., in two child documents. Does LyX take this into account and add any kind of prefix to the labels of the children documents? If not, I think this would be a nice feature, rather than having to modify manually the overlapping labels. No, you don't really want LyX to do that. It should be possible to reference labels in one child from the other children---which it is, as things are. If you start modifying the labels themselves, then you would have also to modify the references to those labels. But then how do you know which one you meant to reference? rh
Discussion: Labels and parent-child documents
You are right in that we may have cross-references between children documents. I still think that my proposal of automatically renaming labels is a good idea. What you say is actually not a problem is a little of care is taken by LyX when inserting cros-references. Imagine we are working in document A and want to insert a reference to a label LabelInA in the same document. Then LyX would introduce the reference as usual, i.e. \ref{LabelInA}. Now we want to insert a reference to a label LabelInB in same document B. LyX would detect that the label is in another document (easy, since we have to choose that document in the cross-references dialog) and introduce the reference as, e.g., \ref{DocumentB:LabelInB}. Now, when we include document A in a third document and compile, LyX would rename all labels of document A (and of all documents, including the master) by adding a prefix DocumentA: and would update the references (in the same document A) to those lables accordingly (in our example would change \ref{LabelInA} to \ref{DocumentA:LabelInA}). Note that the \ref{DocumentB:LabelInB} would not be modified, and that would not be necessary, since the labels in document B would also be renamed by adding prefix DocumentB: to them. I actually thing that, with independence of doing what I say or not, differentiating whether a reference points to a label in the same document or in another document is wise to facilitate debugging, in case this is necessary. Cheers, Nicolás rgheck wrote: Humberto Castejon wrote: Hi! I have just realized that when importing child documents, the labels of the different documents may overlap. That is, the same label may have been used, e.g., in two child documents. Does LyX take this into account and add any kind of prefix to the labels of the children documents? If not, I think this would be a nice feature, rather than having to modify manually the overlapping labels. No, you don't really want LyX to do that. It should be possible to reference labels in one child from the other children---which it is, as things are. If you start modifying the labels themselves, then you would have also to modify the references to those labels. But then how do you know which one you meant to reference? rh
Discussion: Labels and parent-child documents
You are right in that we may have cross-references between children documents. I still think that my proposal of automatically renaming labels is a good idea. What you say is actually not a problem is a little of care is taken by LyX when inserting cros-references. Imagine we are working in document A and want to insert a reference to a label "LabelInA" in the same document. Then LyX would introduce the reference as usual, i.e. \ref{LabelInA}. Now we want to insert a reference to a label "LabelInB" in same document B. LyX would detect that the label is in another document (easy, since we have to choose that document in the cross-references dialog) and introduce the reference as, e.g., \ref{DocumentB:LabelInB}. Now, when we include document A in a third document and compile, LyX would rename all labels of document A (and of all documents, including the master) by adding a prefix "DocumentA:" and would update the references (in the same document A) to those lables accordingly (in our example would change \ref{LabelInA} to \ref{DocumentA:LabelInA}). Note that the \ref{DocumentB:LabelInB} would not be modified, and that would not be necessary, since the labels in document B would also be renamed by adding prefix "DocumentB:" to them. I actually thing that, with independence of doing what I say or not, differentiating whether a reference points to a label in the same document or in another document is wise to facilitate debugging, in case this is necessary. Cheers, Nicolás rgheck wrote: Humberto Castejon wrote: Hi! I have just realized that when importing child documents, the labels of the different documents may overlap. That is, the same label may have been used, e.g., in two child documents. Does LyX take this into account and add any kind of prefix to the labels of the children documents? If not, I think this would be a nice feature, rather than having to modify manually the overlapping labels. No, you don't really want LyX to do that. It should be possible to reference labels in one child from the other children---which it is, as things are. If you start modifying the labels themselves, then you would have also to modify the references to those labels. But then how do you know which one you meant to reference? rh
Re: Justify the text
Hi! I think rgheck was not talking about the Paragraph environment (or style?), but about changing the format of your paragraphs (Edit-Paragraph settings). From the Paragraph settings dialog you can select if you want your paragraph justified, centered, etc. Nicolás sarah84 wrote: Hello again, Acutally I used standard for this part of my memo, I used it to write the section. for exemple: MADCOW (the section title Section) (Multimedia Annotation of Digital Content Over the Web) est un système d’annotation pour les documents multimédias, créé par des chercheurs de l’université de Rome «La Sapienza» (Standard) Because if i will use Paragraphe insted of Standard in the visualtion it will be Bold, and bigger. Sarah rgheck wrote: sarah84 wrote: Hello, I am using Lyx1.5 to write my master's memo, the problem is that every time I visualise thet texte there r some parts of the texte that r not justify, I dont know what to do, and I am just using it scine 2 days!! By the way I am writing in french so I dont know if the special french caracters make this pb. Have you been using the paragraph settings dialog and changing justification? If not, can you post (or send me privately) the file that is causing the problem? rh
Re: Justify the text
Hi! I think rgheck was not talking about the Paragraph environment (or style?), but about changing the format of your paragraphs (Edit-Paragraph settings). From the Paragraph settings dialog you can select if you want your paragraph justified, centered, etc. Nicolás sarah84 wrote: Hello again, Acutally I used standard for this part of my memo, I used it to write the section. for exemple: MADCOW (the section title Section) (Multimedia Annotation of Digital Content Over the Web) est un système d’annotation pour les documents multimédias, créé par des chercheurs de l’université de Rome «La Sapienza» (Standard) Because if i will use Paragraphe insted of Standard in the visualtion it will be Bold, and bigger. Sarah rgheck wrote: sarah84 wrote: Hello, I am using Lyx1.5 to write my master's memo, the problem is that every time I visualise thet texte there r some parts of the texte that r not justify, I dont know what to do, and I am just using it scine 2 days!! By the way I am writing in french so I dont know if the special french caracters make this pb. Have you been using the paragraph settings dialog and changing justification? If not, can you post (or send me privately) the file that is causing the problem? rh
Re: Justify the text
Hi! I think rgheck was not talking about the Paragraph environment (or style?), but about changing the format of your paragraphs (Edit->Paragraph settings). From the Paragraph settings dialog you can select if you want your paragraph justified, centered, etc. Nicolás sarah84 wrote: Hello again, Acutally I used "standard" for this part of my memo, I used it to write the section. for exemple: MADCOW (the section title "Section") (Multimedia Annotation of Digital Content Over the Web) est un système d’annotation pour les documents multimédias, créé par des chercheurs de l’université de Rome «La Sapienza» ("Standard") Because if i will use "Paragraphe" insted of "Standard" in the visualtion it will be "Bold, and bigger". Sarah rgheck wrote: sarah84 wrote: Hello, I am using Lyx1.5 to write my master's memo, the problem is that every time I visualise thet texte there r some parts of the texte that r not justify, I dont know what to do, and I am just using it scine 2 days!! By the way I am writing in french so I dont know if the special french caracters make this pb. Have you been using the paragraph settings dialog and changing justification? If not, can you post (or send me privately) the file that is causing the problem? rh
Re: Footnote without numbering (new)
It works for me when using the article textclass. This is, I guess, because the style of the title page is set to plain, and not the rest of the document. But it is true that the behavior may change with other classes. I have seen now that the major sectioning commands (\part, \chapter or \maketitle) specify a \thispagestyle{plain}. So the footer would be repeated at the beginning of every part or chapter. To avoid that the plain style should be redefined after a new \chapter or \part, if I am not wrong. Take a look here for related info: http://en.wikibooks.org/wiki/LaTeX/Page_Layout#Page_Styles Cheers, Nicolás Manveru wrote: Are you sure of it? I see this will change footer on every page in whole document... 2008/5/29 Nicolás [EMAIL PROTECTED]: A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter [EMAIL PROTECTED] writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
Re: Footnote without numbering (new)
It works for me when using the article textclass. This is, I guess, because the style of the title page is set to plain, and not the rest of the document. But it is true that the behavior may change with other classes. I have seen now that the major sectioning commands (\part, \chapter or \maketitle) specify a \thispagestyle{plain}. So the footer would be repeated at the beginning of every part or chapter. To avoid that the plain style should be redefined after a new \chapter or \part, if I am not wrong. Take a look here for related info: http://en.wikibooks.org/wiki/LaTeX/Page_Layout#Page_Styles Cheers, Nicolás Manveru wrote: Are you sure of it? I see this will change footer on every page in whole document... 2008/5/29 Nicolás [EMAIL PROTECTED]: A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter [EMAIL PROTECTED] writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
Re: Footnote without numbering (new)
It works for me when using the article textclass. This is, I guess, because the style of the title page is set to "plain", and not the rest of the document. But it is true that the behavior may change with other classes. I have seen now that the major sectioning commands (\part, \chapter or \maketitle) specify a \thispagestyle{plain}. So the footer would be repeated at the beginning of every part or chapter. To avoid that the "plain" style should be redefined after a new \chapter or \part, if I am not wrong. Take a look here for related info: http://en.wikibooks.org/wiki/LaTeX/Page_Layout#Page_Styles Cheers, Nicolás Manveru wrote: Are you sure of it? I see this will change footer on every page in whole document... 2008/5/29 Nicolás <[EMAIL PROTECTED]>: A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter <[EMAIL PROTECTED]> writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
How can I do this?
Hi! I am writing a thesis and I need to include some articles verbatim, that is, with the format and style they where originally published. Using child documents requires files to have the same style. So how can I do, if it is possible, what I want to do? Thanks Nicolás
Re: Footnote without numbering (new)
A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter [EMAIL PROTECTED] writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
How can I do this?
Hi! I am writing a thesis and I need to include some articles verbatim, that is, with the format and style they where originally published. Using child documents requires files to have the same style. So how can I do, if it is possible, what I want to do? Thanks Nicolás
Re: Footnote without numbering (new)
A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter [EMAIL PROTECTED] writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
How can I do this?
Hi! I am writing a thesis and I need to include some articles verbatim, that is, with the format and style they where originally published. Using child documents requires files to have the same style. So how can I do, if it is possible, what I want to do? Thanks Nicolás
Re: Footnote without numbering (new)
A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter <[EMAIL PROTECTED]> writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
Awful feature or bug?
Hi! When I select something in a document and then press Ctrl+N+N to get it inserted into a LyX Note, the part of the document that I had selected goes into the clipboard. I guess this is a bug. Or is it an awful feature? Nicolás
Awful feature or bug?
Hi! When I select something in a document and then press Ctrl+N+N to get it inserted into a LyX Note, the part of the document that I had selected goes into the clipboard. I guess this is a bug. Or is it an awful feature? Nicolás
Awful feature or bug?
Hi! When I select something in a document and then press Ctrl+N+N to get it inserted into a LyX Note, the part of the document that I had selected goes into the clipboard. I guess this is a bug. Or is it an awful feature? Nicolás
Re: Downloading missing latex classes
I see your point. I still think that something could be done (I am a persistent person! :-) ). Many applications have an initial screen that is displayed while all the needed libraries, etc are loaded. LyX may have something similar. Once LyX is launched, and before latex.exe is invoked, an initial screen could be displayed saying something like LyX is being started. This make take some time.. In most of the cases, this screen would be closed before the user can read anything. In cases where Miktex needs to download something, the user would know it may take time to launch LyX. Nicolás Paul A. Rubin wrote: Nicolás wrote: Yes, I guess it was Miktex, and not directly LyX, that was downloading the style or class. But MikTex is certainly called from LyX. I do not necessarily expect getting a dialog showing the exact status of the downloading process, but, at least, I expect to see a dialog saying Downloading . Please wait. That way I can know that LyX is running. Because believe me. It can become quite confusing if the downloading takes long and nothing is known regarding what is happening. But anyway, it was just a suggestion. :-) It's a good suggestion; I just don't know if it's feasible to implement. The problem is that I don't think LyX knows what MiKTeX is doing. LyX spawns a child process to run latex.exe (or pdflatex.exe). It then waits for that program to issue a return code (success or failure). There is no ongoing communication between latex.exe and LyX (that I'm aware of), so no way for LyX to know that MiKTeX is downloading something. I have MiKTeX set to ask permission before downloading a missing package, so at least that way I know what it's up to (although it's still hard to tell if it is making any progress or just blocked). A lot of MiKTeX users apparently are not aware of the various options for dealing with missing packages, though, and I know for them it's confusing to have MiKTeX go off into space, particularly if they have a slow connection (or no connection). But I'm pretty sure that if anything is going to issue a busy downloading warning, it is going to have to be MiKTeX; I don't think there is any way that LyX can know this is going on. Cheers, Paul