Commit Graph

34972 Commits

Author SHA1 Message Date
Kornel Benko
5b73df0f31 Make Japanese manual Additional.lyx compilable.
Added a protected space in default language after an english text.
This is needed only if the imaadiately following style is some sectioning.
2015-11-29 23:04:36 +01:00
Uwe Stöhr
7aeab53e4e de.po: a translation 2015-11-29 22:23:58 +01:00
Kornel Benko
6d7054cb46 Autotest: This file shows error if exported to dvi.
To omit the error, there are 2 possibilities
1.) Change \inputencoding to utf8-platex
or
2.) write some text in default language prior to the following
subchapter 1.2.2
Probably a candidate for language nesting
2015-11-29 22:05:33 +01:00
Uwe Stöhr
5a497d4810 Intro.lyx: run lyx2lyx
- also for Czech Tutorial.lyx
2015-11-29 20:31:51 +01:00
Uwe Stöhr
13ec152470 Galician Tutorial.lyx: use inset info
- also run lyx2lyx
2015-11-29 20:29:05 +01:00
Kornel Benko
d441d21bbd Update sk.po 2015-11-29 20:28:36 +01:00
Uwe Stöhr
140b55af51 Baskian Tutorial.lyx: use inset info
- also run lyx2lyx
2015-11-29 20:21:05 +01:00
Georg Baum
124be71cb9 Fix merging of obsolete entries
Thanks Kornel for spotting this.
2015-11-29 20:16:59 +01:00
Uwe Stöhr
8a73992a49 Customization.lyx: update version number 2015-11-29 19:42:07 +01:00
Uwe Stöhr
3bf6f43d11 German Customization.lyx: some translations and fixed typos 2015-11-29 19:40:25 +01:00
Uwe Stöhr
281131f6b2 Customization.lyx: accept all remaining changes 2015-11-29 19:25:46 +01:00
Uwe Stöhr
0ed6724de3 Changelog-Customization-LyX_22x.txt: new fileContents
- documents the changes for the translators
2015-11-29 18:26:21 +01:00
Uwe Stöhr
9464112840 Customization: accept and merge some changes 2015-11-29 18:24:05 +01:00
Georg Baum
4db3169fbc Add utility to merge po files
Surprisingly I could not find a tool that merges updated translations into a
.po file in a way that

a) merges only missing translations (does not overwrite existing ones)
b) produces a minimal diff so that there is a chance to manually check the result

Therefore I wrote my own. You can use it for a single language

python development/tools/mergepo.py ../lyx-2.1/po fr

or for all languages:

python development/tools/mergepo.py ../lyx-2.1/po

The python code is not the most elegant one, but it works. What is missing is
a command line switch to merge changed translations as well. This is useful
for languages that have not yet received any translation update in the
development branch, only in the stable branch: In this case we know that
translations that are not identical in both branches should be overtaken from
the stabkle one.
2015-11-29 18:14:06 +01:00
Richard Heck
a8f57334e2 Fix bug #9096: Load all the files specified on the command line, and then dispatch whatever commands we are given to those Buffers.
Original patch due to Benjamin Piwowarski. Updated for 2.2 by Richard Heck.
2015-11-29 11:25:21 -05:00
Richard Heck
c01a533acc Whitespace. 2015-11-29 11:25:08 -05:00
Uwe Stöhr
6273c6bdc1 Japanese manuals: run lyx2lyx 2015-11-29 17:21:27 +01:00
Uwe Stöhr
7499b14b50 Customization.lyx: update localLayout format
- Japanese version: also run lyx2lyx
2015-11-29 17:15:15 +01:00
Kornel Benko
af18890ed6 Cmake export tests: Use build dir as source for _all_ latex output formats 2015-11-29 16:11:10 +01:00
Kornel Benko
2b9a9d97a6 Cmake lyx2lyx tests: Ignore warning about "no conversion needed" 2015-11-29 15:26:56 +01:00
Georg Baum
750dc8490f Oops, missed some mid line \r 2015-11-29 13:37:06 +01:00
Georg Baum
7fa742d186 Fix mixed DOS/UNIX line endings
These have been added by 36d7b40c, before we had always UNIX only.
poedit can read the mixed files just fine, but python polib (which is used
in po/lyx_pot.py) refuses to load files with mixed endings.
2015-11-29 13:26:50 +01:00
Georg Baum
63bb24d385 Convert to 2.2 format and use TeX fonts
This works around a limitation of the test machinery, which never switches
TeX fonts on for format that need that, it only switches TeX fonts off for
formats needing it.
2015-11-29 13:16:46 +01:00
Georg Baum
2f3f82e75b Add test for language nesting regression
The new test shows a language nesting regression: With LyX 2.1 it exports fine
in all formats, with 2.2 it fails for dvi, pdf2 and pdf3.
2015-11-29 11:52:34 +01:00
Richard Heck
7831e11717 Simplify a bunch of tests in lyx2lyx code. 2015-11-28 23:58:50 -05:00
Richard Heck
01b4e811a6 Fix a few C++-isms that crept into lyx2lyx code. 2015-11-28 23:55:00 -05:00
Richard Heck
acf3e3a139 Clean up Solution and Solution* reversion code a bit. 2015-11-28 23:42:09 -05:00
Richard Heck
727c845808 Update local layout in Customization.lyx. 2015-11-28 23:15:05 -05:00
Uwe Stöhr
6f221bab03 lyx_2_2.py: fix a logic mistake
- this message must be used for all cases
2015-11-29 04:26:14 +01:00
Uwe Stöhr
4ea80e077f lyx2lyx/lyx_2_2.py: correct reversion for solution*
- add reversion for the starred variant
- correct LaTeX output
2015-11-29 03:51:57 +01:00
Scott Kostyshak
299d7d70f0 Minor tweaks to Development.lyx
These small tweaks amend de1c8253.
2015-11-28 21:17:15 -05:00
Uwe Stöhr
72ce471c81 Additional.lyx: remove sloppypar
- sloppypar and sloppy should not be used, see the discussion in bug #9874
- also update the local layout to the current format
2015-11-29 02:53:58 +01:00
Kornel Benko
de1c82531a Development.lyx: try to describe label assignment. 2015-11-29 02:37:11 +01:00
Kornel Benko
5d51ec20b5 Cmake export tests: More refactoring. 2015-11-29 02:18:07 +01:00
Scott Kostyshak
0ee4dff450 Document updating file format of LyX's files
The advantage of having the author of the file format change update
the files is that the author knows best what to expect in the diff
output.

