Re: Sweave code full of escape codes when printed?
I wonder if its worth mentioning I am using a Mac, as it seems to be character code issue and maybe its something peculiar to the Mac. Graham
Re: Sweave code full of escape codes when printed?
On 12 jun 2009, at 08.59, Graham Smith wrote: I wonder if its worth mentioning I am using a Mac, as it seems to be character code issue and maybe its something peculiar to the Mac. Graham You can always try to change the encoding, e.g. using TextWrangler and see if that changes anything. /Anders
Re: Sweave code full of escape codes when printed?
Anders Anders Ekberg wrote: You can always try to change the encoding, e.g. using TextWrangler and see if that changes anything. I'm sorry to say I don't how to do this. Do you mean my little bit of code giving me problems or do you mean the entire Lyx file. If its the former do I change the encoding and paste it back into Lyx. I'm afraid I am over my threshold of understanding here. However, if I type the commands into an Emacs buffer I get some strange syntax handling cabbages$Year<-recode(cabbages$Year,'"X2001"="2001;"X2002"="2002"; etc With the "X2001"="2001" the " and the numbers are pink (including the X) and the = is black the ; is also pink and the ' is black but in the "X2002"="2002" this is reversed the " and the ; are still pink but so is the = sign. The X2002 and 2002 are now black, which is the pattern that persists for the rest of the code. Graham
Re: Sweave code full of escape codes when printed?
I have now tried reversing the single quotes and double quotes as here: cabbages$Year<-recode(cabbages$Year,"'X2001'='2001';'X2002'='2002';'X2003'='2003'; etc This is now compiling verbatim (so no spurious slashes) when it appears in the PDF , but it is running off the edge of the page and not actually running in R. My next command <<>>= head(cabbages, n=10) @ is showing no recoding has taken place. Graham
error in make
I tried to install lyx 1.6.3 on Suse 11.1 32 bit. In applying make I get the following error message (only the last lines of very many). Does anyone have an idea how to proceed? regards bb . make[4]: Entering directory `/home/bb/lyx/lyx-1.6.3/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -o liblyxmathed.la InsetMathAMSArray.lo InsetMathArray.lo InsetMathBig.lo InsetMathBoldSymbol.lo InsetMathBox.lo InsetMathBrace.lo InsetMath.lo InsetMathCases.lo InsetMathChar.lo InsetMathColor.lo CommandInset.lo InsetMathComment.lo InsetMathDecoration.lo InsetMathDelim.lo InsetMathDiff.lo InsetMathDots.lo InsetMathEnsureMath.lo InsetMathEnv.lo InsetMathExFunc.lo InsetMathExInt.lo InsetMathFont.lo InsetMathFontOld.lo InsetMathFrac.lo InsetMathGrid.lo InsetMathHull.lo InsetMathKern.lo InsetMathLefteqn.lo InsetMathLim.lo MathMacro.lo InsetMathMatrix.lo InsetMathNest.lo InsetMathNumber.lo InsetMathOverset.lo InsetMathPar.lo InsetMathPhantom.lo InsetMathRef.lo InsetMathRoot.lo InsetMathScript.lo InsetMathSize.lo InsetMathSpace.lo InsetMathSpecialChar.lo InsetMathSplit.lo InsetMathSqrt.lo InsetMathStackrel.lo InsetMathString.lo InsetMathSubstack.lo InsetMathSymbol.lo InsetMathTabular.lo InsetMathUnderset.lo InsetMathUnknown.lo InsetMathXArrow.lo InsetMathXYMatrix.lo MathAtom.lo MathAutoCorrect.lo MathData.lo MathExtern.lo MathFactory.lo MathMacroArgument.lo MacroTable.lo MathMacroTemplate.lo MathParser.lo MathStream.lo MathSupport.lo TextPainter.lo libtool: link: `InsetMathNest.lo' is not a valid libtool object make[4]: *** [liblyxmathed.la] Fehler 1 make[4]: Leaving directory `/home/bb/lyx/lyx-1.6.3/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/bb/lyx/lyx-1.6.3/src' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/bb/lyx/lyx-1.6.3/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/bb/lyx/lyx-1.6.3' make: *** [all] Fehler 2 b...@linux-8tal:~/lyx/lyx-1.6.3>
rpm install failes
As the installation from source failed I tried to install rpm-packages: Paket /tmp/lyx-1.6.2-openSuse_11_1-1.i586-3.rpm kann nicht installiert werden. Details: Subprocess failed. Error: RPM fehlgeschlagen: error: Failed dependencies: libAiksaurus-1.2.so.0 is needed by lyx-1.6.2-1.i586 After installing that package a new trial gives the Message: Paket /tmp/lyx-1.6.2-openSuse_11_1-1.i586-7.rpm kann nicht installiert werden. Details: Subprocess failed. Error: RPM fehlgeschlagen: /var/tmp/rpm-tmp.88270: line 2: texhash: command not found error: %post(lyx-1.6.2-1.i586) scriptlet failed, exit status 127 Whe trying to install lyx-1.6.2 Paket /tmp/lyx-1.6.2-openSuse_11_1-1.i586-10.rpm kann nicht installiert werden. Details: Subprocess failed. Error: RPM fehlgeschlagen: package lyx-1.6.2-1.i586 is already installed I think there is something wrong with the rpm-packages. At least I was able to install lyx-1.6.0 on suse 11.1 Regards BB
Re: rpm install failes
bb wrote: > As the installation from source failed I tried to install rpm-packages: Try this one: http://software.opensuse.org/ymp/KDE:Backports/openSUSE_11.1/lyx.ymp (this is the official openSuse RPM for LyX 1.6.3). HTH, Jürgen
Need Verdana font for the PDF generated from Lyx
Hi everyone, Could you please suggest any good packages that might be available if I want Verdana font for the PDF that's generated from Lyx, instead of the standard options available in Lyx. Thank you. Parul
installation failed again
I tried to install from software.opensuse.org/ymp/KDE:Backports/openSUSE_11.1/lyx.ymp Negativ! Installation of package ./i586/lyx-1.6.3-2.1.i586.rpm failed. Details: Subprocess failed. Error: RPM fehlgeschlagen: error: unpacking of archive failed on file /usr/share/texmf/tex/latex/lyx: cpio: rename failed - Is a directory Regards BB
Re: installation failed again
bb wrote: > Subprocess failed. Error: RPM fehlgeschlagen: error: unpacking of > archive failed on file /usr/share/texmf/tex/latex/lyx: cpio: rename > failed - Is a directory rename the directory /usr/share/texmf/tex/latex/lyx to /usr/share/texmf/tex/latex/lyx-old and try again. Jürgen
Help Needed in LYX
Good day, I have been using lyx 1.5 version to type up my journals for the past few months. However I have asked someone to assist me in typing and I told them to download lyx from the internet. Unknowing to me, that there were different versions available on the internet, the person downloaded LyX-1.6.3-1-Installer.exe When they were finished downloading and typing up the document I gave them they sent it to me. I was unable to open the document using lyx 1.5. What I need help with is the following: Can I do something to make the newer version of lyx to work with lyx 1.5. Right now when I try opening the file it is saying ''cannot convert etc etc'' Regards, Esrone.
SV: Need Verdana font for the PDF generated from Lyx
I guess this package is your best bet. http://dante.ctan.org/CTAN/fonts/winfonts/ Read the README and the winfonts-doc.pdf for more information. Ingar
SV: Help Needed in LYX
You need to get the 1.6 version and use the file->export->Lyx 1.5. I hope this helps. Ingar
Re: Help Needed in LYX
esrone noel wrote: > Can I do something to make the newer version of lyx to work with lyx 1.5. > Right now when I try opening the file it is saying ''cannot convert etc > etc'' In LyX 1.6, you can do File>Export>LyX 1.5.x. Jürgen
Elyxer and Lyx 1.6.3
Hi, I am trying elyxer under the last version of Lyx (1.6.3) . I have followed the instructions in the list given by Olivier: "I managed to get elyxer working by doing the following: - copy elyxer.py to the script folder ("C:\Program Files\LyX 1.6.3\Resources\scripts") on my machine,- in Preferences -> Converters, in the LyX -> HTML, modify the command to be: python $$s/scripts/elyxer.py $$i $$o" I have installed the last version (0.29) of the elyxer.py script in the folder indicated by Olivier and changed Lyx->HTML conversion command as indicated. I have done a reconfigure, just incase. But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex. I am probably missing something but I do not know what :-( Sorry if I am making a stupid mistake but I would appreciate a lot your help at this point, since I am just blocked... Regards, Murat -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __
Re: Help Needed in LYX
esrone noel wrote: Good day, I have been using lyx 1.5 version to type up my journals for the past few months. However I have asked someone to assist me in typing and I told them to download lyx from the internet. Unknowing to me, that there were different versions available on the internet, the person downloaded LyX-1.6.3-1-Installer.exe When they were finished downloading and typing up the document I gave them they sent it to me. I was unable to open the document using lyx 1.5. What I need help with is the following: Can I do something to make the newer version of lyx to work with lyx 1.5. Right now when I try opening the file it is saying ''cannot convert etc etc'' Regards, Esrone. Hi, IIRC, 1.5.7 can open LyX 1.6 fileformat. If you do not want to upgrade to 1.6, perhaps you should at least upgrade to 1.5.7. Best regards, Olivier
how to skip to next page
I have not searched for this answer very well online because I'm not sure exactly how to ask it in a few words. My problem is simple: I have a cover page with title and abstract and I want to skip to the next page to start my Introduction. How do you skip to the next page? This would be the equivelent of doing Ctrl-Enter in MS-Word. Thank you!
Re: how to skip to next page
On Jun 12, 2009, at 8:58 AM, Jason Lillywhite wrote: I have not searched for this answer very well online because I'm not sure exactly how to ask it in a few words. My problem is simple: I have a cover page with title and abstract and I want to skip to the next page to start my Introduction. How do you skip to the next page? This would be the equivelent of doing Ctrl-Enter in MS-Word. Insert -> Formatting -> New Page
Re: how to skip to next page
Jason Lillywhite schreef: I have not searched for this answer very well online because I'm not sure exactly how to ask it in a few words. My problem is simple: I have a cover page with title and abstract and I want to skip to the next page to start my Introduction. How do you skip to the next page? This would be the equivelent of doing Ctrl-Enter in MS-Word. Thank you! Insert->Formatting-> (New Page, Page Break, Clear Page, Clear Double Page) Vincent
Problems with LyX 1.6.3
Hi, I downloaded and installed version 1.6.3 (classic rather the alternative installer) on WinXP64 system (over my previous 1.6.2 version). When I opened documents, it would not compile them. It generated an empty tex file and issued an error message about exporting buffer (don't have the exact wording). I tried to reinstall. Same result. Reinstalled 1.6.2 and it works fine/ Did anybody have a similar experience? Ideas on how to solve the problem? Thanks, Reuven
Re: Need Verdana font for the PDF generated from Lyx
On Friday 12 June 2009 10:31:51 am Parul Bali wrote: > Hi everyone, > > Could you please suggest any good packages that might be > available if I want Verdana font for the PDF that's generated > from Lyx, instead of the standard options available in Lyx. > > Thank you. > > Parul Verdana is Microsoft's name for Helvetica. Try Helvetica instead. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html
Re: Sweave code full of escape codes when printed?
On 12 jun 2009, at 11.06, Graham Smith wrote: Anders Anders Ekberg wrote: You can always try to change the encoding, e.g. using TextWrangler and see if that changes anything. I'm sorry to say I don't how to do this. Do you mean my little bit of code giving me problems or do you mean the entire Lyx file. If its the former do I change the encoding and paste it back into Lyx. I'm afraid I am over my threshold of understanding here. Yes, that was the quick-and-dirty idea. Open in TextWrangler, use save as... and click option to specify the encoding you want (there are probably much fancier ways of doing it). However, if I type the commands into an Emacs buffer I get some strange syntax handling cabbages$Year<-recode(cabbages$Year,'"X2001"="2001;"X2002"="2002"; etc With the "X2001"="2001" the " and the numbers are pink (including the X) and the = is black the ; is also pink and the ' is black but in the "X2002"="2002" this is reversed the " and the ; are still pink but so is the = sign. The X2002 and 2002 are now black, which is the pattern that persists for the rest of the code. This is defenitely far over my (very low) threshold of understanding ;-) /Anders
Re: Problems with LyX 1.6.3
Reuven Segev schrieb: I downloaded and installed version 1.6.3 (classic rather the alternative installer) on WinXP64 system (over my previous 1.6.2 version)... Installing one version over another is in general problematic on Windows (not only for LyX). But when you uninstall LyX 1.6.2 and then install 1.6.3 it should work. regards Uwe
Re: Sweave code full of escape codes when printed?
Anders, Thanks again. I have now been sent some trial code that works with Lyx/SWeave/R on Linux, but it is doing nothing on my Mac (with a fresh file). So I suspect there may be a real issue here rather than it me. The strange syntax thing seems to have gone away now, so not sure what was going on there. I think I am stuck now :-( Graham Anders Ekberg wrote: On 12 jun 2009, at 11.06, Graham Smith wrote: Anders Anders Ekberg wrote: You can always try to change the encoding, e.g. using TextWrangler and see if that changes anything. I'm sorry to say I don't how to do this. Do you mean my little bit of code giving me problems or do you mean the entire Lyx file. If its the former do I change the encoding and paste it back into Lyx. I'm afraid I am over my threshold of understanding here. Yes, that was the quick-and-dirty idea. Open in TextWrangler, use save as... and click option to specify the encoding you want (there are probably much fancier ways of doing it). However, if I type the commands into an Emacs buffer I get some strange syntax handling cabbages$Year<-recode(cabbages$Year,'"X2001"="2001;"X2002"="2002"; etc With the "X2001"="2001" the " and the numbers are pink (including the X) and the = is black the ; is also pink and the ' is black but in the "X2002"="2002" this is reversed the " and the ; are still pink but so is the = sign. The X2002 and 2002 are now black, which is the pattern that persists for the rest of the code. This is defenitely far over my (very low) threshold of understanding ;-) /Anders -- Graham M Smith graham.sm...@myotis.co.uk Station Cottage, Station Road Binegar, Somerset BA3 4UQ
Re: Sweave code full of escape codes when printed?
With help from Anders and Jay, part of this problem seems to be solved. Some sample code from Jay, refused to run until the document settings were changed to use utf8 encoding. This worked for the sample code, but didn't help with my code. However, I notice that with my code in the latex code window, the code is highlighted between the $ signs at the start of the code cabbages$Year<-recode(cabbages$Year,"'. I wonder if this suggests that the $ sign is being interpreted in some odd way. Graham Graham Smith wrote: I've started using Sweave and having a problem The code in Lyx is library (car) cabbages$Year<-recode(cabbages$Year,'"X2001"="2001";"X2002"="2002";"X2003"="2003"; etc But its appearing in the PDF as > cabbages$Year <- recode(cabbages$Year, "\"X2001\"=\"2001\";\"X2002\"=\"2002\";\"X2003\"=\"2003\";\ etc And obviously isn't working as printing out incorrectly. Can anyone suggest what is happening here. Many thanks, Graham -- Graham M Smith graham.sm...@myotis.co.uk Station Cottage, Station Road Binegar, Somerset BA3 4UQ
LyX crashes upon referencing images
I am running LyX in Ubuntu 9.04 and I'm working on a document that contains many figures and tables. LyX has crashed multiple times when working with these figures I'm inserting. I'm inserting figures by doing a float, then insert graphic. I found that when I try to adjust the output size and/or LyX display size at the time of first importing the image, it tends to crash the program. I do not have a problem if I insert the graphic, close the dialogue box, then edit the image settings after. I'm inserting bmp images. I'm using an article Document Class.
Re: Sweave code full of escape codes when printed?
Well this is a bit embarrassing , it seems I had two problems, one was that the recode command seems to need utf8 coding rather than the Lyx default (which is fine), plus I had typing error in the data set, which is not fine :-( I rewrote my code using the "with" command which allowed it to run, but it then became obvious that the recoded results were not what I had expected. The typing error then being obvious. The first entry in my code was 'X2001'='2001' but the first level in the data set was "X20001" and this was enough to cause recode to fail in my original code, but run using the with command. Its now working. BUT the code still runs off the edge of the page and doesn't wrap with a continuation symbol. Anyone have any suggestions for fixing this one? Thanks to everyone for there help. Graham Smith wrote: I've started using Sweave and having a problem The code in Lyx is library (car) cabbages$Year<-recode(cabbages$Year,'"X2001"="2001";"X2002"="2002";"X2003"="2003"; etc But its appearing in the PDF as > cabbages$Year <- recode(cabbages$Year, "\"X2001\"=\"2001\";\"X2002\"=\"2002\";\"X2003\"=\"2003\";\ etc And obviously isn't working as printing out incorrectly. Can anyone suggest what is happening here. Many thanks, Graham -- Graham M Smith graham.sm...@myotis.co.uk Station Cottage, Station Road Binegar, Somerset BA3 4UQ
Re: Problems with LyX 1.6.3
Reuven Segev schrieb: Thanks a lot for your reply and help. I have a question though: If I uninstall 1.6.2, would it keep my preferences, e.g., user interface, keyboard shortcuts, file handling preferences, etc.? I cannot speak for the standard installer, but as this is possible with my alternative installer, I guess that also the standard installer supports this. (There is an option in the uninstaller to keep your preferences.) regards Uwe
Re: LyX crashes upon referencing images
Jason Lillywhite schreef: I am running LyX in Ubuntu 9.04 and I'm working on a document that contains many figures and tables. LyX has crashed multiple times when working with these figures I'm inserting. I'm inserting figures by doing a float, then insert graphic. I found that when I try to adjust the output size and/or LyX display size at the time of first importing the image, it tends to crash the program. I do not have a problem if I insert the graphic, close the dialogue box, then edit the image settings after. I'm inserting bmp images. I'm using an article Document Class. Please try to upgrade your qt from 4.5.0 to 4.5.1 (if you didn't do so yet). Vincent
Re: LyX crashes upon referencing images
Vincent van Ravesteijn wrote: Jason Lillywhite schreef: I am running LyX in Ubuntu 9.04 and I'm working on a document that contains many figures and tables. LyX has crashed multiple times when working with these figures I'm inserting. I'm inserting figures by doing a float, then insert graphic. I found that when I try to adjust the output size and/or LyX display size at the time of first importing the image, it tends to crash the program. I do not have a problem if I insert the graphic, close the dialogue box, then edit the image settings after. I'm inserting bmp images. I'm using an article Document Class. Please try to upgrade your qt from 4.5.0 to 4.5.1 (if you didn't do so yet). And if that doesn't work, see if you can't get a perfect "recipe" for reproducing the crash. Then we can fix it. Otherwise, we are fishing. rh
Re: Elyxer and Lyx 1.6.3
Hi Murat, On Fri, Jun 12, 2009 at 4:56 PM, Murat Yildizoglu wrote: > I am trying elyxer under the last version of Lyx (1.6.3) . I have followed > the instructions in the list given by Olivier: Wasn't LyX 1.6.3 supposed to support eLyXer out of the box? I haven't downloaded it to try, but I was under that impression. Well, maybe not. > But, when I do View/HTML or Export/HTML Lyx continues to try to run htlatex. > I am probably missing something but I do not know what :-( I am sorry I can't help you. Surely someone else on the list can help you. Meanwhile you can try manual conversion on a DOS terminal, writing: > Python.exe \elyxer.py filein.lyx fileout.html Let us hope that LyX 1.6.4 comes already preconfigured to use eLyXer and that the Windows installer optionally installs it. It would solve a lot of problems for users. Thanks, Alex.