Commit Graph

9177 Commits

Author SHA1 Message Date
Juergen Spitzmueller
8edd7c375e Tutorial, UserGuide: Adapt wrt new templates/examples UI 2019-03-23 16:25:14 +01:00
Juergen Spitzmueller
e8e97b988d typo 2019-03-23 11:30:53 +01:00
Kornel Benko
8d40f6c691 Correctedt tests for PhD_Theses
Adapt to the changed master document
2019-03-23 11:06:10 +01:00
Kornel Benko
c5b086cf81 Use correct path to included figure 2019-03-23 10:56:12 +01:00
Kornel Benko
1f29d4a32f Correctedt tests for Springer_Contributed_Books export tests
Adapt to the changed master document
2019-03-23 10:40:39 +01:00
Juergen Spitzmueller
ebc4092649 Add LFUN_BUFFER_WRITE_AS_TEMPLATE
Convenience function to easier save a file as template in the appropriate
templates folder.
2019-03-23 10:17:33 +01:00
Kornel Benko
75d42f72d9 Corrected tests for chess exports 2019-03-23 10:05:18 +01:00
Pavel Sanda
f6d69e6980 missing example 2019-03-23 09:21:57 +01:00
Juergen Spitzmueller
c44110fada Clarify soul module description 2019-03-23 08:04:57 +01:00
Günter Milde
80b6a0038a Add lib/unicodesymbols support for Hebrew.
Hebrew language must be set (otherwise character macros are not defined)
but this is normally no problem because it is also neede for RTL support.
2019-03-22 23:55:00 +01:00
Juergen Spitzmueller
aff2ee6058 Add soul module 2019-03-22 18:29:50 +01:00
Juergen Spitzmueller
ca024383e0 Fix problematic characters in example/template file names
For (, ) and & we use URL encoding now.
2019-03-22 11:10:49 +01:00
Juergen Spitzmueller
a84103a8d4 Replace unnecessary ampersand in folder name 2019-03-22 09:38:05 +01:00
Günter Milde
4130ab15c6 Fix inputencoding for documentation, examples, and templates.
* "platex" fails with "inputencoding default", if there is text in other languages.
  "jis-platex" works fine, "jis-utf8" fails with German Umlauts (maybe more).

* The expert setting "inputencoding default" switches the inpute encoding
  with language switches without marking this in the LaTeX source.
  It is rarely required (if ever) and makes documents easy to break.

  It is not required for AMS Books, Simple CV, ... (probabely a tex2lyx issue).
  "utf8" and "auto" work fine.
2019-03-22 08:41:55 +01:00
Günter Milde
0b7e51033c Kluwer example fails with Polyglossia. 2019-03-21 17:39:51 +01:00
Uwe Stöhr
01c5d528fe convertDefault.py: remove ancient restriction
there is no longer the need to restrict the image depth (on Windows since years the 16 bit depth version of ImageMagick is bundled)
2019-03-21 02:35:51 +01:00
Juergen Spitzmueller
ca67b8aa2c GuiLyXFiles: add icons that indicate whether a file is from user or system 2019-03-20 18:38:07 +01:00
Scott Kostyshak
7f73e01dde Development.lyx: s/splash.lyx/Welcome.lyx/g
This follows d3ec77c6.
2019-03-19 23:01:42 -04:00
Günter Milde
d6d98ffbe4 Fix remainder of #9681 (textcyrillic and textgreek handling).
* Fix macro termination if \textcyrillic or \textgreek is not required
  for Greek or Cyrillic letter.

* Replace "writeScriptChars" with conditionals in the character-output loop in
  "Paragraph::latex" (solves "FIXME: modifying i here is not very nice...").

The font changing commands \textcyrillic and \textgreek are no longer
part of the textcommand in "lib/unicodesymbols" but added when required
in Paragraph::Private::latexSpecialChar.
2019-03-19 22:46:33 +01:00
Günter Milde
1933102593 ctest update and small documentation fixes. 2019-03-19 22:17:52 +01:00
Kornel Benko
caaa317a95 Amend d3ec77c6: Reorganize templates and example folders
Fixed cmake tests
2019-03-19 10:56:06 +01:00
Juergen Spitzmueller
264481c0b3 Fix redundancy 2019-03-19 08:08:30 +01:00
Juergen Spitzmueller
441b17ec76 Fix redundant naming 2019-03-19 07:13:51 +01:00
Juergen Spitzmueller
d3ec77c633 Reorganize templates and example folders
Re-structure and rename files in a transparent way. Most template/example
names now correspond to the (verbose GUI) name of their layouts.

Note that this, most prominently, also changes [LANG/]splash.lyx to
something less insiderish, namely "Welcome.lyx".
2019-03-19 07:13:18 +01:00
Juergen Spitzmueller
9faae1284b Add new dialog for templates and examples
This lists all respective files from user, build and system directory
in a structured way and thus allows for easier access to them.

