]> git.lyx.org Git - lyx.git/log
lyx.git
10 years agoFix dataloss for align env inside math
Georg Baum [Thu, 27 Feb 2014 20:25:19 +0000 (21:25 +0100)]
Fix dataloss for align env inside math

The math parser aborts with an error message on \begin{align} and
\begin{align*} if this is not the hull inset. This is now fixed, however
this is not complete support for these two environments (the GUI does not
respect the numbering). It is only the minimal fix that ensures that no data
loss occurs for documents imported by tex2lyx.

10 years agoFix compilation of es/EmbeddedObjects.lyx
Scott Kostyshak [Thu, 27 Feb 2014 14:37:59 +0000 (09:37 -0500)]
Fix compilation of es/EmbeddedObjects.lyx

Since a2e8cb75, \lstlistingname is localized. Redefining it
in the preamble is not necessary and in fact since f4dd0ba5
leads to a compilation error.

10 years agoExport test for french EmbeddedObjects with dvi3 and system fonts working now
Kornel Benko [Thu, 27 Feb 2014 07:55:38 +0000 (08:55 +0100)]
Export test for french EmbeddedObjects with dvi3 and system fonts working now

10 years agozh_TW.po: huge translation update by Mingyi Wu
Uwe Stöhr [Wed, 26 Feb 2014 23:59:46 +0000 (00:59 +0100)]
zh_TW.po: huge translation update by Mingyi Wu

10 years agoUpdate release notes.
Richard Heck [Wed, 26 Feb 2014 22:04:51 +0000 (17:04 -0500)]
Update release notes.

10 years agoFix misparsing of alternative simple formulas
Georg Baum [Wed, 26 Feb 2014 20:54:09 +0000 (21:54 +0100)]
Fix misparsing of alternative simple formulas

This comes from trying to run tex2lyx on the AMS math test document
testmath.tex. Both \(...\) and \begin{math}...\end{math} are defined as
inline math formulas in standard LaTeX. tex2lyx recognizes this, but the
math parser in LyX did not handle "\begin_inset Formula \(" and
"\begin_inset Formula \begin{math}" correctly.
The fix is simple and safe: If we are in undecided mode (this is only true
for the first token of a math inset), create a hull inset of the respective
kind. Otherwise, handle the commands as before.

10 years agoAdd missing math delim decorations
Georg Baum [Wed, 26 Feb 2014 20:18:31 +0000 (21:18 +0100)]
Add missing math delim decorations

This avoids a message "Deco was not found. Programming error?" on stderr.
The added decorations are defined by amsmath, and equivalent to \vert (single
vertical bar) and \Vert (double vertical bar), respectively. They are used to
distinguish the single and paired versions (for use with \left and \right).
These symbols should cause amsmath to be loaded, but this would be too
dangerous to implement now.

