Missing basic packages in fresh LyX installation
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? Many thanks, peppergrower -- View this message in context: http://n2.nabble.com/Missing-basic-packages-in-fresh-LyX-installation-tp1653651p1653651.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: a guide for get a 1.6.0 crash
On Dec 13, 2008, at 12:02 AM, Jürgen Spitzmüller wrote: Jens Noeckel wrote: I got a reply, that was me. but it seems to assume that I had the Outline view open. In my case, the crash has nothing to do with the Outline view, it's really easy to reproduce. but it's definitely independent from bug 5540, which is about wrong math macro initialization. Maybe some of you who also had similar crashed can compare to the descriptions on that page. FWIW, I couldn't reproduce the crash with 1.6.1svn (while I can trigger bug 5540), so there's hope that yours is already fixed in SVN. Yes, the crash I saw does indeed seem to be fixed in today's newly released LyX 1.6.1. Thanks, Jens
bug: font status display not updated
Hi, A minor 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".
Re: LyX can't find local packages
Guy Rutenberg wrote: Hi, I'm trying to use a local LaTeX class (actually I'm writing it). I've put the .sty file in the same directory as the lyx file but when I add \usepackage{myclassname} it says it can't find myclassname.sty. IIRC in previous versions LyX would find files in the current directory too. I'm using Lyx 1.6. Does it happens only to me or someone else experienced the same problem? I don't recall LyX finding style files on its own, but that could be because I never tried what you've described. In any event, you don't need to put the .sty file in the same directory as the layout file, and in fact it is probably undesirable to do so. 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. 2. Update the LaTeX file name database (run texhash on Linux, use the "Refresh FNDB" button in the MiKTeX settings application on a Windows system, so something magical on OS X, ...). 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. /Paul
Re: Computer Algebra System
On Sat, Dec 13, 2008 at 06:23:23PM +0200, 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. Yes, the "Use Computer Algebra System" feature is rather simplistic. Having said that, 'a = b*c = 6*7' does not appear to be valid Maxima input. > Besides solving this problem, is there anywhere a documentation of this > option, anywhere? It's not documented, and it is basically not useful for anything but very simple expression evalutiaon. Andre'
Computer Algebra System
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
LyX can't find local packages
Hi, I'm trying to use a local LaTeX class (actually I'm writing it). I've put the .sty file in the same directory as the lyx file but when I add \usepackage{myclassname} it says it can't find myclassname.sty. IIRC in previous versions LyX would find files in the current directory too. I'm using Lyx 1.6. Does it happens only to me or someone else experienced the same problem? Regards, Guy
Re: Best advice on Fonts and PDF output from Lyx
Paul Johnson wrote: On Fri, Dec 12, 2008 at 4:20 PM, Paul Johnson wrote: I've run LyX on RedHat, Fedora, and Ubuntu Linux at various times for about 10 years. Until a year or so, the LaTeX distribution was TeTeX, but recently I've converted over to TeXLive. Like many other LyX users, I've been wrestling with PDF output from LyX for a long time. It used to be that the default fonts in LyX would look very bad in PDF output. There were a number of workarounds considered in this list. For a long time, I've followed Herbert V's the advice to use the lmodern fonts in order to get nice PDF output. That still appears to be the best advice in the LyX wiki: http://wiki.lyx.org/FAQ/PDF In recent times, however, we've seen PDF output that looks really bad in Adobe Acrobat reader 8 if a document uses the lmodern fonts. The problem is that, at some levels of magnification, the fonts are "uneven" on the screen. I uploaded a screenshot http://pj.freefaculty.org/latex/adobeUnevenFonts.pdf I'm sorry. The screenshot is a png, not pdf, so I've renamed it: http://pj.freefaculty.org/latex/adobeUnevenFonts.png As far as I can tell, the output on paper is fine. It is not uneven as it appears on the screen in acroread. If I change the document to different fonts, I don't see that same kind of uneven output. Some of my students generate PDF output that is worse, some better. Students who have Windows machines on which they primarily use Chinese seem to have the worst trouble. In Linux, I can use other pdf readers, but it appears Windows users are pretty much stuck with Adobe. I've seen this problem recently on Ubuntu 8.04 with TeXLive and also with Centos Linux 5.2 with TexLive. So that is making me thing it is a TexLive problem. I don't know what's up with the Windows boxes with Chinese users, but do you have any reported display problems with AR on Windows boxes where the users employ the typical US/UK type code pages? As far as Linux goes, I use Latin Modern in all my beamer presentations, and AFAIK they look ok in Ubuntu using AR 8.1.3, at least on screen. (When I project them in class, I'm using a Win XP laptop.) When I first ported my presentations to the Ubuntu machine (I built them in Win XP), I recall having some font adventures with Latin Modern, which were resolved by installing the lmodern package from the Ubuntu repository. I'm using TeXLive on the Ubuntu machine, and IIRC lmodern was not part of my TeXLive installation; I had to install it separately. The lmodern package includes X11 font files. If you're getting funky screen output on a Linux box, I would first look at the X11 fonts (likely location: /usr/share/fonts/X11/Type1/) to make sure they're present. If AR can't find the display version of the font, I think it will make an arbitrary (and perhaps capricious?) substitution. HTH, Paul
ispell: unrecognized formatter type 'latin9'
Dear all, I already install ispell properly and check the settings is fine. Do you have any ideas why I still have the error message: "The spellchecker could not be started ispell: unrecognized formatter type 'latin9'"? Thanks Michael
Re: Empty \item
On 2008-12-12, rgheck wrote: > Máté Salát wrote: >> Hello, >> If you are in an enumerate environment what is the recommended way for >> creating an \item element with no content? You may need it to have a >> sub enumerate environment start at the same line as the previous \item >> element starts in the outer enumerate. >> I could prevent the empty \item from disappearing by putting an empty >> ERT box after it. But there may be a more elegant way for doing it. > That's pretty much how people do it. IMO, a LyX note is slightly more elegant (as this is a workaround for a LyX problem where raw LaTeX (ERT) is not needed) but opinions might differ. Günter
Re: a guide for get a 1.6.0 crash
Jens Noeckel wrote: > I got a reply, that was me. > but it seems to assume that I had the Outline view > open. In my case, the crash has nothing to do with the Outline view, > it's really easy to reproduce. but it's definitely independent from bug 5540, which is about wrong math macro initialization. > Maybe some of you who also had similar crashed can compare to the > descriptions on that page. FWIW, I couldn't reproduce the crash with 1.6.1svn (while I can trigger bug 5540), so there's hope that yours is already fixed in SVN. Jürgen