This was discussed briefly here:
https://www.mail-archive.com/search?l=mid&q=n3bu5q%24reb%242%40ger.gmane.org
2015-11-28 18:12:26 -05:00
Uwe Stöhr
24b37e96de installer: fix a typo 2015-11-28 20:19:49 +01:00
Georg Baum
1ded0d77ad Fix broken merge
git should have refused to push my commit which changed a file that was
deleted a minute ago, but instead it decided to re-add the file.
2015-11-28 19:25:32 +01:00
Kornel Benko
85c4cd2714 Cmake export tests: adapt 'suspiciousTests to changed file 'revertedTests' 2015-11-28 19:10:47 +01:00
Kornel Benko
a07f9b7119 Cmake export tests: Ignore spaces after expressions in .*Tests files 2015-11-28 19:08:19 +01:00
Georg Baum
ad0643f4b5 Fix off by one error
Looks like I forgot to test this case without quotes, but fortunately the new
export test found it.
2015-11-28 18:25:33 +01:00
Kornel Benko
56ecd464f3 Cmake export tests: Renamed file revertedTests to suspendedTests
Also some refactoring to handle the labes.
2015-11-28 18:23:29 +01:00
Georg Baum
fe5f88ddf9 Add the first dedicated export test
Thanks to Kornel we do now have the infrastructure for running dedicated
export tests. This is the first one, showing a language nesting bug which is
already in 2.1. It is inverted for now, but this will hopefully change soon.
2015-11-28 17:00:59 +01:00
Kornel Benko
df22dfdf6b Cmake export tests: Correct some mistakes in commit 4138ab7 2015-11-28 09:30:49 +01:00
Uwe Stöhr
695399b062 UserGuide.lyx and Math.lyx: update version number 2015-11-28 03:23:38 +01:00
Uwe Stöhr
ab1f3213e8 LaTeXConfig.lyx: accept changes
- also add hpstatement module and remove the deprecated rsphrase module (this module is only kept for compatibility reasons)
2015-11-28 03:15:45 +01:00
Uwe Stöhr
2e5ab40276 Customization.lyx: accept some changes 2015-11-28 03:13:11 +01:00
Uwe Stöhr
b264176041 Additional.lyx: merge changes 2015-11-28 02:50:06 +01:00
Uwe Stöhr
764cc2be1f installer: remove residues of metafile2eps 2015-11-28 02:04:57 +01:00
Georg Baum
5c35ebcd24 Simplify logic
The old code was more complicated than needed, we have unstarred_name to make
our live easier. The test proves that the new code works as before.
2015-11-27 20:35:13 +01:00
Georg Baum
8ac43f2e04 Add tex2lyx test for verbatim* 2015-11-27 20:30:41 +01:00