Importing and displaying graphic files
Having problems importing eps files and displaying them on the screen in lyx - I get 'error converting to loadable format' and doing a straight latex pdf fails. However the graphics files appear in the dvi text using YAP viewer and a readable pdf file is generated clicking on PDF(dvipdfm). Something to do with Imagemagick I guess. Any suggestions? Prof. Michael W Reeks School of Mechanical Systems Engineering Stephenson Building Claremont Rd University of Newcastle upon Tyne Newcastle upon Tyne, NE1 7RU UK Tel 0044 191 222 3570 Fax 0044 191 222 8600 Mob 0044 797 977 4480 Sec 0044 191 222 5236
Re: Importing and displaying graphic files
Mike Reeks wrote: Having problems importing eps files and displaying them on the screen in lyx - I get 'error converting to loadable format' and doing a straight latex pdf fails. However the graphics files appear in the dvi text using YAP viewer and a readable pdf file is generated clicking on PDF(dvipdfm). Something to do with Imagemagick I guess. Any suggestions? This is using LyX/Win 1.3.3, right? I ask because the 1.3.5 version that Ruurd has released recently has it's own problems. Assuming that this is the case, there are several things to check: If you run lyx -dbg graphics from the CMD prompt, you'll get a whole heap of diagnostic info about exactly what LyX is doing. In general, you can define your own converters from file format A to a format loadable by the Qt library routines, but here I'd expect that you're falling through to the use of the default convertDefault.sh script, to be found in the $PREFIX/share/lyx/scripts directory. (Your LyX executable is found at $PREFIX/bin/lyx.exe.) Assuming that you are indeed using convertDefault.sh, then this is simply a wrapper for ImageMagick's convert.exe tool. The next thing to check, therefore is that your PATH environment variable has the path to the ImageMagick convert utility coming before that to the system tool of the same name. Something to do with changing the type of your partitions... Finally, we have had reports that the clever little check in convertDefault.sh that all has been converted, doesn't work. Just remove these lines, therefore, and try again. # It appears that convert succeeded, but we know better than to trustit ;-) # convert is passed strings in the form FMT:FILENAME, so use the ':' to # delimit the two parts. # Note that Win32 filenames have the form 'C:\my\file', # so use everything from the first ':' to the end of the line. FILE=`echo $2 | cut -d ':' -f 2-` test -f $FILE || { echo $0 ERROR echo Unable to find file \${FILE}\ exit 1 } echo $0 generated file \${FILE}\ successfully. HTH, Angus ps, be warned. These conversions on LyX/Win are *blocking*. You'll have to go make a cup of tea whilst all your images are loaded onto the LyX screen. I'm working on fixing that but you'll have to wait for LyX 1.3.6. Till then: tea and more tea. pps LyX 1.3.6 will run natively on Windows out of the box. Ruurd will probably still provide a nice package for it all, but there will be no need for him to hack the sources to create the executable. ppps answering the doing a straight latex pdf fails part: obviously, it's failing for reasons outlined above. However, you may also find that LyX is converting your nice vector EPS file to a bitmapped PNG file rather than a PDF file. pdflatex will understand both, but only the PDF version will scale nicely in your final document. Again, check by looking at the output of lyx -dbg graphics. You're looking for the output from: lyxerr[Debug::GRAPHICS] \tThe original file is orig_file \n \tA copy has been made and convert is to be called with:\n \tfile to convert = temp_file '\n' \toutfile_base = outfile_base '\n' \t from from to to '\n'; A.
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Sven Schreiber wrote: My guess is that relyx has problems with the latex file and produces a bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx The guess is probably correct. 1. I read somewhere that another import tool is coming with the new lyx version (tex2lyx?); if this is true (and it would be great), would it be possible to provide it standalone even before the new lyx version is released? It would be possible, but some work. Unfortunately the table import is the least developed area of tex2lyx, so it would probably not help much in this case. 2. In the meantime it would be nice if the relyx-savvy could provide (permanent links to) more concrete advice on what latex constructs to avoid. (In my particular case retyping the tables in lyx is probably quicker than hand-editing the latex code, but for long-term or search-and-replace batch operations this may be helpful.) Maybe I just missed it? IMHO the needed time would be better spent in improving tex2lyx wrt tables. 3. Because the lyx doc format apparently changes from time to time, it seems to me that lyx2lyx is a very very important component of lyx. I understand that developer resources are limited, so what I'm saying is just that making lyx2lyx more robust should maybe receive higher priority than other or new features. The problem is most definitely not lyx2lyx, but reLyX. It does not produce clean 2.15 files, but a mixture of different formats. This in turn causes trouble for lyx2lyx. Georg
Re: Option to get Thesaurus
Paul == Paul Smith [EMAIL PROTECTED] writes: Paul Well, Jean-Marc, in spite of having libaiksaurus installed, I Paul get the following: Paul, Mark, Thanks for your config.log files. It turns out that you boh suffer from the same problem: our configure script thinks that libAikSaurus requires the bzip2 library to operate. While the aiksaurus documentation is a bit hard to find, I suspect that it is not needed anymore. Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? JMarc
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Sven Schreiber wrote: My guess is that relyx has problems with the latex file and produces a bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx Georg The guess is probably correct. Another guess is that lyx2lyx fails to run. What version of LyX for windows are you using? 1.3.5 has a bug that prevents lyx2lyx from running (it is invoked directly, and windows does not guess that it is a python script, since it does not have a .py extension). Windows users, please correct me if I am wrong. JMarc
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? I think not, Jean-Marc, as the command locate bzip | grep aurus produces nothing as an output. Paul
Re: Option to get Thesaurus
Paul Smith wrote: On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? I think not, Jean-Marc, as the command locate bzip | grep aurus produces nothing as an output. Make that: $ locate bz | grep lib | grep -v libz /usr/lib/libbz2.so.1.0.2 /usr/lib/libbz2.so.1 [snip remaining output] $ locate bz | grep bin /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bzcmp /usr/bin/bzdiff /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzless /usr/bin/bzmore -- Angus
Re: Option to get Thesaurus
Paul == Paul Smith [EMAIL PROTECTED] writes: Paul On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes Paul [EMAIL PROTECTED] wrote: Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? Paul I think not, Jean-Marc, as the command Paul locate bzip | grep aurus Try to install libbzip2_1. JMarc
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 13:42:48 +, Angus Leeming [EMAIL PROTECTED] wrote: Thanks, Angus. $ locate bz | grep lib | grep -v libz $ locate bz | grep lib | grep -v libz /usr/share/man/man8/cups-calibrate.8.bz2 /usr/share/man/man1/libnetcfg.1.bz2 /usr/share/man/man1/perlclib.1.bz2 /usr/share/man/man1/perlmodlib.1.bz2 /usr/share/man/man1/loadshlib.1.bz2 /usr/share/man/man1/ranlib.1.bz2 /usr/share/man/man1/glib-genmarshal.1.bz2 /usr/share/man/man1/glib-gettextize.1.bz2 /usr/share/man/man1/glib-mkenums.1.bz2 /usr/share/man/man5/libao.conf.5.bz2 /usr/share/man/man3/libblkid.3.bz2 /usr/share/man/man3/ExtUtils::testlib.3pm.bz2 /usr/share/man/man3/Net::libnetFAQ.3pm.bz2 /usr/share/man/man3/blib.3pm.bz2 /usr/share/man/man3/lib.3pm.bz2 /usr/share/man/man3/Glib::Object::Subclass.3pm.bz2 /usr/share/man/man3/libuuid.3.bz2 /usr/share/man/man3/mseclib.3.bz2 /usr/share/man/man3/Glib.3pm.bz2 /usr/share/man/man3/Glib::Boxed.3pm.bz2 /usr/share/man/man3/Glib::Error.3pm.bz2 /usr/share/man/man3/Glib::Flags.3pm.bz2 /usr/share/man/man3/Glib::GenPod.3pm.bz2 /usr/share/man/man3/Glib::Log.3pm.bz2 /usr/share/man/man3/Glib::MainLoop.3pm.bz2 /usr/share/man/man3/Glib::MakeHelper.3pm.bz2 /usr/share/man/man3/Glib::Object.3pm.bz2 /usr/share/man/man3/Glib::Param::Boolean.3pm.bz2 /usr/share/man/man3/Glib::Param::Double.3pm.bz2 /usr/share/man/man3/Glib::Param::Enum.3pm.bz2 /usr/share/man/man3/Glib::Param::Flags.3pm.bz2 /usr/share/man/man3/Glib::Param::Int.3pm.bz2 /usr/share/man/man3/Glib::Param::String.3pm.bz2 /usr/share/man/man3/Glib::Param::UInt.3pm.bz2 /usr/share/man/man3/Glib::ParamSpec.3pm.bz2 /usr/share/man/man3/Glib::ParseXSDoc.3pm.bz2 /usr/share/man/man3/Glib::Signal.3pm.bz2 /usr/share/man/man3/Glib::Type.3pm.bz2 /usr/share/man/man3/Glib::Utils.3pm.bz2 /usr/share/man/man3/Glib::devel.3pm.bz2 /usr/share/man/man3/Glib::index.3pm.bz2 /usr/share/man/man3/Glib::version.3pm.bz2 /usr/share/man/man3/Glib::xsapi.3pm.bz2 /usr/share/man/man3/libst.3.bz2 /usr/share/man/man3/Tk::demos::widget_lib::slide.3pm.bz2 /usr/share/man/man3/Tk::demos::widget_lib::trace2.3pm.bz2 /usr/share/man/man3/zlib.3.bz2 /usr/share/man/man3/libmng.3.bz2 /usr/share/man/man3/libpng.3.bz2 /usr/share/man/man3/libpngpf.3.bz2 /usr/share/man/man3/qlibrary.3qt.bz2 /usr/share/man/man3/libexpect.3.bz2 /usr/share/man/man7/libgg.7.bz2 /usr/share/man/man7/libgii.7.bz2 /usr/share/man/man7/display-svgalib.7.bz2 /usr/share/man/man7/libggi.7.bz2 /usr/share/man/mann/library.n.bz2 /usr/share/doc/libbzip2_1-1.0.2 /usr/share/doc/libbzip2_1-1.0.2/LICENSE /usr/share/doc/libxpm4-devel-3.4k/xpm_examples.tar.bz2 /usr/share/info/libidn.info.bz2 /usr/share/info/libtool.info.bz2 /usr/share/info/xemacs/elib.info.bz2 /usr/lib/libbz2.so.1 /usr/lib/libbz2.so.1.0.0 /usr/lib/python2.3/lib-dynload/bz2.so /usr/lib/kde3/kbzip2filter.la /usr/lib/kde3/kbzip2filter.so /usr/lib/gnome-vfs-2.0/modules/libbzip2.so /usr/X11R6/man/man1/mergelib.1x.bz2 $ locate bz | grep bin $ locate bz | grep bin /usr/share/man/man1/bind.1.bz2 /usr/share/man/man1/t1binary.1.bz2 /usr/share/man/man3/Tk::bind.3pm.bz2 /usr/share/man/man3/Tk::bindtags.3pm.bz2 /usr/share/man/man3/qaxbindable.3qt.bz2 /usr/share/man/mann/binary.n.bz2 /usr/share/man/mann/bind.n.bz2 /usr/share/man/mann/bindtags.n.bz2 /usr/share/man/mann/tk_bindForTraversal.n.bz2 /usr/share/info/binutils.info.bz2 /usr/share/info/gdbint.info.bz2 /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bzdiff /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzless /usr/bin/bzme /usr/bin/bzmore /usr/X11R6/man/man3/XRebindKeysym.3x.bz2 /usr/X11R6/man/man3/XShapeCombineMask.3x.bz2 /usr/X11R6/man/man3/XShapeCombineRectangles.3x.bz2 /usr/X11R6/man/man3/XShapeCombineRegion.3x.bz2 /usr/X11R6/man/man3/XShapeCombineShape.3x.bz2 /usr/X11R6/man/man3/XrmCombineDatabase.3x.bz2 /usr/X11R6/man/man3/XrmCombineFileDatabase.3x.bz2 Paul
bug report: latex error
BUG #1: When trying to View Postscript on the file attached to this message, I get dialog box There were errors during the LaTeX run ... 8 errors detected. I believe this should not happen and is thus a bug. I'm using LyX/Qt 1.3.4 from official Debian Sarge package on Linux/x86. BUG #2: Select (eg. with mouse) the equation so that selection begins and ends just outside the equation. Press ! button, which turns emphasis off for the equation and makes the text in the equation upright. Select View Postscript (by the way, this time it gives just 6 errors). Since removing the emphasis did not help, try undoing the change by pressing Ctrl-Z. And voila: instead of reverting the equation back to emphasis on, LyX removes whole equation! This is a nasty bug, could destroy document. Next I'll find if I can find a workaround for the first one. Please keep me on the CC, I'm not subscribed. I didn't use bugzilla, too lazy to create account and check if somebody has already reported these bugs. #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Section Review 2 \layout Standard \emph on Comments \layout Enumerate \emph on Shorten has \begin_inset Formula $\textrm{mod 2^{8}+1}$ \end_inset but \layout Standard Muu \the_end
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 14:44:38 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Try to install libbzip2_1. # urpmi libbzip2_1 Everything already installed Paul
Re: Option to get Thesaurus
Paul == Paul Smith [EMAIL PROTECTED] writes: There is something I do not understand: you have Paul $ locate bz | grep lib | grep -v libz [...] Paul /usr/lib/libbz2.so.1 Paul /usr/lib/libbz2.so.1.0.0 whereas your config.log says: configure:5506: checking for main in -lAiksaurus configure:5531: g++ -o conftest -O conftest.cc -lAiksaurus -lbz2 -lc -lm 5 /usr/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status Can someone tell me how come libbz2 is not found? JMarc
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Jean-Marc Lasgouttes wrote: Georg Sven Schreiber wrote: My guess is that relyx has problems with the latex file and produces a bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx Georg The guess is probably correct. Another guess is that lyx2lyx fails to run. What version of LyX for windows are you using? 1.3.5 has a bug that prevents lyx2lyx from running (it is invoked directly, and windows does not guess that it is a python script, since it does not have a .py extension). Windows users, please correct me if I am wrong. I understand that that wouldn't work even if it had a .py extension. That mechanism is triggered only if you click on the blighter or such like. Apparently. The only sure fire way to get things working is to invoke it as python path to/lyx2lyx. -- Angus
Re: bug report: latex error
On Mon, 24 Jan 2005, Tuukka Toivonen wrote: When trying to View Postscript on the file attached to this message, I get dialog box There were errors during the LaTeX run ... 8 errors detected. I believe this should not happen and is thus a bug. Found the problem: I used accidentally math superscript inside textrm (M-m m). Removing the textrm mode during the superscript made everything work perfectly, but IMHO, LyX still could handle this more nicely.
Re: Option to get Thesaurus
bzip2 is installed, but there are no libraries (rpm -ql bzip2 identifies 9 binaries, man files and documentation files). I do not intend to use aiksaurus, so this is not a big issue. Interesting effort, lots of promise, but not ready for prime time! I open Roget's in an emacs window and do a search for the word for which I want a synonym. I also find it is extremely useful to have a good dictionary (paper) handy and in my favorite work site, I have several within arms length. Highly recommended. Mark Hansel On Mon, 24 Jan 2005, Jean-Marc Lasgouttes wrote: Paul == Paul Smith [EMAIL PROTECTED] writes: Paul Well, Jean-Marc, in spite of having libaiksaurus installed, I Paul get the following: Paul, Mark, Thanks for your config.log files. It turns out that you boh suffer from the same problem: our configure script thinks that libAikSaurus requires the bzip2 library to operate. While the aiksaurus documentation is a bit hard to find, I suspect that it is not needed anymore. Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed?
Re: LyX Mac Spell checker
A symbolic link is the UNIX equivalent of the alias in the Finder. (Unfortunately, the UNIX part of OSX can't properly handle Finder aliases.) To do what you want open the terminal application and type the following commands: cd /usr/local/bin sudo ln -s /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell aspell Note the second command requires you to have administrator privileges, and you will be asked to enter your password. This should create a symbolic link file called aspell in the /usr/local/bin directory that points back to the cocoAspell file. To make sure you have done this correctly, from the /usr/local/bin directory, type: ls -la | more In the output that follows, look for the line for aspell, if it is configured correctly, the line should contain: aspell - /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell Then, go into LyX preferences and specify aspell as the spell checker. This should do it. Tn On Jan 23, 2005, at 11:27 PM, James Bennett wrote: Hi, I'm just a beginner trying to set up LyX on my Mac (OS 10.3.7), which I recently downloaded from the wiki.lyx site. The problem is that I can't figure out how to make cocoAspell (the recommended spellchecker) work with LyX. The instruction on the wiki.lyx site is to make a symbolic link from /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell to /usr/local/bin/aspell I'm not sure how to do this, or if it's even possible - any pointers? James Bennett
Xfig with specialtext
Hello everybody, I just want to share my experience with xfig and the specialtext feature. I like that I can use Latex typesetting together with postscript graphics. I also like to see the graphics in Lyx. When a .pstex_t file is inserted in Lyx, the compiled version of the document looks good but WYSIWYG advantage of Lyx is lost somewhat as the graphics is not shown in the document. So what I normally do is I create xfig -specialtext graphics and latex text, then I use a dummy Lyx document to produce a postscript file then I insert that new file in my real document. It takes me an extra step to accomplish what I want. Not a big deal as the graphics don't change very often. In most cases I do it once and it's all set. What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? Thank you Leo
Re: Xfig with specialtext
LB wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. For Instant Preview see here: http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview -- Angusattachment: lyx_external_inset_with_instant_preview.jpg
Re: Xfig with specialtext
Angus Leeming wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. fine, only one problem ... :-) why did you use xfig for that?? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Option to get Thesaurus
hansel == hansel [EMAIL PROTECTED] writes: hansel bzip2 is installed, but there are no libraries (rpm -ql bzip2 hansel identifies 9 binaries, man files and documentation files). Yes, but I guess bzip2 depends on some bzip2-libs package of some sort, which provides the library. hansel I do not intend to use aiksaurus, so this is not a big issue. Well, I do not use it (nor have it) either, but it is sad to have a feature disappear for no reason. JMarc
Re: Xfig with specialtext
That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? Cheers Leo - Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, January 24, 2005 9:28 AM Subject: Re: Xfig with specialtext LB wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. For Instant Preview see here: http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview -- Angus
Re: Xfig with specialtext
LB wrote: That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? \includegraphics{file.ps} or with LyX insert-graphics-file.ps wher is the problem with ps files? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Xfig with specialtext
Herbert, There is no problem with .ps. I use it all the time. What I meant was that the .pstex_t file does not need to be generated by xfig. So if one has a .ps file produced by some other software one can add latex text to it and preview the whole image in Lyx. Cheers Leo - Original Message - From: Herbert Voss [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, January 24, 2005 9:36 AM Subject: Re: Xfig with specialtext LB wrote: That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? \includegraphics{file.ps} or with LyX insert-graphics-file.ps wher is the problem with ps files? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 17:33:54 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: hansel bzip2 is installed, but there are no libraries (rpm -ql bzip2 hansel identifies 9 binaries, man files and documentation files). Yes, but I guess bzip2 depends on some bzip2-libs package of some sort, which provides the library. Maybe, it would be useful to look at how Abiword does, as Abiword uses Aiksaurus. Paul
Re: Xfig with specialtext
LB wrote: Herbert, There is no problem with .ps. I use it all the time. What I meant was that the .pstex_t file does not need to be generated by xfig. So if one has a .ps file produced by some other software one can add latex text to it and preview the whole image in Lyx. I think that you can do that already. Use the Include Inset and turn on Instant Preview. Of course, you'll need to get Instant Preview working on your box. -- Angus
Lyx + Mathematica
I have a Lyx (1.3.5) document containing several eps-plots generated by Mathematica (4.2). The EPS-plots have labels on the axes containg parentheses and slashes. This worked fine until I decided to include as appendix aMathematica-notebook saved to Latex format. I added \usepackage{notebook2e,latexsym,wrisym} to the preamble, and installed all the files in the texmf subdirectory in the mathematica installation folder into my latex distribution. In addition, I added the line \newcommand{\IndentingNewLine}{} since otherwise I got error messages regarding this command in the exported mathematica-notebook. Then a new problem appeared: The slashes and parentheses on the text labels on the axes of my eps-plots disappeared. Does anybody know how to fix this problem? Gratefully, TMS
Re: accents no work
[EMAIL PROTECTED] wrote: Do you use qt-3.3.3? There is a bug in this Qt version: the dead keys are, well, dead. So if you tyÃpoe an accent, say, ^, it doesn't wait for the character to be typed that it will be an accent of. Very irritating. It also disables the use of ^ for superscript in math. - Martin I have qt 3.3.1-33 Is this a bad version? Thanks, Martin. Marcelo Acuña. Argentina. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Importing and displaying graphic files
Having problems importing eps files and displaying them on the screen in lyx - I get 'error converting to loadable format' and doing a straight latex pdf fails. However the graphics files appear in the dvi text using YAP viewer and a readable pdf file is generated clicking on PDF(dvipdfm). Something to do with Imagemagick I guess. Any suggestions? Prof. Michael W Reeks School of Mechanical Systems Engineering Stephenson Building Claremont Rd University of Newcastle upon Tyne Newcastle upon Tyne, NE1 7RU UK Tel 0044 191 222 3570 Fax 0044 191 222 8600 Mob 0044 797 977 4480 Sec 0044 191 222 5236
Re: Importing and displaying graphic files
Mike Reeks wrote: Having problems importing eps files and displaying them on the screen in lyx - I get 'error converting to loadable format' and doing a straight latex pdf fails. However the graphics files appear in the dvi text using YAP viewer and a readable pdf file is generated clicking on PDF(dvipdfm). Something to do with Imagemagick I guess. Any suggestions? This is using LyX/Win 1.3.3, right? I ask because the 1.3.5 version that Ruurd has released recently has it's own problems. Assuming that this is the case, there are several things to check: If you run lyx -dbg graphics from the CMD prompt, you'll get a whole heap of diagnostic info about exactly what LyX is doing. In general, you can define your own converters from file format A to a format loadable by the Qt library routines, but here I'd expect that you're falling through to the use of the default convertDefault.sh script, to be found in the $PREFIX/share/lyx/scripts directory. (Your LyX executable is found at $PREFIX/bin/lyx.exe.) Assuming that you are indeed using convertDefault.sh, then this is simply a wrapper for ImageMagick's convert.exe tool. The next thing to check, therefore is that your PATH environment variable has the path to the ImageMagick convert utility coming before that to the system tool of the same name. Something to do with changing the type of your partitions... Finally, we have had reports that the clever little check in convertDefault.sh that all has been converted, doesn't work. Just remove these lines, therefore, and try again. # It appears that convert succeeded, but we know better than to trustit ;-) # convert is passed strings in the form FMT:FILENAME, so use the ':' to # delimit the two parts. # Note that Win32 filenames have the form 'C:\my\file', # so use everything from the first ':' to the end of the line. FILE=`echo $2 | cut -d ':' -f 2-` test -f $FILE || { echo $0 ERROR echo Unable to find file \${FILE}\ exit 1 } echo $0 generated file \${FILE}\ successfully. HTH, Angus ps, be warned. These conversions on LyX/Win are *blocking*. You'll have to go make a cup of tea whilst all your images are loaded onto the LyX screen. I'm working on fixing that but you'll have to wait for LyX 1.3.6. Till then: tea and more tea. pps LyX 1.3.6 will run natively on Windows out of the box. Ruurd will probably still provide a nice package for it all, but there will be no need for him to hack the sources to create the executable. ppps answering the doing a straight latex pdf fails part: obviously, it's failing for reasons outlined above. However, you may also find that LyX is converting your nice vector EPS file to a bitmapped PNG file rather than a PDF file. pdflatex will understand both, but only the PDF version will scale nicely in your final document. Again, check by looking at the output of lyx -dbg graphics. You're looking for the output from: lyxerr[Debug::GRAPHICS] \tThe original file is orig_file \n \tA copy has been made and convert is to be called with:\n \tfile to convert = temp_file '\n' \toutfile_base = outfile_base '\n' \t from from to to '\n'; A.
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Sven Schreiber wrote: My guess is that relyx has problems with the latex file and produces a bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx The guess is probably correct. 1. I read somewhere that another import tool is coming with the new lyx version (tex2lyx?); if this is true (and it would be great), would it be possible to provide it standalone even before the new lyx version is released? It would be possible, but some work. Unfortunately the table import is the least developed area of tex2lyx, so it would probably not help much in this case. 2. In the meantime it would be nice if the relyx-savvy could provide (permanent links to) more concrete advice on what latex constructs to avoid. (In my particular case retyping the tables in lyx is probably quicker than hand-editing the latex code, but for long-term or search-and-replace batch operations this may be helpful.) Maybe I just missed it? IMHO the needed time would be better spent in improving tex2lyx wrt tables. 3. Because the lyx doc format apparently changes from time to time, it seems to me that lyx2lyx is a very very important component of lyx. I understand that developer resources are limited, so what I'm saying is just that making lyx2lyx more robust should maybe receive higher priority than other or new features. The problem is most definitely not lyx2lyx, but reLyX. It does not produce clean 2.15 files, but a mixture of different formats. This in turn causes trouble for lyx2lyx. Georg
Re: Option to get Thesaurus
Paul == Paul Smith [EMAIL PROTECTED] writes: Paul Well, Jean-Marc, in spite of having libaiksaurus installed, I Paul get the following: Paul, Mark, Thanks for your config.log files. It turns out that you boh suffer from the same problem: our configure script thinks that libAikSaurus requires the bzip2 library to operate. While the aiksaurus documentation is a bit hard to find, I suspect that it is not needed anymore. Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? JMarc
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Sven Schreiber wrote: My guess is that relyx has problems with the latex file and produces a bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx Georg The guess is probably correct. Another guess is that lyx2lyx fails to run. What version of LyX for windows are you using? 1.3.5 has a bug that prevents lyx2lyx from running (it is invoked directly, and windows does not guess that it is a python script, since it does not have a .py extension). Windows users, please correct me if I am wrong. JMarc
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? I think not, Jean-Marc, as the command locate bzip | grep aurus produces nothing as an output. Paul
Re: Option to get Thesaurus
Paul Smith wrote: On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? I think not, Jean-Marc, as the command locate bzip | grep aurus produces nothing as an output. Make that: $ locate bz | grep lib | grep -v libz /usr/lib/libbz2.so.1.0.2 /usr/lib/libbz2.so.1 [snip remaining output] $ locate bz | grep bin /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bzcmp /usr/bin/bzdiff /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzless /usr/bin/bzmore -- Angus
Re: Option to get Thesaurus
Paul == Paul Smith [EMAIL PROTECTED] writes: Paul On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes Paul [EMAIL PROTECTED] wrote: Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? Paul I think not, Jean-Marc, as the command Paul locate bzip | grep aurus Try to install libbzip2_1. JMarc
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 13:42:48 +, Angus Leeming [EMAIL PROTECTED] wrote: Thanks, Angus. $ locate bz | grep lib | grep -v libz $ locate bz | grep lib | grep -v libz /usr/share/man/man8/cups-calibrate.8.bz2 /usr/share/man/man1/libnetcfg.1.bz2 /usr/share/man/man1/perlclib.1.bz2 /usr/share/man/man1/perlmodlib.1.bz2 /usr/share/man/man1/loadshlib.1.bz2 /usr/share/man/man1/ranlib.1.bz2 /usr/share/man/man1/glib-genmarshal.1.bz2 /usr/share/man/man1/glib-gettextize.1.bz2 /usr/share/man/man1/glib-mkenums.1.bz2 /usr/share/man/man5/libao.conf.5.bz2 /usr/share/man/man3/libblkid.3.bz2 /usr/share/man/man3/ExtUtils::testlib.3pm.bz2 /usr/share/man/man3/Net::libnetFAQ.3pm.bz2 /usr/share/man/man3/blib.3pm.bz2 /usr/share/man/man3/lib.3pm.bz2 /usr/share/man/man3/Glib::Object::Subclass.3pm.bz2 /usr/share/man/man3/libuuid.3.bz2 /usr/share/man/man3/mseclib.3.bz2 /usr/share/man/man3/Glib.3pm.bz2 /usr/share/man/man3/Glib::Boxed.3pm.bz2 /usr/share/man/man3/Glib::Error.3pm.bz2 /usr/share/man/man3/Glib::Flags.3pm.bz2 /usr/share/man/man3/Glib::GenPod.3pm.bz2 /usr/share/man/man3/Glib::Log.3pm.bz2 /usr/share/man/man3/Glib::MainLoop.3pm.bz2 /usr/share/man/man3/Glib::MakeHelper.3pm.bz2 /usr/share/man/man3/Glib::Object.3pm.bz2 /usr/share/man/man3/Glib::Param::Boolean.3pm.bz2 /usr/share/man/man3/Glib::Param::Double.3pm.bz2 /usr/share/man/man3/Glib::Param::Enum.3pm.bz2 /usr/share/man/man3/Glib::Param::Flags.3pm.bz2 /usr/share/man/man3/Glib::Param::Int.3pm.bz2 /usr/share/man/man3/Glib::Param::String.3pm.bz2 /usr/share/man/man3/Glib::Param::UInt.3pm.bz2 /usr/share/man/man3/Glib::ParamSpec.3pm.bz2 /usr/share/man/man3/Glib::ParseXSDoc.3pm.bz2 /usr/share/man/man3/Glib::Signal.3pm.bz2 /usr/share/man/man3/Glib::Type.3pm.bz2 /usr/share/man/man3/Glib::Utils.3pm.bz2 /usr/share/man/man3/Glib::devel.3pm.bz2 /usr/share/man/man3/Glib::index.3pm.bz2 /usr/share/man/man3/Glib::version.3pm.bz2 /usr/share/man/man3/Glib::xsapi.3pm.bz2 /usr/share/man/man3/libst.3.bz2 /usr/share/man/man3/Tk::demos::widget_lib::slide.3pm.bz2 /usr/share/man/man3/Tk::demos::widget_lib::trace2.3pm.bz2 /usr/share/man/man3/zlib.3.bz2 /usr/share/man/man3/libmng.3.bz2 /usr/share/man/man3/libpng.3.bz2 /usr/share/man/man3/libpngpf.3.bz2 /usr/share/man/man3/qlibrary.3qt.bz2 /usr/share/man/man3/libexpect.3.bz2 /usr/share/man/man7/libgg.7.bz2 /usr/share/man/man7/libgii.7.bz2 /usr/share/man/man7/display-svgalib.7.bz2 /usr/share/man/man7/libggi.7.bz2 /usr/share/man/mann/library.n.bz2 /usr/share/doc/libbzip2_1-1.0.2 /usr/share/doc/libbzip2_1-1.0.2/LICENSE /usr/share/doc/libxpm4-devel-3.4k/xpm_examples.tar.bz2 /usr/share/info/libidn.info.bz2 /usr/share/info/libtool.info.bz2 /usr/share/info/xemacs/elib.info.bz2 /usr/lib/libbz2.so.1 /usr/lib/libbz2.so.1.0.0 /usr/lib/python2.3/lib-dynload/bz2.so /usr/lib/kde3/kbzip2filter.la /usr/lib/kde3/kbzip2filter.so /usr/lib/gnome-vfs-2.0/modules/libbzip2.so /usr/X11R6/man/man1/mergelib.1x.bz2 $ locate bz | grep bin $ locate bz | grep bin /usr/share/man/man1/bind.1.bz2 /usr/share/man/man1/t1binary.1.bz2 /usr/share/man/man3/Tk::bind.3pm.bz2 /usr/share/man/man3/Tk::bindtags.3pm.bz2 /usr/share/man/man3/qaxbindable.3qt.bz2 /usr/share/man/mann/binary.n.bz2 /usr/share/man/mann/bind.n.bz2 /usr/share/man/mann/bindtags.n.bz2 /usr/share/man/mann/tk_bindForTraversal.n.bz2 /usr/share/info/binutils.info.bz2 /usr/share/info/gdbint.info.bz2 /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bzdiff /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzless /usr/bin/bzme /usr/bin/bzmore /usr/X11R6/man/man3/XRebindKeysym.3x.bz2 /usr/X11R6/man/man3/XShapeCombineMask.3x.bz2 /usr/X11R6/man/man3/XShapeCombineRectangles.3x.bz2 /usr/X11R6/man/man3/XShapeCombineRegion.3x.bz2 /usr/X11R6/man/man3/XShapeCombineShape.3x.bz2 /usr/X11R6/man/man3/XrmCombineDatabase.3x.bz2 /usr/X11R6/man/man3/XrmCombineFileDatabase.3x.bz2 Paul
bug report: latex error
BUG #1: When trying to View Postscript on the file attached to this message, I get dialog box There were errors during the LaTeX run ... 8 errors detected. I believe this should not happen and is thus a bug. I'm using LyX/Qt 1.3.4 from official Debian Sarge package on Linux/x86. BUG #2: Select (eg. with mouse) the equation so that selection begins and ends just outside the equation. Press ! button, which turns emphasis off for the equation and makes the text in the equation upright. Select View Postscript (by the way, this time it gives just 6 errors). Since removing the emphasis did not help, try undoing the change by pressing Ctrl-Z. And voila: instead of reverting the equation back to emphasis on, LyX removes whole equation! This is a nasty bug, could destroy document. Next I'll find if I can find a workaround for the first one. Please keep me on the CC, I'm not subscribed. I didn't use bugzilla, too lazy to create account and check if somebody has already reported these bugs. #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Section Review 2 \layout Standard \emph on Comments \layout Enumerate \emph on Shorten has \begin_inset Formula $\textrm{mod 2^{8}+1}$ \end_inset but \layout Standard Muu \the_end
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 14:44:38 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: Try to install libbzip2_1. # urpmi libbzip2_1 Everything already installed Paul
Re: Option to get Thesaurus
Paul == Paul Smith [EMAIL PROTECTED] writes: There is something I do not understand: you have Paul $ locate bz | grep lib | grep -v libz [...] Paul /usr/lib/libbz2.so.1 Paul /usr/lib/libbz2.so.1.0.0 whereas your config.log says: configure:5506: checking for main in -lAiksaurus configure:5531: g++ -o conftest -O conftest.cc -lAiksaurus -lbz2 -lc -lm 5 /usr/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status Can someone tell me how come libbz2 is not found? JMarc
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Jean-Marc Lasgouttes wrote: Georg Sven Schreiber wrote: My guess is that relyx has problems with the latex file and produces a bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx Georg The guess is probably correct. Another guess is that lyx2lyx fails to run. What version of LyX for windows are you using? 1.3.5 has a bug that prevents lyx2lyx from running (it is invoked directly, and windows does not guess that it is a python script, since it does not have a .py extension). Windows users, please correct me if I am wrong. I understand that that wouldn't work even if it had a .py extension. That mechanism is triggered only if you click on the blighter or such like. Apparently. The only sure fire way to get things working is to invoke it as python path to/lyx2lyx. -- Angus
Re: bug report: latex error
On Mon, 24 Jan 2005, Tuukka Toivonen wrote: When trying to View Postscript on the file attached to this message, I get dialog box There were errors during the LaTeX run ... 8 errors detected. I believe this should not happen and is thus a bug. Found the problem: I used accidentally math superscript inside textrm (M-m m). Removing the textrm mode during the superscript made everything work perfectly, but IMHO, LyX still could handle this more nicely.
Re: Option to get Thesaurus
bzip2 is installed, but there are no libraries (rpm -ql bzip2 identifies 9 binaries, man files and documentation files). I do not intend to use aiksaurus, so this is not a big issue. Interesting effort, lots of promise, but not ready for prime time! I open Roget's in an emacs window and do a search for the word for which I want a synonym. I also find it is extremely useful to have a good dictionary (paper) handy and in my favorite work site, I have several within arms length. Highly recommended. Mark Hansel On Mon, 24 Jan 2005, Jean-Marc Lasgouttes wrote: Paul == Paul Smith [EMAIL PROTECTED] writes: Paul Well, Jean-Marc, in spite of having libaiksaurus installed, I Paul get the following: Paul, Mark, Thanks for your config.log files. It turns out that you boh suffer from the same problem: our configure script thinks that libAikSaurus requires the bzip2 library to operate. While the aiksaurus documentation is a bit hard to find, I suspect that it is not needed anymore. Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed?
Re: LyX Mac Spell checker
A symbolic link is the UNIX equivalent of the alias in the Finder. (Unfortunately, the UNIX part of OSX can't properly handle Finder aliases.) To do what you want open the terminal application and type the following commands: cd /usr/local/bin sudo ln -s /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell aspell Note the second command requires you to have administrator privileges, and you will be asked to enter your password. This should create a symbolic link file called aspell in the /usr/local/bin directory that points back to the cocoAspell file. To make sure you have done this correctly, from the /usr/local/bin directory, type: ls -la | more In the output that follows, look for the line for aspell, if it is configured correctly, the line should contain: aspell - /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell Then, go into LyX preferences and specify aspell as the spell checker. This should do it. Tn On Jan 23, 2005, at 11:27 PM, James Bennett wrote: Hi, I'm just a beginner trying to set up LyX on my Mac (OS 10.3.7), which I recently downloaded from the wiki.lyx site. The problem is that I can't figure out how to make cocoAspell (the recommended spellchecker) work with LyX. The instruction on the wiki.lyx site is to make a symbolic link from /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell to /usr/local/bin/aspell I'm not sure how to do this, or if it's even possible - any pointers? James Bennett
Xfig with specialtext
Hello everybody, I just want to share my experience with xfig and the specialtext feature. I like that I can use Latex typesetting together with postscript graphics. I also like to see the graphics in Lyx. When a .pstex_t file is inserted in Lyx, the compiled version of the document looks good but WYSIWYG advantage of Lyx is lost somewhat as the graphics is not shown in the document. So what I normally do is I create xfig -specialtext graphics and latex text, then I use a dummy Lyx document to produce a postscript file then I insert that new file in my real document. It takes me an extra step to accomplish what I want. Not a big deal as the graphics don't change very often. In most cases I do it once and it's all set. What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? Thank you Leo
Re: Xfig with specialtext
LB wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. For Instant Preview see here: http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview -- Angusattachment: lyx_external_inset_with_instant_preview.jpg
Re: Xfig with specialtext
Angus Leeming wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. fine, only one problem ... :-) why did you use xfig for that?? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Option to get Thesaurus
hansel == hansel [EMAIL PROTECTED] writes: hansel bzip2 is installed, but there are no libraries (rpm -ql bzip2 hansel identifies 9 binaries, man files and documentation files). Yes, but I guess bzip2 depends on some bzip2-libs package of some sort, which provides the library. hansel I do not intend to use aiksaurus, so this is not a big issue. Well, I do not use it (nor have it) either, but it is sad to have a feature disappear for no reason. JMarc
Re: Xfig with specialtext
That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? Cheers Leo - Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, January 24, 2005 9:28 AM Subject: Re: Xfig with specialtext LB wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. For Instant Preview see here: http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview -- Angus
Re: Xfig with specialtext
LB wrote: That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? \includegraphics{file.ps} or with LyX insert-graphics-file.ps wher is the problem with ps files? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Xfig with specialtext
Herbert, There is no problem with .ps. I use it all the time. What I meant was that the .pstex_t file does not need to be generated by xfig. So if one has a .ps file produced by some other software one can add latex text to it and preview the whole image in Lyx. Cheers Leo - Original Message - From: Herbert Voss [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Monday, January 24, 2005 9:36 AM Subject: Re: Xfig with specialtext LB wrote: That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? \includegraphics{file.ps} or with LyX insert-graphics-file.ps wher is the problem with ps files? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 17:33:54 +0100, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote: hansel bzip2 is installed, but there are no libraries (rpm -ql bzip2 hansel identifies 9 binaries, man files and documentation files). Yes, but I guess bzip2 depends on some bzip2-libs package of some sort, which provides the library. Maybe, it would be useful to look at how Abiword does, as Abiword uses Aiksaurus. Paul
Re: Xfig with specialtext
LB wrote: Herbert, There is no problem with .ps. I use it all the time. What I meant was that the .pstex_t file does not need to be generated by xfig. So if one has a .ps file produced by some other software one can add latex text to it and preview the whole image in Lyx. I think that you can do that already. Use the Include Inset and turn on Instant Preview. Of course, you'll need to get Instant Preview working on your box. -- Angus
Lyx + Mathematica
I have a Lyx (1.3.5) document containing several eps-plots generated by Mathematica (4.2). The EPS-plots have labels on the axes containg parentheses and slashes. This worked fine until I decided to include as appendix aMathematica-notebook saved to Latex format. I added \usepackage{notebook2e,latexsym,wrisym} to the preamble, and installed all the files in the texmf subdirectory in the mathematica installation folder into my latex distribution. In addition, I added the line \newcommand{\IndentingNewLine}{} since otherwise I got error messages regarding this command in the exported mathematica-notebook. Then a new problem appeared: The slashes and parentheses on the text labels on the axes of my eps-plots disappeared. Does anybody know how to fix this problem? Gratefully, TMS
Re: accents no work
[EMAIL PROTECTED] wrote: Do you use qt-3.3.3? There is a bug in this Qt version: the dead keys are, well, dead. So if you tyÃpoe an accent, say, ^, it doesn't wait for the character to be typed that it will be an accent of. Very irritating. It also disables the use of ^ for superscript in math. - Martin I have qt 3.3.1-33 Is this a bad version? Thanks, Martin. Marcelo Acuña. Argentina. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Importing and displaying graphic files
Having problems importing eps files and displaying them on the screen in lyx - I get 'error converting to loadable format' and doing a straight latex pdf fails. However the graphics files appear in the dvi text using YAP viewer and a readable pdf file is generated clicking on PDF(dvipdfm). Something to do with Imagemagick I guess. Any suggestions? Prof. Michael W Reeks School of Mechanical& Systems Engineering Stephenson Building Claremont Rd University of Newcastle upon Tyne Newcastle upon Tyne, NE1 7RU UK Tel 0044 191 222 3570 Fax 0044 191 222 8600 Mob 0044 797 977 4480 Sec 0044 191 222 5236
Re: Importing and displaying graphic files
Mike Reeks wrote: > Having problems importing eps files and displaying them on the screen in > lyx - I get 'error converting to loadable format' and doing a straight > latex pdf fails. However the graphics files appear in the dvi text using > YAP viewer and a readable pdf file is generated clicking on > PDF(dvipdfm). Something to do with Imagemagick I guess. Any suggestions? This is using LyX/Win 1.3.3, right? I ask because the 1.3.5 version that Ruurd has released recently has it's own problems. Assuming that this is the case, there are several things to check: If you run "lyx -dbg graphics" from the CMD prompt, you'll get a whole heap of diagnostic info about exactly what LyX is doing. In general, you can define your own converters from file format A to a format loadable by the Qt library routines, but here I'd expect that you're falling through to the use of the default convertDefault.sh script, to be found in the $PREFIX/share/lyx/scripts directory. (Your LyX executable is found at $PREFIX/bin/lyx.exe.) Assuming that you are indeed using convertDefault.sh, then this is simply a wrapper for ImageMagick's convert.exe tool. The next thing to check, therefore is that your PATH environment variable has the path to the ImageMagick convert utility coming before that to the system tool of the same name. Something to do with changing the type of your partitions... Finally, we have had reports that the clever little check in convertDefault.sh that all has been converted, doesn't work. Just remove these lines, therefore, and try again. # It appears that convert succeeded, but we know better than to trustit ;-) # convert is passed strings in the form "FMT:FILENAME", so use the ':' to # delimit the two parts. # Note that Win32 filenames have the form 'C:\my\file', # so use everything from the first ':' to the end of the line. FILE=`echo "$2" | cut -d ':' -f 2-` test -f "$FILE" || { echo "$0 ERROR" echo "Unable to find file \"${FILE}\"" exit 1 } echo "$0 generated file \"${FILE}\" successfully." HTH, Angus ps, be warned. These conversions on LyX/Win are *blocking*. You'll have to go make a cup of tea whilst all your images are loaded onto the LyX screen. I'm working on fixing that but you'll have to wait for LyX 1.3.6. Till then: tea and more tea. pps LyX 1.3.6 will run natively on Windows out of the box. Ruurd will probably still provide a nice package for it all, but there will be no need for him to hack the sources to create the executable. ppps answering the "doing a straight latex pdf fails" part: obviously, it's failing for reasons outlined above. However, you may also find that LyX is converting your nice vector EPS file to a bitmapped PNG file rather than a PDF file. pdflatex will understand both, but only the PDF version will scale nicely in your final document. Again, check by looking at the output of "lyx -dbg graphics". You're looking for the output from: lyxerr[Debug::GRAPHICS] << "\tThe original file is " << orig_file << "\n" << "\tA copy has been made and convert is to be called with:\n" << "\tfile to convert = " << temp_file << '\n' << "\toutfile_base = " << outfile_base << '\n' << "\t from " << from << " to " << to << '\n'; A.
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Sven Schreiber wrote: > My guess is that relyx has problems with the latex file and produces a > bad lyx-file which lyx2lyx cannot handle. Too bad that the relyx The guess is probably correct. > 1. I read somewhere that another import tool is coming with the new lyx > version (tex2lyx?); if this is true (and it would be great), would it be > possible to provide it standalone even before the new lyx version is > released? It would be possible, but some work. Unfortunately the table import is the least developed area of tex2lyx, so it would probably not help much in this case. > 2. In the meantime it would be nice if the relyx-savvy could provide > (permanent links to) more concrete advice on what latex constructs to > avoid. (In my particular case retyping the tables in lyx is probably > quicker than hand-editing the latex code, but for long-term or > search-and-replace batch operations this may be helpful.) Maybe I just > missed it? IMHO the needed time would be better spent in improving tex2lyx wrt tables. > 3. Because the lyx doc format apparently changes from time to time, it > seems to me that lyx2lyx is a very very important component of lyx. I > understand that developer resources are limited, so what I'm saying is > just that making lyx2lyx more robust should maybe receive higher > priority than other or new features. The problem is most definitely not lyx2lyx, but reLyX. It does not produce clean 2.15 files, but a mixture of different formats. This in turn causes trouble for lyx2lyx. Georg
Re: Option to get Thesaurus
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes: Paul> Well, Jean-Marc, in spite of having libaiksaurus installed, I Paul> get the following: Paul, Mark, Thanks for your config.log files. It turns out that you boh suffer from the same problem: our configure script thinks that libAikSaurus requires the bzip2 library to operate. While the aiksaurus documentation is a bit hard to find, I suspect that it is not needed anymore. Do you have the 'bzip2' (or maybe just bzip2-libs or something like that) installed? JMarc
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Sven Schreiber wrote: >> My guess is that relyx has problems with the latex file and >> produces a bad lyx-file which lyx2lyx cannot handle. Too bad that >> the relyx Georg> The guess is probably correct. Another guess is that lyx2lyx fails to run. What version of LyX for windows are you using? 1.3.5 has a bug that prevents lyx2lyx from running (it is invoked directly, and windows does not guess that it is a python script, since it does not have a .py extension). Windows users, please correct me if I am wrong. JMarc
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > Do you have the 'bzip2' (or maybe just bzip2-libs or something like > that) installed? I think not, Jean-Marc, as the command locate bzip | grep aurus produces nothing as an output. Paul
Re: Option to get Thesaurus
Paul Smith wrote: > On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes > <[EMAIL PROTECTED]> wrote: >> Do you have the 'bzip2' (or maybe just bzip2-libs or something like >> that) installed? > > I think not, Jean-Marc, as the command > > locate bzip | grep aurus > > produces nothing as an output. Make that: $ locate bz | grep lib | grep -v libz /usr/lib/libbz2.so.1.0.2 /usr/lib/libbz2.so.1 [snip remaining output] $ locate bz | grep bin /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bzcmp /usr/bin/bzdiff /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzless /usr/bin/bzmore -- Angus
Re: Option to get Thesaurus
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes: Paul> On Mon, 24 Jan 2005 14:03:50 +0100, Jean-Marc Lasgouttes Paul> <[EMAIL PROTECTED]> wrote: >> Do you have the 'bzip2' (or maybe just bzip2-libs or something like >> that) installed? Paul> I think not, Jean-Marc, as the command Paul> locate bzip | grep aurus Try to install libbzip2_1. JMarc
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 13:42:48 +, Angus Leeming <[EMAIL PROTECTED]> wrote: Thanks, Angus. > $ locate bz | grep lib | grep -v libz $ locate bz | grep lib | grep -v libz /usr/share/man/man8/cups-calibrate.8.bz2 /usr/share/man/man1/libnetcfg.1.bz2 /usr/share/man/man1/perlclib.1.bz2 /usr/share/man/man1/perlmodlib.1.bz2 /usr/share/man/man1/loadshlib.1.bz2 /usr/share/man/man1/ranlib.1.bz2 /usr/share/man/man1/glib-genmarshal.1.bz2 /usr/share/man/man1/glib-gettextize.1.bz2 /usr/share/man/man1/glib-mkenums.1.bz2 /usr/share/man/man5/libao.conf.5.bz2 /usr/share/man/man3/libblkid.3.bz2 /usr/share/man/man3/ExtUtils::testlib.3pm.bz2 /usr/share/man/man3/Net::libnetFAQ.3pm.bz2 /usr/share/man/man3/blib.3pm.bz2 /usr/share/man/man3/lib.3pm.bz2 /usr/share/man/man3/Glib::Object::Subclass.3pm.bz2 /usr/share/man/man3/libuuid.3.bz2 /usr/share/man/man3/mseclib.3.bz2 /usr/share/man/man3/Glib.3pm.bz2 /usr/share/man/man3/Glib::Boxed.3pm.bz2 /usr/share/man/man3/Glib::Error.3pm.bz2 /usr/share/man/man3/Glib::Flags.3pm.bz2 /usr/share/man/man3/Glib::GenPod.3pm.bz2 /usr/share/man/man3/Glib::Log.3pm.bz2 /usr/share/man/man3/Glib::MainLoop.3pm.bz2 /usr/share/man/man3/Glib::MakeHelper.3pm.bz2 /usr/share/man/man3/Glib::Object.3pm.bz2 /usr/share/man/man3/Glib::Param::Boolean.3pm.bz2 /usr/share/man/man3/Glib::Param::Double.3pm.bz2 /usr/share/man/man3/Glib::Param::Enum.3pm.bz2 /usr/share/man/man3/Glib::Param::Flags.3pm.bz2 /usr/share/man/man3/Glib::Param::Int.3pm.bz2 /usr/share/man/man3/Glib::Param::String.3pm.bz2 /usr/share/man/man3/Glib::Param::UInt.3pm.bz2 /usr/share/man/man3/Glib::ParamSpec.3pm.bz2 /usr/share/man/man3/Glib::ParseXSDoc.3pm.bz2 /usr/share/man/man3/Glib::Signal.3pm.bz2 /usr/share/man/man3/Glib::Type.3pm.bz2 /usr/share/man/man3/Glib::Utils.3pm.bz2 /usr/share/man/man3/Glib::devel.3pm.bz2 /usr/share/man/man3/Glib::index.3pm.bz2 /usr/share/man/man3/Glib::version.3pm.bz2 /usr/share/man/man3/Glib::xsapi.3pm.bz2 /usr/share/man/man3/libst.3.bz2 /usr/share/man/man3/Tk::demos::widget_lib::slide.3pm.bz2 /usr/share/man/man3/Tk::demos::widget_lib::trace2.3pm.bz2 /usr/share/man/man3/zlib.3.bz2 /usr/share/man/man3/libmng.3.bz2 /usr/share/man/man3/libpng.3.bz2 /usr/share/man/man3/libpngpf.3.bz2 /usr/share/man/man3/qlibrary.3qt.bz2 /usr/share/man/man3/libexpect.3.bz2 /usr/share/man/man7/libgg.7.bz2 /usr/share/man/man7/libgii.7.bz2 /usr/share/man/man7/display-svgalib.7.bz2 /usr/share/man/man7/libggi.7.bz2 /usr/share/man/mann/library.n.bz2 /usr/share/doc/libbzip2_1-1.0.2 /usr/share/doc/libbzip2_1-1.0.2/LICENSE /usr/share/doc/libxpm4-devel-3.4k/xpm_examples.tar.bz2 /usr/share/info/libidn.info.bz2 /usr/share/info/libtool.info.bz2 /usr/share/info/xemacs/elib.info.bz2 /usr/lib/libbz2.so.1 /usr/lib/libbz2.so.1.0.0 /usr/lib/python2.3/lib-dynload/bz2.so /usr/lib/kde3/kbzip2filter.la /usr/lib/kde3/kbzip2filter.so /usr/lib/gnome-vfs-2.0/modules/libbzip2.so /usr/X11R6/man/man1/mergelib.1x.bz2 > $ locate bz | grep bin $ locate bz | grep bin /usr/share/man/man1/bind.1.bz2 /usr/share/man/man1/t1binary.1.bz2 /usr/share/man/man3/Tk::bind.3pm.bz2 /usr/share/man/man3/Tk::bindtags.3pm.bz2 /usr/share/man/man3/qaxbindable.3qt.bz2 /usr/share/man/mann/binary.n.bz2 /usr/share/man/mann/bind.n.bz2 /usr/share/man/mann/bindtags.n.bz2 /usr/share/man/mann/tk_bindForTraversal.n.bz2 /usr/share/info/binutils.info.bz2 /usr/share/info/gdbint.info.bz2 /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bzdiff /usr/bin/bzgrep /usr/bin/bzip2 /usr/bin/bzless /usr/bin/bzme /usr/bin/bzmore /usr/X11R6/man/man3/XRebindKeysym.3x.bz2 /usr/X11R6/man/man3/XShapeCombineMask.3x.bz2 /usr/X11R6/man/man3/XShapeCombineRectangles.3x.bz2 /usr/X11R6/man/man3/XShapeCombineRegion.3x.bz2 /usr/X11R6/man/man3/XShapeCombineShape.3x.bz2 /usr/X11R6/man/man3/XrmCombineDatabase.3x.bz2 /usr/X11R6/man/man3/XrmCombineFileDatabase.3x.bz2 Paul
bug report: latex error
BUG #1: When trying to "View Postscript" on the file attached to this message, I get dialog box "There were errors during the LaTeX run ... 8 errors detected". I believe this should not happen and is thus a bug. I'm using LyX/Qt 1.3.4 from official Debian Sarge package on Linux/x86. BUG #2: Select (eg. with mouse) the equation so that selection begins and ends just outside the equation. Press "!" button, which turns emphasis off for the equation and makes the text in the equation upright. Select "View Postscript" (by the way, this time it gives just 6 errors). Since removing the emphasis did not help, try undoing the change by pressing Ctrl-Z. And voila: instead of reverting the equation back to emphasis on, LyX removes whole equation! This is a nasty bug, could destroy document. Next I'll find if I can find a workaround for the first one. Please keep me on the CC, I'm not subscribed. I didn't use bugzilla, too lazy to create account and check if somebody has already reported these bugs. #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Section Review 2 \layout Standard \emph on Comments \layout Enumerate \emph on Shorten has " \begin_inset Formula $\textrm{mod 2^{8}+1}$ \end_inset " but \layout Standard Muu \the_end
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 14:44:38 +0100, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > Try to install libbzip2_1. # urpmi libbzip2_1 Everything already installed Paul
Re: Option to get Thesaurus
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes: There is something I do not understand: you have Paul> $ locate bz | grep lib | grep -v libz [...] Paul> /usr/lib/libbz2.so.1 Paul> /usr/lib/libbz2.so.1.0.0 whereas your config.log says: configure:5506: checking for main in -lAiksaurus configure:5531: g++ -o conftest -O conftest.cc -lAiksaurus -lbz2 -lc -lm >&5 /usr/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status Can someone tell me how come libbz2 is not found? JMarc
Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)
Jean-Marc Lasgouttes wrote: > Georg> Sven Schreiber wrote: >>> My guess is that relyx has problems with the latex file and >>> produces a bad lyx-file which lyx2lyx cannot handle. Too bad that >>> the relyx > > Georg> The guess is probably correct. > > Another guess is that lyx2lyx fails to run. What version of LyX for > windows are you using? 1.3.5 has a bug that prevents lyx2lyx from > running (it is invoked directly, and windows does not guess that it is > a python script, since it does not have a .py extension). > > Windows users, please correct me if I am wrong. I understand that that wouldn't work even if it had a .py extension. That mechanism is triggered only if you click on the blighter or such like. Apparently. The only sure fire way to get things working is to invoke it as "python /lyx2lyx". -- Angus
Re: bug report: latex error
On Mon, 24 Jan 2005, Tuukka Toivonen wrote: When trying to "View Postscript" on the file attached to this message, I get dialog box "There were errors during the LaTeX run ... 8 errors detected". I believe this should not happen and is thus a bug. Found the problem: I used accidentally math superscript inside textrm (M-m m). Removing the textrm mode during the superscript made everything work perfectly, but IMHO, LyX still could handle this more nicely.
Re: Option to get Thesaurus
bzip2 is installed, but there are no libraries (rpm -ql bzip2 identifies 9 binaries, man files and documentation files). I do not intend to use aiksaurus, so this is not a big issue. Interesting effort, lots of promise, but not ready for prime time! I open Roget's in an emacs window and do a search for the word for which I want a synonym. I also find it is extremely useful to have a good dictionary (paper) handy and in my favorite work site, I have several within arms length. Highly recommended. Mark Hansel On Mon, 24 Jan 2005, Jean-Marc Lasgouttes wrote: > > "Paul" == Paul Smith <[EMAIL PROTECTED]> writes: > > Paul> Well, Jean-Marc, in spite of having libaiksaurus installed, I > Paul> get the following: > > Paul, Mark, > > Thanks for your config.log files. It turns out that you boh suffer > from the same problem: our configure script thinks that libAikSaurus > requires the bzip2 library to operate. While the aiksaurus > documentation is a bit hard to find, I suspect that it is not needed > anymore. > > Do you have the 'bzip2' (or maybe just bzip2-libs or something like > that) installed?
Re: LyX Mac Spell checker
A symbolic link is the UNIX equivalent of the alias in the Finder. (Unfortunately, the UNIX part of OSX can't properly handle Finder aliases.) To do what you want open the terminal application and type the following commands: cd /usr/local/bin sudo ln -s /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell aspell Note the second command requires you to have administrator privileges, and you will be asked to enter your password. This should create a symbolic link file called aspell in the /usr/local/bin directory that points back to the cocoAspell file. To make sure you have done this correctly, from the /usr/local/bin directory, type: ls -la | more In the output that follows, look for the line for aspell, if it is configured correctly, the line should contain: aspell -> /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell Then, go into LyX preferences and specify aspell as the spell checker. This should do it. Tn On Jan 23, 2005, at 11:27 PM, James Bennett wrote: Hi, I'm just a beginner trying to set up LyX on my Mac (OS 10.3.7), which I recently downloaded from the wiki.lyx site. The problem is that I can't figure out how to make cocoAspell (the recommended spellchecker) work with LyX. The instruction on the wiki.lyx site is to "make a symbolic link from /Library/PreferencePanes/Spelling.prefPane/Contents/MacOS/cocoAspell to /usr/local/bin/aspell" I'm not sure how to do this, or if it's even possible - any pointers? James Bennett
Xfig with specialtext
Hello everybody, I just want to share my experience with xfig and the specialtext feature. I like that I can use Latex typesetting together with postscript graphics. I also like to see the graphics in Lyx. When a .pstex_t file is inserted in Lyx, the compiled version of the document looks good but WYSIWYG advantage of Lyx is lost somewhat as the graphics is not shown in the document. So what I normally do is I create "xfig -specialtext" graphics and latex text, then I use a dummy Lyx document to produce a postscript file then I insert that new file in my real document. It takes me an extra step to accomplish what I want. Not a big deal as the graphics don't change very often. In most cases I do it once and it's all set. What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? Thank you Leo
Re: Xfig with specialtext
LB wrote: > What I'm wondering is whether there is a better way of doing it? Are > there plans of making Lyx recognize graphics+text combination and > somehow (probably not very easy?) precompile them to show the result > inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. For Instant Preview see here: http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview -- Angus<>
Re: Xfig with specialtext
Angus Leeming wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. fine, only one problem ... :-) why did you use xfig for that?? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Option to get Thesaurus
> "hansel" == hansel <[EMAIL PROTECTED]> writes: hansel> bzip2 is installed, but there are no libraries (rpm -ql bzip2 hansel> identifies 9 binaries, man files and documentation files). Yes, but I guess bzip2 depends on some bzip2-libs package of some sort, which provides the library. hansel> I do not intend to use aiksaurus, so this is not a big issue. Well, I do not use it (nor have it) either, but it is sad to have a feature disappear for no reason. JMarc
Re: Xfig with specialtext
That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? Cheers Leo - Original Message - From: "Angus Leeming" <[EMAIL PROTECTED]> To:Sent: Monday, January 24, 2005 9:28 AM Subject: Re: Xfig with specialtext LB wrote: What I'm wondering is whether there is a better way of doing it? Are there plans of making Lyx recognize graphics+text combination and somehow (probably not very easy?) precompile them to show the result inside the document? You mean like this ;-) Excuse the poor resolution of this screenshot, but I wanted to make the image file as small as possible. What you can see is an Instant Preview image of an XFig external inset in LyX 1.4.0cvs. Not available to the public yet, but getting closer. For Instant Preview see here: http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview -- Angus
Re: Xfig with specialtext
LB wrote: That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? \includegraphics{file.ps} or with LyX insert->graphics->file.ps wher is the problem with ps files? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Xfig with specialtext
Herbert, There is no problem with .ps. I use it all the time. What I meant was that the .pstex_t file does not need to be generated by xfig. So if one has a .ps file produced by some other software one can add latex text to it and preview the whole image in Lyx. Cheers Leo - Original Message - From: "Herbert Voss" <[EMAIL PROTECTED]> To:Sent: Monday, January 24, 2005 9:36 AM Subject: Re: Xfig with specialtext LB wrote: That's great. It would be a useful feature! If Lyx can combine ps files and latex files like that, then they don't even have to be produced by xfig. Am I right? \includegraphics{file.ps} or with LyX insert->graphics->file.ps wher is the problem with ps files? Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: Option to get Thesaurus
On Mon, 24 Jan 2005 17:33:54 +0100, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > hansel> bzip2 is installed, but there are no libraries (rpm -ql bzip2 > hansel> identifies 9 binaries, man files and documentation files). > > Yes, but I guess bzip2 depends on some bzip2-libs package of some > sort, which provides the library. Maybe, it would be useful to look at how Abiword does, as Abiword uses Aiksaurus. Paul
Re: Xfig with specialtext
LB wrote: > Herbert, > > There is no problem with .ps. I use it all the time. What I meant was > that the .pstex_t file does not need to be generated by xfig. So if one > has a .ps file produced by some other software one can add latex text to > it and preview the whole image in Lyx. I think that you can do that already. Use the "Include Inset" and turn on "Instant Preview". Of course, you'll need to get Instant Preview working on your box. -- Angus
Lyx + Mathematica
I have a Lyx (1.3.5) document containing several eps-plots generated by Mathematica (4.2). The EPS-plots have labels on the axes containg parentheses and slashes. This worked fine until I decided to include as appendix aMathematica-notebook saved to Latex format. I added \usepackage{notebook2e,latexsym,wrisym} to the preamble, and installed all the files in the texmf subdirectory in the mathematica installation folder into my latex distribution. In addition, I added the line \newcommand{\IndentingNewLine}{} since otherwise I got error messages regarding this command in the exported mathematica-notebook. Then a new problem appeared: The slashes and parentheses on the text labels on the axes of my eps-plots disappeared. Does anybody know how to fix this problem? Gratefully, TMS
Re: accents no work
[EMAIL PROTECTED] wrote: Do you use qt-3.3.3? There is a bug in this Qt version: the dead keys are, well, dead. So if you tyÃpoe an accent, say, ^, it doesn't wait for the character to be typed that it will be an accent of. Very irritating. It also disables the use of ^ for superscript in math. - Martin I have qt 3.3.1-33 Is this a bad version? Thanks, Martin. Marcelo Acuña. Argentina. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar