_

separation indent medskip _language english _times 2 1 1 default

Title

Known BUGS in LyX Date

Last updated 1999-07-01 Standard

This file contains a compilation of bug reports that have been sent to the mailing list sans lyx-devel@lists.lyx.org default . We try to keep it up to date as far as possible, but of course it's better to spend time fixing bugs instead of archiving them. Since we cannot reproduce all of these bugs, please send us any details and updates and, of course, fixes. Section

How do I submit a bug report? Standard

All bug reports should always include information about which versions of LyX the bug appears in (you will be surprised to know how many forget that information). Try to get the latest version of LyX and see if the problem still exist before complaining. New releases will typically contain bug fixes :-) Standard

Remember: the less time the developers have to spend to understand and fix a problem, the faster the problem is likely to be fixed. Standard

Other than that, the good bug report is characterized by including on all default relevant information and only that. It's always relevant what the problem is, and how the problem is triggered. If it's a compilation problem, include typewriter small config.log default default and information about your system ( typewriter small uname -a default default ), which compiler you use, versions of libraries and so on. Standard

If you found a bug that causes LyX to crash, please take the time to produce a backtrace with a non-stripped lyx executable. The one built in the source directory is per default not stripped, while the installed binary is stripped. So, run LyX from gdb by typing _inset Quotes eld inset

typewriter small gdb /users/bozo/lyx-1.0.x/src/lyx default default

_inset Quotes erd inset

and then _inset Quotes eld inset

typewriter small run default default

_inset Quotes erd inset

. Make LyX crash and you'll return to gdb. Use _inset Quotes eld inset

typewriter small bt default default

_inset Quotes erd inset

to produce a backtrace and include the output in the bug report _float footnote Standard

if you want to be thorough, use the o_latex

_inset Quotes eld inset

info locals _inset Quotes erd inset

and _inset Quotes eld inset

up _inset Quotes erd inset

commands to print out the values of local variables at a few stack levels. float . If possible, then a description of a way to reproduce the bug is more important than a backtrace, because then we have the possibility to roll our own backtrace. If the bug is not easily reproducible, a backtrace is essential, because then that might be all we've got. Standard

Bug reports should be mailed to the developer's list at sans lyx-devel@lists.lyx.org default . However to avoid that we get cluttered with the same bug reports from many people, we recommend that you either check the archive of the developer's mailing list at typewriter http://www.mail-archive.com/lyx-devel@lists.lyx.org/ default or subscribe to the list first. If you want to be a real sport, you provide a patch along with the bug report. Section

Bugs Enumerate

The LyX keyboard mappings, including dead-keys, do not work in pop-up dialogs. You can try cut & paste from a text editor. Enumerate

It is not possible to enter typewriter

dj default or typewriter

DJ default as LaTeX accent insets; this means that these characters are not available to people who want to use latin1 as encoding. Enumerate

On a very small ( _inset Formula 640×480 inset

?) screen, math panel pops up the subpanels off screen. It should check it's position, and put the panels somewhere visible. Enumerate

sans Options Keyboard default has no sans Apply default and sans Cancel default buttons. [ on Note from Asger: Well, I think the entire form should be redesigned, such that it isn't dynamic. Also, it should not be possible to select a non-existing keyboard mapping. In other words, the drop-down list should show exactly those that are available. Similarly, the charset definition should be a droplist too.

default ] Enumerate

The vertical scroll bar of the preamble window is broken. If you resize the window, strange things can happen, including a fatal crash! This is a bug in XForms. [ on Note from Jean-Marc: things are a bit better now, but not perfect.

default ] Enumerate

Navigation by table of contents (ToC) is limited by Section Number Depth, rather than ToC Depth. If you have Section Number Depth of 1, but ToC of 2, clicking on any of the numbered sections takes you to the right point in the document. But clicking on a (unnumbered) Subsection takes you to the beginning of the Section, rather than to the subsection. Enumerate

If you have a footnote (or margin note) in a section heading, the text after this not will not appear in the ToC popup. Enumerate

When several insets are placed consecutively (this can happen with error insets), clicking on an inset can result in opening the wrong one. A workaround is to use sans C-o default , with the cursor placed just before the desired inset. Enumerate

The sans Citation Reference default command doesn't escape _inset Quotes eld inset

typewriter _ default

_inset Quotes erd inset

characters in the remarks field when generating TeX documents. You have to type _inset Quotes eld inset

typewriter

_ default

_inset Quotes erd inset

by hand in these remarks if you want to use an underscore. Similar for other special characters. Enumerate

