Commit Graph

29517 Commits

Author SHA1 Message Date
Richard Heck
8c749572b1 Prepare for 2.0.8.1. 2014-05-03 10:36:57 -04:00
Georg Baum
bb876f85ae Fix table rotate conversion to 2.0 format
The old code did create invalid documents, since the space between the rotate
flag dn the previous flag was removed.
(cherry picked from commit b0664e0c98)
2014-05-02 17:51:10 -04:00
Richard Heck
09540c682e Status for last several lyx2lyx commits. 2014-04-28 10:03:08 -04:00
Georg Baum
41dcd49980 Fix lyx2lyx math package defaults (bug #9069)
lyx2lyx sets all new math packages to off when converting from old formats.
This is correct if any command which would cause an automatic package loading
exists in the document. However, it is wrong if no command exists: This leads
to problems if later a command is added (bug #9069), which is especially
annoying for templates.
The fix consists of two parts:
1) convert_use_package() considers now the used commands like
   revert_use_package(), and uses them to decide whether to set the package to
   auto or off.
2) convert_undertilde() and revert_undertilde() use a slightly adjusted copy of
   convert_use_package() and revert_use_package(), so that the bug is also
   fixed for undertilde. We cannot use the latter functions directly, because
   of "\usepackage undertilde" vs. "\use_undertilde".
(cherry picked from commit b73a59932e)

Conflicts:
	status.21x
2014-04-28 10:00:24 -04:00
Georg Baum
493dab6881 Fix math package conversion to 2.0 format
When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you get an invalid document, because the math packages
mhchem and undertilde are incorrectly converted.
It turned out that the old reversion code did only work for particular
package oderings. The new one works for abitrary sorted packages.
(cherry picked from commit d47a556b46)

Conflicts:
	status.21x
2014-04-28 09:59:57 -04:00
Georg Baum
602a37af48 Fix data loss in user guide conversion to 2.0.x
When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you do not get a zero diff. The most important problem is
caused by the conversion of the argument insets to the old syntax: This
conversion adds an additional empty line (harmless), and it destroys the
document structure if the first inset in e.g. a subsection is not an argument
inset, but e.g. an index or label inset.
The fix is quite easy: Ensure that the paragraph begin is set to the first
argument inset.
(cherry picked from commit 28bde98d76)

Conflicts:
	status.21x
2014-04-28 09:59:33 -04:00
Georg Baum
a87c56b5ad Fix warning in lyx2lyx 2.0<->2.1 round trip
revert_justification() issues a warning if the \justification parameter does
not exist, and LyX itself always writes it unconditionally as well, so add it
also in lyx2lyx when converting old documents.
Currently this does not have any user visible effect, but it decouples the
default value of BufferParams::justification from the conversion of old
documents: Now it is possible to set the default to false in LyX, and old
documents will still be converted correctly.
(cherry picked from commit e754d00faa)

Conflicts:
	status.21x
2014-04-28 09:59:11 -04:00
Juergen Spitzmueller
774ffef941 Fix conversion of beamer block titles that end with a non-ERT inset.(cherry picked from commit 8b7d5276b8)
Conflicts:
	status.21x
