OT: missing tlmgr in Linux distros (was 'Re: LyX 1.6.7 Packages for Ubuntu')
Dear all Even if it's quite off-topic for lyx-users, re-opening an old discussion. On Fri, Aug 20, 2010 at 4:33 PM, Jürgen Spitzmüller sp...@lyx.org wrote: Sven Hoexter wrote: The Problem is that you often end up with a mess because some third party installers/package manager overwrite files of your distribution packages. And a few weeks later a new update for your distribution arrives and replaces some of the newer files with another older but patched set. Sure. But you lose one of the most important features of TeXLive: immediate update to the most recent packages from CTAN. Most people in this thread raised up the 'update' issues: tlmgr can update packages to the latest available versions. But what about installing new packages, such as those that are not packaged by default by the distro? (I make heavy use of 'frletter', but there's no way it'll get packaged any time soon by Debian/Ubuntu. Otherwise, half of LyX's document classes are unavailable.) What about installing non-default fonts? (I'm specifically thinking of Optima/URW Classico, but other needs may arise.) Some suggested that users advanced to need non-default classes should have advanced knowledge and manage an upstream LaTeX installation. Although I might have enough experience to figure this out, I'm pretty sure I'm not enthusiastic enough to manage dependency problems arising from an uninstalled TeXLive or to manually install LaTeX packages or _fonts_. And at the same time I do need non-default packages. Is there really no easy way to have tlmgr alongside Debian/Ubuntu-provided TeXLive binaries? Regards Liviu PS For those concerned, there is an Ubuntu Idea [1] where you can vote on this issue. [1] http://brainstorm.ubuntu.com/idea/11449/ I cannot judge *buntu or Debian, but openSuse does not update the TeXLive package often enough for my needs, so I'd always recommend to abandon the distro version and go for the upstream TeXLive version. Jürgen -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Problem with Nick Mariette's thesis style
If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: Dear all, while compiling the sample document for Nick Mariette's thesis style, I receive the following error at the end of the compilation process: !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found The thing is this font, which seemly belong to Bera, doesn't appear anywhere in the installation files. Does anybody know how to solve this problem. I would like to move to this style as soon as possible, Best regards. - Julio Rojas jcredbe...@gmail.com
Re: Problem with Nick Mariette's thesis style
Nope Manolo, I'm on Win 7... Any idea? At least on how to get out of this problem with any other font? I tried changing the class file using another monospaced font, but it seems the problem comes from the rescaling of the font to the size desired. Removing this rescaling factor (.85) or setting it to one generates another type of error. Thanks for your help. - Julio Rojas jcredbe...@gmail.com On Fri, Sep 10, 2010 at 10:12 AM, Manolo Martínez man...@austrohungaro.com wrote: If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: Dear all, while compiling the sample document for Nick Mariette's thesis style, I receive the following error at the end of the compilation process: !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found The thing is this font, which seemly belong to Bera, doesn't appear anywhere in the installation files. Does anybody know how to solve this problem. I would like to move to this style as soon as possible, Best regards. - Julio Rojas jcredbe...@gmail.com
SWeave and Lyx - managing the R code component
Hello, I posted a similar question earlier, but without a response - maybe it wasn't worded properly, as I was in a bit of a panic, when it was posted. SWeave and Lyx are a great combination for combining R code and R output into the same document and most of the time this is fine, but occasionally I need a 2nd version without the code, but still any graphs produced by the code. I did try branches, but switching off a branch, which runs a calculation that a figure relies on, breaks the figure code. I also tried putting the code in an appendix, but this has a similar problem with the figure code calling data that hasn't yet been created. Has anyone any idea how this can be got around, and give me the two document versions: one with code and one without. I could live with all the code ending up in an appendix, and wondered if there was some clever way of working with two files, one for the analysis that would run first, then the main document could grab output from this analysis file for the main text, and then dump the analysis file into the compiled document as an appendix. If that makes sense. Any suggestions gratefully received. Graham
Re: SWeave and Lyx - managing the R code component
Hello On Fri, Sep 10, 2010 at 11:27 AM, Graham Smith graham.sm...@myotis.co.uk wrote: SWeave and Lyx are a great combination for combining R code and R output into the same document and most of the time this is fine, but occasionally I need a 2nd version without the code, but still any graphs produced by the code. I did try branches, but switching off a branch, which runs a calculation that a figure relies on, breaks the figure code. I also tried putting the code in an appendix, but this has a similar problem with the figure code calling data that hasn't yet been created. Has anyone any idea how this can be got around, and give me the two document versions: one with code and one without. Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows echo=F= @ You might be able to play with these to tailor the document as needed. Let us know if this solves your issues. Liviu I could live with all the code ending up in an appendix, and wondered if there was some clever way of working with two files, one for the analysis that would run first, then the main document could grab output from this analysis file for the main text, and then dump the analysis file into the compiled document as an appendix. If that makes sense. Any suggestions gratefully received. Graham -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: SWeave and Lyx - managing the R code component
Liviu Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows echo=F= @ I have used this in specific chunks but it isn't practical for a full report. Howver, I haven't tried it as an option in the pre-amble. I will give it a go. Thanks, Graham
Re: SWeave and Lyx - managing the R code component
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/10 13:20, Graham Smith wrote: Liviu Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows echo=F= @ I have used this in specific chunks but it isn't practical for a full report. Well - you could open the LyX document in a text editor, and do a search-replace, so that all chunks have the same option? Also something I did in the past. Howver, I haven't tried it as an option in the pre-amble. I will give it a go. If I remember correctly, I tried to set it in the preamble, but it was overwritten again - so I put it into an ert block at the beginning of the document and it was working. Cheers, Rainer Thanks, Graham - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyKFEEACgkQoYgNqgF2egr85ACcCG9Xp1QuFD3ay2UNqsbUKDJr SY0AnRyVLmg39KKNwaH10c6ivI+s218z =LIkk -END PGP SIGNATURE-
Re: SWeave and Lyx - managing the R code component
Liviu, This shows some promise. The echo=T within the chunks overrides the SWeaveOpts command, and the although the code is suppressed you still get the output, which is fine for the figures but not for some of the numerical output However, this all looks promising as you could create objects in the main text (rather than output)and then put the output into the appendix. All told this looks very good. Many many thanks. lyx seems to triumph again. Graham
Re: SWeave and Lyx - managing the R code component
On Fri, Sep 10, 2010 at 12:39 PM, Graham Smith graham.sm...@myotis.co.uk wrote: Liviu, This shows some promise. The echo=T within the chunks overrides the SWeaveOpts command, and the although the code is suppressed you still get the output, which is fine for the figures but not for some of the numerical output However, this all looks promising as you could create objects in the main text (rather than output)and then put the output into the appendix. All told this looks very good. Great. Let us know if you still have issues. Liviu Many many thanks. lyx seems to triumph again. Graham -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: SWeave and Lyx - managing the R code component
Rainer Well - you could open the LyX document in a text editor, and do a search-replace, so that all chunks have the same option? Also something I did in the past. Yes, this is an option, but its an added complication I would rather avoid Howver, I haven't tried it as an option in the pre-amble. I will give it a go. If I remember correctly, I tried to set it in the preamble, but it was overwritten again - so I put it into an ert block at the beginning of the document and it was working. I have it an ERT block at the beginning of the document, as it didn't seem to work in the pre-amble, but that was before I realised that the local echo=T were overrding the SWeaveOpt command. So I'm not sure now. However, as I've said in another response I now seem to have the makings of someting that will work. Thanks, Graham
Re: looking for layout for MNRAS journal
On Thu, 09 Sep 2010 21:43:43 +0200 Uwe Stöhr uwesto...@web.de wrote: Do you still need it or is it too late? I'm already working on another layout file and could this way also write a layout file for MNRAS. Yes, please! When writing a scientific paper, urgent means a month or two ;-) Thanks in advance, Piotr -- /** Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University homepage: http://apollo.astro.amu.edu.pl/PAD e-mail: dy...@amu.edu.pl PAD***/
pdfpages in lyx not producing files
I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} It seems as though lyx is generating a new file name but not the associated file. Anyone know how to get pdfpages working again? Mateo.
Re: pdfpages in lyx not producing files
Am 10.09.2010 16:20, schrieb obregonma...@gmail.com: I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} The problem is that LyX cannot yet handle relative paths very well. Therefore try to specify the file with its absolute path. regards Uwe
Re: Problem with Nick Mariette's thesis style
I'm sorry, I spent quite a bit of time making classicthesis work in ubuntu, but I'm afraid the experience is useless for Windows... You have tried to download and install Bera from the TeX catalogue (http://texcatalogue.sarovar.org/entries/bera.html), of course? Manolo El 10/09/10 10:49, Julio Rojas escribió: Nope Manolo, I'm on Win 7... Any idea? At least on how to get out of this problem with any other font? I tried changing the class file using another monospaced font, but it seems the problem comes from the rescaling of the font to the size desired. Removing this rescaling factor (.85) or setting it to one generates another type of error. Thanks for your help. - Julio Rojas jcredbe...@gmail.com On Fri, Sep 10, 2010 at 10:12 AM, Manolo Martínez man...@austrohungaro.com wrote: If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: Dear all, while compiling the sample document for Nick Mariette's thesis style, I receive the following error at the end of the compilation process: !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found The thing is this font, which seemly belong to Bera, doesn't appear anywhere in the installation files. Does anybody know how to solve this problem. I would like to move to this style as soon as possible, Best regards. - Julio Rojas jcredbe...@gmail.com
Re: Tables and more tables
John Coppens wrote, On 01/-10/-28163 02:59 PM: Hello people, Two problems with tables: 1) Scrolling: When a table gets a bit large (mostly wide), scrolling becomes SNIP I already disabled the automatic table toolbar. The toolbar made things worse by causing extra scrolling. Is there any way to get a more predictable behaviour? If the toolbar is of use to you, I have found that locking it in made the situation better. to lock it in... get into some standard text select View-Toolbars select Table (auto) If you look back in View-Toolbars it will show a check mark next to Table (auto), and the Table toolbar will stay stuck on LyX User Interface until you undo the check mark, thus less random scrolling. I do this when I have a document in which I am doing a lot of table editing. Hope this helps some. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: pdfpages in lyx not producing files
On Friday 10 September 2010, Uwe Stöhr wrote: Am 10.09.2010 16:20, schrieb obregonma...@gmail.com: I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} The problem is that LyX cannot yet handle relative paths very well. Therefore try to specify the file with its absolute path. Thanks for your quick reply. I tried fully specifying the file name in the dpfpages dialogue box, but I get the same error message. I exported the lyx document to latex(pdflatex) and I looked at the \includepdf{} command. I see: \includepdf[pages=-]{0_home_mateo_work_article} which does not work because there is no file by this name. Any more suggestions? Should I regard this as a bug in v. 1.6.7 that is known about and therefore I shouldn't worry about filing a bug report? Mateo.
Re: Tables and more tables
On Fri, 10 Sep 2010 15:53:28 -0400 Todd Denniston todd.dennis...@tsb.cranrdte.navy.mil wrote: I do this when I have a document in which I am doing a lot of table editing. Hope this helps some. Great idea, Todd. Thanks John
Re: Tables and more tables
On Thu, 09 Sep 2010 20:03:44 +0200 Uwe Stöhr uwesto...@web.de wrote: Am 09.09.2010 18:45, schrieb John Coppens: 1) Scrolling: When a table gets a bit large (mostly wide), scrolling becomes unmanageable. No scrollbar is available to move the screen around, This is a known problem. The situation will be much better in the next major LyX version 2.0. Thanks for the reply Uwe. I'm not clear if the beta is stable enough to replace 1.6.7? 2) Table in table: I had to put a small table inside another table. The table borders are touching, which isn't too aesthetic... Insert some horizontal or vertical space if necessary. The EmbeddedObkects manual that you find in LyX's Help emnu shows you many examples how to do this. (Start with sec. 3.7 Subfloats and/or sec. 2.12.1 Row Spacing.) I tried the suggestions in 2.12.1: I added 3 mm 'bottom of the row', but no difference came out in the PDF (the screen did update, and to be sure I also clicked 'update' PDF). DVI didn't show the space either. 3.7 mentions putting minipages... Tried that too. That made the register tables go outside the outer table (to the right). Tried to adjust sizes (as text %, as cm etc, but all tests gave unpredictable results. None of the tests allowed to add spacing below the inner table. I also tested (as I commented in the previous mail), that inserting a vertical space below the inner table actually works, but doesn't communicate the new size to the outer table, so the bottom border of the table row disappears. It's a small document. If someone would like to have a go, I'll post the LyX file. Thanks! John
OT: missing tlmgr in Linux distros (was 'Re: LyX 1.6.7 Packages for Ubuntu')
Dear all Even if it's quite off-topic for lyx-users, re-opening an old discussion. On Fri, Aug 20, 2010 at 4:33 PM, Jürgen Spitzmüller sp...@lyx.org wrote: Sven Hoexter wrote: The Problem is that you often end up with a mess because some third party installers/package manager overwrite files of your distribution packages. And a few weeks later a new update for your distribution arrives and replaces some of the newer files with another older but patched set. Sure. But you lose one of the most important features of TeXLive: immediate update to the most recent packages from CTAN. Most people in this thread raised up the 'update' issues: tlmgr can update packages to the latest available versions. But what about installing new packages, such as those that are not packaged by default by the distro? (I make heavy use of 'frletter', but there's no way it'll get packaged any time soon by Debian/Ubuntu. Otherwise, half of LyX's document classes are unavailable.) What about installing non-default fonts? (I'm specifically thinking of Optima/URW Classico, but other needs may arise.) Some suggested that users advanced to need non-default classes should have advanced knowledge and manage an upstream LaTeX installation. Although I might have enough experience to figure this out, I'm pretty sure I'm not enthusiastic enough to manage dependency problems arising from an uninstalled TeXLive or to manually install LaTeX packages or _fonts_. And at the same time I do need non-default packages. Is there really no easy way to have tlmgr alongside Debian/Ubuntu-provided TeXLive binaries? Regards Liviu PS For those concerned, there is an Ubuntu Idea [1] where you can vote on this issue. [1] http://brainstorm.ubuntu.com/idea/11449/ I cannot judge *buntu or Debian, but openSuse does not update the TeXLive package often enough for my needs, so I'd always recommend to abandon the distro version and go for the upstream TeXLive version. Jürgen -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Problem with Nick Mariette's thesis style
If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: Dear all, while compiling the sample document for Nick Mariette's thesis style, I receive the following error at the end of the compilation process: !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found The thing is this font, which seemly belong to Bera, doesn't appear anywhere in the installation files. Does anybody know how to solve this problem. I would like to move to this style as soon as possible, Best regards. - Julio Rojas jcredbe...@gmail.com
Re: Problem with Nick Mariette's thesis style
Nope Manolo, I'm on Win 7... Any idea? At least on how to get out of this problem with any other font? I tried changing the class file using another monospaced font, but it seems the problem comes from the rescaling of the font to the size desired. Removing this rescaling factor (.85) or setting it to one generates another type of error. Thanks for your help. - Julio Rojas jcredbe...@gmail.com On Fri, Sep 10, 2010 at 10:12 AM, Manolo Martínez man...@austrohungaro.com wrote: If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: Dear all, while compiling the sample document for Nick Mariette's thesis style, I receive the following error at the end of the compilation process: !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found The thing is this font, which seemly belong to Bera, doesn't appear anywhere in the installation files. Does anybody know how to solve this problem. I would like to move to this style as soon as possible, Best regards. - Julio Rojas jcredbe...@gmail.com
SWeave and Lyx - managing the R code component
Hello, I posted a similar question earlier, but without a response - maybe it wasn't worded properly, as I was in a bit of a panic, when it was posted. SWeave and Lyx are a great combination for combining R code and R output into the same document and most of the time this is fine, but occasionally I need a 2nd version without the code, but still any graphs produced by the code. I did try branches, but switching off a branch, which runs a calculation that a figure relies on, breaks the figure code. I also tried putting the code in an appendix, but this has a similar problem with the figure code calling data that hasn't yet been created. Has anyone any idea how this can be got around, and give me the two document versions: one with code and one without. I could live with all the code ending up in an appendix, and wondered if there was some clever way of working with two files, one for the analysis that would run first, then the main document could grab output from this analysis file for the main text, and then dump the analysis file into the compiled document as an appendix. If that makes sense. Any suggestions gratefully received. Graham
Re: SWeave and Lyx - managing the R code component
Hello On Fri, Sep 10, 2010 at 11:27 AM, Graham Smith graham.sm...@myotis.co.uk wrote: SWeave and Lyx are a great combination for combining R code and R output into the same document and most of the time this is fine, but occasionally I need a 2nd version without the code, but still any graphs produced by the code. I did try branches, but switching off a branch, which runs a calculation that a figure relies on, breaks the figure code. I also tried putting the code in an appendix, but this has a similar problem with the figure code calling data that hasn't yet been created. Has anyone any idea how this can be got around, and give me the two document versions: one with code and one without. Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows echo=F= @ You might be able to play with these to tailor the document as needed. Let us know if this solves your issues. Liviu I could live with all the code ending up in an appendix, and wondered if there was some clever way of working with two files, one for the analysis that would run first, then the main document could grab output from this analysis file for the main text, and then dump the analysis file into the compiled document as an appendix. If that makes sense. Any suggestions gratefully received. Graham -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: SWeave and Lyx - managing the R code component
Liviu Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows echo=F= @ I have used this in specific chunks but it isn't practical for a full report. Howver, I haven't tried it as an option in the pre-amble. I will give it a go. Thanks, Graham
Re: SWeave and Lyx - managing the R code component
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/10 13:20, Graham Smith wrote: Liviu Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows echo=F= @ I have used this in specific chunks but it isn't practical for a full report. Well - you could open the LyX document in a text editor, and do a search-replace, so that all chunks have the same option? Also something I did in the past. Howver, I haven't tried it as an option in the pre-amble. I will give it a go. If I remember correctly, I tried to set it in the preamble, but it was overwritten again - so I put it into an ert block at the beginning of the document and it was working. Cheers, Rainer Thanks, Graham - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyKFEEACgkQoYgNqgF2egr85ACcCG9Xp1QuFD3ay2UNqsbUKDJr SY0AnRyVLmg39KKNwaH10c6ivI+s218z =LIkk -END PGP SIGNATURE-
Re: SWeave and Lyx - managing the R code component
Liviu, This shows some promise. The echo=T within the chunks overrides the SWeaveOpts command, and the although the code is suppressed you still get the output, which is fine for the figures but not for some of the numerical output However, this all looks promising as you could create objects in the main text (rather than output)and then put the output into the appendix. All told this looks very good. Many many thanks. lyx seems to triumph again. Graham
Re: SWeave and Lyx - managing the R code component
On Fri, Sep 10, 2010 at 12:39 PM, Graham Smith graham.sm...@myotis.co.uk wrote: Liviu, This shows some promise. The echo=T within the chunks overrides the SWeaveOpts command, and the although the code is suppressed you still get the output, which is fine for the figures but not for some of the numerical output However, this all looks promising as you could create objects in the main text (rather than output)and then put the output into the appendix. All told this looks very good. Great. Let us know if you still have issues. Liviu Many many thanks. lyx seems to triumph again. Graham -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: SWeave and Lyx - managing the R code component
Rainer Well - you could open the LyX document in a text editor, and do a search-replace, so that all chunks have the same option? Also something I did in the past. Yes, this is an option, but its an added complication I would rather avoid Howver, I haven't tried it as an option in the pre-amble. I will give it a go. If I remember correctly, I tried to set it in the preamble, but it was overwritten again - so I put it into an ert block at the beginning of the document and it was working. I have it an ERT block at the beginning of the document, as it didn't seem to work in the pre-amble, but that was before I realised that the local echo=T were overrding the SWeaveOpt command. So I'm not sure now. However, as I've said in another response I now seem to have the makings of someting that will work. Thanks, Graham
Re: looking for layout for MNRAS journal
On Thu, 09 Sep 2010 21:43:43 +0200 Uwe Stöhr uwesto...@web.de wrote: Do you still need it or is it too late? I'm already working on another layout file and could this way also write a layout file for MNRAS. Yes, please! When writing a scientific paper, urgent means a month or two ;-) Thanks in advance, Piotr -- /** Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University homepage: http://apollo.astro.amu.edu.pl/PAD e-mail: dy...@amu.edu.pl PAD***/
pdfpages in lyx not producing files
I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} It seems as though lyx is generating a new file name but not the associated file. Anyone know how to get pdfpages working again? Mateo.
Re: pdfpages in lyx not producing files
Am 10.09.2010 16:20, schrieb obregonma...@gmail.com: I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} The problem is that LyX cannot yet handle relative paths very well. Therefore try to specify the file with its absolute path. regards Uwe
Re: Problem with Nick Mariette's thesis style
I'm sorry, I spent quite a bit of time making classicthesis work in ubuntu, but I'm afraid the experience is useless for Windows... You have tried to download and install Bera from the TeX catalogue (http://texcatalogue.sarovar.org/entries/bera.html), of course? Manolo El 10/09/10 10:49, Julio Rojas escribió: Nope Manolo, I'm on Win 7... Any idea? At least on how to get out of this problem with any other font? I tried changing the class file using another monospaced font, but it seems the problem comes from the rescaling of the font to the size desired. Removing this rescaling factor (.85) or setting it to one generates another type of error. Thanks for your help. - Julio Rojas jcredbe...@gmail.com On Fri, Sep 10, 2010 at 10:12 AM, Manolo Martínez man...@austrohungaro.com wrote: If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: Dear all, while compiling the sample document for Nick Mariette's thesis style, I receive the following error at the end of the compilation process: !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found The thing is this font, which seemly belong to Bera, doesn't appear anywhere in the installation files. Does anybody know how to solve this problem. I would like to move to this style as soon as possible, Best regards. - Julio Rojas jcredbe...@gmail.com
Re: Tables and more tables
John Coppens wrote, On 01/-10/-28163 02:59 PM: Hello people, Two problems with tables: 1) Scrolling: When a table gets a bit large (mostly wide), scrolling becomes SNIP I already disabled the automatic table toolbar. The toolbar made things worse by causing extra scrolling. Is there any way to get a more predictable behaviour? If the toolbar is of use to you, I have found that locking it in made the situation better. to lock it in... get into some standard text select View-Toolbars select Table (auto) If you look back in View-Toolbars it will show a check mark next to Table (auto), and the Table toolbar will stay stuck on LyX User Interface until you undo the check mark, thus less random scrolling. I do this when I have a document in which I am doing a lot of table editing. Hope this helps some. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: pdfpages in lyx not producing files
On Friday 10 September 2010, Uwe Stöhr wrote: Am 10.09.2010 16:20, schrieb obregonma...@gmail.com: I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} The problem is that LyX cannot yet handle relative paths very well. Therefore try to specify the file with its absolute path. Thanks for your quick reply. I tried fully specifying the file name in the dpfpages dialogue box, but I get the same error message. I exported the lyx document to latex(pdflatex) and I looked at the \includepdf{} command. I see: \includepdf[pages=-]{0_home_mateo_work_article} which does not work because there is no file by this name. Any more suggestions? Should I regard this as a bug in v. 1.6.7 that is known about and therefore I shouldn't worry about filing a bug report? Mateo.
Re: Tables and more tables
On Fri, 10 Sep 2010 15:53:28 -0400 Todd Denniston todd.dennis...@tsb.cranrdte.navy.mil wrote: I do this when I have a document in which I am doing a lot of table editing. Hope this helps some. Great idea, Todd. Thanks John
Re: Tables and more tables
On Thu, 09 Sep 2010 20:03:44 +0200 Uwe Stöhr uwesto...@web.de wrote: Am 09.09.2010 18:45, schrieb John Coppens: 1) Scrolling: When a table gets a bit large (mostly wide), scrolling becomes unmanageable. No scrollbar is available to move the screen around, This is a known problem. The situation will be much better in the next major LyX version 2.0. Thanks for the reply Uwe. I'm not clear if the beta is stable enough to replace 1.6.7? 2) Table in table: I had to put a small table inside another table. The table borders are touching, which isn't too aesthetic... Insert some horizontal or vertical space if necessary. The EmbeddedObkects manual that you find in LyX's Help emnu shows you many examples how to do this. (Start with sec. 3.7 Subfloats and/or sec. 2.12.1 Row Spacing.) I tried the suggestions in 2.12.1: I added 3 mm 'bottom of the row', but no difference came out in the PDF (the screen did update, and to be sure I also clicked 'update' PDF). DVI didn't show the space either. 3.7 mentions putting minipages... Tried that too. That made the register tables go outside the outer table (to the right). Tried to adjust sizes (as text %, as cm etc, but all tests gave unpredictable results. None of the tests allowed to add spacing below the inner table. I also tested (as I commented in the previous mail), that inserting a vertical space below the inner table actually works, but doesn't communicate the new size to the outer table, so the bottom border of the table row disappears. It's a small document. If someone would like to have a go, I'll post the LyX file. Thanks! John
OT: missing tlmgr in Linux distros (was 'Re: LyX 1.6.7 Packages for Ubuntu')
Dear all Even if it's quite off-topic for lyx-users, re-opening an old discussion. On Fri, Aug 20, 2010 at 4:33 PM, Jürgen Spitzmüllerwrote: > Sven Hoexter wrote: >> The Problem is that you often end up with a mess because some third party >> installers/package manager overwrite files of your distribution packages. >> And a few weeks later a new update for your distribution arrives and >> replaces some of the newer files with another older but patched set. > > Sure. But you lose one of the most important features of TeXLive: immediate > update to the most recent packages from CTAN. > Most people in this thread raised up the 'update' issues: tlmgr can update packages to the latest available versions. But what about installing new packages, such as those that are not packaged by default by the distro? (I make heavy use of 'frletter', but there's no way it'll get packaged any time soon by Debian/Ubuntu. Otherwise, half of LyX's document classes are unavailable.) What about installing non-default fonts? (I'm specifically thinking of Optima/URW Classico, but other needs may arise.) Some suggested that users advanced to need non-default classes should have advanced knowledge and manage an upstream LaTeX installation. Although I might have enough experience to figure this out, I'm pretty sure I'm not enthusiastic enough to manage dependency problems arising from an uninstalled TeXLive or to manually install LaTeX packages or _fonts_. And at the same time I do need non-default packages. Is there really no easy way to have tlmgr alongside Debian/Ubuntu-provided TeXLive binaries? Regards Liviu PS For those concerned, there is an Ubuntu Idea [1] where you can vote on this issue. [1] http://brainstorm.ubuntu.com/idea/11449/ > I cannot judge *buntu or Debian, but openSuse does not update the TeXLive > package often enough for my needs, so I'd always recommend to abandon the > distro version and go for the upstream TeXLive version. > > Jürgen > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Problem with Nick Mariette's thesis style
If you are using *buntu, texlive-fonts-extra has the Bera family. Manolo El 09/09/10 21:14, Julio Rojas escribió: > Dear all, while compiling the sample document for Nick Mariette's > thesis style, I receive the following error at the end of the > compilation process: > > !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found > > The thing is this font, which seemly belong to Bera, doesn't appear > anywhere in the installation files. Does anybody know how to solve > this problem. I would like to move to this style as soon as possible, > > Best regards. > - > Julio Rojas > jcredbe...@gmail.com > >
Re: Problem with Nick Mariette's thesis style
Nope Manolo, I'm on Win 7... Any idea? At least on how to get out of this problem with any other font? I tried changing the class file using another monospaced font, but it seems the problem comes from the rescaling of the font to the size desired. Removing this rescaling factor (.85) or setting it to one generates another type of error. Thanks for your help. - Julio Rojas jcredbe...@gmail.com On Fri, Sep 10, 2010 at 10:12 AM, Manolo Martínezwrote: > If you are using *buntu, texlive-fonts-extra has the Bera family. > > Manolo > > El 09/09/10 21:14, Julio Rojas escribió: >> Dear all, while compiling the sample document for Nick Mariette's >> thesis style, I receive the following error at the end of the >> compilation process: >> >> !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found >> >> The thing is this font, which seemly belong to Bera, doesn't appear >> anywhere in the installation files. Does anybody know how to solve >> this problem. I would like to move to this style as soon as possible, >> >> Best regards. >> - >> Julio Rojas >> jcredbe...@gmail.com >> >> > >
SWeave and Lyx - managing the R code component
Hello, I posted a similar question earlier, but without a response - maybe it wasn't worded properly, as I was in a bit of a panic, when it was posted. SWeave and Lyx are a great combination for combining R code and R output into the same document and most of the time this is fine, but occasionally I need a 2nd version without the code, but still any graphs produced by the code. I did try branches, but switching off a branch, which runs a calculation that a figure relies on, breaks the figure code. I also tried putting the code in an appendix, but this has a similar problem with the figure code calling data that hasn't yet been created. Has anyone any idea how this can be got around, and give me the two document versions: one with code and one without. I could live with all the code ending up in an appendix, and wondered if there was some clever way of working with two files, one for the analysis that would run first, then the main document could grab output from this analysis file for the main text, and then dump the analysis file into the compiled document as an appendix. If that makes sense. Any suggestions gratefully received. Graham
Re: SWeave and Lyx - managing the R code component
Hello On Fri, Sep 10, 2010 at 11:27 AM, Graham Smithwrote: > SWeave and Lyx are a great combination for combining R code and R output > into the same document and most of the time this is fine, but occasionally I > need a 2nd version without the code, but still any graphs produced by the > code. > > I did try branches, but switching off a branch, which runs a calculation > that a figure relies on, breaks the figure code. > > I also tried putting the code in an appendix, but this has a similar problem > with the figure code calling data that hasn't yet been created. > > Has anyone any idea how this can be got around, and give me the two document > versions: one with code and one without. > Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows
Re: SWeave and Lyx - managing the R code component
Liviu Have you tried to use \SweaveOpts{echo=T} for the with_code document, and 'echo=F' for the document with no code? You can also use this option on specific chunks as follows
Re: SWeave and Lyx - managing the R code component
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/10 13:20, Graham Smith wrote: > Liviu > >> Have you tried to use \SweaveOpts{echo=T} for the with_code document, >> and 'echo=F' for the document with no code? You can also use this >> option on specific chunks as follows >>
Re: SWeave and Lyx - managing the R code component
Liviu, This shows some promise. The echo=T within the chunks overrides the SWeaveOpts command, and the although the code is suppressed you still get the output, which is fine for the figures but not for some of the numerical output However, this all looks promising as you could create objects in the main text (rather than output)and then put the output into the appendix. All told this looks very good. Many many thanks. lyx seems to triumph again. Graham
Re: SWeave and Lyx - managing the R code component
On Fri, Sep 10, 2010 at 12:39 PM, Graham Smithwrote: > Liviu, > > This shows some promise. The echo=T within the chunks overrides the > SWeaveOpts command, and the although the code is suppressed you still get > the output, which is fine for the figures but not for some of the numerical > output > > However, this all looks promising as you could create objects in the main > text (rather than output)and then put the output into the appendix. > > All told this looks very good. > Great. Let us know if you still have issues. Liviu > Many many thanks. lyx seems to triumph again. > > Graham > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: SWeave and Lyx - managing the R code component
Rainer Well - you could open the LyX document in a text editor, and do a search-replace, so that all chunks have the same option? Also something I did in the past. Yes, this is an option, but its an added complication I would rather avoid Howver, I haven't tried it as an option in the pre-amble. I will give it a go. If I remember correctly, I tried to set it in the preamble, but it was overwritten again - so I put it into an ert block at the beginning of the document and it was working. I have it an ERT block at the beginning of the document, as it didn't seem to work in the pre-amble, but that was before I realised that the local echo=T were overrding the SWeaveOpt command. So I'm not sure now. However, as I've said in another response I now seem to have the makings of someting that will work. Thanks, Graham
Re: looking for layout for MNRAS journal
On Thu, 09 Sep 2010 21:43:43 +0200 Uwe Stöhrwrote: > Do you still need it or is it too late? I'm already working on another > layout file and could this way also write a layout file for MNRAS. Yes, please! When writing a scientific paper, urgent means a month or two ;-) Thanks in advance, Piotr -- /** Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University homepage: http://apollo.astro.amu.edu.pl/PAD e-mail: dy...@amu.edu.pl PAD***/
pdfpages in lyx not producing files
I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} It seems as though lyx is generating a new file name but not the associated file. Anyone know how to get pdfpages working again? Mateo.
Re: pdfpages in lyx not producing files
Am 10.09.2010 16:20, schrieb obregonma...@gmail.com: I used to be able to include PDF pages into my lyx with with Insert|File|ExternalMaterial|pdfpages. However, something has changed and when I generate pdflatex output, it cannot find the file, even though I can see the preview out the PDF document in lyx. I look around and I cannot find the file it refers to. The error I get is: Package pdfpages error: Cannot find file `0_home_mateo_work_article'. However, if I export the lyx file with tex(pdflatex), I can run pdflatex on the resulting tex file and get the desired result. If I look at the tex fiel, I see: \includepdf[pages=-]{article} The problem is that LyX cannot yet handle relative paths very well. Therefore try to specify the file with its absolute path. regards Uwe
Re: Problem with Nick Mariette's thesis style
I'm sorry, I spent quite a bit of time making classicthesis work in ubuntu, but I'm afraid the experience is useless for Windows... You have tried to download and install Bera from the TeX catalogue (http://texcatalogue.sarovar.org/entries/bera.html), of course? Manolo El 10/09/10 10:49, Julio Rojas escribió: > Nope Manolo, I'm on Win 7... Any idea? At least on how to get out of > this problem with any other font? I tried changing the class file > using another monospaced font, but it seems the problem comes from the > rescaling of the font to the size desired. Removing this rescaling > factor (.85) or setting it to one generates another type of error. > > Thanks for your help. > - > Julio Rojas > jcredbe...@gmail.com > > > > On Fri, Sep 10, 2010 at 10:12 AM, Manolo Martínez >wrote: > >> If you are using *buntu, texlive-fonts-extra has the Bera family. >> >> Manolo >> >> El 09/09/10 21:14, Julio Rojas escribió: >> >>> Dear all, while compiling the sample document for Nick Mariette's >>> thesis style, I receive the following error at the end of the >>> compilation process: >>> >>> !pdfTeX error: pdflatex (file fvmro8r): Font fvmro8r at 408 not found >>> >>> The thing is this font, which seemly belong to Bera, doesn't appear >>> anywhere in the installation files. Does anybody know how to solve >>> this problem. I would like to move to this style as soon as possible, >>> >>> Best regards. >>> - >>> Julio Rojas >>> jcredbe...@gmail.com >>> >>> >>> >> >> >
Re: Tables and more tables
John Coppens wrote, On 01/-10/-28163 02:59 PM: > Hello people, > > Two problems with tables: > > 1) Scrolling: > > When a table gets a bit large (mostly wide), scrolling becomes > > I already disabled the automatic table toolbar. The toolbar made things > worse by causing extra scrolling. > > Is there any way to get a more predictable behaviour? > If the toolbar is of use to you, I have found that "locking" it in made the situation better. to lock it in... get into some standard text select View->Toolbars select "Table (auto)" If you look back in View->Toolbars it will show a check mark next to "Table (auto)", and the Table toolbar will stay stuck on LyX User Interface until you undo the check mark, thus less random scrolling. I do this when I have a document in which I am doing a lot of table editing. Hope this helps some. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: pdfpages in lyx not producing files
On Friday 10 September 2010, Uwe Stöhr wrote: > Am 10.09.2010 16:20, schrieb obregonma...@gmail.com: > > > I used to be able to include PDF pages into my lyx with with > > Insert|File|ExternalMaterial|pdfpages. However, something has changed and > > when I generate pdflatex output, it cannot find the file, even though I can > > see the preview out the PDF document in lyx. I look around and I cannot > > find the file it refers to. The error I get is: > > > > Package pdfpages error: Cannot find file `0_home_mateo_work_article'. > > > > However, if I export the lyx file with tex(pdflatex), I can run pdflatex on > > the resulting tex file and get the desired result. If I look at the tex > > fiel, I see: > > > > \includepdf[pages=-]{article} > > The problem is that LyX cannot yet handle relative paths very well. > Therefore try to specify the file with its absolute path. Thanks for your quick reply. I tried fully specifying the file name in the dpfpages dialogue box, but I get the same error message. I exported the lyx document to latex(pdflatex) and I looked at the \includepdf{} command. I see: \includepdf[pages=-]{0_home_mateo_work_article} which does not work because there is no file by this name. Any more suggestions? Should I regard this as a bug in v. 1.6.7 that is known about and therefore I shouldn't worry about filing a bug report? Mateo.
Re: Tables and more tables
On Fri, 10 Sep 2010 15:53:28 -0400 Todd Dennistonwrote: > I do this when I have a document in which I am doing a lot of table editing. > Hope this helps some. Great idea, Todd. Thanks John
Re: Tables and more tables
On Thu, 09 Sep 2010 20:03:44 +0200 Uwe Stöhrwrote: > Am 09.09.2010 18:45, schrieb John Coppens: > > > 1) Scrolling: > > > > When a table gets a bit large (mostly wide), scrolling becomes > > unmanageable. No scrollbar is available to move the screen around, > > This is a known problem. The situation will be much better in the next > major LyX version 2.0. Thanks for the reply Uwe. I'm not clear if the beta is stable enough to replace 1.6.7? > > 2) Table in table: > > > > I had to put a small table inside another table. The table borders are > > touching, which isn't too aesthetic... > > Insert some horizontal or vertical space if necessary. The > EmbeddedObkects manual that you find in LyX's Help emnu shows you many > examples how to do this. (Start with sec. 3.7 "Subfloats" and/or sec. > 2.12.1 "Row Spacing".) I tried the suggestions in 2.12.1: I added 3 mm 'bottom of the row', but no difference came out in the PDF (the screen did update, and to be sure I also clicked 'update' PDF). DVI didn't show the space either. 3.7 mentions putting minipages... Tried that too. That made the register tables go outside the outer table (to the right). Tried to adjust sizes (as text %, as cm etc, but all tests gave unpredictable results. None of the tests allowed to add spacing below the inner table. I also tested (as I commented in the previous mail), that inserting a vertical space below the inner table actually works, but doesn't communicate the new size to the outer table, so the bottom border of the table row disappears. It's a small document. If someone would like to have a go, I'll post the LyX file. Thanks! John