Re: How to view pdf-graphics in Lyx?
Robert Sauerbrey schrieb: I´m using pdf-graphics, because it drastically cuts down the compiling time for the pdf-output. Now I´d to view those graphics in Lyx while writing. How do I tell Lyx to this? it is the default since v.1.3. Enable the instant preview button in the preferences. Herbert
Re: prepare graphics
Guanglei Cui schrieb: What's the best way to prepare graphics for lyx/latex? I have been using several file formats, jpg, png, tif, ps, eps, etc. Everytime I preview the document (170 pages, around 70 images) in whatever formats, it takes a long time to compile/convert all the images to eps format. Some images are good, but some just become ugly. I wonder if it's better to do the conversion beforehand. Any tips are appreciated. use always pdflatex, it suppports jpg,png,pdf or use VTeX/Free (http://www.micropress-inc.com/linux), which supports nearly everything. Inside LyX disable the inline view, when you are sure, that everything is okay. Herbert
Re: How to cross-reference subfigures?
Juergen and Helge, Thank you very much for your hints. That helped a lot. Regards, Jeannette
Re: Math symbols
On Fri, 26 Sep 2003, Rich Shepard wrote: > I cannot find the implication (single-ended double) and equivalence > (double-ended double) arrows on the math panel. Have I missed them > somewhere? On the "AMS Arrows" page there are negated symbols, but no plain > symbols. It's Friday afternoon, right? I found them on the arrows panel just after sending the message. Mea culpa, folks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com http://www.appl-ecosys.com/
Math symbols
I cannot find the implication (single-ended double) and equivalence (double-ended double) arrows on the math panel. Have I missed them somewhere? On the "AMS Arrows" page there are negated symbols, but no plain symbols. Puzzled, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com http://www.appl-ecosys.com/
Thanks for all
Just a word to thank the Lyx team. I defend my math PhD last week, entirely written in lyx. I also prepared my conference with the Prosper slide style, and got nice pdf slides. Thanks again ! Nicolas
RCS footer
Hi, I am new to Lyx and have no Latex experience so please bear with me :) I am using Lyx 1.3.2 on Gentoo Linux. I have a document using the article document class and page style fancy. It is registered with rcs. I have modified the preamble so that it reads as follows: \usepackage{fancyvrb} \begin{SaveVerbatim}{cvsid} $Id$ \end{SaveVerbatim} \rfoot{thepage} \lfoot{ \slshape \UseVerbatim{cvsid} } This adds the cvs Id as the lfoot. The thing is, the lfoot is on the line beneath the rfoot page number, which doesn't look very good. Is there any way that I can get both lfoot and rfoot to both be on the same line? Best regards, Roger Light
prepare graphics
Dear all, What's the best way to prepare graphics for lyx/latex? I have been using several file formats, jpg, png, tif, ps, eps, etc. Everytime I preview the document (170 pages, around 70 images) in whatever formats, it takes a long time to compile/convert all the images to eps format. Some images are good, but some just become ugly. I wonder if it's better to do the conversion beforehand. Any tips are appreciated. Best regards, Guanglei
How to view pdf-graphics in Lyx?
Hi there! I´m using pdf-graphics, because it drastically cuts down the compiling time for the pdf-output. Now I´d to view those graphics in Lyx while writing. How do I tell Lyx to this? Thanks, Robert
Re: error compiling lyx 1.3.3
On Fri, 2003-09-26 at 15:14, Alfredo Braunstein wrote: > Ernesto Jardim wrote: > > > Hi, > > > > I'm getting these errors compiling lyx 1.3.3 on a SuSE 8.2 box with > > upgraded gcc (3.1.1-16). > > > > Regards > > > > EJ > > > > > > /usr/lib/qt3/include/qwidget.h:809: error: `width' undeclared (first use > > This seems to me a bad qt installation. It seems at least that there is some > version mismatch in some part of the qt headers. > > Have you compiled sucessfully any other qt program? > > Regards, Alfredo > Yes, I've compiled version 1.3.2 :) Regards EJ
Re: error compiling lyx 1.3.3
Ernesto Jardim wrote: > Hi, > > I'm getting these errors compiling lyx 1.3.3 on a SuSE 8.2 box with > upgraded gcc (3.1.1-16). > > Regards > > EJ > > > /usr/lib/qt3/include/qwidget.h:809: error: `width' undeclared (first use This seems to me a bad qt installation. It seems at least that there is some version mismatch in some part of the qt headers. Have you compiled sucessfully any other qt program? Regards, Alfredo
Re: bibtex -> latex
>>Date: Fri, 26 Sep 2003 15:34:07 +0200 >>From: Martijn Brouwer <[EMAIL PROTECTED]> >>To: LyX <[EMAIL PROTECTED]> >>Subject: bibtex -> latex >> >>Hi, >>Is there an script that converts bibtex files to plain latex? Some journal require you to include your references in te latex document, and I do not want to convert my references by hand. >> >>Martijn I guess you need to send over a latex file. The bbl file contains the required stuff. lyx -e latex foo latex foo bibtex foo the insert foo.bbl in place of the commands %bibliohraphystyle{...} %bibliography{...} \input{foo.bbl} latex foo latex foo should give an identical file. You may then really insert the contents of the .bbl file. -- Jean-Pierre
error compiling lyx 1.3.3
Hi, I'm getting these errors compiling lyx 1.3.3 on a SuSE 8.2 box with upgraded gcc (3.1.1-16). Regards EJ /usr/lib/qt3/include/qwidget.h:809: error: `width' undeclared (first use this function) /usr/lib/qt3/include/qwidget.h: In member function `void QWidget::erase(const QRect&)': /usr/lib/qt3/include/qwidget.h:812: error: `width' undeclared (first use this function) /usr/lib/qt3/include/qwidget.h: In member function `virtual void QWidget::setGeometry(const QRect&)': /usr/lib/qt3/include/qwidget.h:836: error: `top' undeclared (first use this function) /usr/lib/qt3/include/qwidget.h:836: error: `width' undeclared (first use this function) make[5]: *** [QDocumentDialog.lo] Error 1 make[5]: Leaving directory `/usr/local/src/compile/lyx-1.3.3/src/frontends/qt2' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/local/src/compile/lyx-1.3.3/src/frontends/qt2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/compile/lyx-1.3.3/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/compile/lyx-1.3.3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/compile/lyx-1.3.3/src' make: *** [all-recursive] Error 1 gandalf:/usr/local/src/compile/lyx-1.3.3 #
Re: bibtex -> latex
Martijn Brouwer wrote: > Hi, > Is there an script that converts bibtex files to plain latex? Some > journal require you to include your references in te latex document, and > I do not want to convert my references by hand. > > Martijn Attached. It actually goes all the way through and generates a lyx file, but I guess a bit of pruning will set you straight. -- Angus bib2lyx.sh Description: application/shellscript
bibtex -> latex
Hi, Is there an script that converts bibtex files to plain latex? Some journal require you to include your references in te latex document, and I do not want to convert my references by hand. Martijn
Re: xfig graphics (pdf v pdflatex)
Helge Hafting wrote: > pdflatex and xfig is possible. > Take a look at http://www.aitel.hist.no/~helgehaf/sw/figpdf.html > > This is a different external inset for xfig files, that > produce a .pdf from the .fig, and pdflatex then > includes the .pdf with no need for further conversions. Nice! | Room for improvement | A better solution would be a single external inset that converts | .fig to .eps/.pstex_t when exporting latex/dvi/ps, and converts | .fig to .pdf/.pdf_t when running pdflatex. I don't know how to do | that though, so for the time you need to change your insets between | XFig and XFigPDF depending on what you want to output. This merger has happened in the 1.4 series. The same XFig external inset will just do the right thing. Incidentally, does any body have any experience with the (new?) -F flag to xfig's pstex_t, pdftex_t output? -- Angus
Re: table desing flaws in lyx / possible improvements (was: longtable caption again)
Am Freitag, 26. September 2003 13:04 schrieb Helge Hafting: > j.heidemeier wrote: > > 3. The main exposure of the Floats is misleading from the authors > > perspective. Floats are TeX's typesetting perspective. For the author > > tabular and longtable are similar - not floating figures or floating > > tables. The ability to float in the final layout should be handled as a > > feature of the respective document entity - the correct LaTeX syntax has > > to be assured by the LyX2LaTeX backend. > > A nice feature of the floats in latex, and currently in lyx, > is that almost anything may be put inside them. So making "floating" > a mere property of table/figure/algorithm would be a loss, unless the > existing floats are kept too. > > I have many figure floats that don't contain graphichs insets, instead the > figure is made up from "unusual" text, tables and math. > > One can easily imagine someone making a special table in xfig. > As an example, the periodic table of elements is probably easier > to make this way. > Today, such a table can be put in a table float as > an external inset - and it will then be listed in > the list of tables and referred to as "table 17" and similar. > > And it is sometimes useful to have a few paragraphs of explanatory > text to the side of a narrow table/figure. Easy with a float, > just put a minipage with text to the side of the figure/table, > inside the float. > > Please keep the generic floats even if the table UI gets an overhaul. > > Helge Hafting O.K I didn't explain it cleary enough. I didn't want to withdraw the existence of "floating objects" in lyx - I wanted to change the perspective how they were exposed to the authors - they should stay but they should be viewed as components of the document. Your examples I would view as e.g. explanatory insets, which should have the ability to float around to find the best place to be displayed, not as floating objects with absolutely different contents. If I write an article with a table, why should I think in the first step: Will it be longer than one page? If not I make the 2 steps for inclusion for a float and a table otherwise I make one step for longtables. In the first case I can include a caption, in the latter case I can only try to play dirty tricks. I want to write the table, and at the final layout step I want to decide that table 1 should float, table 2 is a longtable and table 3 should be in a wrapped by text. You see my point of the "author" perspective? I hope that this discussion will lead to a better specification of these problems. -- Dr. Joachim Heidemeier Tel. +49-30-8903-2780 Fachgebiet II 3.2 [EMAIL PROTECTED] Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin
Re: How to cross-reference subfigures?
Juergen Spitzmueller wrote: Jeannette Meyer wrote: I am writing my diploma thesis with lyx and up to now things work great. However, there is one issue I could not solve so far: I have quite many subfigures in my figure floats, which I would like cross-reference in the text. I did not find any hint on this in the documentation, and the link on subfigures on Herbert's pages seems to be dead. I can circumvent this problem by just adding "a" or "b" after the reference on the figure, but I do not really like that solution. Lyx's subfigure support is not very good. You have to use some LaTeX in this case. In the subfigure field of the graphics dialog, add \label{foo} after the subfigure title, in the document, you have to refer with ERT (Insert->TeX) to that label, e.g. \ref{foo} (which will give you 1(a) or whatever). There is another way, that lets you use the normal "insert label" and "insert cross reference" mechanisms in lyx. You still have to use some tex, but only inside the figure floats. That means less latex if you have lots of references to the same subfigures. It goes like this: Create a figure float. Insert all the graphichs (or whatever) in the float, but don't check the subfigure thing. Instead, insert a tex box before each graphic that says \subfigure[subfiguretitle]{ after the graphic, insert another texbox that says } For each subfigure there are two tex boxes. (You can of coure merge adacent texboxes when there are several texboxes, i.e. }\subfigure[nextfiguretitle]{ Now for the labels. Simply Insert->label beside each graphic, that is between the "\subfigure[title]{" and the "}" tex boxes. This will work because latex knows what to do with a label inside a \subfigure, even if lyx don't. Whenever you need a cross reference, simply insert->cross reference. Another advantage of this approach is that it works with subfigures that aren't graphichs, such as subfigures made up of math symbols, plain text, a table, external inset or anything. Helge Hafting
Re: xfig graphics (pdf v pdflatex)
Paul Medwell wrote: Hi all, I'd like to add to the recent inundation of questions relating to xfig. I have recently noticed some resolution issues when I insert *.fig graphics generated in xfig directly into my LyX document. If I view the document using View->PDF they appear fine, however, if I use View->pdflatex they appear at low resolution. Interestingly, I have noticed that if I view the pdflatex first it is poor quality, then just pdf they are fine, and then if I look at it again with pdflatex then it seems okay. When looking into the lyx temporary directory, it seems as though pdflatex produces a png file of the graphic, whereas pdf produces an eps. If there is an eps in the temp directory when running pdflatex it seems to use that, otherwise it creates a png. Does this seem correct? And is there anyway of forcing pdflatex to use eps for fig graphics? All of the converters in the LyX preferences seem okay. pdflatex and xfig is possible. Take a look at http://www.aitel.hist.no/~helgehaf/sw/figpdf.html This is a different external inset for xfig files, that produce a .pdf from the .fig, and pdflatex then includes the .pdf with no need for further conversions. Helge Hafting
Re: table desing flaws in lyx / possible improvements (was: longtable caption again)
j.heidemeier wrote: 3. The main exposure of the Floats is misleading from the authors perspective. Floats are TeX's typesetting perspective. For the author tabular and longtable are similar - not floating figures or floating tables. The ability to float in the final layout should be handled as a feature of the respective document entity - the correct LaTeX syntax has to be assured by the LyX2LaTeX backend. A nice feature of the floats in latex, and currently in lyx, is that almost anything may be put inside them. So making "floating" a mere property of table/figure/algorithm would be a loss, unless the existing floats are kept too. I have many figure floats that don't contain graphichs insets, instead the figure is made up from "unusual" text, tables and math. One can easily imagine someone making a special table in xfig. As an example, the periodic table of elements is probably easier to make this way. Today, such a table can be put in a table float as an external inset - and it will then be listed in the list of tables and referred to as "table 17" and similar. And it is sometimes useful to have a few paragraphs of explanatory text to the side of a narrow table/figure. Easy with a float, just put a minipage with text to the side of the figure/table, inside the float. Please keep the generic floats even if the table UI gets an overhaul. Helge Hafting
[ANNOUNCE] LyX 1.3.3 is released
Public release of LyX version 1.3.3 === We are pleased to announce the release of LyX 1.3.3. This is a maintenance release which improves upon 1.3.2 in four main areas: * import of old LyX files and export to DocBook have been improved; * many small bugs in the Qt frontend have been fixed; * MacOSX users can now compile LyX and enjoy the native MacOSX interface; * several languages now benefit from an improved translation of the user interface amd documentation. The complete list of improvements and fixes can be found at the end of this message. In case you are wondering what LyX is, here is what http://www.lyx.org/ has to say on the subject: LyX is an advanced open source document processor that encourages an approach to writing based on the structure of your documents, not their appearance. LyX lets you concentrate on writing, leaving details of visual layout to the software. LyX runs on many Unix platforms, OS/2, and under Windows/Cygwin (this port requires an X server). It can also run natively on Mac OS X, thanks to the Qt/Mac library. You can download LyX 1.3.3 here (the .bz2 are compressed with bzip2, which yields smaller files) : ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.3.tar.gz ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.3.tar.bz2 ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.3.tar.gz ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.3.tar.bz2 and it should propagate shortly to the following mirrors (which will also host the .bz2 versions): ftp://ftp.sdsc.edu/pub/other/lyx/stable/lyx-1.3.3.tar.gz ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.3.3.tar.gz ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.3.3.tar.gz ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.3.3.tar.gz ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.3.tar.gz Prebuilt binaries (mainly rpms for linux distributions) should soon be available at ftp://ftp.lyx.org/pub/lyx/bin/1.3.3/ If you already have the LyX 1.3.2 sources, you may want to apply one of the following patches instead ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.3.gz ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.3.bz2 If you find what you think is a bug in LyX 1.3.3, you may either e-mail the LyX developers' mailing list ([EMAIL PROTECTED]), or open a bug report at http://bugzilla.lyx.org If you're having trouble using the new version of LyX, or have a question, first check out http://www.lyx.org/help/. If you can't find the answer there, e-mail the LyX users' list ([EMAIL PROTECTED]). Enjoy! The LyX team. What's new == ** Updates - add basic support for the memoir class - add Proof layout to elsart class and get sections to be numbered - make LyX compile almost out-of-the-box with Qt/Mac (see README.MacOSX) - add a bit of documentation of the AGU journals support in the Extended manual; small tweaks to the english documentation; german documentation overhaul; french documentation and examples update - completely new italian localization; french, german, russian and slovenian localization updates ** Bug fixes - fix possible crash when changing text class [bug #1050] - fix language setting when switching textclass - fix math bug where formulas containing for example a \prettyref would not be parsed correctly [bug #1126] - speed up conversion of large old files on some systems - fix bad conversion of tables from LyX 1.0 [bug #1045] - convert old files (0.11 series) correctly, suppressing space between number and units [bug #763] - fix docbook export with nested environments [bug #821] - output newline and hfill correctly in docbook [bug #1148] - when pressing delete or backspace over a selection, do not modify the clipboard [bug #1049] - when inserting a float or a note over a selection, make sure that the insets and font changes in the selection are correctly kept (note however that doing this now modifies the clipboard) - clean-up properly after completed graphics conversion processes. - enable graphics conversion using the default convertDefault.sh converter when exporting, even if convertDefault.sh is not executable. - work around a Qt 3.1.2 bug with the environment combo box [bug #1136] - fix bug where browsing for files in graphics inset would always return an absolute path [bug #1028, Qt only] - do not write in preference file the colors which are still at their default value [bug #1069, Qt only] - fix loading of symbol fonts [Qt 3.2.0 only] - fix loading of symbol fonts on solaris - fix the math panel symbols [Qt 3.2.0 only] - do not reset natbib style when adding a new entry to a citation [Qt only] - allow insertion of width strings like "2.5in" into tabular dialog [Qt only] - fix some cases where the View>TeX information dialog would get confused because the same file gets listed several times - remove annoying message on console when LyX tries to ma
Re: How to cross-reference subfigures?
Jeannette Meyer wrote: > I am writing my diploma thesis with lyx and up to now things work great. > However, there is one issue I could not solve so far: I have quite many > subfigures in my figure floats, which I would like cross-reference in the > text. I did not find any hint on this in the documentation, and the link on > subfigures on Herbert's pages seems to be dead. I can circumvent this > problem by just adding "a" or "b" after the reference on the figure, but I > do not really like that solution. Lyx's subfigure support is not very good. You have to use some LaTeX in this case. In the subfigure field of the graphics dialog, add \label{foo} after the subfigure title, in the document, you have to refer with ERT (Insert->TeX) to that label, e.g. \ref{foo} (which will give you 1(a) or whatever). HTH, Jürgen.
prosper and text size
Dear Lyx users, I a desperately trying to modify the text size in a presentation made with prosper. The \small tex command does not seem to change anything, and the text size really decreases with the \tiny command. However, I would like to include text with smaller size. How can I do that, and how can I explain this behaviour ? Sincerely yours, Romuald Poteau