Re: Cross-reference after changing enumerate
Peter Smith wrote: I have changed the numbering of the enumerate environment by inserting the following into the LaTeX preamble: \renewcommand{\labelenumi}{\Roman{enumi}.} \renewcommand{\labelenumii}{\Alph{enumii}.} \renewcommand{\labelenumiii}{\arabic{enumiii}.} \renewcommand{\labelenumiv}{\alph{enumiv}.)} (This is the example from the Additional Features Manual) The enumerated list looks great, but when I want to cross-reference one of the points, the label does not coincide with the new numbering scheme. Can anyone help me fix this? I have attached an example LyX file and pdf output. I am using Lyx 1.6.0 on Windows XP, with MiKTeX 2.5. Pete HI, Peter. I'm also use windows XP, and Lyx 1.6.0. I tested it. I think you have forgot setting the document profile to support cross reference. menu-document setting-PDF properties-*Use hyperref support*. If this is enabled. In my computer, your problem can be solved. Good Luck!
Re: displaying long division of polynomials in lyx
Jamesdaff [EMAIL PROTECTED] schrieb: I'm writing an Algebra textbook and I need to show division of polynomials (both long division and synthetic division / Horner's method). I am new to LyX, and have just kind of been stumbling my way through what I need to know to get by. I see there is a cool package on CTAN (polynom) which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). The installation procedure depends on your system and the LaTeX distribution you use, but basically means: 1. download 2. put into ~/texmf/tex/latex/ or /usr/local/share/texmf/tex/latex/ (on a Unix machine) 3. run texhash 4. reconfigure LyX (only for packages recognised by LyX) (i.e. not needed for polynom) To use the commands, a) read the manual b) in LyX insert the LaTeX commands in raw mode, evil red text (ERT). Press Ctrl-l to get the ERT box. Alternatively, experiment with the math editor and read the HelpMath handbook. Günter
Re: displaying long division of polynomials in lyx
Am 26.11.2008 um 09:39 schrieb Guenter Milde: Jamesdaff [EMAIL PROTECTED] schrieb: I'm writing an Algebra textbook and I need to show division of polynomials (both long division and synthetic division / Horner's method). I am new to LyX, and have just kind of been stumbling my way through what I need to know to get by. I see there is a cool package on CTAN (polynom) which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). The installation procedure depends on your system and the LaTeX distribution you use, but basically means: 1. download 2. put into ~/texmf/tex/latex/ or /usr/local/share/texmf/tex/latex/ (on a Unix machine) 3. run texhash 4. reconfigure LyX (only for packages recognised by LyX) (i.e. not needed for polynom) To use the commands, a) read the manual b) in LyX insert the LaTeX commands in raw mode, evil red text (ERT). Press Ctrl-l to get the ERT box. Instead of evil red text I would define some math macros which have the ERT in the Latex box and some nice looking placeholder in the LyX box. Of course you won't get real WYSIWYG output in LyX, but that's probably not needed anyway. Stefan
Re: use of xcolor in LyX
Hi all, sorry for having sent my suggestion about how to define the url color just to Nikos and not to the list. This was because I forgot to use Reply all. I use \usepackage[usenames]{color} and the hyperref package with the article class so I wasn't aware about the conflicts between the hyperref package and the koma-script book class which Nikos has noticed. I couldn't provide any further advice about that but maybe the Koma script manual gives some useful suggestion. Pierfranco 2008/11/26 Nikos Alexandris [EMAIL PROTECTED] On Tue, 2008-11-25 at 12:37 +0100, Pierfranco Minsenti wrote: Hi Nikos, use this commands in the premable: \usepackage[usenames]{color} %this package should not be put in the preamble in the case you use the coloured LyX Note, that is the one which also appears in the PDF file as some coloured text line, because in this case LyX authomatically charge the package \definecolor{myblue}{RGB}{0,47,76} \hypersetup{urlcolor=myblue,} Pierfranco Hi! I tried to follow your suggestion but I get some error messages. (I'll give you a complete feedback later). I am using the koma-book script and the error messages had to do with the hyperef package being already used or something. Thank you, Nikos P.S. Shouldn't we keep this on-line? Maybe some *beginner like me* will need this piece of information.
Re: Lyx 1.6 on ubuntu 8.04
Original-Nachricht Datum: Tue, 18 Nov 2008 21:14:35 + Von: Graham Smith [EMAIL PROTECTED] An: lyx-users@lists.lyx.org Betreff: Re: Lyx 1.6 on ubuntu 8.04 Paul Will this result in all packages being updated through the deb repository rather than the Ubuntu repository? Or does the sid bit restrict it to the Lyx files. No, SID doesn't restrict it to LyX, and you're right in not wanting to update other stuff from there. The trick is to enable the Debian SID repository (it will automatically be enabled when you first enter it), use Synaptic to install LyX (ignoring any messages to the effect that you have updates for 2,387 packages available), then go back into Sources (or Settings - Repositories from within Synaptic) and disable the mirror (but leave it defined, in case you need it again). If the you have updates bug is still displaying, use the Reload button in Synaptic to refresh the package list. Thanks again :-) Graham Hm, I don't think it's a good idea to use a sid repository in ubuntu, especially not in the older 8.04. There happen to be backports for LyX at getdeb: http://www.getdeb.net/app/LyX However, it's still rc3 for hardy there. Well, if you like them you could also use the packages I have been building and linking in the LyX Wiki for some time now. They are not checkinstall packages but packaged by hand and they also pull in a reasonable set of dependencies: http://wiki.lyx.org/LyX/Download (feel free to comment on those here anyway) Phil
Re: How to reference LyX ?
On Wed, 26 Nov 2008, Pavel Sanda wrote: I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006. I think referring to www.lyx.org as per above is good enough. /Christian PS. I don't know if it's an option to cite the entry about LyX in Wikipedia. If so, see this page: http://en.wikipedia.org/w/index.php?title=Special:Citepage=LyXid=252337015 They automatically generate this entry: @misc{ wiki:xxx, author = Wikipedia, title = LyX --- Wikipedia{,} The Free Encyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } You could simply modify that to refer to the 'The LyX project', or 'LyX'. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr
Re: includegraphics - a newbie question
*.png test file there and tied to preview the PDF but got an error message about not being able to determine the bounding box. I put my own width and height into the dialog box but got the same error message. this usually won't happen. maybe something strange with that png file or the tex distro. pavel
Re: How to reference LyX ?
2008/11/26 Christian Ridderström [EMAIL PROTECTED]: On Wed, 26 Nov 2008, Pavel Sanda wrote: I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006. I think referring to www.lyx.org as per above is good enough. /Christian PS. I don't know if it's an option to cite the entry about LyX in Wikipedia. If so, see this page: http://en.wikipedia.org/w/index.php?title=Special:Citepage=LyXid=252337015 They automatically generate this entry: @misc{ wiki:xxx, author = Wikipedia, title = LyX --- Wikipedia{,} The Free Encyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } You could simply modify that to refer to the 'The LyX project', or 'LyX'. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr From Bibtex point of view and proper title generation in Bibliography this entry should be more like this: @misc{ wiki:xxx, author = Wikipedia, title = Ly{X} --- {W}ikipedia{,} {T}he {F}ree {E}ncyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } In other cases plenty Bibtex styles may reduce CAPS in title to Lyx --- wikipedia, the free encyclopedia. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: How to reference LyX ?
From Bibtex point of view and proper title generation in Bibliography this entry should be more like this: @misc{ wiki:xxx, author = Wikipedia, title = Ly{X} --- {W}ikipedia{,} {T}he {F}ree {E}ncyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } but you haven't used wikipedia, you used lyx. pavel
Re: Lyx 1.6 on ubuntu 8.04
On Wed, Nov 26, 2008 at 10:12:53AM +0100, [EMAIL PROTECTED] wrote: Well, if you like them you could also use the packages I have been building and linking in the LyX Wiki for some time now. They are not checkinstall packages but packaged by hand and they also pull in a reasonable set of dependencies: http://wiki.lyx.org/LyX/Download (feel free to comment on those here anyway) I'm pretty sure I ranted about it before - when you don't use external boost libs you should not depend on them. I'm not sure if pulling in useless libs is something 'reasonable'. What's so hard about simply using the latest /debian/ directory provided in Debian and Ubuntu and just tweak where needed? Using pbuilder to build the package as plus. And consider publishing sources for GPL'ed stuff. Sven
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Cheers, Emme /Konrad
Re: How to change pdf viewer?
muzzle wrote: On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Don't have time to try right now, but look what in Preferences-File Formats the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that instead of pdf2 in the ui files. You should only need to change in stdtoolbars.inc Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 by Item View PDF (pdflatex) buffer-view pdf3 Item Update PDF (pdflatex) buffer-update pdf3 . You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) /Konrad
z-notation
is ist possible to write text in z-notation with lyx? do i need an addon? http://en.wikipedia.org/wiki/Z_notation thanx, marcel
Re: How to reference LyX ?
Hi, I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006. ( http://www.ploscompbiol.org/article/info:doi%2F10.1371%2Fjournal.pcbi.0020087;jsessionid=B76860F0A3FA596157C261BE4F6AD90E ) not sure whether this is a standard though. if you need authors you can write LyX Team ;) pavel
Re: The index numbers overlap with the titles
Could anybody help me? This time I attached the lyx code bellow, which demonstrate the bug. I'm hoping for a quick response, since I'm supposed to turn in the thesis in days. Thanks for your help! #LyX 1.5.6 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass amsbook \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \end_header \begin_body \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter I \end_layout \begin_layout Section jkhk \end_layout \begin_layout Subsection vbcb \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \end_layout \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \begin_layout Subsection adfsd \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \end_body \end_document
Re: z-notation
Marcel Holle wrote: is ist possible to write text in z-notation with lyx? do i need an addon? http://en.wikipedia.org/wiki/Z_notation If you can do it in LaTeX, you can do it in LyX. And I'd guess you can do it in LaTeX, though I do not know. rh
Re: Helper function/shortcut
Frank Grimm wrote: On 25/11/2008 14:33, rgheck wrote: Frank Grimm wrote: I tried the following command sequence command-sequence font-ital; self-insert i.e.; font-ital where I replaced font-emph in your suggestion with font-ital since I don't want the i.e. the be emphasized, but just in italic shape. But when I use the shortcut for this command LyX tells me that the command is disabled. Are there any restrictions for the font-ital command that the font-emph command doesn't have? Apparently, yes. This seems like a bug. In fact, from what I can tell, font-ital never does anything in the current code. I'm using font-emph for now, as you suggested. But I'm not sure whether font-ital and font-emph have the same meaning. It doesn't matter to me since both font styles result in the text being set in the same italic font when using pdflatex output, but maybe for other output formats different fonts are used. font-emph produces emphasis, whatever the existing font. Exactly what it does is determined by LaTeX. So emphasizing something emphasized makes sense. font-ital just turns on italics. You can italicize what's already italicized. Richard
Re: The index numbers overlap with the titles
On Wednesday 26 November 2008, Laser Yuan wrote: Could anybody help me? This time I attached the lyx code bellow, which demonstrate the bug. I'm hoping for a quick response, since I'm supposed to turn in the thesis in days. Thanks for your help! This works for me. Look at the Preamble. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html #LyX 1.5.4 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass amsbook \begin_preamble \makeatletter [EMAIL PROTECTED]@tocline{0}{3pt plus2pt}{0pt}{3.3em}{}} \makeatother \end_preamble \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter I \end_layout \begin_layout Section jkhk \end_layout \begin_layout Subsection vbcb \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \end_layout \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \begin_layout Subsection adfsd \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \end_body \end_document fig_1.pdf Description: Adobe PDF document
Re: Bad PDF generated from LyX
Resend without the attachment since I cannot send anything 60K. Max Bian wrote: Hi. I am having trouble with EPS files converted from PNG from Adobe Photoshop. I saved the PNG as EPS using Photoshop EPS option. I can view the EPS file and the final output in PS format fine in GSView. However if I view PDF ( I believe it runs pdflatex), Adobe Reader (v.8) says There was an error processing a page. There was a problem reading this document (18).. The page with the figure is blank. Is there a way to fix this? I have attached the EPS image in question. Thanks. Max
Re: Bad PDF generated from LyX
Never mind. The problem appears to be caused by the binary encoding format I selected. I selected ASCII encoding the problem has disappeared. Btw, for anyone who includes screenshots in their documents, enabling Image Interpolation in Photoshop EPS conversion will create a much better looking PDF file. Including bitmap files directly will lead to very fuzzy results when the PDF display resolution does not match the native capture resolution of the screenshot. Max Max Bian wrote: Resend without the attachment since I cannot send anything 60K. Max Bian wrote: Hi. I am having trouble with EPS files converted from PNG from Adobe Photoshop. I saved the PNG as EPS using Photoshop EPS option. I can view the EPS file and the final output in PS format fine in GSView. However if I view PDF ( I believe it runs pdflatex), Adobe Reader (v.8) says There was an error processing a page. There was a problem reading this document (18).. The page with the figure is blank. Is there a way to fix this? I have attached the EPS image in question. Thanks. Max
Re: How to change pdf viewer?
On Wed, Nov 26, 2008 at 3:21 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Don't have time to try right now, but look what in Preferences-File Formats the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that instead of pdf2 in the ui files. You should only need to change in stdtoolbars.inc Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 by Item View PDF (pdflatex) buffer-view pdf3 Item Update PDF (pdflatex) buffer-update pdf3 . silly me! I had tried with pdf1 and pdf0 :) Now it works, the only minor problem is that the button has no icon, but a long label. You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) I'm using linux, so I would rather not modify a system file. I will just keep the copy of the modified interface files in my users preferences folder (~/.lyx/) /Konrad Thanks a lot, Emme
Re: How to change pdf viewer?
muzzle wrote: Now it works, the only minor problem is that the button has no icon, but a long label. I am not sure if this is hardcoded, but try the following: Look in LyX's images folder, there is e.g. a file buffer-view_pdf2.png Make a copy of it and call it buffer-view_pdf3.png in the same directory. Maybe LyX picks it up. Maybe it can also live in ~/.lyx/images You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) I'm using linux, so I would rather not modify a system file. I will just keep the copy of the modified interface files in my users preferences folder (~/.lyx/) This is much better, of course. But keep in mind that with new versions these files do NOT get updated automatically, so you won't inherit any changes. /Konrad
Re: LyX and Docbook/XML
On Friday 21 November 2008 16:18:35 Ethan Metsger wrote: Hi, all. I promise I'll be quiet after this post--I don't mean to pester (or imply by any stretch that I'm unhappy with LyX in general!). But can anyone comment on this? I would have done before if I had not been victim of a cold. :-) For what it's worth, I really do like LyX, and I'm not trying to troll or put on anyone. I'm just curious about the capabilities and hoping not a little to spur its adoption among my general work populace. What are the problems that you have encountered. I am interested to fix them in both the stable and the development series. I am specially interested in the problems you are having with the xml generated docbook. Thanks again, Ethan -- José Abílio
Re: displaying long division of polynomials in lyx
On 2008-11-26, Stefan Schimanski wrote: Am 26.11.2008 um 09:39 schrieb Guenter Milde: Jamesdaff [EMAIL PROTECTED] schrieb: I see there is a cool package on CTAN (polynom) which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). a) read the manual b) in LyX insert the LaTeX commands in raw mode, evil red text (ERT). Press Ctrl-l to get the ERT box. Instead of evil red text I would define some math macros which have the ERT in the Latex box and some nice looking placeholder in the LyX box. Of course you won't get real WYSIWYG output in LyX, but that's probably not needed anyway. From browsing the polynom documentatin, I assume that the commands are to be inserted in text mode, not in math mode. In this case, math-macros cannot be used (or at least do not provide an improvement). Günter
Re: LyX and Docbook/XML
On Wed, 26 Nov 2008 14:48:26 -0500, José Matos [EMAIL PROTECTED] wrote: I would have done before if I had not been victim of a cold. :-) I'm currently recovering from one, too--no worries about the delay. What are the problems that you have encountered. I am interested to fix them in both the stable and the development series. I am specially interested in the problems you are having with the xml generated docbook. I'll file some bug reports (and throw them back in this thread), but in general it looks like the book tag is improperly generated (using 'lang=EN_US' appears to be invalid), and I have not been able to get graphics properly embedded in the HTML output. The authorinfo section is also not properly outputted; I suspect this can be fixed pretty easily by layout changes, but I'm not sure. The user-customized preamble is put into the doctype declaration, too--I don't really consider this a bug, but I was a little surprised to find it in the output. LyX is also a few revisions behind in its DocBook support, at least according to the doctype (I think 4.4 is the last 4.x revision, and 5.x is current; the generated XML says that it's using 4.2). I've used both the sgmltools package and the sgml2x package. I'll make sure to describe the pertinent information in the bugzilla filings when the time comes, as the two seem to work slightly differently. Thanks again for all your hard work, guys; I really do appreciate it. Best, Ethan ([EMAIL PROTECTED])
navigating to a graphic float
With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the NavigateList of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this feature? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter
Re: navigating to a graphic float
Guenter Milde wrote: ... It is a real show-stopper for my thesis work. Are you looking for excuses? /Konrad ... also just writing on his thesis. ;-)
Re: navigating to a graphic float
Guenter Milde skrev: With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the NavigateList of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this feature? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter Yes, I can confirm that behavior in Lyx 1.6.0 in OpenSuse 10.3, Windows XP an Vista. Very annoying but still all versions work pretty steadily without any crashes for me. r. Niklas
Re: z-notation
And I'd guess you can do it in LaTeX, though I do not know. yes you can, guidance for latex macros is even part of the ISO standard for Z syntax. pavel
Re: navigating to a graphic float
On Wed, Nov 26, 2008 at 09:22:55PM +0100, Konrad Hofbauer wrote: Guenter Milde wrote: ... It is a real show-stopper for my thesis work. Are you looking for excuses? /Konrad ... also just writing on his thesis. ;-) But looking for excuses does not really help beyond seven years or so... Andre'
(Slightly OT): Can't install texlive on gentoo system
Hi, I'm trying to install LyX (my most important tool !;-) on my new system (Lenovo T61, gentoo-Linux, KDE-3.5.10) I saw several mentionings of gentoo systems, so I hope somebody can give me help. Although I'm working as root merge of texlive-core crashes with the error report: -- start -- /usr/bin/install -c -m 644 .libs/libkpathsea.so.4.1.0 usr/lib64/libkpathsea.so.4.1.0 ACCESS DENIED open_wr: /usr/lib64/libkpathsea.so.4.1.0 /usr/bin/install: cannot create regular file `/usr/lib64/libkpathsea.so.4.1.0': Permission denied make[2]: *** [install-exec] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk/kpathsea' make[1]: *** [install] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk' make: *** [install] Fehler 1 * * ERROR: app-text/texlive-core-2008-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3006: Called einstall 'bindir=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/bin' 'texmf=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/share/texmf' 'run_texlinks=true' 'run_mktexlsr=true' * ebuild.sh, line 567: Called die * The specific snippet of code: * $@ install || die einstall failed * The die message: * einstall failed -- end -- I don't see what's going wrong, any help appreciated. TIA Hellmut -- Dr. Hellmut Weber [EMAIL PROTECTED] Degenfeldstraße 2 tel +49-89-3081172 D-80803 München-Schwabing mobil +49-172-8450321 please: No DOCs, no PPTs. why: tinyurl.com/cbgq
Re: navigating to a graphic float
On Wed, 2008-11-26 at 22:32 +0200, Niklas Huldén wrote: Guenter Milde skrev: With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the NavigateList of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this feature? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter Yes, I can confirm that behavior in Lyx 1.6.0 in OpenSuse 10.3, Windows XP an Vista. Very annoying but still all versions work pretty steadily without any crashes for me. r. Niklas The same for me (as Niklas): very stable LyX 1.6 under Ubuntu 8.10, navigation to floats (figures) always ends-up (always did in all versions I've used) below the figure. Regards, Nikos
(Slightly OT): Same happens with tetex on gentoo system
Hi, next try was tetex with essentially the same result. Anybody understanding what's happening? Without LyX I can't do my work which is in big part production of documents of all types. (On my old machine LyX-1.6.0 now works like a charm, every day I discover new (for me) features which make live easier. Thanks to all of you! Hellmut -- Dr. Hellmut Weber [EMAIL PROTECTED] Degenfeldstraße 2 tel +49-89-3081172 D-80803 München-Schwabing mobil +49-172-8450321 please: No DOCs, no PPTs. why: tinyurl.com/cbgq
Re: (Slightly OT): Can't install texlive on gentoo system
* ERROR: app-text/texlive-core-2008-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3006: Called einstall 'bindir=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/bin' 'texmf=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/share/texmf' 'run_texlinks=true' 'run_mktexlsr=true' * ebuild.sh, line 567: Called die * The specific snippet of code: * $@ install || die einstall failed * The die message: * einstall failed -- end -- I don't see what's going wrong, any help appreciated. this has nothing to do with lyx and best help you can get is on gentoo bugzilla. pavel
Equation numbering
Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Re: Equation numbering
HI Paula Piece of cake. In LyX, go into Document - Settings. On the Document Class page there is an area for class options. Put leqno in the custom options box and it will use the leqno LaTeX option which puts equations on the left. -Neil = Neil Hepburn, Economics Instructor Department of Social Sciences, Augustana Faculty University of Alberta 4901-46 Avenue Camrose, Alberta T4V 2R3 Phone (780) 679-1588 email [EMAIL PROTECTED] On 26-Nov-08, at 7:36 PM, Paulina Restrepo wrote: Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Get the chapter/section/subsection numbering as frame-notes
Hi all! Is there any quick-hack to *move* chapter/section/subsection numbers off the main text-body, e.g. move it to the frame (well... left from the main text)? Something like... 1 Title of Chapter 1 This is chapter 1 - This is chapter 1 - This is chapter 1 2 Title of Chapter 2 This is chapter 2 - This is chapter 2 - This is chapter 2 2.1This is Section 2.1 2.2.1 This is SubSection 2.2.1 Kind Regards, Nikos
Re: Cross-reference after changing enumerate
Peter Smith wrote: I have changed the numbering of the enumerate environment by inserting the following into the LaTeX preamble: \renewcommand{\labelenumi}{\Roman{enumi}.} \renewcommand{\labelenumii}{\Alph{enumii}.} \renewcommand{\labelenumiii}{\arabic{enumiii}.} \renewcommand{\labelenumiv}{\alph{enumiv}.)} (This is the example from the Additional Features Manual) The enumerated list looks great, but when I want to cross-reference one of the points, the label does not coincide with the new numbering scheme. Can anyone help me fix this? I have attached an example LyX file and pdf output. I am using Lyx 1.6.0 on Windows XP, with MiKTeX 2.5. Pete HI, Peter. I'm also use windows XP, and Lyx 1.6.0. I tested it. I think you have forgot setting the document profile to support cross reference. menu-document setting-PDF properties-*Use hyperref support*. If this is enabled. In my computer, your problem can be solved. Good Luck!
Re: displaying long division of polynomials in lyx
Jamesdaff [EMAIL PROTECTED] schrieb: I'm writing an Algebra textbook and I need to show division of polynomials (both long division and synthetic division / Horner's method). I am new to LyX, and have just kind of been stumbling my way through what I need to know to get by. I see there is a cool package on CTAN (polynom) which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). The installation procedure depends on your system and the LaTeX distribution you use, but basically means: 1. download 2. put into ~/texmf/tex/latex/ or /usr/local/share/texmf/tex/latex/ (on a Unix machine) 3. run texhash 4. reconfigure LyX (only for packages recognised by LyX) (i.e. not needed for polynom) To use the commands, a) read the manual b) in LyX insert the LaTeX commands in raw mode, evil red text (ERT). Press Ctrl-l to get the ERT box. Alternatively, experiment with the math editor and read the HelpMath handbook. Günter
Re: displaying long division of polynomials in lyx
Am 26.11.2008 um 09:39 schrieb Guenter Milde: Jamesdaff [EMAIL PROTECTED] schrieb: I'm writing an Algebra textbook and I need to show division of polynomials (both long division and synthetic division / Horner's method). I am new to LyX, and have just kind of been stumbling my way through what I need to know to get by. I see there is a cool package on CTAN (polynom) which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). The installation procedure depends on your system and the LaTeX distribution you use, but basically means: 1. download 2. put into ~/texmf/tex/latex/ or /usr/local/share/texmf/tex/latex/ (on a Unix machine) 3. run texhash 4. reconfigure LyX (only for packages recognised by LyX) (i.e. not needed for polynom) To use the commands, a) read the manual b) in LyX insert the LaTeX commands in raw mode, evil red text (ERT). Press Ctrl-l to get the ERT box. Instead of evil red text I would define some math macros which have the ERT in the Latex box and some nice looking placeholder in the LyX box. Of course you won't get real WYSIWYG output in LyX, but that's probably not needed anyway. Stefan
Re: use of xcolor in LyX
Hi all, sorry for having sent my suggestion about how to define the url color just to Nikos and not to the list. This was because I forgot to use Reply all. I use \usepackage[usenames]{color} and the hyperref package with the article class so I wasn't aware about the conflicts between the hyperref package and the koma-script book class which Nikos has noticed. I couldn't provide any further advice about that but maybe the Koma script manual gives some useful suggestion. Pierfranco 2008/11/26 Nikos Alexandris [EMAIL PROTECTED] On Tue, 2008-11-25 at 12:37 +0100, Pierfranco Minsenti wrote: Hi Nikos, use this commands in the premable: \usepackage[usenames]{color} %this package should not be put in the preamble in the case you use the coloured LyX Note, that is the one which also appears in the PDF file as some coloured text line, because in this case LyX authomatically charge the package \definecolor{myblue}{RGB}{0,47,76} \hypersetup{urlcolor=myblue,} Pierfranco Hi! I tried to follow your suggestion but I get some error messages. (I'll give you a complete feedback later). I am using the koma-book script and the error messages had to do with the hyperef package being already used or something. Thank you, Nikos P.S. Shouldn't we keep this on-line? Maybe some *beginner like me* will need this piece of information.
Re: Lyx 1.6 on ubuntu 8.04
Original-Nachricht Datum: Tue, 18 Nov 2008 21:14:35 + Von: Graham Smith [EMAIL PROTECTED] An: lyx-users@lists.lyx.org Betreff: Re: Lyx 1.6 on ubuntu 8.04 Paul Will this result in all packages being updated through the deb repository rather than the Ubuntu repository? Or does the sid bit restrict it to the Lyx files. No, SID doesn't restrict it to LyX, and you're right in not wanting to update other stuff from there. The trick is to enable the Debian SID repository (it will automatically be enabled when you first enter it), use Synaptic to install LyX (ignoring any messages to the effect that you have updates for 2,387 packages available), then go back into Sources (or Settings - Repositories from within Synaptic) and disable the mirror (but leave it defined, in case you need it again). If the you have updates bug is still displaying, use the Reload button in Synaptic to refresh the package list. Thanks again :-) Graham Hm, I don't think it's a good idea to use a sid repository in ubuntu, especially not in the older 8.04. There happen to be backports for LyX at getdeb: http://www.getdeb.net/app/LyX However, it's still rc3 for hardy there. Well, if you like them you could also use the packages I have been building and linking in the LyX Wiki for some time now. They are not checkinstall packages but packaged by hand and they also pull in a reasonable set of dependencies: http://wiki.lyx.org/LyX/Download (feel free to comment on those here anyway) Phil
Re: How to reference LyX ?
On Wed, 26 Nov 2008, Pavel Sanda wrote: I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006. I think referring to www.lyx.org as per above is good enough. /Christian PS. I don't know if it's an option to cite the entry about LyX in Wikipedia. If so, see this page: http://en.wikipedia.org/w/index.php?title=Special:Citepage=LyXid=252337015 They automatically generate this entry: @misc{ wiki:xxx, author = Wikipedia, title = LyX --- Wikipedia{,} The Free Encyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } You could simply modify that to refer to the 'The LyX project', or 'LyX'. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr
Re: includegraphics - a newbie question
*.png test file there and tied to preview the PDF but got an error message about not being able to determine the bounding box. I put my own width and height into the dialog box but got the same error message. this usually won't happen. maybe something strange with that png file or the tex distro. pavel
Re: How to reference LyX ?
2008/11/26 Christian Ridderström [EMAIL PROTECTED]: On Wed, 26 Nov 2008, Pavel Sanda wrote: I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006. I think referring to www.lyx.org as per above is good enough. /Christian PS. I don't know if it's an option to cite the entry about LyX in Wikipedia. If so, see this page: http://en.wikipedia.org/w/index.php?title=Special:Citepage=LyXid=252337015 They automatically generate this entry: @misc{ wiki:xxx, author = Wikipedia, title = LyX --- Wikipedia{,} The Free Encyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } You could simply modify that to refer to the 'The LyX project', or 'LyX'. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr From Bibtex point of view and proper title generation in Bibliography this entry should be more like this: @misc{ wiki:xxx, author = Wikipedia, title = Ly{X} --- {W}ikipedia{,} {T}he {F}ree {E}ncyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } In other cases plenty Bibtex styles may reduce CAPS in title to Lyx --- wikipedia, the free encyclopedia. -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: How to reference LyX ?
From Bibtex point of view and proper title generation in Bibliography this entry should be more like this: @misc{ wiki:xxx, author = Wikipedia, title = Ly{X} --- {W}ikipedia{,} {T}he {F}ree {E}ncyclopedia, year = 2008, url = \url{http://en.wikipedia.org/w/index.php?title=LyXoldid=252337015};, note = [Online; accessed 26-November-2008] } but you haven't used wikipedia, you used lyx. pavel
Re: Lyx 1.6 on ubuntu 8.04
On Wed, Nov 26, 2008 at 10:12:53AM +0100, [EMAIL PROTECTED] wrote: Well, if you like them you could also use the packages I have been building and linking in the LyX Wiki for some time now. They are not checkinstall packages but packaged by hand and they also pull in a reasonable set of dependencies: http://wiki.lyx.org/LyX/Download (feel free to comment on those here anyway) I'm pretty sure I ranted about it before - when you don't use external boost libs you should not depend on them. I'm not sure if pulling in useless libs is something 'reasonable'. What's so hard about simply using the latest /debian/ directory provided in Debian and Ubuntu and just tweak where needed? Using pbuilder to build the package as plus. And consider publishing sources for GPL'ed stuff. Sven
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Cheers, Emme /Konrad
Re: How to change pdf viewer?
muzzle wrote: On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Don't have time to try right now, but look what in Preferences-File Formats the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that instead of pdf2 in the ui files. You should only need to change in stdtoolbars.inc Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 by Item View PDF (pdflatex) buffer-view pdf3 Item Update PDF (pdflatex) buffer-update pdf3 . You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) /Konrad
z-notation
is ist possible to write text in z-notation with lyx? do i need an addon? http://en.wikipedia.org/wiki/Z_notation thanx, marcel
Re: How to reference LyX ?
Hi, I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006. ( http://www.ploscompbiol.org/article/info:doi%2F10.1371%2Fjournal.pcbi.0020087;jsessionid=B76860F0A3FA596157C261BE4F6AD90E ) not sure whether this is a standard though. if you need authors you can write LyX Team ;) pavel
Re: The index numbers overlap with the titles
Could anybody help me? This time I attached the lyx code bellow, which demonstrate the bug. I'm hoping for a quick response, since I'm supposed to turn in the thesis in days. Thanks for your help! #LyX 1.5.6 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass amsbook \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \end_header \begin_body \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter I \end_layout \begin_layout Section jkhk \end_layout \begin_layout Subsection vbcb \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \end_layout \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \begin_layout Subsection adfsd \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \end_body \end_document
Re: z-notation
Marcel Holle wrote: is ist possible to write text in z-notation with lyx? do i need an addon? http://en.wikipedia.org/wiki/Z_notation If you can do it in LaTeX, you can do it in LyX. And I'd guess you can do it in LaTeX, though I do not know. rh
Re: Helper function/shortcut
Frank Grimm wrote: On 25/11/2008 14:33, rgheck wrote: Frank Grimm wrote: I tried the following command sequence command-sequence font-ital; self-insert i.e.; font-ital where I replaced font-emph in your suggestion with font-ital since I don't want the i.e. the be emphasized, but just in italic shape. But when I use the shortcut for this command LyX tells me that the command is disabled. Are there any restrictions for the font-ital command that the font-emph command doesn't have? Apparently, yes. This seems like a bug. In fact, from what I can tell, font-ital never does anything in the current code. I'm using font-emph for now, as you suggested. But I'm not sure whether font-ital and font-emph have the same meaning. It doesn't matter to me since both font styles result in the text being set in the same italic font when using pdflatex output, but maybe for other output formats different fonts are used. font-emph produces emphasis, whatever the existing font. Exactly what it does is determined by LaTeX. So emphasizing something emphasized makes sense. font-ital just turns on italics. You can italicize what's already italicized. Richard
Re: The index numbers overlap with the titles
On Wednesday 26 November 2008, Laser Yuan wrote: Could anybody help me? This time I attached the lyx code bellow, which demonstrate the bug. I'm hoping for a quick response, since I'm supposed to turn in the thesis in days. Thanks for your help! This works for me. Look at the Preamble. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html #LyX 1.5.4 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass amsbook \begin_preamble \makeatletter [EMAIL PROTECTED]@tocline{0}{3pt plus2pt}{0pt}{3.3em}{}} \makeatother \end_preamble \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter I \end_layout \begin_layout Section jkhk \end_layout \begin_layout Subsection vbcb \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \end_layout \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \begin_layout Subsection adfsd \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \end_body \end_document fig_1.pdf Description: Adobe PDF document
Re: Bad PDF generated from LyX
Resend without the attachment since I cannot send anything 60K. Max Bian wrote: Hi. I am having trouble with EPS files converted from PNG from Adobe Photoshop. I saved the PNG as EPS using Photoshop EPS option. I can view the EPS file and the final output in PS format fine in GSView. However if I view PDF ( I believe it runs pdflatex), Adobe Reader (v.8) says There was an error processing a page. There was a problem reading this document (18).. The page with the figure is blank. Is there a way to fix this? I have attached the EPS image in question. Thanks. Max
Re: Bad PDF generated from LyX
Never mind. The problem appears to be caused by the binary encoding format I selected. I selected ASCII encoding the problem has disappeared. Btw, for anyone who includes screenshots in their documents, enabling Image Interpolation in Photoshop EPS conversion will create a much better looking PDF file. Including bitmap files directly will lead to very fuzzy results when the PDF display resolution does not match the native capture resolution of the screenshot. Max Max Bian wrote: Resend without the attachment since I cannot send anything 60K. Max Bian wrote: Hi. I am having trouble with EPS files converted from PNG from Adobe Photoshop. I saved the PNG as EPS using Photoshop EPS option. I can view the EPS file and the final output in PS format fine in GSView. However if I view PDF ( I believe it runs pdflatex), Adobe Reader (v.8) says There was an error processing a page. There was a problem reading this document (18).. The page with the figure is blank. Is there a way to fix this? I have attached the EPS image in question. Thanks. Max
Re: How to change pdf viewer?
On Wed, Nov 26, 2008 at 3:21 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Don't have time to try right now, but look what in Preferences-File Formats the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that instead of pdf2 in the ui files. You should only need to change in stdtoolbars.inc Item View PDF (pdflatex) buffer-view pdf2 Item Update PDF (pdflatex) buffer-update pdf2 by Item View PDF (pdflatex) buffer-view pdf3 Item Update PDF (pdflatex) buffer-update pdf3 . silly me! I had tried with pdf1 and pdf0 :) Now it works, the only minor problem is that the button has no icon, but a long label. You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) I'm using linux, so I would rather not modify a system file. I will just keep the copy of the modified interface files in my users preferences folder (~/.lyx/) /Konrad Thanks a lot, Emme
Re: How to change pdf viewer?
muzzle wrote: Now it works, the only minor problem is that the button has no icon, but a long label. I am not sure if this is hardcoded, but try the following: Look in LyX's images folder, there is e.g. a file buffer-view_pdf2.png Make a copy of it and call it buffer-view_pdf3.png in the same directory. Maybe LyX picks it up. Maybe it can also live in ~/.lyx/images You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) I'm using linux, so I would rather not modify a system file. I will just keep the copy of the modified interface files in my users preferences folder (~/.lyx/) This is much better, of course. But keep in mind that with new versions these files do NOT get updated automatically, so you won't inherit any changes. /Konrad
Re: LyX and Docbook/XML
On Friday 21 November 2008 16:18:35 Ethan Metsger wrote: Hi, all. I promise I'll be quiet after this post--I don't mean to pester (or imply by any stretch that I'm unhappy with LyX in general!). But can anyone comment on this? I would have done before if I had not been victim of a cold. :-) For what it's worth, I really do like LyX, and I'm not trying to troll or put on anyone. I'm just curious about the capabilities and hoping not a little to spur its adoption among my general work populace. What are the problems that you have encountered. I am interested to fix them in both the stable and the development series. I am specially interested in the problems you are having with the xml generated docbook. Thanks again, Ethan -- José Abílio
Re: displaying long division of polynomials in lyx
On 2008-11-26, Stefan Schimanski wrote: Am 26.11.2008 um 09:39 schrieb Guenter Milde: Jamesdaff [EMAIL PROTECTED] schrieb: I see there is a cool package on CTAN (polynom) which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). a) read the manual b) in LyX insert the LaTeX commands in raw mode, evil red text (ERT). Press Ctrl-l to get the ERT box. Instead of evil red text I would define some math macros which have the ERT in the Latex box and some nice looking placeholder in the LyX box. Of course you won't get real WYSIWYG output in LyX, but that's probably not needed anyway. From browsing the polynom documentatin, I assume that the commands are to be inserted in text mode, not in math mode. In this case, math-macros cannot be used (or at least do not provide an improvement). Günter
Re: LyX and Docbook/XML
On Wed, 26 Nov 2008 14:48:26 -0500, José Matos [EMAIL PROTECTED] wrote: I would have done before if I had not been victim of a cold. :-) I'm currently recovering from one, too--no worries about the delay. What are the problems that you have encountered. I am interested to fix them in both the stable and the development series. I am specially interested in the problems you are having with the xml generated docbook. I'll file some bug reports (and throw them back in this thread), but in general it looks like the book tag is improperly generated (using 'lang=EN_US' appears to be invalid), and I have not been able to get graphics properly embedded in the HTML output. The authorinfo section is also not properly outputted; I suspect this can be fixed pretty easily by layout changes, but I'm not sure. The user-customized preamble is put into the doctype declaration, too--I don't really consider this a bug, but I was a little surprised to find it in the output. LyX is also a few revisions behind in its DocBook support, at least according to the doctype (I think 4.4 is the last 4.x revision, and 5.x is current; the generated XML says that it's using 4.2). I've used both the sgmltools package and the sgml2x package. I'll make sure to describe the pertinent information in the bugzilla filings when the time comes, as the two seem to work slightly differently. Thanks again for all your hard work, guys; I really do appreciate it. Best, Ethan ([EMAIL PROTECTED])
navigating to a graphic float
With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the NavigateList of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this feature? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter
Re: navigating to a graphic float
Guenter Milde wrote: ... It is a real show-stopper for my thesis work. Are you looking for excuses? /Konrad ... also just writing on his thesis. ;-)
Re: navigating to a graphic float
Guenter Milde skrev: With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the NavigateList of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this feature? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter Yes, I can confirm that behavior in Lyx 1.6.0 in OpenSuse 10.3, Windows XP an Vista. Very annoying but still all versions work pretty steadily without any crashes for me. r. Niklas
Re: z-notation
And I'd guess you can do it in LaTeX, though I do not know. yes you can, guidance for latex macros is even part of the ISO standard for Z syntax. pavel
Re: navigating to a graphic float
On Wed, Nov 26, 2008 at 09:22:55PM +0100, Konrad Hofbauer wrote: Guenter Milde wrote: ... It is a real show-stopper for my thesis work. Are you looking for excuses? /Konrad ... also just writing on his thesis. ;-) But looking for excuses does not really help beyond seven years or so... Andre'
(Slightly OT): Can't install texlive on gentoo system
Hi, I'm trying to install LyX (my most important tool !;-) on my new system (Lenovo T61, gentoo-Linux, KDE-3.5.10) I saw several mentionings of gentoo systems, so I hope somebody can give me help. Although I'm working as root merge of texlive-core crashes with the error report: -- start -- /usr/bin/install -c -m 644 .libs/libkpathsea.so.4.1.0 usr/lib64/libkpathsea.so.4.1.0 ACCESS DENIED open_wr: /usr/lib64/libkpathsea.so.4.1.0 /usr/bin/install: cannot create regular file `/usr/lib64/libkpathsea.so.4.1.0': Permission denied make[2]: *** [install-exec] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk/kpathsea' make[1]: *** [install] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk' make: *** [install] Fehler 1 * * ERROR: app-text/texlive-core-2008-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3006: Called einstall 'bindir=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/bin' 'texmf=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/share/texmf' 'run_texlinks=true' 'run_mktexlsr=true' * ebuild.sh, line 567: Called die * The specific snippet of code: * $@ install || die einstall failed * The die message: * einstall failed -- end -- I don't see what's going wrong, any help appreciated. TIA Hellmut -- Dr. Hellmut Weber [EMAIL PROTECTED] Degenfeldstraße 2 tel +49-89-3081172 D-80803 München-Schwabing mobil +49-172-8450321 please: No DOCs, no PPTs. why: tinyurl.com/cbgq
Re: navigating to a graphic float
On Wed, 2008-11-26 at 22:32 +0200, Niklas Huldén wrote: Guenter Milde skrev: With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the NavigateList of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this feature? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter Yes, I can confirm that behavior in Lyx 1.6.0 in OpenSuse 10.3, Windows XP an Vista. Very annoying but still all versions work pretty steadily without any crashes for me. r. Niklas The same for me (as Niklas): very stable LyX 1.6 under Ubuntu 8.10, navigation to floats (figures) always ends-up (always did in all versions I've used) below the figure. Regards, Nikos
(Slightly OT): Same happens with tetex on gentoo system
Hi, next try was tetex with essentially the same result. Anybody understanding what's happening? Without LyX I can't do my work which is in big part production of documents of all types. (On my old machine LyX-1.6.0 now works like a charm, every day I discover new (for me) features which make live easier. Thanks to all of you! Hellmut -- Dr. Hellmut Weber [EMAIL PROTECTED] Degenfeldstraße 2 tel +49-89-3081172 D-80803 München-Schwabing mobil +49-172-8450321 please: No DOCs, no PPTs. why: tinyurl.com/cbgq
Re: (Slightly OT): Can't install texlive on gentoo system
* ERROR: app-text/texlive-core-2008-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3006: Called einstall 'bindir=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/bin' 'texmf=/var/tmp/portage/app-text/texlive-core-2008-r4/image//usr/share/texmf' 'run_texlinks=true' 'run_mktexlsr=true' * ebuild.sh, line 567: Called die * The specific snippet of code: * $@ install || die einstall failed * The die message: * einstall failed -- end -- I don't see what's going wrong, any help appreciated. this has nothing to do with lyx and best help you can get is on gentoo bugzilla. pavel
Equation numbering
Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Re: Equation numbering
HI Paula Piece of cake. In LyX, go into Document - Settings. On the Document Class page there is an area for class options. Put leqno in the custom options box and it will use the leqno LaTeX option which puts equations on the left. -Neil = Neil Hepburn, Economics Instructor Department of Social Sciences, Augustana Faculty University of Alberta 4901-46 Avenue Camrose, Alberta T4V 2R3 Phone (780) 679-1588 email [EMAIL PROTECTED] On 26-Nov-08, at 7:36 PM, Paulina Restrepo wrote: Hi, I use Lyx 1.5.1 on Mac OS. Right now I have all my equations numbered but the label appears to the far right of the equation, I'm wondering if its possible to make the label appear at the far left of the equation. Thank you very much for your help, Paulina
Get the chapter/section/subsection numbering as frame-notes
Hi all! Is there any quick-hack to *move* chapter/section/subsection numbers off the main text-body, e.g. move it to the frame (well... left from the main text)? Something like... 1 Title of Chapter 1 This is chapter 1 - This is chapter 1 - This is chapter 1 2 Title of Chapter 2 This is chapter 2 - This is chapter 2 - This is chapter 2 2.1This is Section 2.1 2.2.1 This is SubSection 2.2.1 Kind Regards, Nikos
Re: Cross-reference after changing enumerate
Peter Smith wrote: I have changed the numbering of the enumerate environment by inserting the following into the LaTeX preamble: \renewcommand{\labelenumi}{\Roman{enumi}.} \renewcommand{\labelenumii}{\Alph{enumii}.} \renewcommand{\labelenumiii}{\arabic{enumiii}.} \renewcommand{\labelenumiv}{\alph{enumiv}.)} (This is the example from the Additional Features Manual) The enumerated list looks great, but when I want to cross-reference one of the points, the label does not coincide with the new numbering scheme. Can anyone help me fix this? I have attached an example LyX file and pdf output. I am using Lyx 1.6.0 on Windows XP, with MiKTeX 2.5. Pete HI, Peter. I'm also use windows XP, and Lyx 1.6.0. I tested it. I think you have forgot setting the document profile to support "cross reference". menu->document setting->PDF properties->*Use hyperref support*. If this is enabled. In my computer, your problem can be solved. Good Luck!
Re: displaying long division of polynomials in lyx
Jamesdaff <[EMAIL PROTECTED]> schrieb: > I'm writing an Algebra textbook and I need to show division of polynomials > (both long division and synthetic division / Horner's method). I am new to > LyX, and have just kind of been stumbling my way through what I need to know > to get by. I see there is a cool package on CTAN ("polynom") which would be > cool to use, but I have absolutely no idea how I would use that in LyX. Is > it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). The installation procedure depends on your system and the LaTeX distribution you use, but basically means: 1. download 2. put into ~/texmf/tex/latex/ or /usr/local/share/texmf/tex/latex/ (on a Unix machine) 3. run texhash 4. reconfigure LyX (only for packages recognised by LyX) (i.e. not needed for polynom) To use the commands, a) read the manual b) in LyX insert the LaTeX commands in raw mode, "evil red text" (ERT). Press Ctrl-l to get the ERT box. Alternatively, experiment with the math editor and read the Help>Math handbook. Günter
Re: displaying long division of polynomials in lyx
Am 26.11.2008 um 09:39 schrieb Guenter Milde: Jamesdaff <[EMAIL PROTECTED]> schrieb: I'm writing an Algebra textbook and I need to show division of polynomials (both long division and synthetic division / Horner's method). I am new to LyX, and have just kind of been stumbling my way through what I need to know to get by. I see there is a cool package on CTAN ("polynom") which would be cool to use, but I have absolutely no idea how I would use that in LyX. Is it even possible? You can use it (as almost every LaTeX package) but there is no GUI support (out of the box). The installation procedure depends on your system and the LaTeX distribution you use, but basically means: 1. download 2. put into ~/texmf/tex/latex/ or /usr/local/share/texmf/tex/latex/ (on a Unix machine) 3. run texhash 4. reconfigure LyX (only for packages recognised by LyX) (i.e. not needed for polynom) To use the commands, a) read the manual b) in LyX insert the LaTeX commands in raw mode, "evil red text" (ERT). Press Ctrl-l to get the ERT box. Instead of "evil red text" I would define some math macros which have the ERT in the Latex box and some nice looking placeholder in the LyX box. Of course you won't get real WYSIWYG output in LyX, but that's probably not needed anyway. Stefan
Re: use of xcolor in LyX
Hi all, sorry for having sent my suggestion about how to define the url color just to Nikos and not to the list. This was because I forgot to use Reply all. I use \usepackage[usenames]{color} and the hyperref package with the article class so I wasn't aware about the conflicts between the hyperref package and the koma-script book class which Nikos has noticed. I couldn't provide any further advice about that but maybe the Koma script manual gives some useful suggestion. Pierfranco 2008/11/26 Nikos Alexandris <[EMAIL PROTECTED]> > On Tue, 2008-11-25 at 12:37 +0100, Pierfranco Minsenti wrote: > > Hi Nikos, > > > > use this commands in the premable: > > > > \usepackage[usenames]{color} %this package should not be put in the > > preamble in the case you use the coloured LyX Note, that is the one > > which also appears in the PDF file as some coloured text line, because > > in this case LyX authomatically charge the package > > > > \definecolor{myblue}{RGB}{0,47,76} > > > > \hypersetup{urlcolor=myblue,} > > > > Pierfranco > > Hi! > > I tried to follow your suggestion but I get some error messages. (I'll > give you a complete feedback later). I am using the koma-book script and > the error messages had to do with the hyperef package being already used > or something. > > Thank you, Nikos > > P.S. Shouldn't we keep this on-line? Maybe some *beginner like me* will > need this piece of information. >
Re: Lyx 1.6 on ubuntu 8.04
Original-Nachricht > Datum: Tue, 18 Nov 2008 21:14:35 + > Von: Graham Smith <[EMAIL PROTECTED]> > An: lyx-users@lists.lyx.org > Betreff: Re: Lyx 1.6 on ubuntu 8.04 > Paul > >> Will this result in all packages being updated through the deb > >> repository rather than the Ubuntu repository? > >> > >> Or does the "sid" bit restrict it to the Lyx files. > > > > No, SID doesn't restrict it to LyX, and you're right in not wanting to > > update other stuff from there. The trick is to enable the Debian SID > > repository (it will automatically be enabled when you first enter it), > > use Synaptic to install LyX (ignoring any messages to the effect that > > you have updates for 2,387 packages available), then go back into > > Sources (or Settings -> Repositories from within Synaptic) and disable > > the mirror (but leave it defined, in case you need it again). If the > > "you have updates" bug is still displaying, use the Reload button in > > Synaptic to refresh the package list. > > Thanks again :-) > > Graham Hm, I don't think it's a good idea to use a sid repository in ubuntu, especially not in the older 8.04. There happen to be backports for LyX at getdeb: http://www.getdeb.net/app/LyX However, it's still rc3 for hardy there. Well, if you like them you could also use the packages I have been building and linking in the LyX Wiki for some time now. They are not checkinstall packages but packaged "by hand" and they also pull in a reasonable set of dependencies: http://wiki.lyx.org/LyX/Download (feel free to comment on those here anyway) Phil
Re: How to reference LyX ?
On Wed, 26 Nov 2008, Pavel Sanda wrote: I want to refernce LyX in a paper I'm writing, do you have a bibliographic reference ? i just looked into some paper in PLoS and bibliographical entry was like this: "Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006." I think referring to www.lyx.org as per above is good enough. /Christian PS. I don't know if it's an option to cite the entry about LyX in Wikipedia. If so, see this page: http://en.wikipedia.org/w/index.php?title=Special:Cite=LyX=252337015 They automatically generate this entry: @misc{ wiki:xxx, author = "Wikipedia", title = "LyX --- Wikipedia{,} The Free Encyclopedia", year = "2008", url = "\url{http://en.wikipedia.org/w/index.php?title=LyX=252337015};, note = "[Online; accessed 26-November-2008]" } You could simply modify that to refer to the 'The LyX project', or 'LyX'. -- Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr
Re: includegraphics - a newbie question
> *.png test file there and tied to preview the PDF but got an error message > about not being able to determine the bounding box. I put my own width > and height into the dialog box but got the same error message. this usually won't happen. maybe something strange with that png file or the tex distro. pavel
Re: How to reference LyX ?
2008/11/26 Christian Ridderström <[EMAIL PROTECTED]>: > On Wed, 26 Nov 2008, Pavel Sanda wrote: > >>> I want to refernce LyX in a paper I'm writing, do you have a >>> bibliographic reference ? >> >> i just looked into some paper in PLoS and bibliographical entry was like >> this: "Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006." > > I think referring to www.lyx.org as per above is good enough. > > /Christian > > PS. I don't know if it's an option to cite the entry about LyX in Wikipedia. > If so, see this page: > > > http://en.wikipedia.org/w/index.php?title=Special:Cite=LyX=252337015 > > They automatically generate this entry: > > @misc{ wiki:xxx, > author = "Wikipedia", > title = "LyX --- Wikipedia{,} The Free Encyclopedia", > year = "2008", > url = > "\url{http://en.wikipedia.org/w/index.php?title=LyX=252337015};, > note = "[Online; accessed 26-November-2008]" > } > > You could simply modify that to refer to the 'The LyX project', or 'LyX'. > > -- > Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr From Bibtex point of view and proper title generation in Bibliography this entry should be more like this: @misc{ wiki:xxx, author = "Wikipedia", title = "Ly{X} --- {W}ikipedia{,} {T}he {F}ree {E}ncyclopedia", year = "2008", url = "\url{http://en.wikipedia.org/w/index.php?title=LyX=252337015};, note = "[Online; accessed 26-November-2008]" } In other cases plenty Bibtex styles may reduce CAPS in title to "Lyx --- wikipedia, the free encyclopedia". -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: How to reference LyX ?
> From Bibtex point of view and proper title generation in Bibliography > this entry should be more like this: > > @misc{ wiki:xxx, > author = "Wikipedia", > title = "Ly{X} --- {W}ikipedia{,} {T}he {F}ree {E}ncyclopedia", > year = "2008", > url = "\url{http://en.wikipedia.org/w/index.php?title=LyX=252337015};, > note = "[Online; accessed 26-November-2008]" > } but you haven't used wikipedia, you used lyx. pavel
Re: Lyx 1.6 on ubuntu 8.04
On Wed, Nov 26, 2008 at 10:12:53AM +0100, [EMAIL PROTECTED] wrote: > Well, if you like them you could also use the packages I have been building > and linking in the LyX Wiki for some time now. They are not checkinstall > packages but packaged "by hand" and they also pull in a reasonable set of > dependencies: http://wiki.lyx.org/LyX/Download (feel free to comment on those > here anyway) I'm pretty sure I ranted about it before - when you don't use external boost libs you should not depend on them. I'm not sure if pulling in useless libs is something 'reasonable'. What's so hard about simply using the latest /debian/ directory provided in Debian and Ubuntu and just tweak where needed? Using pbuilder to build the package as plus. And consider publishing sources for GPL'ed stuff. Sven
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer <[EMAIL PROTECTED]> wrote: > muzzle wrote: >> >> Well, I do have several options in the menu, but I would like to >> change the default for the toolbar button, is it possible? > > Not with the GUI, I believe. > > It should be possible by creating your own *.ui files. > Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your > own set of *.ui and *.inc files, put them in your user-directory and select > them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item "View PDF (pdflatex)" "buffer-view pdf2" Item "Update PDF (pdflatex)" "buffer-update pdf2" in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Cheers, Emme > > /Konrad >
Re: How to change pdf viewer?
muzzle wrote: On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer <[EMAIL PROTECTED]> wrote: muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. Hi, sorry for the late resurrection of the thread I tried to work on this, failed, left the problem aside. This morning I tried again but with no luck yet I copied the content of the ui directory inside .lyx/ui as you suggested and tried to modify the menus. The relevant lines seem to be: Item "View PDF (pdflatex)" "buffer-view pdf2" Item "Update PDF (pdflatex)" "buffer-update pdf2" in but stdtoolbars.inc, I tried to change it but I made lyx crash, I could not guess how to get it to use dvipdfm. I suppose I could copy the code from the entry in the File menu, but I could not find it. Do you have any idea how to solve this? Don't have time to try right now, but look what in Preferences->File Formats the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that instead of pdf2 in the ui files. You should only need to change in stdtoolbars.inc Item "View PDF (pdflatex)" "buffer-view pdf2" Item "Update PDF (pdflatex)" "buffer-update pdf2" by Item "View PDF (pdflatex)" "buffer-view pdf3" Item "Update PDF (pdflatex)" "buffer-update pdf3" . You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) /Konrad
z-notation
is ist possible to write text in z-notation with lyx? do i need an addon? http://en.wikipedia.org/wiki/Z_notation thanx, marcel
Re: How to reference LyX ?
> Hi, > > I want to refernce LyX in a paper I'm writing, do you have a bibliographic > reference ? i just looked into some paper in PLoS and bibliographical entry was like this: "Bugzilla. Available: http://www.bugzilla.org. Accessed 10 July 2006." ( http://www.ploscompbiol.org/article/info:doi%2F10.1371%2Fjournal.pcbi.0020087;jsessionid=B76860F0A3FA596157C261BE4F6AD90E ) not sure whether this is a standard though. if you need authors you can write LyX Team ;) pavel
Re: The index numbers overlap with the titles
Could anybody help me? This time I attached the lyx code bellow, which demonstrate the bug. I'm hoping for a quick response, since I'm supposed to turn in the thesis in days. Thanks for your help! #LyX 1.5.6 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass amsbook \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \end_header \begin_body \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter I \end_layout \begin_layout Section jkhk \end_layout \begin_layout Subsection vbcb \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \end_layout \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \begin_layout Subsection adfsd \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \end_body \end_document
Re: z-notation
Marcel Holle wrote: is ist possible to write text in z-notation with lyx? do i need an addon? http://en.wikipedia.org/wiki/Z_notation If you can do it in LaTeX, you can do it in LyX. And I'd guess you can do it in LaTeX, though I do not know. rh
Re: Helper function/shortcut
Frank Grimm wrote: On 25/11/2008 14:33, rgheck wrote: Frank Grimm wrote: I tried the following command sequence command-sequence font-ital; self-insert i.e.; font-ital where I replaced font-emph in your suggestion with font-ital since I don't want the i.e. the be emphasized, but just in italic shape. But when I use the shortcut for this command LyX tells me that the command is disabled. Are there any restrictions for the font-ital command that the font-emph command doesn't have? Apparently, yes. This seems like a bug. In fact, from what I can tell, font-ital never does anything in the current code. I'm using font-emph for now, as you suggested. But I'm not sure whether font-ital and font-emph have the same meaning. It doesn't matter to me since both font styles result in the text being set in the same italic font when using pdflatex output, but maybe for other output formats different fonts are used. font-emph produces emphasis, whatever the existing font. Exactly what it does is determined by LaTeX. So emphasizing something emphasized makes sense. font-ital just turns on italics. You can italicize what's already italicized. Richard
Re: The index numbers overlap with the titles
On Wednesday 26 November 2008, Laser Yuan wrote: > Could anybody help me? This time I attached the lyx code bellow, which > demonstrate the bug. I'm hoping for a quick response, since I'm supposed to > turn in the thesis in days. Thanks for your help! > This works for me. Look at the Preamble. -- Les ~~ Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html #LyX 1.5.4 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass amsbook \begin_preamble \makeatletter [EMAIL PROTECTED]@tocline{0}{3pt plus2pt}{0pt}{3.3em}{}} \makeatother \end_preamble \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter I \end_layout \begin_layout Section jkhk \end_layout \begin_layout Subsection vbcb \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \end_layout \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \begin_layout Subsection adfsd \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Standard \begin_inset Caption \begin_layout Standard Overlap \end_layout \end_inset \end_layout \begin_layout Standard \end_layout \end_inset \end_layout \end_body \end_document fig_1.pdf Description: Adobe PDF document
Re: Bad PDF generated from LyX
Resend without the attachment since I cannot send anything > 60K. Max Bian wrote: Hi. I am having trouble with EPS files converted from PNG from Adobe Photoshop. I saved the PNG as EPS using "Photoshop EPS" option. I can view the EPS file and the final output in PS format fine in GSView. However if I view PDF ( I believe it runs pdflatex), Adobe Reader (v.8) says "There was an error processing a page. There was a problem reading this document (18).". The page with the figure is blank. Is there a way to fix this? I have attached the EPS image in question. Thanks. Max
Re: Bad PDF generated from LyX
Never mind. The problem appears to be caused by the "binary" encoding format I selected. I selected ASCII encoding the problem has disappeared. Btw, for anyone who includes screenshots in their documents, enabling "Image Interpolation" in Photoshop EPS conversion will create a much better looking PDF file. Including bitmap files directly will lead to very fuzzy results when the PDF display resolution does not match the native capture resolution of the screenshot. Max Max Bian wrote: Resend without the attachment since I cannot send anything > 60K. Max Bian wrote: Hi. I am having trouble with EPS files converted from PNG from Adobe Photoshop. I saved the PNG as EPS using "Photoshop EPS" option. I can view the EPS file and the final output in PS format fine in GSView. However if I view PDF ( I believe it runs pdflatex), Adobe Reader (v.8) says "There was an error processing a page. There was a problem reading this document (18).". The page with the figure is blank. Is there a way to fix this? I have attached the EPS image in question. Thanks. Max
Re: How to change pdf viewer?
On Wed, Nov 26, 2008 at 3:21 PM, Konrad Hofbauer <[EMAIL PROTECTED]> wrote: > muzzle wrote: >> >> On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer >> <[EMAIL PROTECTED]> wrote: >>> >>> muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? >>> >>> Not with the GUI, I believe. >>> >>> It should be possible by creating your own *.ui files. >>> Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create >>> your >>> own set of *.ui and *.inc files, put them in your user-directory and >>> select >>> them in the Preferences. >> >> Hi, >> sorry for the late resurrection of the thread >> I tried to work on this, failed, left the problem aside. This morning >> I tried again but with no luck yet >> >> I copied the content of the ui directory inside .lyx/ui as you >> suggested and tried to modify the menus. >> The relevant lines seem to be: >> >>Item "View PDF (pdflatex)" "buffer-view pdf2" >>Item "Update PDF (pdflatex)" "buffer-update pdf2" >> >> in but stdtoolbars.inc, I tried to change it but I made lyx crash, I >> could not guess how to get it to use dvipdfm. I suppose I could copy >> the code from the entry in the File menu, but I could not find it. >> >> Do you have any idea how to solve this? > > Don't have time to try right now, but look what in Preferences->File Formats > the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that > instead of pdf2 in the ui files. > > You should only need to change in stdtoolbars.inc >Item "View PDF (pdflatex)" "buffer-view pdf2" >Item "Update PDF (pdflatex)" "buffer-update pdf2" > by >Item "View PDF (pdflatex)" "buffer-view pdf3" >Item "Update PDF (pdflatex)" "buffer-update pdf3" > . silly me! I had tried with pdf1 and pdf0 :) Now it works, the only minor problem is that the button has no icon, but a long label. > > You can FIRST try to directly change the files in the LyX.app, and if that > works, migrate the changed files into the user-dir and restore the original > LyX.app (otherwise you will loose them again with the next update) > I'm using linux, so I would rather not modify a system file. I will just keep the copy of the modified interface files in my users preferences folder (~/.lyx/) > > /Konrad > Thanks a lot, Emme
Re: How to change pdf viewer?
muzzle wrote: Now it works, the only minor problem is that the button has no icon, but a long label. I am not sure if this is hardcoded, but try the following: Look in LyX's "images" folder, there is e.g. a file buffer-view_pdf2.png Make a copy of it and call it buffer-view_pdf3.png in the same directory. Maybe LyX picks it up. Maybe it can also live in ~/.lyx/images You can FIRST try to directly change the files in the LyX.app, and if that works, migrate the changed files into the user-dir and restore the original LyX.app (otherwise you will loose them again with the next update) I'm using linux, so I would rather not modify a system file. I will just keep the copy of the modified interface files in my users preferences folder (~/.lyx/) This is much better, of course. But keep in mind that with new versions these files do NOT get updated automatically, so you won't inherit any changes. /Konrad
Re: LyX and Docbook/XML
On Friday 21 November 2008 16:18:35 Ethan Metsger wrote: > Hi, all. > > I promise I'll be quiet after this post--I don't mean to pester (or imply > by any stretch that I'm unhappy with LyX in general!). But can anyone > comment on this? I would have done before if I had not been victim of a cold. :-) > For what it's worth, I really do like LyX, and I'm not trying to troll or > put on anyone. I'm just curious about the capabilities and hoping not a > little to spur its adoption among my general work populace. What are the problems that you have encountered. I am interested to fix them in both the stable and the development series. I am specially interested in the problems you are having with the xml generated docbook. > Thanks again, > > Ethan -- José Abílio
Re: displaying long division of polynomials in lyx
On 2008-11-26, Stefan Schimanski wrote: > Am 26.11.2008 um 09:39 schrieb Guenter Milde: >> Jamesdaff <[EMAIL PROTECTED]> schrieb: >>> I see there is a cool package on CTAN ("polynom") which would be cool >>> to use, but I have absolutely no idea how I would use that in LyX. >>> Is it even possible? >> You can use it (as almost every LaTeX package) but there is no GUI >> support (out of the box). >> a) read the manual >> b) in LyX insert the LaTeX commands in raw mode, "evil red >> text" (ERT). >> Press Ctrl-l to get the ERT box. > Instead of "evil red text" I would define some math macros which have > the ERT in the Latex box and some nice looking placeholder in the LyX > box. Of course you won't get real WYSIWYG output in LyX, but that's > probably not needed anyway. >From browsing the polynom documentatin, I assume that the commands are to be inserted in text mode, not in math mode. In this case, math-macros cannot be used (or at least do not provide an improvement). Günter
Re: LyX and Docbook/XML
On Wed, 26 Nov 2008 14:48:26 -0500, José Matos <[EMAIL PROTECTED]> wrote: I would have done before if I had not been victim of a cold. :-) I'm currently recovering from one, too--no worries about the delay. What are the problems that you have encountered. I am interested to fix them in both the stable and the development series. I am specially interested in the problems you are having with the xml generated docbook. I'll file some bug reports (and throw them back in this thread), but in general it looks like the tag is improperly generated (using 'lang="EN_US"' appears to be invalid), and I have not been able to get graphics properly embedded in the HTML output. The section is also not properly outputted; I suspect this can be fixed pretty easily by layout changes, but I'm not sure. The user-customized preamble is put into the doctype declaration, too--I don't really consider this a bug, but I was a little surprised to find it in the output. LyX is also a few revisions behind in its DocBook support, at least according to the doctype (I think 4.4 is the last 4.x revision, and 5.x is current; the generated XML says that it's using 4.2). I've used both the sgmltools package and the sgml2x package. I'll make sure to describe the pertinent information in the bugzilla filings when the time comes, as the two seem to work slightly differently. Thanks again for all your hard work, guys; I really do appreciate it. Best, Ethan ([EMAIL PROTECTED])
navigating to a graphic float
With LyX 1.6 on Debian. Whenever I want to navigate to a figure float (from both, the Navigate>List of figures and via the go-to-mark button from the insert cross-reference dialogue), I land somewhat below the figure. In longer documents with a lot of figures, the position is off more than a screen-hight (up to 3 times). I do not see the inteded float and only have to guess the direction to go (mostly down). Did anyone else experience this "feature"? It is a real show-stopper for my thesis work. (I cannot reproduce it with the User Guide, as there are almost no figures.) Günter