Commit Graph

32511 Commits

Author SHA1 Message Date
Richard Heck
bdb6abf9b7 Fix bug #9296. The key may be multiple keys.
(cherry picked from commit 080a4d84e2)
2014-10-16 16:38:18 -04:00
Juergen Spitzmueller
a0e0e3c170 typo 2014-10-10 18:27:35 +02:00
Juergen Spitzmueller
4db6ffe7d8 Document fix 2014-10-10 18:26:01 +02:00
Juergen Spitzmueller
34513a4abe Fix key code 2014-10-10 18:24:22 +02:00
Enrico Forestieri
a291c70658 Fix export of xfig external insets (bug #9244).
The check for a latex format is very fragile. Both libmagic and our
guessing from contents cannot distinguish the pstex and pdftex formats
used by the xfig external inset. Moreover, it may also happen that
lyx files are mistaken as latex ones. Thus, when the guessed format
is latex, the only solution is to give precedence to the format
determined by the file extension.
2014-09-28 21:28:16 +02:00
Stephan Witt
3ca1a69918 #8849 catch exception in enchant speller backend and avoid multiple speller lookups for missing dictionaries 2014-09-28 19:39:15 +02:00
Kornel Benko
74a9cf2042 * sk.po 2014-09-27 17:42:30 +02:00
Juergen Spitzmueller
abe8cfddd6 de.po 2014-09-27 17:33:15 +02:00
Kornel Benko
512ddff8a4 Corrected tooltip search string. Picked from master branch. 2014-09-27 17:17:58 +02:00
Juergen Spitzmueller
4ac278a862 de.po 2014-09-27 15:03:19 +02:00
Kornel Benko
509e7b5ece * sk.po 2014-09-27 14:11:30 +02:00
Juergen Spitzmueller
56e2f6c75c Support for conference posters
The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter
2014-09-27 10:05:23 +02:00
Juergen Spitzmueller
4050c33d10 Add support for the sectionbox and tcolorbox packages.
They will be used by the conference poster classes that will be supported in a minute.
2014-09-27 10:00:01 +02:00
Juergen Spitzmueller
17eeed33fa Document pdfcomment in LaTeXConfig.lyx 2014-09-27 09:55:50 +02:00
Juergen Spitzmueller
e627bf3ba6 Add support for the pdfcomment package.
Fixes: #6975.
2014-09-27 09:55:25 +02:00
Juergen Spitzmueller
2eeed6cf13 Fix bug with wrong baseline calculation in last paragraph (2nd attempt)
This time, we consider the cases where a \par is not wanted (single-par insets, tabular cells).

Fixes: #9231
2014-09-27 09:42:48 +02:00
Juergen Spitzmueller
959ad0b250 Fix some convert_TeX_brace_to_Argument glitches
Fixes: #9273
2014-09-27 09:37:54 +02:00
Juergen Spitzmueller
063e5242bf Fix lyx2lyx issue with complex beamer arguments.
Fixes: #9254
2014-09-27 09:31:45 +02:00
Scott Kostyshak
2cc0de8b8b Fix alignment rendering of multirow in LyX (#8976)
Multirow cells now have the same alignment rendering in LyX
as in the output. The alignment of a multirow can change as
long as the column is not of fixed width. If the column is
of fixed width, the multirow is left-aligned.

When setting a multirow, the alignment is copied from
the last cell in the selection.
2014-09-26 22:38:13 -04:00
Scott Kostyshak
427d0ef390 Reset status file after 2.1.2 release 2014-09-26 22:34:38 -04:00
Richard Heck
15c2edd01c Back to development mode. 2014-09-26 18:13:22 -04:00
Uwe Stöhr
53fb8f28a5 Install.cmake: add missing subfolder "\templates\springer" 2014-09-25 00:23:23 +02:00
Richard Heck
499cc58b0e Forgot to add new beamer files to Makefile. 2014-09-23 10:20:21 -04:00
Richard Heck
1200172d16 Something weird happened to the patch preamble. 2014-09-16 12:31:36 -04:00
Richard Heck
3410f6cee9 Minor update to build script. 2014-09-16 12:12:50 -04:00
Richard Heck
6c7c09f14d Remerge strings. 2014-09-16 12:08:09 -04:00
Richard Heck
c71017dcca Start prepration for 2.1.2. 2014-09-16 12:07:19 -04:00
Richard Heck
7fc3987f7f GMO file for French. 2014-09-10 16:30:33 -04:00
Richard Heck
2d92af02c3 Updates to status file. 2014-09-10 16:30:07 -04:00
Richard Heck
e011bc285f New French translation from Jean-Pierre, as well as translations of
beamer.lyx and beamer-article.lyx.
2014-09-10 16:26:39 -04:00
Richard Heck
63b04553ea Update to Interlingua translation, from Giovanni. 2014-09-10 00:00:00 -04:00
Richard Heck
b099d2b12b Update GMO files. 2014-09-09 11:04:29 -04:00
Richard Heck
db5d49858a New Japanese translation from Koji. 2014-09-09 10:00:12 -04:00
Kornel Benko
65d2f907ca Added pl.gmo (forgotten in last commit) 2014-09-02 20:48:03 +02:00
Kornel Benko
d553f21b41 Correct some strings in po.pl to make it compilable. 2014-09-02 20:40:54 +02:00
Richard Heck
7008df5438 New Polish translation from Michal. 2014-09-02 13:46:45 -04:00
Richard Heck
ccff7f6a2f New Swedish translation from Jim Rotmalm. 2014-09-01 21:51:48 -04:00
Richard Heck
fa82d6b327 French translation from Jean-Pierre. 2014-08-28 13:39:12 -04:00
Juergen Spitzmueller
15957d003a Revert fix for #9231
This is more complicated than I thought.
2014-08-28 08:22:47 +02:00
Enrico Forestieri
43c669fb13 Fix the -geometry command line argument for Windows.
The command line argument -geometry WIDTHxHEIGHT±XOFF±YOFF
specifies a preferred size and location for the main window.
Currently, this is semi-broken on Windows. Indeed, only
specifying WIDTH and HEIGHT places the main window such that
the left and top borders are invisible such that the window cannot
be moved. Moreover, the XOFF and YOFF parts (when present) are
used to specify the distance of the window from the left and top
or right and bottom edges of the screen, when using '+' or '-',
respectively. However, -geometry 800x600-20-20, instead of placing
the window such that its bottom and right edges are at a distance
of 20 pixels from the corresponding screen edges, places the
window such that its left and top borders are out of the screen.
This is corrected by this commit.
2014-08-25 20:55:03 +02:00
Richard Heck
f626d8f589 New Japanese translation from Koji. 2014-08-24 12:43:55 -04:00
Richard Heck
d643ab471d Remerge strings. 2014-08-15 11:18:19 -04:00
Kornel Benko
69c1a6b04c Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x 2014-08-15 17:08:40 +02:00
Kornel Benko
7749f72fb9 * sk.po 2014-08-15 17:08:27 +02:00
Richard Heck
a0ed470672 Start preparing ANNOUNCE file for 2.1.2. 2014-08-15 11:00:23 -04:00
Richard Heck
f52d5ae614 Minor updates to status file. 2014-08-15 10:53:38 -04:00
Richard Heck
8302d1bab1 Possible fix for the mystery crash, which is bug #9049.
Investigation of bug #9236 showed that crash to be due to a Paragraph's
holding a dangling pointer to an old and deleted Layout after the
DocumentClass was reset. Since the backtraces look almost identical, it
seems likely that we have the same problem here.

Since this crash seems almost always to involve tables, I looked at the
code in switchBetweenClasses() and found that the Paragraphs that belong
to "hidden" table cells are not seen by the initial recursion using a
ParIterator: It skips right over them. This was confirmed by test code
suggested by Enrico, with results reported in Trac.

The present patch attempts to deal with this problem in the second
recursion, over Insets. When we see an InsetTabular, we call a new
routine that recurses through the cells, looking for hidden ones. If it
finds a hidden one, it then resets the Layout for the cell's Paragraphs
(there should be only one, but we do not make any assumptions) to the
PlainLayout that belongs to the new DocumentClass. This is good enough,
since such cells never have content.

There is extensive discussion of the patch here:
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg185095.html
Additional testing by Enrico and me confirmed the existence of the
dangling pointer.

(cherry picked from commit 54c2ab2732)
2014-08-15 10:46:56 -04:00
Richard Heck
1757ef2a99 Use a const ref here. Guess it was a thinko when I did it.
(cherry picked from commit b9fe1dd10b)
2014-08-12 12:33:29 -04:00
Richard Heck
090bd44740 Fix bug #9236: After we recreate the DocumentClass, we have to apply
it to the document.

(cherry picked from commit c2fdbbe01a)
2014-08-07 15:16:16 -04:00
Enrico Forestieri
e2d834e8d0 Fix bug #9146 (Graphics conversion problem).
If LyX does not know about a given file format, it may easily
happen that the format is recognized as "latex" and this causes
bug #9146. This patch limits the check for a latex format to
non-binary files. The strategy for deciding that a file has
binary content is the same as that adopted by the "less" program.
This is a stripped down backport of the more complex fix in master.
2014-08-04 18:52:20 +02:00