Commit Graph

31755 Commits

Author SHA1 Message Date
Kornel Benko
997035fe66 Cmake tests: Expand export tests for luatex and xetex
Citing Scott:
In our current set up, we are currently testing XeTeX and LuaTeX
either with system fonts or with TeX fonts but never both. We should
test with both in my opinion. We will have to ignore/invert many tests
but it still seems useful. For example Günter fixed babel-greek so
that it works now with TeX fonts; and Jürgen found some errors in LyX
that were causing some of the English docs to fail with system fonts.
Currently we only test greek documents with system fonts and we only
test English documents with TeX fonts.

This change adds the missing test-cases.
2013-12-16 11:36:36 +01:00
Juergen Spitzmueller
4952cb069a ar.po: Update from Hatim 2013-12-16 07:42:43 +01:00
Georg Baum
62a1dabcfc Fix typo 2013-12-15 12:19:12 +01:00
Kornel Benko
499c5cfe57 Adapt cmake build to use c++11 features also for clang compiler 2013-12-15 11:41:28 +01:00
Juergen Spitzmueller
ed1ef9d740 Fix typo 2013-12-14 15:09:23 +01:00
Juergen Spitzmueller
0766f94ee0 Recognize changed babel error message (rewording) 2013-12-14 13:19:40 +01:00
Juergen Spitzmueller
a5c6d10395 beamer.lyx: work arounf language nesting problem when compiling with polyglossia 2013-12-14 13:06:25 +01:00
Juergen Spitzmueller
3f9e644c25 Do not load the tipa package when fontspec is used
This was until now only cared of by the IPA inset, not by unicodesymbols.
2013-12-14 09:13:17 +01:00
Juergen Spitzmueller
50066b46ab Improve beamer conversion: Support default list overlay specification without ERT 2013-12-13 14:55:34 +01:00
Juergen Spitzmueller
cb887ce49f Sharpen the lyX icon a bit 2013-12-13 14:06:56 +01:00
Juergen Spitzmueller
e010ae5e66 ar.po: update from Hatim 2013-12-13 10:19:41 +01:00
Scott Kostyshak
e27ba681ac ctests: use Chinese roman font for zh docs 2013-12-12 23:44:41 -05:00
Scott Kostyshak
1bbf126b94 ctests: non-TeX Ukrainian+LuaTeX is not supported
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181690.html

Thanks to Günter Milde for the advice.
2013-12-12 23:44:39 -05:00
Pavel Sanda
d350cc4f8b Add appdata.xml, provided by Matej Cepl.
AppData is an emerging standard (hopefully not distro-specific) for the
description of applications in various app stores.

http://people.freedesktop.org/~hughsient/appdata/ is the home page of
the standard.

