including a Sweave/R code chunk in a LyX table cell
Hi all, I've posted this same message yesterday evening at http://www.latex-community.org LyX forum. Please, accept my apologies for cross-posting! I'm new to this LyX world and trying to identify the best way of getting/providing help! Here the issue: I've successfully installed R 2.11.0 and LyX 1.6.5 in a MacBook Pro running Mac OS X 10.5.8. Some examples including more or less complex R code chunks run without a glitch. But I am not able to include a R code chuck within a table. This works fine: % Preview source code for paragraph 10 Normal1,echo=T= qs=1 @ But this doesn't work: % Preview source code for paragraph 11 \begin{tabular}{|c|} \hline Normal1,echo=T= pot=2 @ \tabularnewline \hline \end{tabular} The LyX literate errors window gives this information: * Errors: LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. Description: \begin{Sinput} Try typing return to proceed. If that doesn't work, type X return to quit. * This proposal by gmedina at http://www.latex-community.org LyX forum, avoids the error, but the result is a table with those lines in the table, not with the R results. Please, where am I wrong? Is it not possible to include R code chunks in LyX tables? Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
Hi Ricardo, I am not to include an R code chunk within a table. For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can do this by clicking on Insert-Box, and then placing the code within there. If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). Cheers, Rob Oakes
Re: BEAMER - \lyxframeend
I don't know if this is related to your problem but a recent update to the geometry package caused some conflicts for beamer. I had some problems with beamer a few days ago but went to http://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/beamer/base/ downloaded beamerbasecompatibility.sty (note that it was updated just in February, whereas most of the rest of the package is from 2007) and over-wrote the existing beamerbasecompatibility.sty in MikTeX. See http://www.tug.org/pipermail/tex-live/2010-February/024834.html and http://www.tug.org/pipermail/tex-live/2010-February/thread.html#24927 for more details. There's an alternative fix, which is to add some code before \documentclass but I don't think this is possible in LyX (although you could always export to straight latex and then add the code in TeXworks or whatever). This alternative is discussed here http://permalink.gmane.org/gmane.comp.tex.live/24852 As an aside, personally I prefer using ERT to add \begin{frame}, \frametitle{Your title here} and \end{frame} directly, instead of using the lyxframe commands, since it leads to a purer latex output, but this is just a matter of taste.
Re: elegant titlepage
I would like to do a elegant title page like some books as I attach, with a photo as background and two columns. I have tried with titlepage package, but it seems that don't works in LyX. Have you any idea? In contrast, generating something similar to your example with Scribus or InDesign would take no more than an hour or two. Moreover, because it is a program specifically designed for finger painting, you have much better control over how things appear. Just my two cents, though. Cheers, Rob I agree completely. You can make a page with another program, save as pdf, and insert this pdf file at the beginning of your book. Marcelo
Re: including a Sweave/R code chunk in a LyX table cell
Thanks, Rob! Rob Oakes wrote: Hi Ricardo, I am not to include an R code chunk within a table. For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can do this by clicking on Insert-Box, and then placing the code within there. This works fine! By putting an ERT within the minipage problems are solved! If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). No Custom Insert is available out of the box with LyX 1.6.5. I guess LyX 2.0 is in beta stage (I found some spare references to it in latex-community.org). I don't know why but I've not access to LyX website right now, I'll check it asap and move ahead to this release. I'm currently in an entry stage of my work with LyX, thus it is a perfect time for experimentation! BTW, I see that your message has been sent to lyx-de...@oak-tree.us as well as to lyx-us...@lists.lux.org. Just to be polite and to respect the rules, is is expected that I reply to the list? Just to the sender? Thanks for your help and advice! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: elegant titlepage
Ok. Thanks! On Sun, May 9, 2010 at 6:07 PM, Marcelo Acuña mv...@yahoo.com.ar wrote: I would like to do a elegant title page like some books as I attach, with a photo as background and two columns. I have tried with titlepage package, but it seems that don't works in LyX. Have you any idea? In contrast, generating something similar to your example with Scribus or InDesign would take no more than an hour or two. Moreover, because it is a program specifically designed for finger painting, you have much better control over how things appear. Just my two cents, though. Cheers, Rob I agree completely. You can make a page with another program, save as pdf, and insert this pdf file at the beginning of your book. Marcelo -- Más allá de la confusión, persiste la duda.
Re: Sweave errors: more explicit?
You might try starting LyX from a console/x-terminal-emulator. Under Unix/X11, you can see error messages in ~/.xsession-errors (for programs not started from an x-term... When I launch LyX from a terminal (mac os x), all LaTeX and R traces are visible within that same terminal! Thanks for the hint. Cheers MS
Abort document rendering
Hi, is there a way to cancel a pdflatex from LyX? I am currently working with some documents which take a lot of time to render, and sometimes I want to cancel before one it's finished. Currently I just kill LyX and relaunch. Cheers M. Speiser
Re: Abort document rendering
Am 09.05.2010 21:17, schrieb M. Speiser: is there a way to cancel a pdflatex from LyX? No. I am currently working with some documents which take a lot of time to render, and sometimes I want to cancel before one it's finished. Currently I just kill LyX and relaunch. You can alternatively kill pdflatex. regards Uwe
Re: Sweave errors: more explicit?
Hi! M. Speiser wrote: You might try starting LyX from a console/x-terminal-emulator. Under Unix/X11, you can see error messages in ~/.xsession-errors (for programs not started from an x-term... When I launch LyX from a terminal (mac os x), all LaTeX and R traces are visible within that same terminal! Thanks for the hint. I think this will be also useful for us! But, please, how must I proceed to launch a fully operational LyX from Mac OS C terminal? By executing ./LyX from the LyX.app directory doesn't consider user configuration files. Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
Rob, Rob Oakes wrote: If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in InsertCustom Insets. Must it be available out of the box? Thanks! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
On 09/05/2010 5:15 PM, [Ricardo Rodriguez] eBioTIC. wrote: I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in InsertCustom Insets. Must it be available out of the box? Thanks! Ricardo The sweave module should be there out of the box. Once you add it to your document (Under Document Settings Modules), the custom inset should become available from the menu. Cheers, Julien
Hi Friends
I have a problem that i do not undertand. I have installed the version of Lyx 1.6.5 on my computer. Besides i am writting my thesis whit the class document: book (more font sizes). It works almost Ok. but there is a small problem: This problem consist of that on lyx editor i have set up spanish as language, i do not have any problem to write *proposición (proposition) or definición (definition),..etc*, however, when i want to convert to pdf format there are some misbehavior: for example *definición* on lyx editor appears Ok, but on pdf format appears as *definition*. I have attached an example o which you can see the problem. I would like to have some advices to solver this problem Thanks in advance Adrián test.lyx Description: Binary data test.pdf Description: Adobe PDF document
Re: Hi Friends
Am 10.05.2010 01:27, schrieb Adrian Diaz: This problem consist of that on lyx editor i have set up spanish as language, i do not have any problem to write *proposición (proposition) or definición (definition),..etc*, however, when i want to convert to pdf format there are some misbehavior: for example *definición* on lyx editor appears Ok, but on pdf format appears as *definition*. You need to translate them manually for LaTeX, see http://wiki.lyx.org/LyX/I18nLabels With LyX 2.0 this would not be necessary. regards Uwe
Re: including a Sweave/R code chunk in a LyX table cell
Hi Ricardo, Sweave in LyX 2.0 works a little different. Instead of being relegated to a single document class, it has instead been implemented as a module. The upside is that you can now use Sweave with any document class and with any LaTeX variant (my personal favorite class is the Tufte Handout). This wasn't possible in LyX 1.6 (or, I should say, it was possible but much more difficult). But before you can use the module, you need to add it to your document. This is done from the Document-Settings-Modules pane. Once the pane is loaded, simply scroll down to Sweave and add it to your dodcument. Then click on Ok or Apply. Once you have done this, a couple of new inset options should appear in the Inset-Custom menu. If you have any problems, go ahead and shoot me an email. Cheers, Rob On Sun, 2010-05-09 at 23:15 +0200, [Ricardo Rodriguez] eBioTIC. wrote: Rob, Rob Oakes wrote: If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in InsertCustom Insets. Must it be available out of the box? Thanks! Ricardo
including a Sweave/R code chunk in a LyX table cell
Hi all, I've posted this same message yesterday evening at http://www.latex-community.org LyX forum. Please, accept my apologies for cross-posting! I'm new to this LyX world and trying to identify the best way of getting/providing help! Here the issue: I've successfully installed R 2.11.0 and LyX 1.6.5 in a MacBook Pro running Mac OS X 10.5.8. Some examples including more or less complex R code chunks run without a glitch. But I am not able to include a R code chuck within a table. This works fine: % Preview source code for paragraph 10 Normal1,echo=T= qs=1 @ But this doesn't work: % Preview source code for paragraph 11 \begin{tabular}{|c|} \hline Normal1,echo=T= pot=2 @ \tabularnewline \hline \end{tabular} The LyX literate errors window gives this information: * Errors: LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. Description: \begin{Sinput} Try typing return to proceed. If that doesn't work, type X return to quit. * This proposal by gmedina at http://www.latex-community.org LyX forum, avoids the error, but the result is a table with those lines in the table, not with the R results. Please, where am I wrong? Is it not possible to include R code chunks in LyX tables? Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
Hi Ricardo, I am not to include an R code chunk within a table. For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can do this by clicking on Insert-Box, and then placing the code within there. If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). Cheers, Rob Oakes
Re: BEAMER - \lyxframeend
I don't know if this is related to your problem but a recent update to the geometry package caused some conflicts for beamer. I had some problems with beamer a few days ago but went to http://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/beamer/base/ downloaded beamerbasecompatibility.sty (note that it was updated just in February, whereas most of the rest of the package is from 2007) and over-wrote the existing beamerbasecompatibility.sty in MikTeX. See http://www.tug.org/pipermail/tex-live/2010-February/024834.html and http://www.tug.org/pipermail/tex-live/2010-February/thread.html#24927 for more details. There's an alternative fix, which is to add some code before \documentclass but I don't think this is possible in LyX (although you could always export to straight latex and then add the code in TeXworks or whatever). This alternative is discussed here http://permalink.gmane.org/gmane.comp.tex.live/24852 As an aside, personally I prefer using ERT to add \begin{frame}, \frametitle{Your title here} and \end{frame} directly, instead of using the lyxframe commands, since it leads to a purer latex output, but this is just a matter of taste.
Re: elegant titlepage
I would like to do a elegant title page like some books as I attach, with a photo as background and two columns. I have tried with titlepage package, but it seems that don't works in LyX. Have you any idea? In contrast, generating something similar to your example with Scribus or InDesign would take no more than an hour or two. Moreover, because it is a program specifically designed for finger painting, you have much better control over how things appear. Just my two cents, though. Cheers, Rob I agree completely. You can make a page with another program, save as pdf, and insert this pdf file at the beginning of your book. Marcelo
Re: including a Sweave/R code chunk in a LyX table cell
Thanks, Rob! Rob Oakes wrote: Hi Ricardo, I am not to include an R code chunk within a table. For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can do this by clicking on Insert-Box, and then placing the code within there. This works fine! By putting an ERT within the minipage problems are solved! If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). No Custom Insert is available out of the box with LyX 1.6.5. I guess LyX 2.0 is in beta stage (I found some spare references to it in latex-community.org). I don't know why but I've not access to LyX website right now, I'll check it asap and move ahead to this release. I'm currently in an entry stage of my work with LyX, thus it is a perfect time for experimentation! BTW, I see that your message has been sent to lyx-de...@oak-tree.us as well as to lyx-us...@lists.lux.org. Just to be polite and to respect the rules, is is expected that I reply to the list? Just to the sender? Thanks for your help and advice! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: elegant titlepage
Ok. Thanks! On Sun, May 9, 2010 at 6:07 PM, Marcelo Acuña mv...@yahoo.com.ar wrote: I would like to do a elegant title page like some books as I attach, with a photo as background and two columns. I have tried with titlepage package, but it seems that don't works in LyX. Have you any idea? In contrast, generating something similar to your example with Scribus or InDesign would take no more than an hour or two. Moreover, because it is a program specifically designed for finger painting, you have much better control over how things appear. Just my two cents, though. Cheers, Rob I agree completely. You can make a page with another program, save as pdf, and insert this pdf file at the beginning of your book. Marcelo -- Más allá de la confusión, persiste la duda.
Re: Sweave errors: more explicit?
You might try starting LyX from a console/x-terminal-emulator. Under Unix/X11, you can see error messages in ~/.xsession-errors (for programs not started from an x-term... When I launch LyX from a terminal (mac os x), all LaTeX and R traces are visible within that same terminal! Thanks for the hint. Cheers MS
Abort document rendering
Hi, is there a way to cancel a pdflatex from LyX? I am currently working with some documents which take a lot of time to render, and sometimes I want to cancel before one it's finished. Currently I just kill LyX and relaunch. Cheers M. Speiser
Re: Abort document rendering
Am 09.05.2010 21:17, schrieb M. Speiser: is there a way to cancel a pdflatex from LyX? No. I am currently working with some documents which take a lot of time to render, and sometimes I want to cancel before one it's finished. Currently I just kill LyX and relaunch. You can alternatively kill pdflatex. regards Uwe
Re: Sweave errors: more explicit?
Hi! M. Speiser wrote: You might try starting LyX from a console/x-terminal-emulator. Under Unix/X11, you can see error messages in ~/.xsession-errors (for programs not started from an x-term... When I launch LyX from a terminal (mac os x), all LaTeX and R traces are visible within that same terminal! Thanks for the hint. I think this will be also useful for us! But, please, how must I proceed to launch a fully operational LyX from Mac OS C terminal? By executing ./LyX from the LyX.app directory doesn't consider user configuration files. Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
Rob, Rob Oakes wrote: If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in InsertCustom Insets. Must it be available out of the box? Thanks! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
On 09/05/2010 5:15 PM, [Ricardo Rodriguez] eBioTIC. wrote: I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in InsertCustom Insets. Must it be available out of the box? Thanks! Ricardo The sweave module should be there out of the box. Once you add it to your document (Under Document Settings Modules), the custom inset should become available from the menu. Cheers, Julien
Hi Friends
I have a problem that i do not undertand. I have installed the version of Lyx 1.6.5 on my computer. Besides i am writting my thesis whit the class document: book (more font sizes). It works almost Ok. but there is a small problem: This problem consist of that on lyx editor i have set up spanish as language, i do not have any problem to write *proposición (proposition) or definición (definition),..etc*, however, when i want to convert to pdf format there are some misbehavior: for example *definición* on lyx editor appears Ok, but on pdf format appears as *definition*. I have attached an example o which you can see the problem. I would like to have some advices to solver this problem Thanks in advance Adrián test.lyx Description: Binary data test.pdf Description: Adobe PDF document
Re: Hi Friends
Am 10.05.2010 01:27, schrieb Adrian Diaz: This problem consist of that on lyx editor i have set up spanish as language, i do not have any problem to write *proposición (proposition) or definición (definition),..etc*, however, when i want to convert to pdf format there are some misbehavior: for example *definición* on lyx editor appears Ok, but on pdf format appears as *definition*. You need to translate them manually for LaTeX, see http://wiki.lyx.org/LyX/I18nLabels With LyX 2.0 this would not be necessary. regards Uwe
Re: including a Sweave/R code chunk in a LyX table cell
Hi Ricardo, Sweave in LyX 2.0 works a little different. Instead of being relegated to a single document class, it has instead been implemented as a module. The upside is that you can now use Sweave with any document class and with any LaTeX variant (my personal favorite class is the Tufte Handout). This wasn't possible in LyX 1.6 (or, I should say, it was possible but much more difficult). But before you can use the module, you need to add it to your document. This is done from the Document-Settings-Modules pane. Once the pane is loaded, simply scroll down to Sweave and add it to your dodcument. Then click on Ok or Apply. Once you have done this, a couple of new inset options should appear in the Inset-Custom menu. If you have any problems, go ahead and shoot me an email. Cheers, Rob On Sun, 2010-05-09 at 23:15 +0200, [Ricardo Rodriguez] eBioTIC. wrote: Rob, Rob Oakes wrote: If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert-Custom Inserts-S/R expression). I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in InsertCustom Insets. Must it be available out of the box? Thanks! Ricardo
including a Sweave/R code chunk in a LyX table cell
Hi all, I've posted this same message yesterday evening at http://www.latex-community.org LyX forum. Please, accept my apologies for cross-posting! I'm new to this LyX world and trying to identify the best way of getting/providing help! Here the issue: I've successfully installed R 2.11.0 and LyX 1.6.5 in a MacBook Pro running Mac OS X 10.5.8. Some examples including more or less complex R code chunks run without a glitch. But I am not able to include a R code chuck within a table. This works fine: % Preview source code for paragraph 10 <>= qs=1 @ But this doesn't work: % Preview source code for paragraph 11 \begin{tabular}{|c|} \hline < >= pot=2 @ \tabularnewline \hline \end{tabular} The LyX literate errors window gives this information: * Errors: LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. LaTeX Error: Something's wrong--perhaps a missing \item. Description: \begin{Sinput} Try typing to proceed. If that doesn't work, type X to quit. * This proposal by gmedina at http://www.latex-community.org LyX forum, avoids the error, but the result is a table with those lines in the table, not with the R results. Please, where am I wrong? Is it not possible to include R code chunks in LyX tables? Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
Hi Ricardo, <> For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can do this by clicking on Insert->Box, and then placing the code within there. If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert->Custom Inserts->S/R expression). Cheers, Rob Oakes
Re: BEAMER - \lyxframeend
I don't know if this is related to your problem but a recent update to the geometry package caused some conflicts for beamer. I had some problems with beamer a few days ago but went to http://www.ctan.org/pub/tex-archive/macros/latex2e/contrib/beamer/base/ downloaded beamerbasecompatibility.sty (note that it was updated just in February, whereas most of the rest of the package is from 2007) and over-wrote the existing beamerbasecompatibility.sty in MikTeX. See http://www.tug.org/pipermail/tex-live/2010-February/024834.html and http://www.tug.org/pipermail/tex-live/2010-February/thread.html#24927 for more details. There's an alternative fix, which is to add some code before \documentclass but I don't think this is possible in LyX (although you could always export to straight latex and then add the code in TeXworks or whatever). This alternative is discussed here http://permalink.gmane.org/gmane.comp.tex.live/24852 As an aside, personally I prefer using ERT to add \begin{frame}, \frametitle{Your title here} and \end{frame} directly, instead of using the lyxframe commands, since it leads to a "purer" latex output, but this is just a matter of taste.
Re: elegant titlepage
> > I would like to do a elegant title page like some > books as I attach, > > with a photo as background and two columns. > > > > I have tried with titlepage package, but it seems that > don't works in LyX. > > > > Have you any idea? > In contrast, generating > something similar to your example with Scribus or InDesign > would take no > more than an hour or two. Moreover, because it is a > program > specifically designed for "finger painting", you have much > better > control over how things appear. > > Just my two cents, though. > > Cheers, > > Rob > I agree completely. You can make a page with another program, save as pdf, and insert this pdf file at the beginning of your book. Marcelo
Re: including a Sweave/R code chunk in a LyX table cell
Thanks, Rob! Rob Oakes wrote: Hi Ricardo, <> For reasons I do not really understand, R code within tables (or figure floats) can be very fragile. LyX 2.0 makes this better through the Sweave module, but it is still not perfect. The best way I have found for overcoming the fragility is to place it within a minipage. You can do this by clicking on Insert->Box, and then placing the code within there. This works fine! By putting an ERT within the minipage problems are solved! If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert->Custom Inserts->S/R expression). No Custom Insert is available out of the box with LyX 1.6.5. I guess LyX 2.0 is in beta stage (I found some spare references to it in latex-community.org). I don't know why but I've not access to LyX website right now, I'll check it asap and move ahead to this release. I'm currently in an entry stage of my work with LyX, thus it is a perfect time for experimentation! BTW, I see that your message has been sent to lyx-de...@oak-tree.us as well as to lyx-us...@lists.lux.org. Just to be polite and to respect the rules, is is expected that I reply to the list? Just to the sender? Thanks for your help and advice! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: elegant titlepage
Ok. Thanks! On Sun, May 9, 2010 at 6:07 PM, Marcelo Acuñawrote: >> > I would like to do a elegant title page like some >> books as I attach, >> > with a photo as background and two columns. >> > >> > I have tried with titlepage package, but it seems that >> don't works in LyX. >> > >> > Have you any idea? > >> In contrast, generating >> something similar to your example with Scribus or InDesign >> would take no >> more than an hour or two. Moreover, because it is a >> program >> specifically designed for "finger painting", you have much >> better >> control over how things appear. >> >> Just my two cents, though. >> >> Cheers, >> >> Rob >> > > I agree completely. > You can make a page with another program, save as pdf, and insert this pdf > file at the beginning of your book. > Marcelo > > > > -- Más allá de la confusión, persiste la duda.
Re: Sweave errors: more explicit?
> > You might try starting LyX from a console/x-terminal-emulator. > > Under Unix/X11, you can see error messages in ~/.xsession-errors (for > programs not started from an x-term... When I launch LyX from a terminal (mac os x), all LaTeX and R traces are visible within that same terminal! Thanks for the hint. Cheers MS
Abort document rendering
Hi, is there a way to cancel a pdflatex from LyX? I am currently working with some documents which take a lot of time to render, and sometimes I want to cancel before one it's finished. Currently I just kill LyX and relaunch. Cheers M. Speiser
Re: Abort document rendering
Am 09.05.2010 21:17, schrieb M. Speiser: is there a way to cancel a pdflatex from LyX? No. I am currently working with some documents which take a lot of time to render, and sometimes I want to cancel before one it's finished. Currently I just kill LyX and relaunch. You can alternatively kill pdflatex. regards Uwe
Re: Sweave errors: more explicit?
Hi! M. Speiser wrote: You might try starting LyX from a console/x-terminal-emulator. Under Unix/X11, you can see error messages in ~/.xsession-errors (for programs not started from an x-term... When I launch LyX from a terminal (mac os x), all LaTeX and R traces are visible within that same terminal! Thanks for the hint. I think this will be also useful for us! But, please, how must I proceed to launch a fully operational LyX from Mac OS C terminal? By executing ./LyX from the LyX.app directory doesn't consider user configuration files. Thanks for your help! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
Rob, Rob Oakes wrote: If the code chunk is short, you can also use S/R expression insets. (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to Insert->Custom Inserts->S/R expression). I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in Insert>Custom Insets. Must it be available out of the box? Thanks! Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: including a Sweave/R code chunk in a LyX table cell
On 09/05/2010 5:15 PM, [Ricardo Rodriguez] eBioTIC. wrote: I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R expression option in Insert>Custom Insets. Must it be available out of the box? Thanks! Ricardo The sweave module should be there out of the box. Once you add it to your document (Under Document > Settings > Modules), the custom inset should become available from the menu. Cheers, Julien
Hi Friends
I have a problem that i do not undertand. I have installed the version of Lyx 1.6.5 on my computer. Besides i am writting my thesis whit the class document: book (more font sizes). It works almost Ok. but there is a small problem: This problem consist of that on lyx editor i have set up spanish as language, i do not have any problem to write *proposición (proposition) or definición (definition),..etc*, however, when i want to convert to pdf format there are some misbehavior: for example *definición* on lyx editor appears Ok, but on pdf format appears as *definition*. I have attached an example o which you can see the problem. I would like to have some advices to solver this problem Thanks in advance Adrián test.lyx Description: Binary data test.pdf Description: Adobe PDF document
Re: Hi Friends
Am 10.05.2010 01:27, schrieb Adrian Diaz: This problem consist of that on lyx editor i have set up spanish as language, i do not have any problem to write *proposición (proposition) or definición (definition),..etc*, however, when i want to convert to pdf format there are some misbehavior: for example *definición* on lyx editor appears Ok, but on pdf format appears as *definition*. You need to translate them manually for LaTeX, see http://wiki.lyx.org/LyX/I18nLabels With LyX 2.0 this would not be necessary. regards Uwe
Re: including a Sweave/R code chunk in a LyX table cell
Hi Ricardo, Sweave in LyX 2.0 works a little different. Instead of being relegated to a single document class, it has instead been implemented as a module. The upside is that you can now use Sweave with any document class and with any LaTeX variant (my personal favorite class is the Tufte Handout). This wasn't possible in LyX 1.6 (or, I should say, it was possible but much more difficult). But before you can use the module, you need to add it to your document. This is done from the Document->Settings->Modules pane. Once the pane is loaded, simply scroll down to Sweave and add it to your dodcument. Then click on "Ok" or "Apply". Once you have done this, a couple of new inset options should appear in the Inset->Custom menu. If you have any problems, go ahead and shoot me an email. Cheers, Rob On Sun, 2010-05-09 at 23:15 +0200, [Ricardo Rodriguez] eBioTIC. wrote: > Rob, > > > > > Rob Oakes wrote: > > > >> If the code chunk is short, you can also use S/R expression insets. > >> (Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to > >> Insert->Custom Inserts->S/R expression). > > I've just installed LyX-2.0.0alpha2.dmg and I don't find the S/R > expression option in Insert>Custom Insets. > > Must it be available out of the box? > > Thanks! > > Ricardo >