Fixes: #2396, #6861
2019-03-19 06:59:24 +01:00
Günter Milde
7f86f93810 unicodesymbols: Add force flags for Arabic and Hebrew input encodings. 2019-03-17 11:31:07 +01:00
Juergen Spitzmueller
569841f292 Update layout versions 2019-03-12 14:14:43 +01:00
Juergen Spitzmueller
8b92a2a689 Add NeedMBoxProtect [inset]layout option
This accesses the inulemcmd output param which protects specific commands
(\cite, \ref) in an \mbox.

This is needed in ulem and soul commands, since their complex
detokenization makes such commands (who produce multiple words via local
assignment) fail.

So now it is possible to properly support ulem and soul via
[inset]layout

Fixes a case reported in #9404
2019-03-12 14:08:05 +01:00
Juergen Spitzmueller
ae8cb7bc6a Add Jürgen Womser-Schütz to the credits 2019-03-11 16:14:13 +01:00
Juergen Spitzmueller
abf38e1820 revert_language: fix document language assignment 2019-03-11 11:42:54 +01:00
Juergen Spitzmueller
8b2f89f8bd thinko 2019-03-11 11:05:10 +01:00
Juergen Spitzmueller
01493e574a Dix revert_language with multiple languages per paragraph 2019-03-11 10:56:50 +01:00
Juergen Spitzmueller
f320ccdfc6 Prevent multiple insertion of language switch at document body 2019-03-11 10:56:12 +01:00
Juergen Spitzmueller
ef9e73d7fe Move function out of loop 2019-03-11 10:37:33 +01:00
Juergen Spitzmueller
3d08c83666 Remove misplaced comment 2019-03-10 13:40:29 +01:00
Juergen Spitzmueller
4bd065f871 use revert_language in more cases 2019-03-10 13:00:10 +01:00
Juergen Spitzmueller
6d6eda3950 Further simplification 2019-03-10 12:43:09 +01:00
Juergen Spitzmueller
27f15ac930 lyx_2_3.py: use revert_language rather than local methods. 2019-03-10 12:36:56 +01:00
Juergen Spitzmueller
c70c049417 Enhance revert_language function
This should now consider all cases (many of which were not handled so far)
2019-03-10 12:36:06 +01:00
Juergen Spitzmueller
bde57076ed Correct message reference 2019-03-10 10:31:39 +01:00
Juergen Spitzmueller
43bec1619c Add Joice to the credits 2019-03-10 10:26:20 +01:00
Juergen Spitzmueller
ebd7a1a22a Support for the Malayalam language
Patch by Joice Joseph
2019-03-10 10:21:59 +01:00
Günter Milde
cc84fa6173 unicodesymbols: Use \r{A} instead of \AA for "Latin letter A with ring" and "Ångström sign".
Xe/LuaTeX convert \AA to the deprecated character u212B (which is missing
in the default LatinModern font) instead of the recommended u00C5.

Also fix some of the "missing character" errors in Math.lyx if compiled with
Xe/LuaTeX which were caused by the replacement of \AA with literal u212B characters
in math-insets due to the old definitions in unicodesymbols.

Update the minimal example for failures of Math.lyx with system fonts.
2019-03-08 18:36:56 +01:00
Günter Milde
ff8cec5ea5 ctests: Problem with auto-date for Ukrainian with Xe/LuaTeX and TeX fonts.
New bug in TeXLive 18.
Missing characters with XeTeX and wrong characters with LuaTeX.

Also:
* Remove spurious (Latin) characters from uk/Intro.lyx
* "wrong-output" tag for Cyrillic documents with XeTeX and TeX fonts.
2019-03-04 16:22:00 +01:00
Günter Milde
fd106637be ctest and documentation update
The special test "arabic_simple.lyx" is no longer required,
"examples/ar/splash.lyx" works with 8-bit fonts now.

Update tagging patterns and comments.
2019-03-04 00:04:04 +01:00
Kornel Benko
d50923d48a Typo 2019-03-02 21:59:29 +01:00
Günter Milde
9ad8c25d7b unicodesymbols: Add force flags for arabic codepage. 2019-03-01 18:52:12 +01:00
Günter Milde
1c57fc31aa Minor documentation fix. 2019-02-28 23:01:14 +01:00
Günter Milde
9abd46b4d5 Fix AttributeError with Python 3.
At least since Python 3.5, `output` is already a
(unicode) string and does not have a "decode" method.
2019-02-28 22:59:30 +01:00
Günter Milde
4de4263f93 ctest update.
* set required non-TeX fonts in the documents
* update comments for inverted tests
* update some tags
2019-02-25 01:19:14 +01:00