Commit Graph

32415 Commits

Author SHA1 Message Date
Georg Baum
877e73e0a2 Fix bug #8784 (mathml export for scripts)
For displaystyle scripts we need to use munder, mover or munderover.
2014-02-22 19:01:20 +01:00
Enrico Forestieri
3c1969574f Fix bug #8889 by always issuing \protect in fragile environments. 2014-02-22 10:30:55 -05:00
Georg Baum
270201ed67 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.
2014-02-22 11:02:50 +01:00
Pavel Sanda
02bde93d2a Allow statusbar toggling in fullscreen (part of #8816). 2014-02-22 00:21:17 -08:00
Georg Baum
acb7906fb5 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.
2014-02-21 21:31:35 +01:00
Scott Kostyshak
3f9e71f2c2 Add new Japanese files to Makefile.am
Patch from Koji Yokota.
2014-02-21 13:57:11 -05:00
Scott Kostyshak
731b8610af Allow $$s converter substitution if 'latex' flag
A more general patch will be committed for 2.2 that
centralizes replacement of $$s in startScript().
2014-02-21 12:51:48 -05:00
Scott Kostyshak
9ca242e5bf moveColumn now also swaps column_info
For example, width and alignment are now swapped.

Same for moveRow.
2014-02-21 09:40:16 -05:00
Kornel Benko
76e1f16f8f remerge ko.po 2014-02-20 09:48:41 +01:00
Kornel Benko
c9822e8d73 ko.po, typo
Spotted by Dal Ho Park <airdalho@gmail.com>
2014-02-20 09:38:42 +01:00
Pavel Sanda
e991539759 Forward search: add Enrico's comment from uses list. 2014-02-20 00:27:00 -08:00
Uwe Stöhr
a780443338 stdtoolbars.inc: add icons for \xleftarrow.png
LyX supports \xleftarrow since years but an icon in the toolbar was missing
2014-02-19 23:42:40 +01:00
Scott Kostyshak
f52eb9d823 Comment a minor bug not worth fixing (#8986) 2014-02-19 16:21:46 -05:00
Georg Baum
8f1cbe000e 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.
2014-02-19 21:56:00 +01:00
Georg Baum
227675ee02 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.
2014-02-19 20:50:57 +01:00
Stephan Witt
cfe9724a4c add -fobjc-exceptions for compiling linkback sources with g++ and cmake on Mac
Original patch is from Ramanathan Vishnampet
2014-02-19 16:11:03 +01:00
Uwe Stöhr
c3de934350 installer: uninstall JabRef also silently if necessary 2014-02-19 01:23:31 +01:00
Uwe Stöhr
0112a2f922 installer: set a safe guard 2014-02-19 01:14:20 +01:00
Uwe Stöhr
bd7dad25a2 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
2014-02-19 01:09:18 +01:00
Richard Heck
7220f1459e 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.
2014-02-18 10:42:52 -05:00
Richard Heck
0a5b33bcad Rename a routine. 2014-02-18 10:42:52 -05:00
Scott Kostyshak
7f82b8391a Restore 'pdf' default format of Japanese docs
This restores 895f8285 and fixes out-of-the-box compilation.
2014-02-17 21:24:06 -05:00
Uwe Stöhr
2dc0ec25d3 installer: enable to run it silently 2014-02-18 02:15:53 +01:00
Juergen Spitzmueller
59828e02bc de.po: update 2014-02-17 19:23:58 +01:00
Scott Kostyshak
87864020b4 Add Dustin J. Mitchell to contributors 2014-02-17 09:42:32 -05:00
Kornel Benko
4fc21001ef * sk.po 2014-02-17 10:29:38 +01:00
Uwe Stöhr
789a6ebf2a InsetMathXArrow.cpp; code simplification 2014-02-17 02:11:57 +01:00
Uwe Stöhr
e9ce68dddc InsetMathXArrow.cpp: the cells of \xleftarrow must be centered
the cells are centered in the output so also center them in LyX
2014-02-17 01:23:16 +01:00
Uwe Stöhr
8c33f73cc7 MathSupport.cpp: fix drawing of leftrightarrow
- to see the difference use this in a formula:
\overleftrightarrow{aasasasasassdsdsdasdsdsd}
2014-02-17 01:19:31 +01:00
Enrico Forestieri
80a7d4d099 Update it.po again 2014-02-16 20:32:14 +01:00
Enrico Forestieri
a213faf20a Update it.po 2014-02-16 20:27:55 +01:00
Uwe Stöhr
8fa950fb31 Math.lyx: use inset-info instead of images for LyX-icons (final part)
- Japanese Math.lyx: correct an image path
2014-02-16 20:11:31 +01:00
Uwe Stöhr
225a48d0a7 stdmenus.inc: correct 2 expressions 2014-02-16 20:06:23 +01:00
Uwe Stöhr
7ce1c583cb UserGuide.lyx: correct more text styles (hopefully now all)
- German UserGuide.lyx: add missing index entry
2014-02-16 19:32:11 +01:00
Uwe Stöhr
ddcad89460 UserGuide.lyx: correct more text styles 2014-02-16 19:20:55 +01:00
Uwe Stöhr
17e260cda0 UserGuide.lyx: correct some text styles
- German UserGuide.lyx: update some outdated info
2014-02-16 19:11:06 +01:00
Uwe Stöhr
560ca9aba3 cua.bind, math.bind: whitespace fixes: use consistently tabulators 2014-02-16 18:50:27 +01:00
Uwe Stöhr
e3a34bd2f9 Math.lyx: use inset-info instead of images for LyX-icons (part 2)
- also add info about special relations
2014-02-16 18:36:13 +01:00
Uwe Stöhr
256fe5b43d Math.lyx: use inset-info instead of images for LyX-icons (part 1) 2014-02-16 17:39:29 +01:00
Uwe Stöhr
33a152942f UserGuide.lyx: fix some shortcut issues after [ea8248fc/lyxgit]
- German UserGuide.lyx: add missing image showing the abstract environment
2014-02-16 17:26:51 +01:00
Juergen Spitzmueller
cc7c042dda Fix localization of captions (#8977) 2014-02-16 10:23:30 +01:00
Juergen Spitzmueller
e0e8d6a40f Simplification 2014-02-16 09:57:17 +01:00
Scott Kostyshak
eb53788f3a csv2lyx: use universal newlines when reading CSVs
Patch from Dustin J. Mitchell.
2014-02-16 00:07:43 -05:00
Uwe Stöhr
eb8a1dc6f1 UserGuide.lyx: describe new support for \listoflistings 2014-02-16 03:30:55 +01:00
Uwe Stöhr
54b2c01b63 Math.lyx: describe command \adjustlimits 2014-02-16 03:07:56 +01:00
Richard Heck
27af044a2d 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.
2014-02-15 20:56:13 -05:00
Uwe Stöhr
8f663ea33e Math.lyx: update description for command \mathclap 2014-02-16 02:11:08 +01:00
Uwe Stöhr
aba0aeaf25 UserGuide.lyx: describe new supported negative spaces 2014-02-16 01:05:24 +01:00
Juergen Spitzmueller
ea8248fc13 Fix key bindings for math space (#8974) 2014-02-15 10:02:44 +01:00
Uwe Stöhr
deeec7d4e1 Math.lyx: describe new support for \hspace* etc. 2014-02-15 05:05:28 +01:00