Commit Graph

34259 Commits

Author SHA1 Message Date
Kornel Benko
49f5002231 Merge branch 'master' of git.lyx.org:lyx 2015-10-25 16:29:11 +01:00
Uwe Stöhr
a0b3eaf67e Math.lyx: replace tables by formal ones - part 3 2015-10-25 16:26:02 +01:00
Kornel Benko
5439f4e554 Cmake tests: Combine "text" field to extract translators name
While extracting names of a translator from the html page it can happen
that the perl's HTML::Parser module splits the "text".
2015-10-25 16:23:59 +01:00
Uwe Stöhr
b275b30391 Math.lyx: replace tables by formal ones - part 2 2015-10-25 15:48:45 +01:00
Uwe Stöhr
fb51b2cb57 Math.lyx: correct images paths now correctly 2015-10-25 14:32:27 +01:00
Günter Milde
36b9645b5d Fix the partial patch for #9740 (XeTeX with TeX fonts). 2015-10-25 12:12:10 +01:00
Kornel Benko
b07c8292f6 Cmake test: Cmake tests: Check for consistency between po-files and lyx-trunk translations page.
This time with the correct CMakeLists.txt.
2015-10-25 11:18:30 +01:00
Kornel Benko
0f7ebe9ae4 Revert "Cmake tests: Check for consistency between po-files and lyx-trunk translations page."
This reverts commit 0a4fbe4836.
2015-10-25 11:17:02 +01:00
Kornel Benko
0a4fbe4836 Cmake tests: Check for consistency between po-files and lyx-trunk translations page. 2015-10-25 11:10:14 +01:00
Georg Baum
1d9d507b95 Add toolbar icons for LyX documentation
These icons are for lfuns that are not very interesting for users, but quite
often used when working on the LyX documentation. Now we can create a special
LyX documentation toolbar.
2015-10-25 10:47:40 +01:00
Scott Kostyshak
b0c27e2bbc Invert some ctests that correctly fail
These exports correctly fail now that we've switched to polyglossia.
Although they compiled without error with babel, the resulting PDFs
had gibberish.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
aeac6deca1 ctests: uninvert tests that were fixed by updates
I believe these tests were fixed by TeX Live updates.

Comparing the log files for a system where the tests fail with a
system where the tests pass, below are some of the differences
between the "good" and "bad" logs:

bad:
LaTeX2e <2015/01/01>
Babel <3.9l>
Package: fontspec 2015/03/14 v2.4c
Package: expl3 2015/03/01 v5547 L3 programming layer