2014-04-28 09:58:27 -04:00
Richard Heck
680e42a6ff Remerge strings. 2014-04-13 16:39:56 -04:00
Kornel Benko
4fbe3c16ac * sk.po 2014-04-13 20:10:20 +02:00
Richard Heck
6c744c59cc Remerge strings. 2014-04-13 14:00:01 -04:00
Richard Heck
8e62a1c26e Start preparing for 2.0.8. 2014-04-13 13:59:22 -04:00
Richard Heck
997eefc81f Fix problem with verbatim reversion. 2014-04-11 14:00:44 -04:00
Richard Heck
c599ed749d Remove file I accidentally committed. 2014-04-11 12:54:00 -04:00
Richard Heck
7cdfa9b29a Better idea: Let's allow export of 2.1.x files. Someone might want to
do that. But let's not put it on the export menu.
2014-04-11 12:10:31 -04:00
Richard Heck
d41d84f0b8 Remove 21x export. LyX 2.1.x already reads 2.0.x files. 2014-04-11 11:49:54 -04:00
Richard Heck
10d3bfbb44 Prepare status.20x for 2.0.8, and write the NEWS. 2014-04-11 11:47:16 -04:00
Richard Heck
8c3d6f7178 Allow 2.0.8 to read and write 2.1.x files. Also incorporates some
bugfixes in lyx2lyx that made it into 2.1.0.
2014-04-11 11:41:56 -04:00
Uwe Stöhr
7267d2f5c5 French doc files: translations for 2.0.8 by Jean-Pierre 2014-04-11 00:48:27 +02:00
Vincent van Ravesteijn
50b6e457cc * EmbeddedObject.lyx: Update from Jean-Pierre Chretien 2014-04-10 21:47:48 +02:00
Vincent van Ravesteijn
a22cf772d4 * nn.po: Update from Ingar Pareliussen 2014-04-10 21:40:10 +02:00
Uwe Stöhr
3f2d88ba3c French: Tutorial.lyx: updates from Jean-Pierre for 2.0.8 2014-04-08 22:34:24 +02:00
Vincent van Ravesteijn
1dd511f938 * fr.po: Update from Jean-Pierre Chretien 2014-04-08 20:53:47 +02:00
Juergen Spitzmueller
0a61ff1342 Set cursor pos after cursor idx to avoid invalid cursor.
Fixes: #9076
2014-04-04 16:28:21 +02:00
Uwe Stöhr
20a0089dba fr.po: translation for LyX 2.0.8 by Jean-Pierre 2014-04-04 01:30:45 +02:00
Uwe Stöhr
fb94fbe80c sv.po: update by Jim 2014-04-04 01:21:08 +02:00
Uwe Stöhr
de8fda2a58 French splash.lyx: a fix by Jean-Pierre 2014-04-03 02:10:59 +02:00
Uwe Stöhr
d3bc1cc923 Intro.lyx: change a sentence to avoid misunderstandings
- as reported today on the lyx-docs list
2014-04-02 01:47:21 +02:00
Uwe Stöhr
f7e27c6d76 xypic.lyx: updates from Jean-Pierre for 2.0.8 2014-03-29 05:08:37 +01:00
Uwe Stöhr
1629299a04 es.po: update for 2.0.8 from Ignacio 2014-03-29 04:19:54 +01:00
Enrico Forestieri
0f31529712 Update it.po 2014-03-28 02:10:50 +01:00
Uwe Stöhr
0cd2054d9f ja.po: update from Koji for 2.0.8 2014-03-27 23:45:37 +01:00
Uwe Stöhr
739247ba65 id.po: update for 2.0.8 from Waluyo 2014-03-27 22:54:24 +01:00
Uwe Stöhr
bfec87695b uk.po: translation update for 2.0.8 from Yuri 2014-03-27 00:19:58 +01:00
Richard Heck
a834a19b6d Remerge strings. 2014-03-26 13:23:03 -04:00
Pavel Sanda
765a5f0356 * cs.po 2014-03-25 22:25:26 -07:00
Kornel Benko
15996926b4 * sk.po 2014-03-25 17:20:51 +01:00
Richard Heck
b84b6385d7 Remerge strings. 2014-03-25 11:05:22 -04:00
Richard Heck
e31e254e7e Fix problem with backport 0fc6cfcd.
The --binary-dir option does not exist in branch.
2014-03-25 11:01:14 -04:00
Juergen Spitzmueller
57376099b1 de.po 2014-03-25 09:25:55 +01:00
Juergen Spitzmueller
c06c1c3195 In Paragraph::changeCase, correctly track the font of the changed characters (fix crash)
Fixes: #7943
2014-03-24 16:21:20 +01:00
Juergen Spitzmueller
2c88e6ab2f Do not allow the manual insertion of a directory (without filename) into the import dialog and thus prevent an assertion.
Fixes: #7437(cherry picked from commit afd897029917a083fbeb84cccd4e6cb0a21db7ed)
2014-03-23 19:00:15 -04:00
Benjamin Piwowarski
9fef2346d6 Updated status for commit 0fc6cfcdcb 2014-03-23 12:05:46 +01:00
Juergen Spitzmueller
6979ec6818 style 2014-03-23 11:23:06 +01:00
Juergen Spitzmueller
0cad43a114 Fix assertion when ChkTeX hit math.
The problem here was that we used texted-only methods (via paragraph()), which triggered the assertion as soon as we were inside math.

Fixes: #8798
2014-03-23 11:21:06 +01:00
Juergen Spitzmueller
aceb9d9f29 Do not crash when entering math in ct mode with merge dialog open.
Fixes: #7685.
2014-03-23 10:45:58 +01:00
Juergen Spitzmueller
1c35155810 Fix selection drawing after mouse-double/triple in mathed
Fixes: #8829
2014-03-23 10:35:36 +01:00
Juergen Spitzmueller
e6af49a9f5 InsetListings: Rewrite C-ism in C++ and fix terminator bug.
The rewriting is completely done by JMarc. The terminator bug fix has been added to that by me.

Fixes: #8985
Conflicts:
	src/insets/InsetListings.cpp
2014-03-23 10:24:53 +01:00
Scott Kostyshak
c56fc4c5f4 Focus on buffer after section select in Outliner 2014-03-23 10:03:26 +01:00
Juergen Spitzmueller
a62cfc6024 Fix section-select when issued from outliner
Fixes: #8936
2014-03-23 10:02:17 +01:00