http://blogs.gnome.org/hughsie/2013/09/27/frikin-awesome-apps-without-appdata/
is the call for providing new appdata.xml files.
2013-12-11 19:51:16 -08:00
Georg Baum
99cdabd206 Fix writer2latex quote handling (bug #8903)
writer2latex surrounds quotes by braces which we skip to avoid useless ERT.
I broke this in 25fe87e5 which made Parser::next_next_token() not recognize
that it needed to parse one more token. If we had a unit test for the Parser
class it would probably have detected that. Now we have at least a test for
the special quote.
2013-12-11 21:54:26 +01:00
Georg Baum
bbdff9996f Make sty file parser fit for mdsymbol.sty
Now it is able to generate a lib/symbols section from mdsymbol.sty.
2013-12-11 21:07:59 +01:00
Georg Baum
ee08aefeac Add some missing unicode math symbols
and fix wrong ones. This fixes the safe part of bug #8888. The symbols
provided by mdsymbol.sty have to wait, since mdsymbol.sty provides a huge
number of symbols, I don't have the time right now to process them all, and
a partial file format update does not make sense.
2013-12-11 20:58:28 +01:00
Juergen Spitzmueller
5659570eb6 ar.po: update from Hatim 2013-12-11 17:00:48 +01:00
Vincent van Ravesteijn
d1db30a188 Fix opening files from command line
Fixes: 9c4461de
2013-12-10 19:19:17 +01:00
Scott Kostyshak
a3f0ed3bc4 ctests: LuaTeX does not support Farsi yet
See (thanks to Uwe for the link):
ccb0e9e2c6

We thus invert the LuaTeX Farsi tests.

All inverted tests now have explanations for why they are not
currently expected to work.
2013-12-07 12:25:51 -05:00
Scott Kostyshak
09a5d195dc ctests: babel-greek was fixed
We can now test for regressions in the Greek docs for
XeTeX and LuaTeX export with FreeSans.

(Also some Indonesian tests were missing from revertedTests.)
2013-12-07 12:17:52 -05:00
Kornel Benko
9422053f49 Cmake test environment.
Expanded search for an image to \ecvpicture{} in the preamble.
2013-12-07 13:06:27 +01:00
Juergen Spitzmueller
1d591a0985 ar.po: yet another update from Hatim 2013-12-07 12:25:53 +01:00
Scott Kostyshak
8a4c9b60e2 ctests: invert ectaart tests
As Kornel has explained:

There is an incompatibility between luainputenc.sty and ectaart.cls.
luainputenc.sty loads luatex.sty. Both files (luatex.sty and
ectaart.cls) define the latex-command \setattribute.

These tests should be inverted because the conflict may one day be
resolved at which point we can begin testing for regressions.

(This commit also rearranges the europeCV lines to below the
corresponding explanation comment.)
2013-12-07 01:56:00 -05:00
Scott Kostyshak
033b49df13 Add note to es/europeCV.lyx and invert Xe and Lua
Export with XeTeX and LuaTeX (with either non-tex fonts or 8-bit
compatibility mode) does not work because the loading of inputenc with
utf8x is hardcoded in europecv.cls at this time.

This commit adds a note to es/europeCV.lyx explaining the problem and
inverts the XeTeX and LuaTeX tests.

See
http://comments.gmane.org/gmane.editors.lyx.devel/145896

Thanks to Günter Milde for the advice and to Ignacio García
for the translation of the note.
2013-12-06 12:13:14 -05:00
Scott Kostyshak
84c12ab6ed lyx2lyx es/europeCV to prepare a clean next commit 2013-12-06 12:13:01 -05:00
Juergen Spitzmueller
0aaf2f2008 Improve beamer frame conversion: frame arguments that use multiple ERTs (one ERT inset per argument) are converted 2013-12-06 11:57:33 +01:00
Juergen Spitzmueller
ac7f7dbdce Factor out identical frame argument conversion 2013-12-06 10:53:49 +01:00
Kornel Benko
b1862cda44 Cmake test environment.
Expanded search for an image to "layout Photo".
2013-12-06 10:42:26 +01:00
Juergen Spitzmueller
740c247dfe Do not load the xunicode package with TeX fonts 2013-12-05 17:39:16 +01:00
Juergen Spitzmueller
66c7759e67 ar.po: yet another update from Hatim 2013-12-05 16:53:05 +01:00
Kornel Benko
99c92de8aa CMake: allow compile-time C++ flags to be set
For developper only, therefore the variable is set to advanced.

Ideas from: Scott Kostyshak + Vincent van Ravensteijn
2013-12-05 12:00:02 +01:00
Pavel Sanda
5955e83b1a * cs.po 2013-12-04 21:28:53 -08:00
Pavel Sanda
3ca3431693 * cs.po, spotted by Kornel. 2013-12-04 21:10:10 -08:00
Uwe Stöhr
8c49237567 installer: fix a typo 2013-12-04 00:47:29 +01:00
Uwe Stöhr
fc400ae8eb installer: support new LyX helper programs 2013-12-04 00:45:46 +01:00
Uwe Stöhr
d9ce7fe1d4 installer: preparations for LyX 2.1 2013-12-04 00:05:20 +01:00
Uwe Stöhr
324b20f62a installer: default to LyX 2.1's LyXRC format 2013-12-04 00:02:42 +01:00
Scott Kostyshak
fb034884ac Fix noweb2lyx, Literate, and listerrors examples
This is a manual lyx2lyx fix. Some of the problematic chunks
are not correctly converted with lyx2lyx so this commit manually
converts them to ERT.

For more details, see:
  http://marc.info/?t=137702744100010&r=1&w=2
2013-12-03 02:18:07 -05:00
Scott Kostyshak
b2c8ac0e78 Add NoWeb -> XeTeX converter
Now the examples noweb2lyx.lyx and Literate.lyx can be
exported to the pdf4 format.
2013-12-03 02:15:37 -05:00
Scott Kostyshak
8da5bccb6d ctests: ignore latex8 tests
latex8.sty is obsolete and replaced by IEEEconf.

(consistent with a6372da7)
2013-12-03 02:15:37 -05:00
Scott Kostyshak
cc89ef1c1b ctests: invert Hungarian LuaTeX tests
Similar to Indonesian LuaTeX support (see 7d705438),
"magyar" is not supported. After 2.1 is released,
the babel name of "magyar" should be changed to
"hungarian" (if others disagree then these tests
still should stay inverted).
2013-12-03 02:15:36 -05:00
Vincent van Ravesteijn
a4d881c58e Return an error on file-open only when a filename is given
Fixes: 9c4461de
2013-12-03 06:37:27 +01:00
Vincent van Ravesteijn
9c4461deea Return an error if file-open is called with a non-absolute path 2013-12-02 21:04:46 +01:00
Juergen Spitzmueller
027b5dc4af Rerun makeindex if all nomencl entries have been removed (#8905) 2013-12-02 14:36:18 +01:00
Juergen Spitzmueller
44df37ab2a Check if string holds absolute file name before passing to FileName
See http://comments.gmane.org/gmane.editors.lyx.cvs/38213http://comments.gmane.org/gmane.editors.lyx.cvs/38213
2013-12-02 09:50:21 +01:00
Pavel Sanda
7f0c44cae3 * cs.po 2013-12-01 21:24:05 -08:00
Georg Baum
08c5d34922 Make -userdir available to child processes
Otherwise tex2lyx would not find textclass.lst, and thus TeX import and
paste from LaTeX would not work.
2013-12-01 22:11:55 +01:00
Richard Heck
f8f1232465 Fix bug #8727: Text::breakParagraph() was always setting the default
layout, even if the paragraph in question requires plain layout.
2013-12-01 13:23:43 -05:00
Juergen Spitzmueller
b3a8abffc7 Load the CJK package if requested
The package was not loaded if a the main language was not CJK, the main encoding was non-default and the document had a secondary CJK language.
2013-12-01 10:57:36 +01:00