good:
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m>
Package: fontspec 2015/07/22 v2.4d
Package: expl3 2015/07/30 v5724 L3 programming layer
2015-10-25 00:12:26 -04:00
Scott Kostyshak
2b1b233bc0 Fix polyglossia exports for docs with babel cmds
Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
efa78b22fc ctests: uninvert some tests
These tests were accidentally removed from the inverted list at
b2e49892.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
44cdffa39e ctests: uninvert some XeTeX tests that are fixed
These tests were probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
4f2536afcf Correct PolyglossiaOpts for Serbian
PolyglossiaOpts are case-sensitive so "latin" must be changed to
"Latin". Without this change, compiling examples/sr/Braille.lyx
with LuaTeX and system fonts gives the following error:

  Package Polyglossia Error: Unknown script `latin' for Serbian
  language
2015-10-25 00:12:26 -04:00
Scott Kostyshak
adb8e9ea99 ctests: invert a test for a file recently added
The H-P-statements example was recently introduced (a610e29c) and
the LuaTeX test with system fonts has never passed.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
d6a3dcbd58 Fix export with polyglossia and uninvert a manual 2015-10-25 00:12:25 -04:00
Scott Kostyshak
78c60de9bb Use "babel only" for some Spanish manuals
Many of our Spanish documents use babel-specific features in the
documents, e.g. to write "sin" in Spanish ("sen"). Because babel
seems to have good support for Spanish, I am setting the "Always
babel" for the manuals.

This fixes several LuaTeX tests with non-TeX fonts. A XeTeX test is
also reverted accordingly.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
8e22c77e79 ctests: uninvert a XeTeX test that now passes
This test was probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.
2015-10-25 00:11:24 -04:00
Scott Kostyshak
65f7f000ea Update formats
Some of my following commits will make changes to these files
(mainly just changing the preambles). This commit simply updates the
format so the diffs of the following commits are easy to read.
2015-10-25 00:07:15 -04:00
Uwe Stöhr
711ece2750 Math.lyx: repair broken paths
this is caused by bug #9815
2015-10-25 04:37:00 +01:00
Uwe Stöhr
bac5e106d1 Math.lyx: replace tables by formal ones - part 1 2015-10-25 04:08:46 +01:00
Uwe Stöhr
bd4822801a Win installer: 2 fixes for the uninstaller 2015-10-25 02:51:02 +02:00
Stephan Witt
23a3148c02 Fix a missing-braces warning for initialization of subobject 2015-10-24 21:10:36 +02:00
Stephan Witt
2a3b54d57b For Mac OS: Additional check for Control and Meta modifier swap state.
Starting with Qt 5 the modifiers aren't reported correctly for disabled swap.
Until this is fixed it is corrected by reverting the modifier mask to check for.
2015-10-24 21:08:10 +02:00
Stephan Witt
39cd8302cb New configure options for Qt 5.6 2015-10-24 20:48:08 +02:00
Peter Kümmel
96ee478778 Update boost to version 1.59 2015-10-24 12:44:31 +02:00
Peter Kümmel
04be61ea8b use bash 2015-10-24 12:40:37 +02:00
Georg Baum
d5ed835225 Revert the box alignment part of 8010b90c
The horizontal alignment changes caused a regression for documents in older
formats. This could have been fixed by adding the following lines to the
format entry for 489 in development/FORMAT:

	Previously, the horizontal position was ignored except for the
	following parameter combinations:
	- fixed width and type Boxed and without inner box
	- fixed width and any type   and with    inner box and with makebox
	Now, it is also used for the parameter combination below:
	- makebox is not used and not (type Boxed and without inner box)

and a corresponding conversion to convert_BoxFeatures() in
lib/lyx2lyx/lyx_2_2.py. However, it was decided to revert the box alignment
changes instead: The box alignment can contradict the paragraph alignment. A
better way to avoid the additional space that can be created by paragraph
alignment (which was the motivation for implementing box alignment) is the
same as for table cells (see noTrivlistCentering() in src/Paragraph.cpp).
This would be a file format change and it is too late now for 2.2.0.

See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg188147.html for the
complete discussion (subject "Regression in lyx2lyx box alignment").
2015-10-23 22:08:38 +02:00
Peter Kümmel
ec6f51b373 Suppress CMake warning about qtmain 2015-10-23 16:59:31 +02:00
Peter Kümmel
c39869cc61 Also cross compile with Qt5
Assume Ubuntu pathes for mingw.
2015-10-23 16:34:55 +02:00
Peter Kümmel
a3b5ff264d Remove linebreak after GCC version string 2015-10-23 15:20:32 +02:00
Peter Kümmel
2aba6448a7 Remove hard coded Qt selection when cross compiling for Windows 2015-10-23 15:14:59 +02:00
Uwe Stöhr
a685e5601c InsetMathNest.cpp: add \sideset to the autocomplete list
fixes bug #9810
2015-10-23 05:20:51 +02:00
Uwe Stöhr
eebac83a04 colored-boxes.lyx: add info about shadows
- also some fixes and improvements
2015-10-23 05:17:24 +02:00
Uwe Stöhr
66be58cf8a colored-boxes.lyx: 2 fixes 2015-10-23 03:34:25 +02:00
Uwe Stöhr
832ef7d446 jss.layout: update appearance of 2 styles in LyX
This was proposed by the co-author of the layout in bug#9516
2015-10-23 02:20:02 +02:00
Georg Baum
dcddfaa491 Add suggestion for test cases by Günter 2015-10-22 22:22:01 +02:00
Guillaume Munch
671c7e12e5 Amend bb344452
Repair the senseless truncation on long file names
2015-10-21 15:02:12 +01:00
Guillaume Munch
7a60c96dfa msvc: Proper fix for compilation of TexRow
This bug in MSVC 10 was fixed at e948caf6, but the workaround belongs to
strfwd.h.

Thanks Vincent and Georg.
2015-10-20 21:29:19 +02:00
Vincent van Ravesteijn
990446c0e1 msvc: Move implementation of numpunct<> functions to cpp file
These functions use lyx::from_ascii which means they need to include
docstring.h, but that results in a circular include.
2015-10-20 21:28:40 +02:00
Vincent van Ravesteijn
42e5353f8a Revert "msvc: Fix compilation of TexRow"
This reverts commit 10d7f6d479.
2015-10-20 19:22:36 +02:00
Günter Milde
1523fc6023 Partial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems".
Fixes output for 3 of the 4 test lyx-files.

Includes "FIXME"s at places where further action is required to get the XeTeX
export right but I don't know how.
2015-10-20 19:16:25 +02:00
Guillaume Munch
9d7c3a4876 Amend bb344452 2015-10-20 16:23:25 +01:00
Günter Milde
a0e2d48a56 Update the fileformat number in the tex2lyx test's expected output.
This needs to be done with every fileformat change!
2015-10-20 17:09:54 +02:00
Jean-Marc Lasgouttes
b14c0530eb Assorted cppcheck fixes
Remove member disp_ that is defined both in Cursor and CursorData classes

Pass parameter of convert<T>(docstring const) templates as const reference for performance.
2015-10-20 09:58:46 +02:00
Scott Kostyshak
44a004951f RELEASE-NOTES: Missing characters could be in pdf2
The fix at 664ef2c4 is more general than XeTeX and LuaTeX. See, for
example, #9803 which shows an error that existed but was not
reported before.
2015-10-19 23:03:05 -04:00
Guillaume Munch
6f2e86dff2 TexRow: fix return value on invalid row input.
Caused loops with Sweave & Knittr compilation.
2015-10-20 00:51:27 +01:00
Uwe Stöhr
ec93693aef chkconfig.ltx: fix typos
thanks Vincent
2015-10-20 01:10:14 +02:00