Commit Graph

6877 Commits

Author SHA1 Message Date
Uwe Stöhr
8fc774bb99 French Math.lyx: updates by Jean-Pierre 2014-06-13 01:26:06 +02:00
Uwe Stöhr
cc6144cdb4 French UserGuide.lyx: updates by Jean-Pierre 2014-06-13 01:09:10 +02:00
Richard Heck
0f3746400e Copy over changes to lyx2lyx made in master. Unfortunately, some of
these got committed to stable and some did not, and now it is all but
impossible (I've tried) to do this by cherry-picking.
2014-05-29 18:17:08 -04:00
Enrico Forestieri
94ed54b51a Fix reversion of box insets.
(cherry picked from commit da75d31948)
2014-05-29 18:06:50 -04:00
Georg Baum
76417c7326 Do not corrupt documents without newline at EOF
trim_eol() assumes that a line always ends either with \n, \r, or \r\n.
This assumption is always valid except for the last line of a document, since it
may miss the trailing newline. LyX does not create such documents, bu they may
result from automatic creation tools, and LyX can read them, so lyx2lyx should
be able to read them as well.
(cherry picked from commit c75c6e446a)

Fix the fix

MAC-style (pre-OS X) line ends were not recognized anymore
(cherry picked from commit 55af9cb006)
2014-05-29 11:28:04 -04:00
Enrico Forestieri
b851a60376 Avoid processing multiple times the same paragraph when converting latex arguments.
(cherry picked from commit 0080201977)
2014-05-29 11:24:53 -04:00
Enrico Forestieri
20214ee224 Fix an off-by-one error in the reversion of beamer documents.
(cherry picked from commit dbd4d781dc)
2014-05-29 11:24:41 -04:00
Pavel Sanda
33496a0aa5 * Additional.lyx - note for windows git users.
https://www.mail-archive.com/lyx-users%40lists.lyx.org/msg98988.html
2014-05-21 11:06:52 -07:00
Juergen Spitzmueller
ad723c41b6 Fix nesting in some beamer reversion methods.
Patch by Enrico
2014-05-21 15:44:30 +02:00
Juergen Spitzmueller
02410adbfe Fix reversion of beamer overprint when a nested paragraph has an argument 2014-05-21 15:42:03 +02:00
Richard Heck
ccd8cd89ad Add limits to searches in convert_TeX_brace_to_Argument.
(cherry picked from commit eb26d85dc9)
2014-05-18 11:26:34 -04:00
Juergen Spitzmueller
ede754039d Beamer block conversion: consider ERT arguments with leading/trailing blanks
Should also go to branch.
2014-05-08 19:52:01 +02:00
Juergen Spitzmueller
4a24d8bec3 Monolingualization 2014-05-08 08:36:38 +02:00
Georg Baum
b0664e0c98 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.
2014-05-01 13:48:44 +02:00
Uwe Stöhr
f8bc6e8267 CREDITS: add Min Ding and Roy Xia 2014-04-28 22:55:09 +02:00
Georg Baum
b73a59932e 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".
2014-04-27 18:09:29 +02:00
Georg Baum
d47a556b46 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.
2014-04-27 18:08:24 +02:00
Georg Baum
28bde98d76 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.
2014-04-27 18:06:34 +02:00
Georg Baum
e754d00faa 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.
2014-04-27 18:05:22 +02:00
Uwe Stöhr
aae55d3933 French doc files: translations by Jean-Pierre 2014-04-27 17:26:27 +02:00
Juergen Spitzmueller
8b7d5276b8 Fix conversion of beamer block titles that end with a non-ERT inset. 2014-04-27 09:44:43 +02:00
Richard Heck
dd44f71cf9 Fix failure to detect quoted flex insets in conversion to layout
48. Also, simplify this code.
(cherry picked from commit 7e1541dd49)
2014-04-25 17:21:32 -04:00
Scott Kostyshak
06c926e699 Do not spellcheck "code" in logical markup module 2014-04-22 14:35:18 -04:00
Pavel Sanda
b064f09b5a * layouttranslations.review zh_CN checked.
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg98644.html
2014-04-19 10:33:41 -07:00
Richard Heck
e29574d270 Apparently, documentation changes were already in current master,
so the previous set of commits over-wrote some of what was there.
This restores the status quo ante.
2014-04-18 11:16:52 -04:00
Richard Heck
65a049dfa5 Merge branch '2.1.1-staging' into 2.1.x
Conflicts:
	lib/doc/es/EmbeddedObjects.lyx
	lib/doc/es/UserGuide.lyx
	lib/doc/fr/EmbeddedObjects.lyx
	lib/doc/ja/EmbeddedObjects.lyx
	lib/doc/ja/Intro.lyx
	lib/doc/ja/Math.lyx
	lib/doc/ja/Tutorial.lyx
	lib/doc/ja/UserGuide.lyx
	po/ja.po
	src/mathed/InsetMathNest.cpp
2014-04-18 11:08:31 -04:00
Uwe Stöhr
3429b83cef UserGuide.lyx: describe the last missing new feature of LyX 2.1 2014-04-18 10:53:39 -04:00
Uwe Stöhr
e9264babe6 UserGuide.lyx: update appendix C (lyX preferences)
the only missing thing is the feature of the default length unit in the Language settings
2014-04-18 10:53:39 -04:00
Uwe Stöhr
b36a2fcc90 UserGuide.lyx: update appendix B for LyX 2.1.0 2014-04-18 10:53:39 -04:00
Uwe Stöhr
8fc1adef7c Japanese doc files: update form Koji for LyX 2.1 2014-04-18 10:53:38 -04:00
Richard Heck
dfc41ceabe Typos in algorithm module.
(cherry picked from commit 9d77d373fcaa147c37378ca26899eac042e1c8ac)
2014-04-18 10:52:48 -04:00
Uwe Stöhr
b39e7a0fc1 stdmenus.inc: add move rows/columns feature to Edit menu
fixes bug #9047
2014-04-18 10:52:47 -04:00
Uwe Stöhr
7ef74f4ee1 EmbeddedObjects.lyx, UserGuide.lyx: describe feature to move table rows/columns
the Japanese docs will be updated later because Koji is currently working on it
2014-04-18 10:52:46 -04:00
Vincent van Ravesteijn
1468a40bac * doc/ja: Updates from Koji Yokota 2014-04-13 18:51:12 +02:00
Pavel Sanda
6d30cfdd69 * layouttranslations.review - nn reviewed 2014-04-11 20:23:33 -07:00
Pavel Sanda
bdc1271c39 * pt.po & layouttranslation from Jose. 2014-04-11 20:20:43 -07:00
Pavel Sanda
d9be16e1b3 * layouttranslations.review - got explicit ack for danish translation. 2014-04-11 12:49:55 -07:00
Vincent van Ravesteijn
777b8f7133 Update lib/layouttranslations
Italian translations were updated
2014-04-11 21:33:11 +02:00
Vincent van Ravesteijn
c9dd2d4624 * EmbeddedObjects.lyx: Increase version number 2014-04-11 21:17:58 +02:00
Vincent van Ravesteijn
cafe6c60f3 * fr/linguistics.lyx: Update from Jean-Pierre Chretien 2014-04-11 21:06:00 +02:00
Vincent van Ravesteijn
80dfb44171 * fr.po: Update from Jean-Pierre Chretien
In discussion with Juergen Spitzmuller was decided to just have the same translation as for the List of Tables.
2014-04-11 20:55:13 +02:00
Richard Heck
b5c2cba0b3 Fix problem with verbatim reversion. 2014-04-11 14:49:41 -04:00
Vincent van Ravesteijn
1b4986793e * nn.po: Update from Ingar Pareliussen 2014-04-11 20:44:08 +02:00
Kornel Benko
d52a462887 sk.po: Rechecked 'mathematical' context 2014-04-11 09:19:30 +02:00
Uwe Stöhr
6ad876f91a manuals: fix 2 typos spotted by Ignacio 2014-04-11 01:16:54 +02:00
Uwe Stöhr
5be328c231 Additional.lyx: update version name to "2.1.x" 2014-04-11 01:05:57 +02:00
Uwe Stöhr
5e68b12a06 Spanish manuals: translations by Ignacio 2014-04-11 01:04:58 +02:00
Uwe Stöhr
4cac31be63 French Math.lyx: re-introduce 2 formulas that got accidentally lost by the last commit 2014-04-11 00:45:41 +02:00
Uwe Stöhr
e566eac285 French doc files: translations by Jean-Pierre 2014-04-11 00:32:27 +02:00
Vincent van Ravesteijn
a79e161f51 * nl.po: Improve translation of Graph [[mathematical]] 2014-04-10 22:13:02 +02:00