If a figure is larger than one page down press would have taken you, the page down fails and you are left where you started. [ on Comment: behavior in this situation is improved but still imperfect. LyX now does the pageup or pagedown, but jumps from the top to the bottom of the figure, potentially skipping part of the middle.] Enumerate

If you delete marked text, the text is not deleted, but _inset Quotes eld inset

cut _inset Quotes erd inset

, which deletes the current text in the clipboard. Enumerate

Sometimes, when you delete large sections of text, the screen will appear empty, and you have to use the scrollbar to make the cursor visible again. Enumerate

You can not export a selection from LyX to another X11 program. Not even between two instances of LyX. You can only paste into LyX using the middle mouse button.

Enumerate

If you have edited and then undo all changes, then the _inset Quotes eld inset

Changed _inset Quotes erd inset

status is not reset. Enumerate

If you have a margin note in itemize text and the first paragraph of the margin note is also itemize text it is possible to _inset Quotes eld inset

depth-increment _inset Quotes erd inset

and make the first itemize paragraph in the margin note deeper on-screen even though LaTeX doesn't permit this (and ignores this).

Enumerate

A table which is larger than the screen manages to go outside the red lines drawn by a table float. Same goes for figures. A similar thing can happen with large mathematical equations. Resize your LyX window. Enumerate

It is not possible to include footnotes in tables.

Enumerate

The numbering policy of LyX does not exactly match what LaTeX does for sections: for example, LyX resets subsection on and default subsubsection counters at a new section, while LaTeX does not reset the subsubsection counter. As a workaround, you can add typewriter

setcountersubsubsection0 default , marked as TeX, just after the section heading. Enumerate

LyX is not able to render correctly sans Paragraph default and sans SubParagraph default headings which, in standard LaTeX classes, are just placed at the start of the following paragraph. This can be confusing. Enumerate

LyX sometimes gets caught by TeX fonts ligatures: for example, in the sentence

_inset Quotes eld inset

He said 'Hello!' _inset Quotes erd inset

, the single and double closing quotes come out inverted (just try to preview this paragraph). The only sollution is to write it as _inset Quotes eld inset

He said 'Hello!' atex

textcompwordmark efault

_inset Quotes erd inset

, which is admittedly not very nice. Enumerate

When going into math text mode (which results in typewriter

mathrm default in the LaTeX output) it is impossible to enter punctuation, as this is always put back into math mode. Enumerate

If a LaTeX command is partially bold, it doesn't generate correct LaTeX commands. LaTeX commands written using the LaTeX layout or the LaTeX font state should always use the standard font (this means no font changing commands should be allowed). Don't use font changing commands when you are in LaTeX mode. Enumerate

If you change font in a special word (like in _inset Quotes eld inset

ūnder L d̄efault aTeX _inset Quotes erd inset

), the whole word will have the font of the first character in dvi output. This can be solved by using for example _inset Quotes eld inset

ūnder L d̄efault atex efault aTeX _inset Quotes erd inset

, thus disabling the automatic translation to the macro typewriter

LaTeX default . Enumerate

In a LyX-Code environment, you can't have an empty line. You'll have to type a single space to make it work. Enumerate

In LyX-Code and in paragraphs written completely using the typewriter font, all spaces are protected so that LaTeX isn't able to perform correct formatting of the text. You'll have to insert linebreaks manually. Enumerate

It is possible to use the subfigure style to get two small figures (side-by-side ), each with a caption and label, and then a common caption and label for the entire figure. LyX currently seems to support this in the pop-up menu for an eps figure. However, I am unable to successfully add labels to each of the subfigures. If I insert a label next to each subfigure, the labels appear fine and can be cross-referenced in the usual manner. However, the actual output (dvi or ps) does not distinguish between the two labels and any cross-reference gets the same number. You have to use plain old raw LaTeX mode and do this by hand. Enumerate

If you close a document while some included images are still in the rendering phase, all images in newly opened documents will stay in the rendering phase, making it impossible to preview or print the document. You can't fix this by killing gs-processes, because there aren't any. You'll have to restart LyX to work with figures again. Enumerate

If you preview an empty document, no dvi-file will be created, and xdvi will not start. We should present a kind warning to the user rather than be silent. Enumerate

Document that includes others: if LaTeX reports an error during the execution of LaTeX on a sub-document as a chain reaction of executing LaTeX on a higher level document, LyX places the error window on the correct position of the higher level doc, not of the lower one. There might be some spurious document corruption effects related to this. Be careful with raw LaTeX in sub-documents. _end