10 years agoLoad listings after babel (bug #8995)
Georg Baum [Wed, 26 Feb 2014 19:43:04 +0000 (20:43 +0100)]
Load listings after babel (bug #8995)

Babel makes the character ':' active in french documents, and the listings
package cannot cope with that if it is loaded before babel. If it is loaded
after babel it works. This makes the french EmbeddedObjects manual compilable.

10 years ago* sk.po
Kornel Benko [Wed, 26 Feb 2014 09:19:20 +0000 (10:19 +0100)]
* sk.po

10 years agode.po
Juergen Spitzmueller [Wed, 26 Feb 2014 07:43:27 +0000 (08:43 +0100)]
de.po

10 years agoFix \caption* definition (see #8993)
Juergen Spitzmueller [Wed, 26 Feb 2014 06:57:57 +0000 (07:57 +0100)]
Fix \caption* definition (see #8993)

10 years agoTable cells are insets, but not from the point of view of DocIterators
Richard Heck [Mon, 24 Feb 2014 19:36:13 +0000 (14:36 -0500)]
Table cells are insets, but not from the point of view of DocIterators
and Cursors. So just calling InsetText::addToToc for the cells causes
problems, because InsetText::addToToc then adds the cell inset itself
as part of the DocIterator. This then leads to assertions, such as bug

The solution is to refactor InsetText::addToToc so that we can call the
iterating part without adding the inset.

10 years agoAllow statusbar to be set on or off in full screen mode as a
Prannoy Pilligundla [Wed, 26 Feb 2014 01:48:56 +0000 (20:48 -0500)]
Allow statusbar to be set on or off in full screen mode as a
preference.

10 years agowhitespace
Georg Baum [Tue, 25 Feb 2014 20:21:47 +0000 (21:21 +0100)]
whitespace

10 years agoRemove unsupported optional argument.
Georg Baum [Tue, 25 Feb 2014 19:05:07 +0000 (20:05 +0100)]
Remove unsupported optional argument.

Thanks Jürgen for insisting. The \caption* command of long tables does indeed
not support optional arguments.

10 years agoFix caption counter in longtables (see #8993).
Juergen Spitzmueller [Tue, 25 Feb 2014 07:00:43 +0000 (08:00 +0100)]
Fix caption counter in longtables (see #8993).

10 years agowhitespace
Juergen Spitzmueller [Mon, 24 Feb 2014 15:40:57 +0000 (16:40 +0100)]
whitespace

10 years agoFix a broken autotest
Scott Kostyshak [Mon, 24 Feb 2014 12:57:02 +0000 (07:57 -0500)]
Fix a broken autotest

This test was broken after wrap-around search was implemented. From
what I understand, the point of the test is that search should _not_
match in this case because "ignore format" is checked by default.
Thus, a new way of testing that there was no match is to check whether
the wrap around message shows up, because the cursor is initially at
the beginning so that would mean that the entire buffer was checked.

I confirmed that the test now works by checking that it passes and
checking that it fails if "ignore format" is unchecked. Although this
test is still fragile, it is fragile in a conservative way (i.e. it
will give false failures rather than false passes). It will fail if
the Italian translation changes, if "ignore format" is unchecked by
default, or if the wrap-around mechanism changes (e.g. does not ask if
the cursor started at the beginning of the buffer).

10 years agoAllow to unset header/footer in caption rows (#8990).
Juergen Spitzmueller [Mon, 24 Feb 2014 09:12:21 +0000 (10:12 +0100)]
Allow to unset header/footer in caption rows (#8990).

10 years agoEnglish EmbeddedObjects.lyx: fix table formatting
Uwe Stöhr [Sun, 23 Feb 2014 23:42:54 +0000 (00:42 +0100)]
English EmbeddedObjects.lyx: fix table formatting

10 years agoEmbeddedObjects.lyx: describe \caption* in longtables
Uwe Stöhr [Sun, 23 Feb 2014 22:39:41 +0000 (23:39 +0100)]
EmbeddedObjects.lyx: describe \caption* in longtables

10 years agoForgot in previous commit to deal with case. As I'm doing it now,
Richard Heck [Sun, 23 Feb 2014 17:04:56 +0000 (12:04 -0500)]
Forgot in previous commit to deal with case. As I'm doing it now,
it's easy to use the existing docstring routine, so I've commented
out the string version of lowercase I had introduced. I've left the
code in case someone else needs it later.

10 years agoIf the selection is some sort of URL, then make it the target, not
Richard Heck [Sun, 23 Feb 2014 16:20:47 +0000 (11:20 -0500)]
If the selection is some sort of URL, then make it the target, not
the name, in the hyperlink. Fixes bug #8792.

This also fixes a bug discovered while working on this code: The
params passed to GuiHyperlink were never used.

10 years agoWhitespace.
Richard Heck [Sun, 23 Feb 2014 16:33:56 +0000 (11:33 -0500)]
Whitespace.

10 years agoFix #8657 on Linux.
Juergen Spitzmueller [Sun, 23 Feb 2014 12:33:04 +0000 (13:33 +0100)]
Fix #8657 on Linux.

On windows, there is apparently some more work to do.

10 years agoFix crash on recursive include (bug #8994)
Georg Baum [Sun, 23 Feb 2014 11:33:15 +0000 (12:33 +0100)]
Fix crash on recursive include (bug #8994)

The problem was that collectBibKeys() was called before the recursive include
check was done. Now collectBibKeys() works even for recursive includes, and
your get a proper error message if you try to change the file name to the
parent file.

10 years agoFix bug #8992 without reintroducing #8933
Georg Baum [Sun, 23 Feb 2014 09:55:23 +0000 (10:55 +0100)]
Fix bug #8992 without reintroducing #8933

At efa0f198 I introduced a more flexible caption handling for long tables.
This was needed to fix tex2lyx bug #7412. Unfortunately this created bug #8933,
since I forgot to output captions to LaTeX which are not in any header or
footer. This was fixed at 2b941da7f, but this introduced bug #8992 (duplicate
caption output).
This commit is hopefully the final fix: Captions which are in header or footer
lines are output with the header or footer line, and captions in standard
lines are output standalone.

10 years agoEmbeddedObjects.lyx: accept changes and update preamble
Uwe Stöhr [Sun, 23 Feb 2014 02:57:06 +0000 (03:57 +0100)]
EmbeddedObjects.lyx: accept changes and update preamble

10 years ago* sk.po
Kornel Benko [Sat, 22 Feb 2014 18:47:50 +0000 (19:47 +0100)]
* sk.po

10 years agoFix bug #8784 (mathml export for scripts)
Georg Baum [Sat, 22 Feb 2014 18:01:20 +0000 (19:01 +0100)]
Fix bug #8784 (mathml export for scripts)

For displaystyle scripts we need to use munder, mover or munderover.

10 years agoFix bug #8889 by always issuing \protect in fragile environments.
Enrico Forestieri [Sat, 22 Feb 2014 15:30:55 +0000 (10:30 -0500)]
Fix bug #8889 by always issuing \protect in fragile environments.

10 years agoFix bug #8891 (wrong depth of copied text)
Georg Baum [Sat, 22 Feb 2014 10:02:50 +0000 (11:02 +0100)]
Fix bug #8891 (wrong depth of copied text)

This was an obvious thinko: When pasting a paragraph list the depth of the
pasted paragraphs need to be adjusted, so that no paragraph has a negative
depth afterwards. However, the maximum allowed depth was only adjusted after
the second and following pasted paragraphs. Since the computed value was only
used for the subsequent paragrph this meant that the second paragraph did
still use the same maximum allowed depth as the first one, which came from the
paragraph the text as pasted into. This was wrong e.g. in case the outside
paragraph was a standard paragraph (max_depth = 0), and the first pasted
paragraph was an enumeration (max_depth = 1). Therefore, max_depth needs to
be adjusted also after the first pasted paragaph. Since the adjustment is
done aftre max_depth was used for the current paragraph the condition
mentioned in the comment is still met.

10 years agoAllow statusbar toggling in fullscreen (part of #8816).
Pavel Sanda [Sat, 22 Feb 2014 08:21:17 +0000 (00:21 -0800)]
Allow statusbar toggling in fullscreen (part of #8816).

10 years agoFix remaining part of bug #8967
Georg Baum [Fri, 21 Feb 2014 20:31:35 +0000 (21:31 +0100)]
Fix remaining part of bug #8967

Now interactive insertion of \smash[t] and \smash[b] is possible again.
\smash with optional argument behaves now exactly as in LyX 2.0.x, and without
optional argument it is supported by InsetMathPhantom.

10 years agoAdd new Japanese files to Makefile.am
Scott Kostyshak [Fri, 21 Feb 2014 18:57:11 +0000 (13:57 -0500)]
Add new Japanese files to Makefile.am

Patch from Koji Yokota.

10 years agoAllow $$s converter substitution if 'latex' flag
Scott Kostyshak [Sat, 25 Jan 2014 18:16:05 +0000 (13:16 -0500)]
Allow $$s converter substitution if 'latex' flag

A more general patch will be committed for 2.2 that
centralizes replacement of $$s in startScript().

10 years agomoveColumn now also swaps column_info
Scott Kostyshak [Tue, 18 Feb 2014 18:39:45 +0000 (13:39 -0500)]
moveColumn now also swaps column_info

For example, width and alignment are now swapped.

Same for moveRow.

10 years agoremerge ko.po
Kornel Benko [Thu, 20 Feb 2014 08:48:41 +0000 (09:48 +0100)]
remerge ko.po

10 years agoko.po, typo
Kornel Benko [Thu, 20 Feb 2014 08:38:42 +0000 (09:38 +0100)]
ko.po, typo

Spotted by Dal Ho Park <airdalho@gmail.com>

10 years agoForward search: add Enrico's comment from uses list.
Pavel Sanda [Thu, 20 Feb 2014 08:27:00 +0000 (00:27 -0800)]
Forward search: add Enrico's comment from uses list.

10 years agostdtoolbars.inc: add icons for \xleftarrow.png
Uwe Stöhr [Wed, 19 Feb 2014 22:42:40 +0000 (23:42 +0100)]
stdtoolbars.inc: add icons for \xleftarrow.png

LyX supports \xleftarrow since years but an icon in the toolbar was missing

10 years agoComment a minor bug not worth fixing (#8986)
Scott Kostyshak [Wed, 19 Feb 2014 21:18:28 +0000 (16:18 -0500)]
Comment a minor bug not worth fixing (#8986)

10 years agoFix bug #4036 (lyx2lyx produces invalid LyX 1.4.x)
Georg Baum [Wed, 19 Feb 2014 20:56:00 +0000 (21:56 +0100)]
Fix bug #4036 (lyx2lyx produces invalid LyX 1.4.x)

I should have had a closer look much earlier, since the fix is simple and
safe, but at that time I did not notice. The problem was that an invalid
.lyx document was created when converting unicode characters with two
backslashes in their LaTeX definition from lib/unicodesymbols to pre-unicode
LyX format.

10 years agoFix regression of 18779013 for \smash
Georg Baum [Wed, 19 Feb 2014 19:50:57 +0000 (20:50 +0100)]
Fix regression of 18779013 for \smash

When adding native support for \smash in 18779013 I overlooked that amsmath
redefines \smash to take an optional argument t or b. These optional
arguments are not parsed correctly anymore (bug 8967). This change fixes
the regression, so that \smash with optional argument appears in red, as it
was before th introduction of the native smash inset.
In the future, we should have native support for \smash[t] and \smash[b]
as well, but this would be a file format change (automatic amsmath loading),
and it is too late for 2.1.0.

10 years agoadd -fobjc-exceptions for compiling linkback sources with g++ and cmake on Mac
Stephan Witt [Wed, 19 Feb 2014 15:11:03 +0000 (16:11 +0100)]
add -fobjc-exceptions for compiling linkback sources with g++ and cmake on Mac
Original patch is from Ramanathan Vishnampet

10 years agoinstaller: uninstall JabRef also silently if necessary
Uwe Stöhr [Wed, 19 Feb 2014 00:23:31 +0000 (01:23 +0100)]
installer: uninstall JabRef also silently if necessary

10 years agoinstaller: set a safe guard
Uwe Stöhr [Wed, 19 Feb 2014 00:14:20 +0000 (01:14 +0100)]
installer: set a safe guard

10 years agostdtoolbars.inc: move \sideset to frame decorations
Uwe Stöhr [Wed, 19 Feb 2014 00:09:18 +0000 (01:09 +0100)]
stdtoolbars.inc: move \sideset to frame decorations

The frame decoration IconPalette contains already \overset etc. and \sideset has the same logic like \over- and \underset. Moreover we should keep the math panel clean and avoid the listing of many very special commands

10 years agoFix bug #8540 by not resetting the GUI if the request came from
Richard Heck [Mon, 17 Feb 2014 20:49:53 +0000 (15:49 -0500)]
Fix bug #8540 by not resetting the GUI if the request came from
the minibuffer. As the comments explain, this leaves a different
bug, but (a) it isn't a crash and (b) it probably won't affect
many users, if *any* users.

10 years agoRename a routine.
Richard Heck [Mon, 17 Feb 2014 20:47:22 +0000 (15:47 -0500)]
Rename a routine.

10 years agoRestore 'pdf' default format of Japanese docs
Scott Kostyshak [Tue, 18 Feb 2014 02:22:52 +0000 (21:22 -0500)]
Restore 'pdf' default format of Japanese docs

This restores 895f8285 and fixes out-of-the-box compilation.

10 years agoinstaller: enable to run it silently
Uwe Stöhr [Tue, 18 Feb 2014 01:15:53 +0000 (02:15 +0100)]
installer: enable to run it silently

10 years agode.po: update
Juergen Spitzmueller [Mon, 17 Feb 2014 18:23:58 +0000 (19:23 +0100)]
de.po: update

10 years agoAdd Dustin J. Mitchell to contributors
Scott Kostyshak [Mon, 17 Feb 2014 14:41:30 +0000 (09:41 -0500)]
Add Dustin J. Mitchell to contributors

10 years ago* sk.po
Kornel Benko [Mon, 17 Feb 2014 09:29:38 +0000 (10:29 +0100)]
* sk.po

10 years agoInsetMathXArrow.cpp; code simplification
Uwe Stöhr [Mon, 17 Feb 2014 01:11:57 +0000 (02:11 +0100)]
InsetMathXArrow.cpp; code simplification

10 years agoInsetMathXArrow.cpp: the cells of \xleftarrow must be centered
Uwe Stöhr [Mon, 17 Feb 2014 00:23:16 +0000 (01:23 +0100)]
InsetMathXArrow.cpp: the cells of \xleftarrow must be centered

the cells are centered in the output so also center them in LyX

10 years agoMathSupport.cpp: fix drawing of leftrightarrow
Uwe Stöhr [Mon, 17 Feb 2014 00:19:31 +0000 (01:19 +0100)]
MathSupport.cpp: fix drawing of leftrightarrow

- to see the difference use this in a formula:
\overleftrightarrow{aasasasasassdsdsdasdsdsd}

10 years agoUpdate it.po again
Enrico Forestieri [Sun, 16 Feb 2014 19:32:14 +0000 (20:32 +0100)]
Update it.po again

10 years agoUpdate it.po
Enrico Forestieri [Sun, 16 Feb 2014 19:27:28 +0000 (20:27 +0100)]
Update it.po

10 years agoMath.lyx: use inset-info instead of images for LyX-icons (final part)
Uwe Stöhr [Sun, 16 Feb 2014 19:11:31 +0000 (20:11 +0100)]
Math.lyx: use inset-info instead of images for LyX-icons (final part)

- Japanese Math.lyx: correct an image path

10 years agostdmenus.inc: correct 2 expressions
Uwe Stöhr [Sun, 16 Feb 2014 19:06:23 +0000 (20:06 +0100)]
stdmenus.inc: correct 2 expressions

10 years agoUserGuide.lyx: correct more text styles (hopefully now all)
Uwe Stöhr [Sun, 16 Feb 2014 18:32:11 +0000 (19:32 +0100)]
UserGuide.lyx: correct more text styles (hopefully now all)

- German UserGuide.lyx: add missing index entry

10 years agoUserGuide.lyx: correct more text styles
Uwe Stöhr [Sun, 16 Feb 2014 18:20:55 +0000 (19:20 +0100)]
UserGuide.lyx: correct more text styles

10 years agoUserGuide.lyx: correct some text styles
Uwe Stöhr [Sun, 16 Feb 2014 18:11:06 +0000 (19:11 +0100)]
UserGuide.lyx: correct some text styles

- German UserGuide.lyx: update some outdated info

10 years agocua.bind, math.bind: whitespace fixes: use consistently tabulators
Uwe Stöhr [Sun, 16 Feb 2014 17:50:27 +0000 (18:50 +0100)]
cua.bind, math.bind: whitespace fixes: use consistently tabulators

10 years agoMath.lyx: use inset-info instead of images for LyX-icons (part 2)
Uwe Stöhr [Sun, 16 Feb 2014 17:36:13 +0000 (18:36 +0100)]
Math.lyx: use inset-info instead of images for LyX-icons (part 2)

- also add info about special relations

10 years agoMath.lyx: use inset-info instead of images for LyX-icons (part 1)
Uwe Stöhr [Sun, 16 Feb 2014 16:39:29 +0000 (17:39 +0100)]
Math.lyx: use inset-info instead of images for LyX-icons (part 1)

10 years agoUserGuide.lyx: fix some shortcut issues after [ea8248fc/lyxgit]
Uwe Stöhr [Sun, 16 Feb 2014 16:26:51 +0000 (17:26 +0100)]
UserGuide.lyx: fix some shortcut issues after [ea8248fc/lyxgit]

- German UserGuide.lyx: add missing image showing the abstract environment

10 years agoFix localization of captions (#8977)
Juergen Spitzmueller [Sun, 16 Feb 2014 09:23:30 +0000 (10:23 +0100)]
Fix localization of captions (#8977)

10 years agoSimplification
Juergen Spitzmueller [Sun, 16 Feb 2014 08:57:17 +0000 (09:57 +0100)]
Simplification

10 years agocsv2lyx: use universal newlines when reading CSVs
Scott Kostyshak [Sun, 16 Feb 2014 05:07:43 +0000 (00:07 -0500)]
csv2lyx: use universal newlines when reading CSVs

Patch from Dustin J. Mitchell.

10 years agoUserGuide.lyx: describe new support for \listoflistings
Uwe Stöhr [Sun, 16 Feb 2014 02:30:55 +0000 (03:30 +0100)]
UserGuide.lyx: describe new support for \listoflistings

10 years agoMath.lyx: describe command \adjustlimits
Uwe Stöhr [Sun, 16 Feb 2014 02:07:56 +0000 (03:07 +0100)]
Math.lyx: describe command \adjustlimits

10 years agoIt's definitely not safe to continue in this case. The cursor is
Richard Heck [Sun, 16 Feb 2014 01:53:03 +0000 (20:53 -0500)]
It's definitely not safe to continue in this case. The cursor is
invalid. So we should try to save the document before anything
really bad happens.

10 years agoMath.lyx: update description for command \mathclap
Uwe Stöhr [Sun, 16 Feb 2014 01:11:08 +0000 (02:11 +0100)]
Math.lyx: update description for command \mathclap

10 years agoUserGuide.lyx: describe new supported negative spaces
Uwe Stöhr [Sun, 16 Feb 2014 00:05:24 +0000 (01:05 +0100)]
UserGuide.lyx: describe new supported negative spaces

10 years agoFix key bindings for math space (#8974)
Juergen Spitzmueller [Sat, 15 Feb 2014 09:02:44 +0000 (10:02 +0100)]
Fix key bindings for math space (#8974)

10 years agoMath.lyx: describe new support for \hspace* etc.
Uwe Stöhr [Sat, 15 Feb 2014 04:05:28 +0000 (05:05 +0100)]
Math.lyx: describe new support for \hspace* etc.

10 years agoMath.lyx: describe new support for command \sideset
Uwe Stöhr [Sat, 15 Feb 2014 01:37:22 +0000 (02:37 +0100)]
Math.lyx: describe new support for command \sideset

10 years agoWhitespace
Jean-Marc Lasgouttes [Fri, 14 Feb 2014 11:00:56 +0000 (12:00 +0100)]
Whitespace

10 years agoThis is meant to be almost UINT_MAX, but needn't really be that
Richard Heck [Thu, 13 Feb 2014 22:51:43 +0000 (17:51 -0500)]
This is meant to be almost UINT_MAX, but needn't really be that
big, and I don't see the point of pulling in limits.h.

10 years agoSupport (black) card suites in text mode (#8971)
Juergen Spitzmueller [Thu, 13 Feb 2014 14:23:15 +0000 (15:23 +0100)]
Support (black) card suites in text mode (#8971)

10 years agoDo not use enum names to describe lfuns in release notes
Jean-Marc Lasgouttes [Thu, 13 Feb 2014 13:52:21 +0000 (14:52 +0100)]
Do not use enum names to describe lfuns in release notes

Also some ws changes.

10 years agoFix various typos in LFUNs.lyx
Jean-Marc Lasgouttes [Thu, 13 Feb 2014 13:20:43 +0000 (14:20 +0100)]
Fix various typos in LFUNs.lyx

10 years agoRename some LFUN names to match their text name
Jean-Marc Lasgouttes [Tue, 11 Feb 2014 10:00:20 +0000 (11:00 +0100)]
Rename some LFUN names to match their text name

Also, rename copy-label-as-reference to label-copy-as-reference and update LFUNs.lyx accordingly.

10 years agoImprove autotools support for generating LFUNs.lyx
Jean-Marc Lasgouttes [Thu, 13 Feb 2014 12:26:18 +0000 (13:26 +0100)]
Improve autotools support for generating LFUNs.lyx

The tqrget now works properly when out of source directory qnd uses the $(PYTHON) variable. Also, the use of the error() function has been fixed in the gen_lfun.py script.

10 years agoagain update FUNs.lyx
Juergen Spitzmueller [Thu, 13 Feb 2014 09:44:12 +0000 (10:44 +0100)]
again update FUNs.lyx

10 years agoLFUNs.lyx improvements
Juergen Spitzmueller [Thu, 13 Feb 2014 08:55:40 +0000 (09:55 +0100)]
LFUNs.lyx improvements

10 years agoMath.lyx: fix a package loading logic mistake
Uwe Stöhr [Thu, 13 Feb 2014 00:41:43 +0000 (01:41 +0100)]
Math.lyx: fix a package loading logic mistake

10 years agoFix bug #8944 by introducing a maximum size for keys we process.
Richard Heck [Tue, 11 Feb 2014 04:11:35 +0000 (23:11 -0500)]
Fix bug #8944 by introducing a maximum size for keys we process.
The problem is caused by the fact that Encodings::fromLaTeXCommand
is very slow. It's not clear to me if that can be fixed, or if that
is just how things are. Georg suggested another time that we might
use tex2lyx in or instead of convertLatexCommands() in BiblioInfo.cpp,
but I don't know if that would much faster. The author string in the
example file is 32K characters long. As long as some files tex2lyx
would convert.

10 years agoFix typo and add a note about ResetsFont default
Georg Baum [Tue, 11 Feb 2014 18:25:23 +0000 (19:25 +0100)]
Fix typo and add a note about ResetsFont default

This was missing in 6b49b6b129a, and I did not find it because of the typo.
Thanks Uwe for reminding me.

10 years agochkconfig.ltx: uncoment check for cbgreek
Uwe Stöhr [Mon, 10 Feb 2014 22:53:52 +0000 (23:53 +0100)]
chkconfig.ltx: uncoment check for cbgreek

We don't need to check for every exotic package and this one is also very large. Due to nowadays new speed limit of some CTAN servers, downloading the package takes ages and therefore a fresh installation on Windows often times out. The advantage of the automatic package installation on Windows is therefore a disadvantage in case of this package.

10 years agoMath.lyx: describe support for command \utilde
Uwe Stöhr [Mon, 10 Feb 2014 22:07:32 +0000 (23:07 +0100)]
Math.lyx: describe support for command \utilde

10 years agoFix conflicting inset font defaults (bug #8874)
Georg Baum [Mon, 10 Feb 2014 21:06:32 +0000 (22:06 +0100)]
Fix conflicting inset font defaults (bug #8874)

This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit()
compatible. There is no user visible change except for the Chunk inset which
does not produce invalid LaTeX after editing operations anymore.
This is the safe version for 2.1.0, for later there are still open questions:
- All insets with ResetsFont true should be audited: Is this really needed,
  or do they show similar editing problems as the Chunk inset?
- Does inheritFont() need to be customizable in the layout file as well?
- Is resetFontEdit() != !inheritFont() needed at all?
I did not use change tracking for the docs, since I updated all existing
translations.

10 years agoupdate FUNs.lyx
Juergen Spitzmueller [Mon, 10 Feb 2014 08:31:46 +0000 (09:31 +0100)]
update FUNs.lyx

10 years agoDo not crash with empty (invalid) math environments (part of #8359)
Juergen Spitzmueller [Mon, 10 Feb 2014 08:24:14 +0000 (09:24 +0100)]
Do not crash with empty (invalid) math environments (part of #8359)

10 years agoFix LFUN_MATH_AMS_MATRIX: it was possible to generate corrupt documents (part of...
Juergen Spitzmueller [Mon, 10 Feb 2014 08:23:17 +0000 (09:23 +0100)]
Fix LFUN_MATH_AMS_MATRIX: it was possible to generate corrupt documents (part of #8359)

10 years agoSome improvements to the LFUNS generation script
Juergen Spitzmueller [Mon, 10 Feb 2014 07:35:22 +0000 (08:35 +0100)]
Some improvements to the LFUNS generation script

10 years agoMath.lyx: some preamble fixes for \cancel support
Uwe Stöhr [Mon, 10 Feb 2014 01:52:49 +0000 (02:52 +0100)]
Math.lyx: some preamble fixes for \cancel support