Commit Graph

32651 Commits

Author SHA1 Message Date
Georg Baum
edc1ce4068 Fix unwanted curly braces in formula (bug #8679)
There was an unsymmetry between reading and writing: InsetMathGrid::eolString()
adds curly braces if the first cell of the next line starts with [ to prevent
misparsing as optional argument of \\. These braces were not removed on reading.

Thanks to Enrico, who noticed that the previous fix did not take into account
the case of nonempty length argument + the next line beginning with [.
Now the parsing is exactly the inverse of InsetMathGrid::eolString().
2015-02-12 21:36:01 +01:00
Georg Baum
15d1349847 Fix wrong listings preamble encoding (bug #9382)
The listings package employs some dirty tricks internally, therefore it does
not work with utf8 encoding, but requires fixed width encodings. This version
of the fix uses ugly hardcoding instead of a layout file format change, so it
could be backported if needed.
2015-02-12 21:29:54 +01:00
Georg Baum
8a70d0ff9a Fix viewer file paths on windows (bug #8892)
Some applications do not accept forward slashes, so call external viewers
and editors with backward slashes which is the usual convention under windows.
2015-02-12 21:22:21 +01:00
Juergen Spitzmueller
4d0beaf541 de.po: Fix shortcut conflict
Fixes: #9406
2015-02-12 15:40:56 +01:00
Uwe Stöhr
13ad138be4 status.21x: add a fix 2015-02-12 00:52:53 +01:00
Uwe Stöhr
996c0b82d5 EmbeddedObjects.lyx: add info about footnotes in titles 2015-02-12 00:45:28 +01:00
Stephan Witt
e3a56beab3 #8637 back port of change 0d6f17af: More careful NSAutoreleasePool management 2015-02-11 23:45:57 +01:00
Uwe Stöhr
6cd6de3eb5 configure.py: quote path to python
this fixes a path issue unveiled while inspecting bug #8478
2015-02-11 21:52:36 +01:00
Juergen Spitzmueller
2d2c0a99c3 Fix output encoding information for non-TeX fonts XeTeX/LuaTeX on preview pane
Fixes: #8919
2015-02-10 11:26:15 +01:00
Jean-Marc Lasgouttes
53ed6d3d46 Fixes to InsetCaption \protect-ion
* \caption does not need to be protected in general
* the contents of \caption arguments need to be protected, though.

All styles related to caoption inset have been audited and updated.

The special casing of captions in longtables has been removed, since there is no special case.

Fixes bug: #9177
2015-02-10 09:52:22 +01:00
Kornel Benko
8dea70f3ea sk.po update 2015-02-10 09:36:59 +01:00
Uwe Stöhr
8599ac1e87 aastex.layout: fix name and hint of \figcaption 2015-02-10 00:17:13 +01:00
Uwe Stöhr
f3dc9d339c symbols: add support for the math commands \lvert etc.
add support for the math commands \lvert, \rvert, \lVert, and \rVert
fixes bug #3538
2015-02-09 23:53:39 +01:00
Richard Heck
9f3367e665 Fix bug #9383. Writing directly to the output stream bypassed the
machinery that clears the tag stack.

(cherry picked from commit 5a78a112b6)
2015-02-09 17:27:37 -05:00
Richard Heck
1163ea4369 Back to development mode. 2015-02-09 16:54:27 -05:00
Uwe Stöhr
9c046e2fbf status.21x: fix typos and cosmetics
- move crash fixes to the top of each section (as we did so in the past)
- fix few typos
2015-02-09 01:36:00 +01:00
Uwe Stöhr
1defd58e46 win installer: info for the 2.1.3 release 2015-02-09 01:19:01 +01:00
Uwe Stöhr
2c3f673c32 Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x 2015-02-09 01:15:23 +01:00
Uwe Stöhr
13edb2e7a5 Win installer: correct a sorting 2015-02-09 01:15:07 +01:00
Richard Heck
8c5bdcb9c6 Forgot to add new Japanese template to Makefile. 2015-02-07 10:44:22 -05:00
Richard Heck
8cd12e3984 Fix patch-preamble. 2015-02-07 10:41:17 -05:00
Richard Heck
1096405b0c Fix suffixes in build script. 2015-02-07 10:40:40 -05:00
Richard Heck
09c086918a Typo. 2015-02-06 12:29:56 -05:00
Richard Heck
9fb9dd8248 Remerge strings. 2015-02-05 20:29:35 -05:00
Richard Heck
1664feed2f Prepare for 2.1.3. 2015-02-05 20:28:19 -05:00
Uwe Stöhr
a34b186647 status.21x: add recent updates translations 2015-02-01 05:03:18 +01:00
Richard Heck
c6ec9f2e00 French translation for 2.1.3. 2015-01-31 11:40:37 -05:00
Richard Heck
32b6dee328 Swedish translation for 2.1.3. 2015-01-31 11:39:59 -05:00
Richard Heck
62dc2042aa Japanese translation for 2.1.3, and a new translation of the Beamer
conference template.
2015-01-31 11:39:55 -05:00
Uwe Stöhr
3dbd404950 aastex.lyx: backport a fix from master
The normal caption should be the standard \caption command.
2015-01-23 00:30:56 +01:00
Georg Baum
2c5d4d83a2 Fix pasting insets into math (bug #9302)
The problem was that the conversion to plain text (which is used as an
intermediate step) requires for some insets a valid buffer pointer, but
insets in the cut stack do not have one. Now we use the same temp buffer
business as for copying to the external clipboard.
2015-01-21 22:27:06 +01:00
Kornel Benko
c5aad57bd7 update sk.po 2015-01-13 18:19:53 +01:00
Richard Heck
b4a604a758 Remerge strings. 2015-01-13 11:37:40 -05:00
Richard Heck
8d19739b43 Whitespace. 2015-01-13 11:36:58 -05:00
Uwe Stöhr
dba70d6ee9 installer: configure.nsh: better babel installation
The former solution with installing all babel packages at once via a list fails if only a single package of the list is already installed. In this case none of the packages in the installation list will be installed. Therefore every package will be installed separately.

(The bug is already reported to MiKTeX and this workaround can be removed for LyX 2.1.4.))
2015-01-13 01:28:07 +01:00
Uwe Stöhr
1c09e99b29 aastex.lyx: repair a broken figure float 2015-01-11 03:40:05 +01:00
Georg Baum
9ebc325be3 Work around MSVC warning
The statement
	if (pos < from + lyxrc.completion_minlength)
triggers a signed vs. unsigned warning. I don't know why this happens, it
could be a MSVC bug, or related to LLP64 (windows) vs. LP64 (unix)
programming model, or the C++ standard might be ambigous in the section
defining the "usual arithmetic conversions". However, using a temporary
variable is safe and works on all compilers.
2015-01-09 11:54:05 +01:00
Uwe Stöhr
df0b34017e Windows installer: backport recent changes from master 2015-01-09 02:55:00 +01:00
Uwe Stöhr
076e62dd5f installer/Packages.txt: remove unsupported and double entries 2015-01-08 02:07:11 +01:00
Uwe Stöhr
a090f6b289 chkconfig.ltx: fix a typo 2015-01-08 01:42:17 +01:00
Uwe Stöhr
55339f0249 Win installer: LaTeX package list update
- Packages.txt: add all available babel packages and update to latest list of packages supported by LyX
- chkconfig.ltx: remove an entry that was added only for the Win-installer
2015-01-08 01:39:10 +01:00
Uwe Stöhr
7cdd083a73 fr.po: translation updates from Jean-Pierre 2015-01-07 02:33:49 +01:00
Uwe Stöhr
0ccbda9e51 French documentation files: updates by Jean-Pierre 2015-01-07 02:28:08 +01:00
Enrico Forestieri
eee6c78f8d Update it.po 2015-01-06 22:58:45 +01:00
Enrico Forestieri
383334c1fe Fix bug #9342: LaTeX build get stuck for unconventional path name
The reason being that the TEXINPUTS path list was not quoted on Windows.
This was no problem with spaces but some special characters are
interpreted by the shell and can cause problems. In this particular
case, the '&' character was being interpreted as a command separator.
2015-01-06 22:06:46 +01:00
Enrico Forestieri
855f24e063 Fix bug #9319: Problems with space inside math and textrm. 2015-01-06 21:50:58 +01:00
Enrico Forestieri
69179c08e7 Fix bug #7970: space disappears from equation when reopening LyX file. 2015-01-06 19:57:54 +01:00
Jean-Marc Lasgouttes
1997e8b817 Reimplement inset-select-all in a generic way
There are 3 possible actions (in order)
* select current cell
* select all calls of inset
* select the inset from outside (in the containing inset)

C-a is now bound to inset-select-all

C-M-a is bound to the global "select all". The
reason for this change is that selecting an inset
is a more common operation that selecting an entire
document.

This patch is the result of discussion on #7727.
2015-01-06 11:05:49 +01:00
Stephan Witt
e0840f28b7 backport of --with-util-dir option 2015-01-05 23:36:44 +01:00
Georg Baum
f067babf6e Fix multithreading crash (bug #9366)
This minimal fix makes the crash go away on my machine. A much more complete
fix is in master (and will be futher extended), but for 2.1.x we'll do only
minimal changes.
2015-01-05 21:44:37 +01:00