How to wrap text around a figure?
Hi, I am trying to wrap some text around a figure. Example the figure should be a third the way down the page up against the left margin, with the text flowing along the top of the figure and down the right hand side of the figure resuming from the left hand margin once the bottom of the figure is reached. Using "figure wrap float" the figure is placed in the middle of the page and the text appears above and below the figure but does not flow round it. Which is the best way to achieve this aim? Alasdair
Re: configuring lyx to use an alternative Texlive version Solved
On Sat, 28 Apr 2012 11:56:08 -0500 stefano franchi wrote: > On Sat, Apr 28, 2012 at 9:50 AM, Alasdair Reed > wrote: > > On Sat, 28 Apr 2012 08:20:23 -0500 > > stefano franchi wrote: > > > >> On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed > >> wrote: > >> > >> > Is that right? Which logfile should I check? The > >> > >> You can check the Latex log by going to Document>>Latex Log > >> The first line will tell you which version of of Texlive LyX is > >> using > >> > >> > dialogue /documents/settings/fonts/use non-Tex fonts via > >> > XeTex/LuaTex, is greyed out. The package fontspec needs to be > >> > installed to use this dialogue box, it is installed in > >> > TexLive2011 > >> > (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) > >> > on my system, but the box is still greyed out. Do you need to > >> > put \usepackage{fontspec} in the preamble of every document to > >> > use XeTex ? > >> > > >> > >> Tools>>Tex information will tell you which Tex packages Lyx is > >> Tools>>aware. > >> If you check the box > >> called "show path" it will tell you where the packages are. > >> > >> the fontspec package should be loaded automatically if you choose > >> non-TeX fonts. You can check if that's the case by choosing > >> View>>Source, and checking the box "Full source." Scroll back to > >> View>>the > >> beginning of the source doc and you should be able to see the > >> \fontspec command. > >> > >> Hope it helps, > >> > >> Stefano > >> > >> > > > > Thanks Stefano, > > Document >> Latex Log is greyed out > > It won't be activated until you comiple something. Create a new Lyx > file with just a word in in it and then do View>>pdflatex (for > instance). After successful compilaiton you should be able to see the > log file > > > > Tools >> Tex with "show path" is showing packages > > from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) > > so it would seem lyx is not aware of TexLive2011 in /usr/local/ > > Right, I guess the problem is that lyx finds the ubuntu packages > before it hits texlive. > > First of all: have you reconfigured Lyx (Tools>>Reconfigure)? It may > be all you need. > > If that does not work, a couple of options: > > 1. Uninstall the Ubuntu text-live package. This may not be feasible, > though, because you probably have it as a dependence of Lyx and > possibly other packages > There is a way to replace Ubuntu's outdated texlive with a "dummy" > package but I am afraid I forget how to do it. Other people on the > list may know (I left Ubuntu some time ago). > > 2. Check the order of your executable path in your $PATH environmental > variable. In fact, open a terminal and do > > $which pdflatex > > you should get something like: > /usr/local/texlive/2011/bin/x86_64-linux/pdflatex > > > and then do something like: > > $kpsewhich fontspec.sty > > > and you shoud get > /usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty > > If not, try > > $printenv $PATH > > Do you see the path to the texlive2011 installation occurring before > the path to the Ubuntu installed executables? > > S. > > Hi, The paths are all correct, Starting lyx from the terminal and reconfiguring did the trick as far as using TexLive2011 goes I just can't start Lyx from the desktop icon if I want to use TexLive2011, but I can live with that. It can be done but time is short . There are other problems but I will post separate question about them. \ Alasdair
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 08:20:23 -0500 stefano franchi wrote: > On Sat, Apr 28, 2012 at 5:09 AM, Alasdair Reed > wrote: > > > Is that right? Which logfile should I check? The > > You can check the Latex log by going to Document>>Latex Log > The first line will tell you which version of of Texlive LyX is using > > > dialogue /documents/settings/fonts/use non-Tex fonts via > > XeTex/LuaTex, is greyed out. The package fontspec needs to be > > installed to use this dialogue box, it is installed in TexLive2011 > > (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) > > on my system, but the box is still greyed out. Do you need to put > > \usepackage{fontspec} in the preamble of every document to use > > XeTex ? > > > > Tools>>Tex information will tell you which Tex packages Lyx is aware. > If you check the box > called "show path" it will tell you where the packages are. > > the fontspec package should be loaded automatically if you choose > non-TeX fonts. You can check if that's the case by choosing > View>>Source, and checking the box "Full source." Scroll back to the > beginning of the source doc and you should be able to see the > \fontspec command. > > Hope it helps, > > Stefano > > Thanks Stefano, Document >> Latex Log is greyed out Tools >> Tex with "show path" is showing packages from /usr/share/texmf-texlive/tex/generic/foo/foo.sty (for example) so it would seem lyx is not aware of TexLive2011 in /usr/local/ Any ideas?
Re: configuring lyx to use an alternative Texlive version
On Sat, 28 Apr 2012 09:15:10 +0200 Ignacio García wrote: > Alasdair Reed iprimus.com.au> writes: > > > > > > > I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to > > use the latest version of Xetex. My system installed Texlive is > > Texlive2009 I have installed Texlive2011 as per the Texlive page > > http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 > > in /usr/local/texlive. Added all the suggested lines to my .bashrc. > > Starting Xetex in the terminal produces the message > > Code > > This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) > > restricted \write18 enabled. > > Code ends > > I imagine this is ok. How do I configure lyx to find texlive2011 > > in /usr/local/ instead of using the system default? > > Not need configure lyx, lyx deals with it. > As the output of xetex in the terminal is 2011, lyx use this version > You can check it in the latex log file produced when lyx run the > output > > ig Hi, Is that right? Which logfile should I check? The dialogue /documents/settings/fonts/use non-Tex fonts via XeTex/LuaTex, is greyed out. The package fontspec needs to be installed to use this dialogue box, it is installed in TexLive2011 (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty) on my system, but the box is still greyed out. Do you need to put \usepackage{fontspec} in the preamble of every document to use XeTex ? Alasdair
configuring lyx to use an alternative Texlive version
I would like to configure Lyx to use Texlive2011 in ubuntu 11.10, to use the latest version of Xetex. My system installed Texlive is Texlive2009 I have installed Texlive2011 as per the Texlive page http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-170003.1.1 in /usr/local/texlive. Added all the suggested lines to my .bashrc. Starting Xetex in the terminal produces the message Code This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) restricted \write18 enabled. Code ends I imagine this is ok. How do I configure lyx to find texlive2011 in /usr/local/ instead of using the system default? Alasdair
Re: lyx 2.0.0 URL error "unable to open external file" on Ubuntu 11.10 . File path is correct!!
There does not appear to be a space when it is viewed as you suggest. Have constructed a minimal example and attached both .lyx file .pdf file and .xls file . Alasdair On Tue, 3 Apr 2012 14:50:05 + (UTC) Paul A. Rubin wrote: > You seem to have an errant space at the start of the file path. Is > it visible if you do View > Source with the cursor proximate to that > line? > > If the space does not occur in the path as you entered it, I would > suggest constructing a minimal example and posting it to the list. > > Paul > pdf_link_example.lyx Description: application/lyx pdf_link_example.pdf Description: Adobe PDF document lyx_pdf_link_text.xls Description: MS-Excel spreadsheet
Re: lyx 2.0.0 URL error "unable to open external file" on Ubuntu 11.10 . File path is correct!!
On Sat, 31 Mar 2012 15:57:44 + (UTC) Paul A. Rubin wrote: > I think this is a problem with Evince. I just tried this (linking to > both a PDF and an ODS file). LyX exported my document correctly > (using pdflatex). Opened in Acrobat Reader, both links work > correctly. Opened in Evince, both links produce the error message > you got. > > Paul > > Hi, Tried with Ocular and Acrobat Reader and both had errors. Both were "file not found" errors. "Firefox can't find the file at / /media/Nano/Documents/tcm_files/foo.xls" It seems that lyx maybe passing an incorrect file path . When the link is clicked on in the pdf, Acrobat Reader asks for permission before opening a linked file and gives a file path: "file:%20/media/Nano/Documents/tcm_files/foo.xls" Here is the file path placed in the address bar of firefox by Acrobat "file:/// /media/Nano/Documents/tcm_files/foo.xls" Opening the .xls file (if it could find it) in firefox by Acrobat is no problem firefox just opens it in Libreoffice. I tested this by opening the .xls file from the "File" dialogue in firefox. Also for completeness, www links in the lyx created pdf work perfectly as they should opening a web page in firefox. Regards, Alasdair
lyx 2.0.0 URL error "unable to open external file" on Ubuntu 11.10 . File path is correct!!
Hi, I am trying to create a link in a document to an external file (an using the "hyperlink" feature. However after creating the link in the document and exporting to pdf the link appears as it should in the pdf, but I get the following error message (file name altered) Error stating file '/media/Nano/file:/media/Nano/bar.xls': No such file or directory The file exists and the source of the document reflects the correct file path. \href{file:/media/Nano/bar.xls} The file is on an external drive,(the drive is always mounted) but generally this shouldn't make any difference. Should it? I have created test documents on the main hard drive with the same result. Have I missed something here? Regards, Alasdair -- Alasdair Reed Chinese Herbal Medicine Practitioner 22 South St Bellingen NSW 2454 M: 0403-869-932 T: 02 8456 0988 The information transmitted is for the use of the intended recipient only and may contain confidential and/or legally privileged material. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may result in severe penalties. If you have received this email in error please notify the sender and delete all copies of this transmission together with any attachments.
Error: LyXTextClassList::Read: unable to find textclass file `'. Exiting
Hi, It seems this is an oldy but goodie. Just installed Lyx 1.4.3 in Net BSD got the above error messageupon starting. I can find stuff on the list that deals with this error in windows but not UNIX does anybody know how to solve this on UNIX? Regards, Alasdair
Cannot start lyx in NetBSD 3.0.1
Hi, I cannot start lyx after installing in NetBSD 3.0.1 I get the following error message: $ lyx LyX: reconfiguring user directory python: not found LyX: Done! LyXTextClassList::Read: unable to find textclass file `' After reading around on the list as far as I can tell, the problem is lyx cannot find python and the LyXTextClassList::Read: unable to find textclass file `' error message is a result of that. All well and good, nowhere could I find information on how to tell lyx where to find python. As far as I can tell I have the correct version of python on the system Python 2.4.3 and it is working. Here is the read-out from lyx -version $ lyx -version LyX 1.4.3 (21/09/2006) Built on Feb 22 2007, 23:11:10 Configuration Host type: i386--netbsdelf Special build flags:aiksaurus jpeg-image-loader use-aspell use-ispell C Compiler: cc C Compiler LyX flags: C Compiler flags: -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python2.4 -I/usr/X11R6/include -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python2.4 -I/usr/X11R6/include C++ Compiler: c++ (3.3.3) C++ Compiler LyX flags: -fno-exceptions C++ Compiler flags: -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python2.4 -I/usr/X11R6/include -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python2.4 -I/usr/X11R6/include -fno-exceptions Linker flags: Linker user flags: -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/python2.4/config -Wl,-R/usr/pkg/lib/python2.4/config -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib Forms Frontend: ibXpm version: 4.11 libforms version: 1.0.0 Packaging: posix LyX binary dir: /usr/pkg/bin LyX files dir: /usr/pkg/share/lyx Any clues? regards, Alasdair