libaudio dependency for 1.5.5?
Using Slackware 12.1, and have tried packages from slackbuilds.org (built myself) and slacky.eu (precompiled) for both Qt 4.4.0 and LyX 1.5.5, I get the following error message when I try to run LyX: lyx: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory I can't find libaudio.so.2 -- which seems to be provided by Network Audio System -- anywhere on the computer, but am mystified as to why something that is apparently a showstopper runtime dependency is not a build dependency. Qt4 and LyX compiled without problems, and neither indicated that I might need NAS. Any ideas? Thanks, Josiah
Why the ugly PNG pictures?
Hello list, whats wrong with LyX and PNG files? I draw a diagram in MS Visio, export it to PNG, open it on LyX 1.5.5 (on Fedora 9). The PNG looks nice in LyX itself, but when I create a pdf the picture gets over-scaled beyond the page size. I tried forcing the picture size in lyx but it looked like it was first over-scaled, then scaled again to the size I gave it and as a result it looked completely ugly. This seems to be a problem with PNG files, I tried exporting from MS Visio the same file with the same size in JPEG and it displayed ok in LyX and the picture wasn't over-scaled I left it to automatically scale the picture. Am I doing something wrong? Is there a known problem with PNG files? Could it be fixed? I really don't like JPEG, the diagram looks better in PNG. The picture size is 14x11,2 cm or 529x423 pixels. best regards, Aleksandar
Re: Nonumbered formula (left alignment)
> here is my suggestion to get a left aligned equation (see attachment). I > have set the 'fleqn' Option in > > Document -> Settings -> Document Class -> Options: fleqn > > I think this looks better then the 'Display'-styled inline equation. > > By, > > Friedrich > Thanks, Friedrich It also works, but then there is a problem: when I use numbered formula, it is also forced to be left aligned. Anyway it is very useful, that's something new for me. Is that possible if the left aligned formula only for the "Display Formula" (Insert-Math-Display) /Adi
Re: Still no composing, and a crash...
I'm continuing this discussion on the lyx-devel list, anyone on this list who's interested can continue following it there (http://permalink.gmane.org/gmane.editors.lyx.devel/108759) Dov Feldstern wrote: John Coppens wrote: Hello people. I'm not a very frequent user of LyX, but irregularly I do use it, and seem to run into recurrent problems. I reported the accented character composing problem a while ago (it just doesn't work - I can't type Compose-e-', and get é, as I _can_ with other programs, like sylpheed). If it works in other programs, that probably means that your os is setup to handle this, so there should be no need for LyX's built-in keymaps. Try disabling the "use keyboard map" option, and see if that helps. To be sure, I compiled and installed 1.5.5, and still have the same problem. But, worse, I tried to change the keyboard map, and LyX just crashed. This message appeared on the terminal: lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessary. Thanks ! Bye. Aborted To reproduce: LyX -> Tools -> Preferences -> Select Keyboard -> Enable 'Use keyboard map' -> Press 'Browse' (Crash). This shouldn't happen. Are you able to produce a backtrace of this? What version of LyX are you using? Am I doing something wrong here? John
Re: Nonumbered formula (left alignment)
On Sat, Jul 05, 2008 at 06:28:17PM +0800, Waluyo Adi Siswanto wrote: > Hi All Hello Adi, > I would like to write a formula (without number -left alignment) > If I use Insert-Math-Display Formula, it writes at the center. > If I use Insert-Math-Inline Formula, I can write at left alignment but > the formula becomes smaller also the lower and upper integral limits are > located at sides of integral symbol, I don't want this.. (please see the > attachment..) here is my suggestion to get a left aligned equation (see attachment). I have set the 'fleqn' Option in Document -> Settings -> Document Class -> Options: fleqn I think this looks better then the 'Display'-styled inline equation. By, Friedrich ProblemEquationLeft.lyx Description: application/lyx
Lyx Layouts
Hi All, This question is about layouts and environments. In this example I have defined newenvironment in latex cls, than I defined style in lyx's layout file, which works just fine, however I would like to be able to use standard styles i.e. sections, lists, enumerate etc. within given environment. This is how latex file would look like: \begin{document} \begin{MyEnv} \section{yadda yadda} more yadda yadda \begin{enumerate} \item yadda yadda . \end{enumerate} \end{MyEnv} \end{document} Latex class file has all commands and formating to produce desired effect. Now going back to Lyx, I've created template.lyx and layout file, which works fine with my latex class file (based on the article class). Lyx picks up stdclass elements just fine, but they don't get placed within \begin_layout MyEnv . \end_layout Quick workaround I've found was to insert ERT tex code (which does the trick) but that IMHO defeats the purpose. Does anyone have an idea how to solve this problem? TIA
Re: Nonumbered formula (left alignment)
> In the inline formula, highlight the formula itself and click Edit -> > Math -> Change Limit Type -> Display or click the button on the math > tool bar that looks like a summation sign and pick Display there. > > /Paul > Thanks a lot, Paul It really works.. I should have looked Edit-Math, I just focused on Insert-Math. I think LyX very powerful dealing with Equations, I like it very much. To me, this is a right decision to migrate from MS Word + MathType to LyX. /Adi
Re: Nonumbered formula (left alignment)
Waluyo Adi Siswanto wrote: Hi All I would like to write a formula (without number -left alignment) If I use Insert-Math-Display Formula, it writes at the center. If I use Insert-Math-Inline Formula, I can write at left alignment but the formula becomes smaller also the lower and upper integral limits are located at sides of integral symbol, I don't want this.. (please see the attachment..) Is there a way to do that. In the inline formula, highlight the formula itself and click Edit -> Math -> Change Limit Type -> Display or click the button on the math tool bar that looks like a summation sign and pick Display there. /Paul
HTML-Export on Windows
Hello, think it would be nice, to sum up how a LyX-file can be exported to HTML under WIN, it works difficultly in my case (LyX 1.5.5): Method 1 (long-winded if there are many pictures - has anybody a better idea?!?): But: It produces a good output! - make sure, that every picture is available in a .jpg or .png - format (Maybe it's enough to have a format that can be read by lyx and a html-browser) - Export the LyX-file via "Latex (Plain)" - Copy the resulting .tex-file ("filename.tex") into an extra-directory - move in the commandline of Windows (german: "Eingabeaufforderung") to that extra-directory - type "htlatex filename.tex" - Open the resulting html-file ("filename.html") in a browser Problem: the quality of the pictures may be worse than the original ones, so do this: - Open the sourcecode of the filename.html in a text-editor (parallel to the browser) - Copy the original PNG- or JPG-pictures into the created extra-directory - Find the names of the pictures in the browser and replace these names with the name or the original picture (for all pictures) - After finishing save the modified sourcecode under a different filename ("filename-modified.html" - just for safety) - Open the modified .html-file with the browser: The quality of the pictures should match the quality of the originals now. {Method 2 (does'nt work in my case, the pictures and converted formulas are not displayed because the pictures seem to be saved nowhere): Convert with LyX ("htlatex $$i"with additional flag "needaux")} {Method 3 (does'nt work in my case because the latex2html-package can not be found): Convert with LyX ("latex2html -no_subdir -no_navigation -split 0 -show_section_numbers $$i" with additional flag "needaux")} I found the last method in a (german) LyX-Manual - maybe that should be updated. WOULD BE VERY NICE, IF SOMEONE COULD SUM UP HIS SUCCESSFUL METHODS TO CONVERT INTO HTML UNDER WINDOWS! ANY HINTS TO INCLUDE URLS (probably it's written somewhere, but I didn't look for it until now)? Thanks! Matthias Diehl
Nonumbered formula (left alignment)
Hi All I would like to write a formula (without number -left alignment) If I use Insert-Math-Display Formula, it writes at the center. If I use Insert-Math-Inline Formula, I can write at left alignment but the formula becomes smaller also the lower and upper integral limits are located at sides of integral symbol, I don't want this.. (please see the attachment..) Is there a way to do that. /Adi ProblemEquation.lyx Description: application/lyx