Commit Graph

34536 Commits

Author SHA1 Message Date
Uwe Stöhr
fe450c850c installer: add up to date check for inkscape
also fine-tune the conversion of wmf/emf images
2015-12-02 00:47:05 +01:00
Uwe Stöhr
3fc47f2a5c build.bat: add -DLYX_ENABLE_EXPORT_TESTS=ON and add a note about Ninja 2015-12-02 00:42:40 +01:00
Georg Baum
0aa3e78f5c Explain how to use parallel compilation in MSVC 2015-12-01 20:55:05 +01:00
Jean-Marc Lasgouttes
39e33d5138 Fix width of row when there are active hfills
It is important to make sure in computeRowMetrics that the row width
is correct at the end, because we rely on it in several places.

Fixes bug #9870.
2015-12-01 09:14:22 +01:00
Scott Kostyshak
d887b2a5dc Update previews when turned on in prefs (#9507)
Previews are now generated when previews are turned on in
preferences. This change ensures that when users activate previews
for the first time, they are not confused by no previews showing up
(a restart of LyX or a triggering of each individual preview would
be required).

There was a previously attempted fix for #9507 at 390ae054 which was
reverted at 358745d0 for performance reasons: it updated previews
after every preference change and updating previews is costly (even
if the cache signals there are no changes needed).

This implementation is consistent with what we do for updating the
system fonts in preferences.
2015-11-30 18:51:05 -05:00
Scott Kostyshak
19c6a015fb Update the link to CMCDDE in our documents
Our URL checker found the broken link.
2015-11-30 18:35:47 -05:00
Kornel Benko
037e9051f7 Cmake export tests: Remove assignement doing nothing 2015-11-30 13:12:30 +01:00
Kornel Benko
42536a5616 Add a table to clarify how main export test labels are assigned 2015-11-30 13:06:53 +01:00
Richard Heck
d101945d6a Remove local layout from French manuals. 2015-11-29 22:42:09 -05:00
Richard Heck
74fb35b877 Remove local layout from German manuals. 2015-11-29 22:40:29 -05:00
Richard Heck
6fa397e81f Remove local layout from Spanish manuals and replace
MenuItem insets with Noun.
2015-11-29 22:39:31 -05:00
Richard Heck
badaa2d1b2 Remove local layout from Additional.lyx and Development.lyx. It
was not actually  used in the latter. In the former, convert the
MenuItem insets to Noun.
2015-11-29 22:29:28 -05:00
Richard Heck
39ad4a2abf Remove local layout from Customization manual.
Replace "MenuItem" inset with Noun.
2015-11-29 22:26:21 -05:00
Kornel Benko
8f225ebdea Cmake autotests: Corrected suspiciousTests for new testfile 2015-11-30 00:42:48 +01:00
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