Re: a guide for get a 1.6.0 crash
Jens Noeckel wrote: Yes, the crash I saw does indeed seem to be fixed in today's newly released LyX 1.6.1. Excellent. Jürgen
Re: bug: font status display not updated
Jan Engelhardt wrote: inor thing I noticed in LyX 1.6.1: I observed that starting a LyX-Code section using Alt-P,C does not mention the new font in the statusbar -- it still says Font: Default. Only after moving the cursor away and back on the lyxcode paragraph will it say Font: Typewriter. Confirmed. Could you file a report, please? Jürgen
Re: Custom Bibliography
Hallo everyone... this is getting me really tired :(On my computer bibliography works like a charm and it really is so nice to use and see, but today I finally managed to have my girlfriend stay sitted on the damned chair, to explain her how to use it and, of course, it didn't work :( You know, when you have to show something cool to someone important, well, it simply doesn't work having you look like a stupid geek or something. Well, now, the problem is that I followed the same steps you showed me before with her computer too, so, no jokes. I start by telling you I installed Lyx 1.6 over 1.5 as I did on my computer previously too (and on my mac it works nice, oh, we both have a mac). So, the first strange this is that when I insert the bibliography from the Insert menu, after I successfully load my Jabref database, in Style I see plainat of course, but I want apalike. So I click on the menu and... ta-dn!! There's only plainat... why the heck?! So I downloaded from the tex site the apalike package and manually browsed for that one. It shouldn't be necessary though, this is a problem, on my mac I see a huge number of entries already available!! (In case you where guessing, on both computers I installed the full 200+ MB Text distribution).. Then, when, in any part of the text body I try to insert a reference, choose only numerical [#ID] and try to generate a pdf, I see no bibliography at all at the end of the document and instead of the reference number only a bastard ? question mark without quotes... Of course, and that's cute, if I use the super option, the question mark is little over the words :) How swet... Please help me people. I tried everything I got. That is: - Removed and reinstalled Lyx. - re-executed the installer several times - eliminated the preferences folder so that lyx could create a new preferences folder by itself - tried the all thing on a new document - reinstalled the LATEX distribution package Nothing worked and honestly I'm out of ideas... :( Greetings, Luca D.M. 2008/12/12 rgheck rgh...@bobjweil.com Luca De Marini wrote: Thanks to everyone, reading the documents you linked, I managed to obtain the exact result I needed. Basically, I searched the wiki and never found the illustrated guide Dominik linked :) With that guide and using JabRef, as suggested by rgheck, I have now a fully setted and working bibliography for my own test document and will now teach my girlfriend how to achieve the same result :) Very nice, thanks a lot! But it is only perfect if used in combination with the super command suggested by rgheck :) It should be added to the illustrated guide indeed, in my opinion. You might want ot have a look now at the documentation for natbib, which you'll find here: http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/natbib.pdf and probably in natbib.dvi or natbib.pdf somewhere on your own machine. There are lots of other options that can be used. rh
hanging par strange behavior
The new feature Modules includes a module to hang paragrahs. Applying the style 'hanging' to the second paragraph of an article, the output doesn't show this second paragraph starting a new one, but following the last line of the first paragraph, with a little horizontal additional space. Then, hanging the third paragraph too, it outputs correctly as a new separate hanging paragrah It seems that the very first hanging paragraph following to a standard one doesn't start really a new paragraph. What's wrong? Thanks in advance Ignacio Garcia
Re: Missing basic packages in fresh LyX installation
peppergrower wrote: I'm used to TeXnicCenter and MikTex on Windows, but I decided to give LyX (1.55) a try on my Ubuntu 8.10 system, and I'm having difficulty creating PDFs. When I run pdflatex from within LyX, it keeps saying I'm missing basic packages: like subfigure, and wrapfig, and nomencl. If I manually install these in my local texmf directory, it doesn't halt on that package anymore...instead, it just brings up another one. I've installed texlive (though not texlive-full), and run texhash, and tried the 'reconfigure' option in LyX's Tools menu. What am I missing here? TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles clusters of them in one package. For instance, subfigure is in texlive-latex-extra (as are wrapfig and nomencl). IMHO there are two reasonable ways to go here: 1. In the Synaptic Package Manager, use the quick search box to find out which TeXLive package contains a missing LaTeX package (e.g., subfigure), then install it through Synaptic. Since the TeXLive bundles are rather big, that will likely take care of many of your needs. Repeat as needed. If you still lack a few (more obscure?) packages, download those from CTAN, install manually and run texhash. OR 2. There's a port of the MiKTeX package manager for Linux. Last I checked it still lacked a graphical interface, so you have to run it from a terminal. The advantage is that you can install individual packages as needed. Note that, unlike MiKTeX on Windows, you can't use it to install missing packages on the fly. If you have adequate disk space and bandwidth, I'd suggest doing #1 to get the bulk of the missing packages, then either manual download or the MiKTeX port for the odd individual packages. /Paul
Re: Missing basic packages in fresh LyX installation
Paul A. Rubin wrote: TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles clusters of them in one package. For instance, subfigure is in texlive-latex-extra (as are wrapfig and nomencl). This is of course only true for some distribution repackaging of TeXLive, not for TeXLive proper. [...] 2. There's a port of the MiKTeX package manager for Linux. Last I checked it still lacked a graphical interface, so you have to run it from a terminal. The advantage is that you can install individual packages as needed. Note that, unlike MiKTeX on Windows, you can't use it to install missing packages on the fly. TeXLive 2008 has a package manager as well, including a GUI, that lets you install and update individual packages. The only thing it doesn't, as opposed to MikTeX PM, is on-the-fly-installing. Jürgen
Re: hanging par strange behavior
Ignacio García wrote: The new feature Modules includes a module to hang paragrahs. Does the European Union allow this? Seems cruel. Now if LyX were developed in Texas ... :-) Applying the style 'hanging' to the second paragraph of an article, the output doesn't show this second paragraph starting a new one, but following the last line of the first paragraph, with a little horizontal additional space. Then, hanging the third paragraph too, it outputs correctly as a new separate hanging paragrah It seems that the very first hanging paragraph following to a standard one doesn't start really a new paragraph. What's wrong? It's either a bug or a very nonintuitive feature. I'll report it. Meanwhile, as a work-around, you can do the following. When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. HTH, Paul
custom equation numbering
How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Thanks! -Ivan
Re: hanging par strange behavior
Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. /Paul (who is gradually catching up to everyone else)
Re: Missing basic packages in fresh LyX installation
Jürgen Spitzmüller wrote: TeXLive 2008 has a package manager as well, including a GUI, that lets you install and update individual packages. The only thing it doesn't, as opposed to MikTeX PM, is on-the-fly-installing. Unfortunately, it's still not available from the Ubuntu repositories. One can of course install it manually (if one knows what one is doing).
Re: Missing basic packages in fresh LyX installation
Paul A. Rubin wrote: Unfortunately, it's still not available from the Ubuntu repositories. One can of course install it manually (if one knows what one is doing). I always use the official media (DVD) from the TUG, which is trivial to install (the only problem is getting your distro package management to ignore TeX). The distro repackagings of TeXLive I tested did not really excite me, to put it diplomatically. Jürgen
Re: custom equation numbering
Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type 3' (or 3^\prime if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
Re: custom equation numbering
Hi Ivan, Just to follow up on Paul's solution, you can go one step further and make the equation number automatic. Suppose that you have equation (3) and you also have a rewritten form of that equation, call it (3'). Do all of the steps that Paul has indicated, except rather than putting in the number 3, click on the cross-reference tool in the LyX toolbar. Then select the equation of interest and then apply. To refer to equation 3' elsewhere in the paper is a little in-elegant -- insert the cross reference to point to the original form of the equation, then go into math mode (inline equation) right after the cross reference and insert the prime symbol. Now, if you add or delete equations before the original equation, all of the numbers automatically update. -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 nhepb...@augustana.ca On 14-Dec-08, at 9:24 AM, Paul A. Rubin wrote: Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type 3' (or 3^\prime if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
Re: Computer Algebra System
I've found that the best way to use Maxima with LyX is to write all of the maxima commands in a comment box in LyX. I write them as if I were writing a batch file for Maxima. Then I simply copy and paste them into a maxima session. The last commands in a particular code block ask Maxima for a TeX version of the output. I then copy of the TeX output from Maxima and paste it into my LyX document inside and equation environment. Kind of klunky but it works. Also, the code that I used in Maxima is always available if I need to change something. -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 nhepb...@augustana.ca On 13-Dec-08, at 9:23 AM, Amir Rachum wrote: Hello, I'm trying to use the option Use Computer Algebra System under the Edit menu. I did have partial success using Maxima, but it only works when the expression I want to calculate is in it's own math box. I want it to calculate the latest part of my math calculations. like a = b*c = 6*7 but when I use maxima on the former line, I get a = a as it only reacts to the first part of the equation. Besides solving this problem, is there anywhere a documentation of this option, anywhere? -- Amir Rachum
rfe: \left \lfloor
Hi, support for automatic \lfloor-\rfloor in math, like there is for \left( \right), seems to be absent; could it be added in a future version? Jan
LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions.
Re: LyX can't find local packages
Hi, Paul A. Rubin ru...@... writes: The key is that LaTeX must know where to find the .sty file. So 1. Create the style file somewhere in the LaTeX directory structure (typically something like localtexmf/tex/latex/myNewClass/myclassname.sty). This has the side benefit of protecting the file from deletion is you upgrade either LyX or your TeX distro. Generally speaking you are right. The problem is that the package is developed very closely with the document (actually I'm implementing what I need as I go). By default LaTeX searches first the local directory, then the local texmf dir and last the different site wide ones. I'm looking for a way to keep the LyX file and the package together, if possible. Note that if this really is a document class, rather than a package, you'll need to make the extension .cls, you'll need to kludge together a LyX layout file for it, and you'll need to reconfigure LyX to find the layout (*after* you've done step 2). But I'm guessing you meant style rather than class above. Actually, I haven't decided yet whether to write only a package to override the document styles and tweak them as required, or to make it a complete new document class, hence my confusion with relating to it. Thanks, Guy
macros in the middle of the text
hello, i noticed that math macros exist. i want something similar, but in my text. i'm writing a text about a cs problem called minimum KT distance, which is a noun. and I'm really tired of typing that name and then setting it to be a noun. isn't there a quicker way? regards, niko
Re: custom equation numbering
Thanks Neil and Paul. Indeed, using the LaTeX command \tag seems like the best thing I could find---thanks for the specific tips regarding math modes and cross referencing, which I guess are good ideas, I had never thought of, in LaTeX editing as well. One of the greatest things of LyX is that it still allows entering LaTeX quite easily. I really value that. Although it would be nice for LyX to allow custom equation numbering natively, given how standard it is. -Ivan On Dec 14, 2008, at 12:20 PM, Neil Hepburn wrote: Hi Ivan, Just to follow up on Paul's solution, you can go one step further and make the equation number automatic. Suppose that you have equation (3) and you also have a rewritten form of that equation, call it (3'). Do all of the steps that Paul has indicated, except rather than putting in the number 3, click on the cross-reference tool in the LyX toolbar. Then select the equation of interest and then apply. To refer to equation 3' elsewhere in the paper is a little in-elegant -- insert the cross reference to point to the original form of the equation, then go into math mode (inline equation) right after the cross reference and insert the prime symbol. Now, if you add or delete equations before the original equation, all of the numbers automatically update. -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 nhepb...@augustana.ca On 14-Dec-08, at 9:24 AM, Paul A. Rubin wrote: Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type 3' (or 3^\prime if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
bug: applying prefs moves window
Hi, in Lyx 1.6.1, after preferences have been changed (such as choosing new fonts or colors), the window moves up a few pixels, seems like as much as my windowframe height is. I guess it gets the client size (which does not include WM decorations) and then uses that to set the window geometry (including the size for WM deco). Jan
Multicolumn... spacing between colums and background picture.
Hallo people, I tried to google for this a lot and to look into the wiki too, but seems like I cannot find it. I can ensure you I solved a lot of problems myself by the way :) So my first question is, is it possible, in a multicolumn document (I only managed to find the document on 2 colums option.. is is possible to create the doc on more colums?) to set the spacing between a column and the other? By default they are very very near, I near to set them a little more far from each other. the second question is, is it possible to apply a wallpaper picture to use as the layout background of the document? I wish I could apply a picture frame I can design. I know it is possible because I've seen this used in presentation files created with Lyx but I couldn't understand how did they manage to do it.. please help me. Greetings, Luca D.M.
Re: LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
Stoutemyer, David wrote: For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions. Why not trying Lyx 1.6? I think Lyx 1.5.4 is outdated.
Can I print an automatic character count?
I need to put a character count on my front page. Is there a way to do this automatically with Lyx / TeX /...? Using Lyx 1.6.0, OSX 10.5.5, MacTex 2008 (kept pretty much up to date). - - Jonas Ørting
Failed to start ispell?!
The ispell can be operated under terminals, however it can not be started in LyX. The error message was The spellchecker could not be started. LyX: Failed to start ispell! I already check the instruction, but I still cannot let it works. The current setting in LyX preference were: User Interface language : Default Default language : English (USA)Language package : \usepackage{babel} Command start : \selectlanguage{$$lang} Spellcheckerexecuable : ispell If I choose the aspell, the error message was The spellchecker could not be started. LyX: Failed to start ispell! If I choose the ispell, the error message was The spellchecker could not be started. LyX: Failed to start ispell! Please help me. Thanks. Michael
[ANNOUNCE] LyX 1.6.1 is released
Public release of LyX version 1.6.1 === We are pleased to announce the release of LyX 1.6.1. This is the first maintenance release in the brand-new 1.6.x series, and as such, it mainly focuses on bug fixes. We have ironed out some major problems that slipped into the application in the wake of the new features. All users of LyX 1.6.0 are encouraged to upgrade to this version. A detailed list of changes is appended below, remaining known problems are listed in the file RELEASE-NOTES. In case you are wondering what LyX is, here is what http://www.lyx.org/ has to say on the subject: LyX is a document processor that encourages an approach to writing based on the structure of your documents, not their appearance. It is released under a Free Software/Open Source license. LyX is for people that write and want their writing to look great, right out of the box. No more endless tinkering with formatting details, 'finger painting' font attributes or futzing around with page boundaries. You just write. In the background, Prof. Knuth's legendary TeX typesetting engine makes you look good. On screen, LyX looks like any word processor; its printed output -- or richly cross-referenced PDF, just as readily produced -- looks like nothing else. Gone are the days of industrially bland .docs, all looking similarly not-quite-right, yet coming out unpredictably different on different printer drivers. Gone are the crashes 'eating' your dissertation the evening before going to press. LyX is stable and fully featured. It is a multi-platform, fully internationalized application running natively on Unix/Linux, the Macintosh and modern Windows platforms. You can download LyX 1.6.1 here (the .bz2 are compressed with bzip2, which yields smaller files): ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.gz ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.bz2 ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.1.tar.gz ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.1.tar.bz2 and it should propagate shortly to the following mirrors (which will also host the .bz2 versions): ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.gz http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.1.tar.gz ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.1.tar.gz ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.1.tar.gz http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.1.tar.gz http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.1.tar.gz Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows installers) should soon be available at ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/ If you already have the sources of the previous release, you may want to apply one of the following patches instead ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.1.gz ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.1.bz2 If you find what you think is a bug in LyX 1.6.1, you may either e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a bug report at http://bugzilla.lyx.org If you're having trouble using the new version of LyX, or have a question, first check out http://www.lyx.org/help/. If you can't find the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org). Enjoy! The LyX team. What's new in version 1.6.1? ** Updates: *** * DOCUMENTATION AND LOCALIZATION - Updated localization of the user interface for Czech, French, German, Italian, Japanese, Romanian, Spanish, and Turkish. - Updated English, French, German, and Spanish User's Guide, Math, and Embedded Objects manual. - Updated English Customization manual. * DOCUMENT INPUT/OUTPUT - New layout file for journal articles published by the American Chemical Society. * USER INTERFACE - The BibTeX dialog now has a button for rescanning *.bib and *.bst files in the TEXMF tree. ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix a crash and generally improve the behaviour while loading an emergency save of a master document from within a child (bug 5514). - Fix freeze when child document fails to load due to a conversion error or similar problem (bug 5539). Note that LyX will not try to reload the file. If the problem should with the child be fixed, the master document will need to be closed and reopened for the child to be loaded. - Removed NoStyle Abstract from AMS book class, which does have an abstract. - Fix conversion of some more complex index insets from version 1.5.x (bug 5579 a.o.). - Fix reversion of info insets to LyX format 1.5.x. This bug blocked the reversion of the User Guide to LyX 1.5. - Fix reversion of subfloats to version 1.5.x. - Fix reversion of \slash and \nobreakdash to version 1.5.x. - Fix possible endless loop while running lyx2lyx. - Fix redirection to temporary files with spaces
Re: a guide for get a 1.6.0 crash
Jens Noeckel wrote: Yes, the crash I saw does indeed seem to be fixed in today's newly released LyX 1.6.1. Excellent. Jürgen
Re: bug: font status display not updated
Jan Engelhardt wrote: inor thing I noticed in LyX 1.6.1: I observed that starting a LyX-Code section using Alt-P,C does not mention the new font in the statusbar -- it still says Font: Default. Only after moving the cursor away and back on the lyxcode paragraph will it say Font: Typewriter. Confirmed. Could you file a report, please? Jürgen
Re: Custom Bibliography
Hallo everyone... this is getting me really tired :(On my computer bibliography works like a charm and it really is so nice to use and see, but today I finally managed to have my girlfriend stay sitted on the damned chair, to explain her how to use it and, of course, it didn't work :( You know, when you have to show something cool to someone important, well, it simply doesn't work having you look like a stupid geek or something. Well, now, the problem is that I followed the same steps you showed me before with her computer too, so, no jokes. I start by telling you I installed Lyx 1.6 over 1.5 as I did on my computer previously too (and on my mac it works nice, oh, we both have a mac). So, the first strange this is that when I insert the bibliography from the Insert menu, after I successfully load my Jabref database, in Style I see plainat of course, but I want apalike. So I click on the menu and... ta-dn!! There's only plainat... why the heck?! So I downloaded from the tex site the apalike package and manually browsed for that one. It shouldn't be necessary though, this is a problem, on my mac I see a huge number of entries already available!! (In case you where guessing, on both computers I installed the full 200+ MB Text distribution).. Then, when, in any part of the text body I try to insert a reference, choose only numerical [#ID] and try to generate a pdf, I see no bibliography at all at the end of the document and instead of the reference number only a bastard ? question mark without quotes... Of course, and that's cute, if I use the super option, the question mark is little over the words :) How swet... Please help me people. I tried everything I got. That is: - Removed and reinstalled Lyx. - re-executed the installer several times - eliminated the preferences folder so that lyx could create a new preferences folder by itself - tried the all thing on a new document - reinstalled the LATEX distribution package Nothing worked and honestly I'm out of ideas... :( Greetings, Luca D.M. 2008/12/12 rgheck rgh...@bobjweil.com Luca De Marini wrote: Thanks to everyone, reading the documents you linked, I managed to obtain the exact result I needed. Basically, I searched the wiki and never found the illustrated guide Dominik linked :) With that guide and using JabRef, as suggested by rgheck, I have now a fully setted and working bibliography for my own test document and will now teach my girlfriend how to achieve the same result :) Very nice, thanks a lot! But it is only perfect if used in combination with the super command suggested by rgheck :) It should be added to the illustrated guide indeed, in my opinion. You might want ot have a look now at the documentation for natbib, which you'll find here: http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/natbib.pdf and probably in natbib.dvi or natbib.pdf somewhere on your own machine. There are lots of other options that can be used. rh
hanging par strange behavior
The new feature Modules includes a module to hang paragrahs. Applying the style 'hanging' to the second paragraph of an article, the output doesn't show this second paragraph starting a new one, but following the last line of the first paragraph, with a little horizontal additional space. Then, hanging the third paragraph too, it outputs correctly as a new separate hanging paragrah It seems that the very first hanging paragraph following to a standard one doesn't start really a new paragraph. What's wrong? Thanks in advance Ignacio Garcia
Re: Missing basic packages in fresh LyX installation
peppergrower wrote: I'm used to TeXnicCenter and MikTex on Windows, but I decided to give LyX (1.55) a try on my Ubuntu 8.10 system, and I'm having difficulty creating PDFs. When I run pdflatex from within LyX, it keeps saying I'm missing basic packages: like subfigure, and wrapfig, and nomencl. If I manually install these in my local texmf directory, it doesn't halt on that package anymore...instead, it just brings up another one. I've installed texlive (though not texlive-full), and run texhash, and tried the 'reconfigure' option in LyX's Tools menu. What am I missing here? TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles clusters of them in one package. For instance, subfigure is in texlive-latex-extra (as are wrapfig and nomencl). IMHO there are two reasonable ways to go here: 1. In the Synaptic Package Manager, use the quick search box to find out which TeXLive package contains a missing LaTeX package (e.g., subfigure), then install it through Synaptic. Since the TeXLive bundles are rather big, that will likely take care of many of your needs. Repeat as needed. If you still lack a few (more obscure?) packages, download those from CTAN, install manually and run texhash. OR 2. There's a port of the MiKTeX package manager for Linux. Last I checked it still lacked a graphical interface, so you have to run it from a terminal. The advantage is that you can install individual packages as needed. Note that, unlike MiKTeX on Windows, you can't use it to install missing packages on the fly. If you have adequate disk space and bandwidth, I'd suggest doing #1 to get the bulk of the missing packages, then either manual download or the MiKTeX port for the odd individual packages. /Paul
Re: Missing basic packages in fresh LyX installation
Paul A. Rubin wrote: TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles clusters of them in one package. For instance, subfigure is in texlive-latex-extra (as are wrapfig and nomencl). This is of course only true for some distribution repackaging of TeXLive, not for TeXLive proper. [...] 2. There's a port of the MiKTeX package manager for Linux. Last I checked it still lacked a graphical interface, so you have to run it from a terminal. The advantage is that you can install individual packages as needed. Note that, unlike MiKTeX on Windows, you can't use it to install missing packages on the fly. TeXLive 2008 has a package manager as well, including a GUI, that lets you install and update individual packages. The only thing it doesn't, as opposed to MikTeX PM, is on-the-fly-installing. Jürgen
Re: hanging par strange behavior
Ignacio García wrote: The new feature Modules includes a module to hang paragrahs. Does the European Union allow this? Seems cruel. Now if LyX were developed in Texas ... :-) Applying the style 'hanging' to the second paragraph of an article, the output doesn't show this second paragraph starting a new one, but following the last line of the first paragraph, with a little horizontal additional space. Then, hanging the third paragraph too, it outputs correctly as a new separate hanging paragrah It seems that the very first hanging paragraph following to a standard one doesn't start really a new paragraph. What's wrong? It's either a bug or a very nonintuitive feature. I'll report it. Meanwhile, as a work-around, you can do the following. When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. HTH, Paul
custom equation numbering
How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Thanks! -Ivan
Re: hanging par strange behavior
Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. /Paul (who is gradually catching up to everyone else)
Re: Missing basic packages in fresh LyX installation
Jürgen Spitzmüller wrote: TeXLive 2008 has a package manager as well, including a GUI, that lets you install and update individual packages. The only thing it doesn't, as opposed to MikTeX PM, is on-the-fly-installing. Unfortunately, it's still not available from the Ubuntu repositories. One can of course install it manually (if one knows what one is doing).
Re: Missing basic packages in fresh LyX installation
Paul A. Rubin wrote: Unfortunately, it's still not available from the Ubuntu repositories. One can of course install it manually (if one knows what one is doing). I always use the official media (DVD) from the TUG, which is trivial to install (the only problem is getting your distro package management to ignore TeX). The distro repackagings of TeXLive I tested did not really excite me, to put it diplomatically. Jürgen
Re: custom equation numbering
Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type 3' (or 3^\prime if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
Re: custom equation numbering
Hi Ivan, Just to follow up on Paul's solution, you can go one step further and make the equation number automatic. Suppose that you have equation (3) and you also have a rewritten form of that equation, call it (3'). Do all of the steps that Paul has indicated, except rather than putting in the number 3, click on the cross-reference tool in the LyX toolbar. Then select the equation of interest and then apply. To refer to equation 3' elsewhere in the paper is a little in-elegant -- insert the cross reference to point to the original form of the equation, then go into math mode (inline equation) right after the cross reference and insert the prime symbol. Now, if you add or delete equations before the original equation, all of the numbers automatically update. -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 nhepb...@augustana.ca On 14-Dec-08, at 9:24 AM, Paul A. Rubin wrote: Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type 3' (or 3^\prime if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
Re: Computer Algebra System
I've found that the best way to use Maxima with LyX is to write all of the maxima commands in a comment box in LyX. I write them as if I were writing a batch file for Maxima. Then I simply copy and paste them into a maxima session. The last commands in a particular code block ask Maxima for a TeX version of the output. I then copy of the TeX output from Maxima and paste it into my LyX document inside and equation environment. Kind of klunky but it works. Also, the code that I used in Maxima is always available if I need to change something. -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 nhepb...@augustana.ca On 13-Dec-08, at 9:23 AM, Amir Rachum wrote: Hello, I'm trying to use the option Use Computer Algebra System under the Edit menu. I did have partial success using Maxima, but it only works when the expression I want to calculate is in it's own math box. I want it to calculate the latest part of my math calculations. like a = b*c = 6*7 but when I use maxima on the former line, I get a = a as it only reacts to the first part of the equation. Besides solving this problem, is there anywhere a documentation of this option, anywhere? -- Amir Rachum
rfe: \left \lfloor
Hi, support for automatic \lfloor-\rfloor in math, like there is for \left( \right), seems to be absent; could it be added in a future version? Jan
LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions.
Re: LyX can't find local packages
Hi, Paul A. Rubin ru...@... writes: The key is that LaTeX must know where to find the .sty file. So 1. Create the style file somewhere in the LaTeX directory structure (typically something like localtexmf/tex/latex/myNewClass/myclassname.sty). This has the side benefit of protecting the file from deletion is you upgrade either LyX or your TeX distro. Generally speaking you are right. The problem is that the package is developed very closely with the document (actually I'm implementing what I need as I go). By default LaTeX searches first the local directory, then the local texmf dir and last the different site wide ones. I'm looking for a way to keep the LyX file and the package together, if possible. Note that if this really is a document class, rather than a package, you'll need to make the extension .cls, you'll need to kludge together a LyX layout file for it, and you'll need to reconfigure LyX to find the layout (*after* you've done step 2). But I'm guessing you meant style rather than class above. Actually, I haven't decided yet whether to write only a package to override the document styles and tweak them as required, or to make it a complete new document class, hence my confusion with relating to it. Thanks, Guy
macros in the middle of the text
hello, i noticed that math macros exist. i want something similar, but in my text. i'm writing a text about a cs problem called minimum KT distance, which is a noun. and I'm really tired of typing that name and then setting it to be a noun. isn't there a quicker way? regards, niko
Re: custom equation numbering
Thanks Neil and Paul. Indeed, using the LaTeX command \tag seems like the best thing I could find---thanks for the specific tips regarding math modes and cross referencing, which I guess are good ideas, I had never thought of, in LaTeX editing as well. One of the greatest things of LyX is that it still allows entering LaTeX quite easily. I really value that. Although it would be nice for LyX to allow custom equation numbering natively, given how standard it is. -Ivan On Dec 14, 2008, at 12:20 PM, Neil Hepburn wrote: Hi Ivan, Just to follow up on Paul's solution, you can go one step further and make the equation number automatic. Suppose that you have equation (3) and you also have a rewritten form of that equation, call it (3'). Do all of the steps that Paul has indicated, except rather than putting in the number 3, click on the cross-reference tool in the LyX toolbar. Then select the equation of interest and then apply. To refer to equation 3' elsewhere in the paper is a little in-elegant -- insert the cross reference to point to the original form of the equation, then go into math mode (inline equation) right after the cross reference and insert the prime symbol. Now, if you add or delete equations before the original equation, all of the numbers automatically update. -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 nhepb...@augustana.ca On 14-Dec-08, at 9:24 AM, Paul A. Rubin wrote: Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered (5) which is chosen by default because it comes after (4). That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation (3') because it is a variant of a previous equation numbered (3). Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type 3' (or 3^\prime if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
bug: applying prefs moves window
Hi, in Lyx 1.6.1, after preferences have been changed (such as choosing new fonts or colors), the window moves up a few pixels, seems like as much as my windowframe height is. I guess it gets the client size (which does not include WM decorations) and then uses that to set the window geometry (including the size for WM deco). Jan
Multicolumn... spacing between colums and background picture.
Hallo people, I tried to google for this a lot and to look into the wiki too, but seems like I cannot find it. I can ensure you I solved a lot of problems myself by the way :) So my first question is, is it possible, in a multicolumn document (I only managed to find the document on 2 colums option.. is is possible to create the doc on more colums?) to set the spacing between a column and the other? By default they are very very near, I near to set them a little more far from each other. the second question is, is it possible to apply a wallpaper picture to use as the layout background of the document? I wish I could apply a picture frame I can design. I know it is possible because I've seen this used in presentation files created with Lyx but I couldn't understand how did they manage to do it.. please help me. Greetings, Luca D.M.
Re: LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
Stoutemyer, David wrote: For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions. Why not trying Lyx 1.6? I think Lyx 1.5.4 is outdated.
Can I print an automatic character count?
I need to put a character count on my front page. Is there a way to do this automatically with Lyx / TeX /...? Using Lyx 1.6.0, OSX 10.5.5, MacTex 2008 (kept pretty much up to date). - - Jonas Ørting
Failed to start ispell?!
The ispell can be operated under terminals, however it can not be started in LyX. The error message was The spellchecker could not be started. LyX: Failed to start ispell! I already check the instruction, but I still cannot let it works. The current setting in LyX preference were: User Interface language : Default Default language : English (USA)Language package : \usepackage{babel} Command start : \selectlanguage{$$lang} Spellcheckerexecuable : ispell If I choose the aspell, the error message was The spellchecker could not be started. LyX: Failed to start ispell! If I choose the ispell, the error message was The spellchecker could not be started. LyX: Failed to start ispell! Please help me. Thanks. Michael
[ANNOUNCE] LyX 1.6.1 is released
Public release of LyX version 1.6.1 === We are pleased to announce the release of LyX 1.6.1. This is the first maintenance release in the brand-new 1.6.x series, and as such, it mainly focuses on bug fixes. We have ironed out some major problems that slipped into the application in the wake of the new features. All users of LyX 1.6.0 are encouraged to upgrade to this version. A detailed list of changes is appended below, remaining known problems are listed in the file RELEASE-NOTES. In case you are wondering what LyX is, here is what http://www.lyx.org/ has to say on the subject: LyX is a document processor that encourages an approach to writing based on the structure of your documents, not their appearance. It is released under a Free Software/Open Source license. LyX is for people that write and want their writing to look great, right out of the box. No more endless tinkering with formatting details, 'finger painting' font attributes or futzing around with page boundaries. You just write. In the background, Prof. Knuth's legendary TeX typesetting engine makes you look good. On screen, LyX looks like any word processor; its printed output -- or richly cross-referenced PDF, just as readily produced -- looks like nothing else. Gone are the days of industrially bland .docs, all looking similarly not-quite-right, yet coming out unpredictably different on different printer drivers. Gone are the crashes 'eating' your dissertation the evening before going to press. LyX is stable and fully featured. It is a multi-platform, fully internationalized application running natively on Unix/Linux, the Macintosh and modern Windows platforms. You can download LyX 1.6.1 here (the .bz2 are compressed with bzip2, which yields smaller files): ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.gz ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.bz2 ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.1.tar.gz ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.1.tar.bz2 and it should propagate shortly to the following mirrors (which will also host the .bz2 versions): ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.gz http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.1.tar.gz ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.1.tar.gz ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.1.tar.gz http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.1.tar.gz http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.1.tar.gz Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows installers) should soon be available at ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/ If you already have the sources of the previous release, you may want to apply one of the following patches instead ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.1.gz ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.1.bz2 If you find what you think is a bug in LyX 1.6.1, you may either e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a bug report at http://bugzilla.lyx.org If you're having trouble using the new version of LyX, or have a question, first check out http://www.lyx.org/help/. If you can't find the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org). Enjoy! The LyX team. What's new in version 1.6.1? ** Updates: *** * DOCUMENTATION AND LOCALIZATION - Updated localization of the user interface for Czech, French, German, Italian, Japanese, Romanian, Spanish, and Turkish. - Updated English, French, German, and Spanish User's Guide, Math, and Embedded Objects manual. - Updated English Customization manual. * DOCUMENT INPUT/OUTPUT - New layout file for journal articles published by the American Chemical Society. * USER INTERFACE - The BibTeX dialog now has a button for rescanning *.bib and *.bst files in the TEXMF tree. ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix a crash and generally improve the behaviour while loading an emergency save of a master document from within a child (bug 5514). - Fix freeze when child document fails to load due to a conversion error or similar problem (bug 5539). Note that LyX will not try to reload the file. If the problem should with the child be fixed, the master document will need to be closed and reopened for the child to be loaded. - Removed NoStyle Abstract from AMS book class, which does have an abstract. - Fix conversion of some more complex index insets from version 1.5.x (bug 5579 a.o.). - Fix reversion of info insets to LyX format 1.5.x. This bug blocked the reversion of the User Guide to LyX 1.5. - Fix reversion of subfloats to version 1.5.x. - Fix reversion of \slash and \nobreakdash to version 1.5.x. - Fix possible endless loop while running lyx2lyx. - Fix redirection to temporary files with spaces
Re: a guide for get a 1.6.0 crash
Jens Noeckel wrote: > Yes, the crash I saw does indeed seem to be fixed in today's newly > released LyX 1.6.1. Excellent. Jürgen
Re: bug: font status display not updated
Jan Engelhardt wrote: > inor thing I noticed in LyX 1.6.1: I observed that starting a > LyX-Code section using Alt-P,C does not mention the new font in the > statusbar -- it still says "Font: Default". Only after moving the cursor > away and back on the lyxcode paragraph will it say "Font: Typewriter". Confirmed. Could you file a report, please? Jürgen
Re: Custom Bibliography
Hallo everyone... this is getting me really tired :(On my computer bibliography works like a charm and it really is so nice to use and see, but today I finally managed to have my girlfriend stay sitted on the damned chair, to explain her how to use it and, of course, it didn't work :( You know, when you have to show something cool to someone important, well, it simply doesn't work having you look like a stupid geek or something. Well, now, the problem is that I followed the same steps you showed me before with her computer too, so, no jokes. I start by telling you I installed Lyx 1.6 over 1.5 as I did on my computer previously too (and on my mac it works nice, oh, we both have a mac). So, the first strange this is that when I insert the bibliography from the Insert menu, after I successfully load my Jabref database, in Style I see plainat of course, but I want apalike. So I click on the menu and... ta-dn!! There's only plainat... why the heck?! So I downloaded from the tex site the apalike package and manually browsed for that one. It shouldn't be necessary though, this is a problem, on my mac I see a huge number of entries already available!! (In case you where guessing, on both computers I installed the full 200+ MB Text distribution).. Then, when, in any part of the text body I try to insert a reference, choose only numerical [#ID] and try to generate a pdf, I see no bibliography at all at the end of the document and instead of the reference number only a bastard "?" question mark without quotes... Of course, and that's cute, if I use the super option, the question mark is little over the words :) How swet... Please help me people. I tried everything I got. That is: - Removed and reinstalled Lyx. - re-executed the installer several times - eliminated the preferences folder so that lyx could create a new preferences folder by itself - tried the all thing on a new document - reinstalled the LATEX distribution package Nothing worked and honestly I'm out of ideas... :( Greetings, Luca D.M. 2008/12/12 rgheck> Luca De Marini wrote: > >> Thanks to everyone, reading the documents you linked, I managed to obtain >> the exact result I needed. Basically, I searched the wiki and never found >> the illustrated guide Dominik linked :) >> With that guide and using JabRef, as suggested by rgheck, I have now a >> fully >> setted and working bibliography for my own test document and will now >> teach >> my girlfriend how to achieve the same result :) >> Very nice, thanks a lot! But it is only perfect if used in combination >> with >> the super command suggested by rgheck :) >> It should be added to the illustrated guide indeed, in my opinion. >> >> >> > You might want ot have a look now at the documentation for natbib, which > you'll find here: > http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/natbib.pdf > and probably in natbib.dvi or natbib.pdf somewhere on your own machine. > There are lots of other options that can be used. > > rh > >
hanging par strange behavior
The new feature Modules includes a module to hang paragrahs. Applying the style 'hanging' to the second paragraph of an article, the output doesn't show this second paragraph starting a new one, but following the last line of the first paragraph, with a little horizontal additional space. Then, hanging the third paragraph too, it outputs correctly as a new separate hanging paragrah It seems that the very first hanging paragraph following to a standard one doesn't start really a new paragraph. What's wrong? Thanks in advance Ignacio Garcia
Re: Missing basic packages in fresh LyX installation
peppergrower wrote: I'm used to TeXnicCenter and MikTex on Windows, but I decided to give LyX (1.55) a try on my Ubuntu 8.10 system, and I'm having difficulty creating PDFs. When I run pdflatex from within LyX, it keeps saying I'm missing basic packages: like subfigure, and wrapfig, and nomencl. If I manually install these in my local texmf directory, it doesn't halt on that package anymore...instead, it just brings up another one. I've installed texlive (though not texlive-full), and run texhash, and tried the 'reconfigure' option in LyX's Tools menu. What am I missing here? TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles clusters of them in one package. For instance, subfigure is in texlive-latex-extra (as are wrapfig and nomencl). IMHO there are two reasonable ways to go here: 1. In the Synaptic Package Manager, use the quick search box to find out which TeXLive package contains a missing LaTeX package (e.g., subfigure), then install it through Synaptic. Since the TeXLive bundles are rather big, that will likely take care of many of your needs. Repeat as needed. If you still lack a few (more obscure?) packages, download those from CTAN, install manually and run texhash. OR 2. There's a port of the MiKTeX package manager for Linux. Last I checked it still lacked a graphical interface, so you have to run it from a terminal. The advantage is that you can install individual packages as needed. Note that, unlike MiKTeX on Windows, you can't use it to install missing packages on the fly. If you have adequate disk space and bandwidth, I'd suggest doing #1 to get the bulk of the missing packages, then either manual download or the MiKTeX port for the odd individual packages. /Paul
Re: Missing basic packages in fresh LyX installation
Paul A. Rubin wrote: > TeXLive takes some adjusting to for us MiKTeX users. :-) Whereas > MiKTeX bundles most of the LaTeX packages individually, TeXLive bundles > clusters of them in one package. For instance, subfigure is in > texlive-latex-extra (as are wrapfig and nomencl). This is of course only true for some distribution repackaging of TeXLive, not for TeXLive proper. [...] > 2. There's a port of the MiKTeX package manager for Linux. Last I > checked it still lacked a graphical interface, so you have to run it > from a terminal. The advantage is that you can install individual > packages as needed. Note that, unlike MiKTeX on Windows, you can't use > it to install missing packages on the fly. TeXLive 2008 has a package manager as well, including a GUI, that lets you install and update individual packages. The only thing it doesn't, as opposed to MikTeX PM, is on-the-fly-installing. Jürgen
Re: hanging par strange behavior
Ignacio García wrote: The new feature Modules includes a module to hang paragrahs. Does the European Union allow this? Seems cruel. Now if LyX were developed in Texas ... :-) Applying the style 'hanging' to the second paragraph of an article, the output doesn't show this second paragraph starting a new one, but following the last line of the first paragraph, with a little horizontal additional space. Then, hanging the third paragraph too, it outputs correctly as a new separate hanging paragrah It seems that the very first hanging paragraph following to a standard one doesn't start really a new paragraph. What's wrong? It's either a bug or a very nonintuitive feature. I'll report it. Meanwhile, as a work-around, you can do the following. When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. HTH, Paul
custom equation numbering
How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered "(5)" which is chosen by default because it comes after "(4)". That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation "(3')" because it is a variant of a previous equation numbered "(3)". Thanks! -Ivan
Re: hanging par strange behavior
Paul A. Rubin wrote: When switching from a standard paragraph to a hanging paragraph, hit Enter to end the standard paragraph, insert an empty TeX insert (ERT), hit Enter again and switch the new paragraph to hanging. Sorry, old habits die hard. An easier solution is to insert a --Separator-- between the standard paragraph and the hanging paragraph. /Paul (who is gradually catching up to everyone else)
Re: Missing basic packages in fresh LyX installation
Jürgen Spitzmüller wrote: TeXLive 2008 has a package manager as well, including a GUI, that lets you install and update individual packages. The only thing it doesn't, as opposed to MikTeX PM, is on-the-fly-installing. Unfortunately, it's still not available from the Ubuntu repositories. One can of course install it manually (if one knows what one is doing).
Re: Missing basic packages in fresh LyX installation
Paul A. Rubin wrote: > Unfortunately, it's still not available from the Ubuntu repositories. > One can of course install it manually (if one knows what one is doing). I always use the official media (DVD) from the TUG, which is trivial to install (the only problem is getting your distro package management to ignore TeX). The distro repackagings of TeXLive I tested did not really excite me, to put it diplomatically. Jürgen
Re: custom equation numbering
Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered "(5)" which is chosen by default because it comes after "(4)". That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation "(3')" because it is a variant of a previous equation numbered "(3)". Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type "3'" (or "3^\prime" if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
Re: custom equation numbering
Hi Ivan, Just to follow up on Paul's solution, you can go one step further and make the equation number automatic. Suppose that you have equation (3) and you also have a rewritten form of that equation, call it (3'). Do all of the steps that Paul has indicated, except rather than putting in the number 3, click on the cross-reference tool in the LyX toolbar. Then select the equation of interest and then apply. To refer to equation 3' elsewhere in the paper is a little in-elegant -- insert the cross reference to point to the original form of the equation, then go into math mode (inline equation) right after the cross reference and insert the prime symbol. Now, if you add or delete equations before the original equation, all of the numbers automatically update. -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 nhepb...@augustana.ca On 14-Dec-08, at 9:24 AM, Paul A. Rubin wrote: Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered "(5)" which is chosen by default because it comes after "(4)". That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation "(3')" because it is a variant of a previous equation numbered "(3)". Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type "3'" (or "3^\prime" if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
Re: Computer Algebra System
I've found that the best way to use Maxima with LyX is to write all of the maxima commands in a comment box in LyX. I write them as if I were writing a batch file for Maxima. Then I simply copy and paste them into a maxima session. The last commands in a particular code block ask Maxima for a TeX version of the output. I then copy of the TeX output from Maxima and paste it into my LyX document inside and equation environment. Kind of klunky but it works. Also, the code that I used in Maxima is always available if I need to change something. -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 nhepb...@augustana.ca On 13-Dec-08, at 9:23 AM, Amir Rachum wrote: Hello, I'm trying to use the option "Use Computer Algebra System" under the Edit menu. I did have partial success using Maxima, but it only works when the expression I want to calculate is in it's own math box. I want it to calculate the latest part of my math calculations. like a = b*c = 6*7 but when I use maxima on the former line, I get a = a as it only reacts to the first part of the equation. Besides solving this problem, is there anywhere a documentation of this option, anywhere? -- Amir Rachum
rfe: \left \lfloor
Hi, support for "automatic" \lfloor-\rfloor in math, like there is for \left( \right), seems to be absent; could it be added in a future version? Jan
LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions.
Re: LyX can't find local packages
Hi, Paul A. Rubinwrites: > The key is that LaTeX must know where to find the .sty file. So > > 1. Create the style file somewhere in the LaTeX directory structure > (typically something like > /tex/latex/myNewClass/myclassname.sty). This has the side > benefit of protecting the file from deletion is you upgrade either LyX > or your TeX distro. Generally speaking you are right. The problem is that the package is developed very closely with the document (actually I'm implementing what I need as I go). By default LaTeX searches first the local directory, then the local texmf dir and last the different site wide ones. I'm looking for a way to keep the LyX file and the package together, if possible. > Note that if this really is a document class, rather than a package, > you'll need to make the extension .cls, you'll need to kludge together a > LyX layout file for it, and you'll need to reconfigure LyX to find the > layout (*after* you've done step 2). But I'm guessing you meant "style" > rather than "class" above. Actually, I haven't decided yet whether to write only a package to override the document styles and tweak them as required, or to make it a complete new document class, hence my confusion with relating to it. Thanks, Guy
macros in the middle of the text
hello, i noticed that math macros exist. i want something similar, but in my text. i'm writing a text about a cs problem called "minimum KT distance", which is a noun. and I'm really tired of typing that name and then setting it to be a noun. isn't there a quicker way? regards, niko
Re: custom equation numbering
Thanks Neil and Paul. Indeed, using the LaTeX command \tag seems like the best thing I could find---thanks for the specific tips regarding math modes and cross referencing, which I guess are good ideas, I had never thought of, in LaTeX editing as well. One of the greatest things of LyX is that it still allows entering LaTeX quite easily. I really value that. Although it would be nice for LyX to allow custom equation numbering natively, given how standard it is. -Ivan On Dec 14, 2008, at 12:20 PM, Neil Hepburn wrote: Hi Ivan, Just to follow up on Paul's solution, you can go one step further and make the equation number automatic. Suppose that you have equation (3) and you also have a rewritten form of that equation, call it (3'). Do all of the steps that Paul has indicated, except rather than putting in the number 3, click on the cross-reference tool in the LyX toolbar. Then select the equation of interest and then apply. To refer to equation 3' elsewhere in the paper is a little in-elegant -- insert the cross reference to point to the original form of the equation, then go into math mode (inline equation) right after the cross reference and insert the prime symbol. Now, if you add or delete equations before the original equation, all of the numbers automatically update. -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 nhepb...@augustana.ca On 14-Dec-08, at 9:24 AM, Paul A. Rubin wrote: Ivan Werning wrote: How do I change an equation number that was chosen automatically from forcing a particular number or symbol? That is, I want the analog of \tag in Latex For example, I have an equation that is numbered "(5)" which is chosen by default because it comes after "(4)". That's the correct normal behavior of course. However, I want to break briefly out of the default and number this one equation "(3')" because it is a variant of a previous equation numbered "(3)". Well, \tag will work. Stick the cursor in the equation. If it's already being numbered, M-m n will remove the automatic number. Then enter '\tag' followed by space, which will create a widget. In the widget, type '\ensuremath' followed by a space to get a nested widget. Type "3'" (or "3^\prime" if you're a purist) in the inner widget (no parentheses). The display in the GUI is, ah, less than esthetically pleasing, but it comes out right in the DVI. The inner widget is needed to get you into math mode if you're going to use a superscript. I'm not sure if there's a more LyXish way to do it. HTH, Paul
bug: applying prefs moves window
Hi, in Lyx 1.6.1, after preferences have been changed (such as choosing new fonts or colors), the window moves up a few pixels, seems like as much as my windowframe height is. I guess it gets the client size (which does not include WM decorations) and then uses that to set the window geometry (including the size for WM deco). Jan
Multicolumn... spacing between colums and background picture.
Hallo people, I tried to google for this a lot and to look into the wiki too, but seems like I cannot find it. I can ensure you I solved a lot of problems myself by the way :) So my first question is, is it possible, in a multicolumn document (I only managed to find the document on 2 colums option.. is is possible to create the doc on more colums?) to set the spacing between a column and the other? By default they are very very near, I near to set them a little more far from each other. the second question is, is it possible to apply a wallpaper picture to use as the layout background of the document? I wish I could apply a picture frame I can design. I know it is possible because I've seen this used in presentation files created with Lyx but I couldn't understand how did they manage to do it.. please help me. Greetings, Luca D.M.
Re: LyX 1.5.4 no longer produces an PDF, PS, DVI or TEX file
Stoutemyer, David wrote: For some reason LyX 1.5.4 no longer produces a .PDF, .PS, .DVI or LaTeX export file of either type when requested. Perhaps it is because of an error that I have introduced in my file, but there is no error message when I request the output file. Some of my short earlier .lyx files work OK, but I am now having a similar difficulty with another .lyx file of about 45 pages that I don't think I have changed. Some operations have become quite slow too compared to earlier and other applications, even when LyX is the only open application. -- thanks in advance for any suggestions. Why not trying Lyx 1.6? I think Lyx 1.5.4 is outdated.
Can I print an automatic character count?
I need to put a character count on my front page. Is there a way to do this automatically with Lyx / TeX /...? Using Lyx 1.6.0, OSX 10.5.5, MacTex 2008 (kept pretty much up to date). - - Jonas Ørting
Failed to start ispell?!
The ispell can be operated under terminals, however it can not be started in LyX. The error message was "The spellchecker could not be started. LyX: Failed to start ispell!" I already check the instruction, but I still cannot let it works. The current setting in LyX preference were: User Interface language : Default Default language : English (USA)Language package : \usepackage{babel} Command start : \selectlanguage{$$lang} Spellcheckerexecuable : ispell If I choose the "aspell", the error message was "The spellchecker could not be started. LyX: Failed to start ispell!" If I choose the "ispell", the error message was "The spellchecker could not be started. LyX: Failed to start ispell!" Please help me. Thanks. Michael
[ANNOUNCE] LyX 1.6.1 is released
Public release of LyX version 1.6.1 === We are pleased to announce the release of LyX 1.6.1. This is the first maintenance release in the brand-new 1.6.x series, and as such, it mainly focuses on bug fixes. We have ironed out some major problems that slipped into the application in the wake of the new features. All users of LyX 1.6.0 are encouraged to upgrade to this version. A detailed list of changes is appended below, remaining known problems are listed in the file RELEASE-NOTES. In case you are wondering what LyX is, here is what http://www.lyx.org/ has to say on the subject: LyX is a document processor that encourages an approach to writing based on the structure of your documents, not their appearance. It is released under a Free Software/Open Source license. LyX is for people that write and want their writing to look great, right out of the box. No more endless tinkering with formatting details, 'finger painting' font attributes or futzing around with page boundaries. You just write. In the background, Prof. Knuth's legendary TeX typesetting engine makes you look good. On screen, LyX looks like any word processor; its printed output -- or richly cross-referenced PDF, just as readily produced -- looks like nothing else. Gone are the days of industrially bland .docs, all looking similarly not-quite-right, yet coming out unpredictably different on different printer drivers. Gone are the crashes 'eating' your dissertation the evening before going to press. LyX is stable and fully featured. It is a multi-platform, fully internationalized application running natively on Unix/Linux, the Macintosh and modern Windows platforms. You can download LyX 1.6.1 here (the .bz2 are compressed with bzip2, which yields smaller files): ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.gz ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.bz2 ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.1.tar.gz ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.6.1.tar.bz2 and it should propagate shortly to the following mirrors (which will also host the .bz2 versions): ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.1.tar.gz http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.1.tar.gz ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.1.tar.gz ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.1.tar.gz http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.1.tar.gz http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.1.tar.gz Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows installers) should soon be available at ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/ If you already have the sources of the previous release, you may want to apply one of the following patches instead ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.1.gz ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.1.bz2 If you find what you think is a bug in LyX 1.6.1, you may either e-mail the LyX developers' mailing list (lyx-devel lists.lyx.org), or open a bug report at http://bugzilla.lyx.org If you're having trouble using the new version of LyX, or have a question, first check out http://www.lyx.org/help/. If you can't find the answer there, e-mail the LyX users' list (lyx-users lists.lyx.org). Enjoy! The LyX team. What's new in version 1.6.1? ** Updates: *** * DOCUMENTATION AND LOCALIZATION - Updated localization of the user interface for Czech, French, German, Italian, Japanese, Romanian, Spanish, and Turkish. - Updated English, French, German, and Spanish User's Guide, Math, and Embedded Objects manual. - Updated English Customization manual. * DOCUMENT INPUT/OUTPUT - New layout file for journal articles published by the American Chemical Society. * USER INTERFACE - The BibTeX dialog now has a button for rescanning *.bib and *.bst files in the TEXMF tree. ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix a crash and generally improve the behaviour while loading an emergency save of a master document from within a child (bug 5514). - Fix freeze when child document fails to load due to a conversion error or similar problem (bug 5539). Note that LyX will not try to reload the file. If the problem should with the child be fixed, the master document will need to be closed and reopened for the child to be loaded. - Removed "NoStyle Abstract" from AMS book class, which does have an abstract. - Fix conversion of some more complex index insets from version 1.5.x (bug 5579 a.o.). - Fix reversion of info insets to LyX format 1.5.x. This bug blocked the reversion of the User Guide to LyX 1.5. - Fix reversion of subfloats to version 1.5.x. - Fix reversion of \slash and \nobreakdash to version 1.5.x. - Fix possible endless loop while running lyx2lyx. - Fix redirection to temporary files with spaces