Commit Graph

5952 Commits

Author SHA1 Message Date
Richard Heck
257562f7d6 Copy over other changes that never got cherry-picked. 2014-05-29 18:08:14 -04:00
Enrico Forestieri
d466bedce4 Fix reversion of box insets.
(cherry picked from commit da75d31948)
2014-05-29 18:06:00 -04:00
Enrico Forestieri
e1350913ba Avoid processing multiple times the same paragraph when converting latex arguments.
(cherry picked from commit 0080201977)
2014-05-29 11:29:39 -04:00
Enrico Forestieri
a2336c489e Fix an off-by-one error in the reversion of beamer documents.
(cherry picked from commit dbd4d781dc)
2014-05-29 11:29:05 -04:00
Juergen Spitzmueller
54f11f5fb9 Fix nesting in some beamer reversion methods.
Patch by Enrico
2014-05-21 15:46:00 +02:00
Juergen Spitzmueller
aa8227b61f Fix reversion of beamer overprint when a nested paragraph has an argument 2014-05-21 15:45:40 +02: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
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
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
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
Uwe Stöhr
3f2d88ba3c French: Tutorial.lyx: updates from Jean-Pierre for 2.0.8 2014-04-08 22:34:24 +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
Richard Heck
e60af4e98a Patch from Enrico fixing a problem with the lyxpak.py script when
"Add Bibliography to TOC" is used. Fixes #9044.
(cherry picked from commit 1fe2910774b5f1d673e3f85349c8d360023214db)
2014-03-22 20:27:05 -04:00
Scott Kostyshak
0b47d745d9 Add Dustin J. Mitchell to contributors 2014-02-17 09:46:59 -05:00
Scott Kostyshak
b36b59d06a csv2lyx: use universal newlines when reading CSVs
Patch from Dustin J. Mitchell.
2014-02-16 00:11:34 -05:00
Scott Kostyshak
2ec8880e47 Shortcut box now stays open if bad input (#8703)
This allows the user to correct the bad input without
having to enter the other fields again in a new dialog.

Patch from Martin Hoffmann.
(cherry picked from commit 27131e655a)

Conflicts:
	lib/generate_contributions.py
2014-02-13 18:07:13 -05:00
Juergen Spitzmueller
30c2e1d687 Support (black) card suites in text mode (#8971) 2014-02-13 17:27:24 +01:00
Juergen Spitzmueller
e9a9c0fd1b Correct language code of traditional Chinese (#8970) 2014-02-13 14:20:52 +01:00
Uwe Stöhr
a09bdcaa68 German UserGuide.lyx: add missing section about proper names 2014-02-10 01:20:01 +01:00
Uwe Stöhr
a71090c02d UserGuide.lyx: fix a typo spotted by Hartmut 2014-01-30 01:12:37 +01:00
Richard Heck
fa8e4906de Use "#!/usr/bin/env python", as elsewhere.
(cherry picked from commit 5d94d1b3bf)
2014-01-26 11:40:07 -05:00
Juergen Spitzmueller
6fbe5b6691 French User Guide updates by Jean-Pierre 2013-11-30 11:55:13 +01:00
Georg Baum
a126ff8861 Fix wrong description screen font (bug #8869)
paper.cls formats the description label without bold, so LyX should do the
same on screen. Note that simply removing the Series line does not help,
because Description is already defined in some include.
2013-11-17 13:05:09 +01:00
Juergen Spitzmueller
e709a30e3b fr/Intro.lyx: Correction by Jean-Pierre 2013-09-15 17:03:50 +02:00
Pavel Sanda
1dc02a80a2 * Additional.lyx - next xdvi glitch spotted by Fabio. 2013-09-07 18:30:17 -07:00
Pavel Sanda
7c0e80ef07 * Additional.lyx - fix lyxeditor.sh example.
Different shells seem to have different taste.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96590.html
(backport)
2013-09-05 11:25:58 -07:00
Richard Heck
cedb1d7167 The koma-script book class numbers equations by chapter.
(cherry picked from commit bac7708d4b)
2013-08-09 11:35:13 -04:00
Scott Kostyshak
ffab3440b8 Japanese docs: translations from Koji 2013-08-05 19:02:38 -04:00
Uwe Stöhr
12f66667ac csv2lyx.py: re-enable the feature to import CSV files
- the feature war broken because the file format was not updated to that of LyX 2.0.x
2013-07-27 23:56:38 +02:00
Uwe Stöhr
de137d410a Japanese splash.lyx: a correction from Koji 2013-07-27 23:43:03 +02:00
Uwe Stöhr
3d14dd6a5b Japanese EmbeddedObjects.lyx: fix some image paths and formatting
these wrong paths slipped in with Kojis recent translations
2013-07-27 23:35:16 +02:00
Uwe Stöhr
4b84f2f443 Japanese docs: translations by Koji for branch 2013-07-27 23:07:18 +02:00
Uwe Stöhr
bbb717df0f German UserGuide.lyx: fix a typo spotted by a user 2013-06-26 23:19:38 +02:00
Uwe Stöhr
0aecd001c7 German UserGuide.lyx: fix a typo spotted by Stephan 2013-06-26 23:11:53 +02:00
Richard Heck
b870e46c85 Somehow forgot HTML tags for Paragraph and Subparagraph.
(cherry picked from commit c6a08bc442)
2013-06-11 14:33:38 -04:00
Uwe Stöhr
8c8cadbab9 UserGuide.lyx: backport an info 2013-06-03 21:09:24 +02:00
Uwe Stöhr
208a2720e7 UserGuide.lyx: fix a typo and correct an info
- both spotted by Ignacio, the removed info is LyX 2.1 only.
2013-05-31 14:29:54 +02:00
Uwe Stöhr
09b6cd80e6 Spanish UserGuide: translations from Ignacio 2013-05-31 14:28:56 +02:00
Uwe Stöhr
f2a98675f6 French UserGuide.lyx: translations from Jean-Pierre and Siegfried 2013-05-30 19:13:44 +02:00