Commit Graph

9104 Commits

Author SHA1 Message Date
Günter Milde
7da76b1b9f Load CJK support package before font selection. 2019-01-28 17:26:52 +01:00
Juergen Spitzmueller
9e38b9d871 Two more IPA symbol fixes 2019-01-25 19:25:09 +01:00
Juergen Spitzmueller
bb6fb21618 Fix IPA icons
Convert text to path and fix the most salient drawing issues.

Candidate for stable.
2019-01-25 18:33:13 +01:00
Günter Milde
67ed1ec03a ctests: fix system font setup for some CJK documents 2019-01-25 16:51:59 +01:00
Günter Milde
197735747e Support for documents in other scripts with parts in CJK scripts.
Fix CJK support for documents using input-encoding "utf8-cjk"
when the main language is not Chinese, Korean, or Japanese.
2019-01-24 00:40:51 +01:00
Günter Milde
49583b7dd0 Fix encoding issue with lyx2lyx conversion of "Date" info-insets.
Remaining problem: the name of the day appears in English instead of the document language.
2019-01-23 11:06:04 +01:00
Günter Milde
5a1fb5b5fa Improve readability of the lyx2lyx help output.
Also some small clean-up edits
2019-01-23 10:12:28 +01:00
Günter Milde
16b28ad725 Avoid bitmap fonts for Latin text parts using LatinModern. 2019-01-23 09:11:01 +01:00
Günter Milde
d104005151 Add example for mulit-lingual Japanese document with CJKutf8. 2019-01-22 16:06:37 +01:00
Günter Milde
f82030d211 Farsi document with custom font encoding OT1 fails.
Set font encoding in examples to "auto" and add minimal test sample.
2019-01-22 12:02:57 +01:00
Daniel Ramoeller
f71723c8f3 Fix for #11294: Wrong description for Change bars module 2019-01-19 18:09:36 +01:00
Günter Milde
a925d25085 Improve a warning in lyx2lyx.
If get_containing_layout() finds a layout without name,
it will return an empty string as layoutname.
Calling functions can thus differentiate between missing
\begin_layout and missing layoutname and give a more specific
response or warning.
2019-01-18 00:20:19 +01:00
Scott Kostyshak
253b12aba1 Fix lyx2lyx export of long tables
For some .lyx files with long tables, this fix reduces the
differences in LaTeX export of master, compared to LaTeX export of
the lyx2lyx exported file. Further, this export fixes the lyx2lyx
roundtrip convergence for these cases. For discussion, see:

  https://www.mail-archive.com/search?l=mid&q=20190102230924.7zgla5lhkwxpx5fi%40barna
2019-01-16 18:38:45 -05:00
Günter Milde
5d5bb53887 The acmart package requires pdflatex, XeTeX or LuaTeX.
The acmart package requires pdflatex (with 8-bit fonts)
or xe/luatex with non-TeX fonts to give the expected output.
2019-01-16 22:55:05 +01:00
Günter Milde
b9041328a0 unicodesymbols Force substitution of NNBSP in utf8.
NNBSP (narrow no break space) is supported by LyX's unicodesymbols
but missing in LaTeX inputenc *.dfu definitions. (TeXLive 2017)
2019-01-16 18:34:35 +01:00
Günter Milde
8b46630034 Fix unicodesymbols.
Remove 4 spurious tags that slipped in in [4ebb415/lyxgit].
2019-01-15 16:35:34 +01:00
Günter Milde
4ebb415773 Update unicodesymbols replacements
"textcomp" supports some more characters in its ts1enc.dfu Unicode definition file.
2019-01-14 22:48:38 +01:00
Scott Kostyshak
c40528f634 Development.lyx: check that PDF is good before inv
Before uninverting a test, we should check that the PDF looks
correct.
2019-01-14 12:42:38 -05:00
Scott Kostyshak
fe2dc0887d Development.lyx: remove an unmatched parenthesis 2019-01-14 12:42:01 -05:00
Juergen Spitzmueller
ead498f0a6 Add support for U+2693 (ANCHOR)
Fixes: #10706
2019-01-11 16:42:08 +01:00
Günter Milde
c2d20645be Force more symbols with utf8-cjk 2019-01-10 18:46:47 +01:00
Günter Milde
9126f06d93 lyx2lyx: Minor formatting fix. 2019-01-10 17:20:34 +01:00
Juergen Spitzmueller
81af82d1e8 Force more symbols with utf8-cjk 2019-01-10 09:56:11 +01:00
Juergen Spitzmueller
4786c59a8c force some symbols as macros with utf8-cjk
Probably more needed.
2019-01-10 09:43:40 +01:00
Günter Milde
251aaf102f unicodesymbols: support for LOW ASTERISK, use textcomp for (non-combining) Breve and Caron
The textcomp Unicode support file "ts1enc.dfu" defines 0x204E Low Asterisk
as \textasteriskcentered. LyX should follow suit.
The ASTERISK OPERATOR (correctly) maps to the same macro,
the "deprecated" tag marks the upstream mapping as preferred choice.
2019-01-09 14:59:22 +01:00
Günter Milde
41c115aa48 Use LatinModern fonts for Greek documentation Intro.
Since some years, the LatinModern 8-bit fonts work well with Greek,
using the high quality CB-Fonts as substitution (just as ComputerModern).
2019-01-09 10:35:08 +01:00
Günter Milde
f85dc3fbd4 Fix Ticket #9904 ("strange dots" with input encoding iso8859-7).
Added "force=iso8859-7" for some characters:

The iso8859-7.def file for the Greek 8-bit input encoding
used \textbullet as placeholder for non-defined characters.
This is fixed in v1.7 2019/01/08.

Once the fixed version is in common use, all "force=iso8859-7"
tags can be removed.
2019-01-09 09:23:16 +01:00
Günter Milde
41055bab88 Fix handling of Thai tis620-0 input encoding.
The Thai tis620-0 input encoding is supported via the inputenc "plug in"
(data) file tis620.def from https://ctan.org/pkg/babel-thai.

We can handle it like the other contributed input encodings, e.g.,
Greek (ISO 8859-7) and the several Cyrillic encodings from
http://www.ctan.org/pkg/latex-cyrillic.

Under TeXLive 2018, the input encoding defaults to utf8, if there is no call to
inputenc. The added test file fails without the patch but compiles fine, if the
file "tis620.def" is present in the TEXPATH.
2019-01-09 09:23:16 +01:00
Juergen Spitzmueller
9982651fd6 CJKutf8 is only to be used with the dedicated utf8-cjk encoding 2019-01-09 08:29:41 +01:00
Kornel Benko
f092208c89 Enable error-free compilation of ko splash.lyx with xetex and lautex
This amends somehow 9238004c. Since the system font NanumMyeongjo
and the "mj" spec as CJK latex font are related, this change
seems appropriate.
2019-01-07 08:37:41 +01:00
Stephan Witt
b36eae4962 Remove outdated comment 2019-01-07 00:33:33 +01:00
Scott Kostyshak
0cfaf406c5 ko splash.lyx: specify "mj" as CJK font
Now (thanks to d193cd05), the Korean splash.lyx compiles
out-of-the-box with pdflatex.

Thanks to Jürgen.
2019-01-06 14:39:12 -05:00
Juergen Spitzmueller
8c219daeeb Amend 348b3e5e49
thinko!
2019-01-06 15:19:50 +01:00
Stephan Witt
caa1dd2aee Correct converter configuration for inkscape on Mac
On Mac the inkscape binary is started by a wrapper script. This script changes the
working directory internally and fails to process files with relative path names.
The previous attempt to solve it was to pass the file names with absolute names
by prepending them with the $$p variable (representing the directory name of the files).
This broke the on screen conversion (used for SVGZ to PNG e.g. in the users guide)
because here the $$p variable is undefined.

Now the wrapper script of LyX which is used to locate the Inkscape.app bundle converts
the relative path names into absolute names and the $$p variable is removed from the
converter definitions for inkscape again.
2019-01-06 00:22:32 +01:00
Scott Kostyshak
6e815d3eba Bibliography.lyx: remove preamble and master doc
The preamble is not used since this document should only be compiled
from documents that include it. Similarly, setting the master
document is not useful.
2019-01-05 16:47:15 -05:00
Scott Kostyshak
91d8aea8d3 Bibliography.lyx: remove citation, add explanation
Bibliography.lyx is not expected to be compiled on its own. This
commit reverts 3ac2dd8e and instead adds a LyX note explaining that
an error is expected if the .lyx file is compiled.
2019-01-04 14:50:16 -05:00
Juergen Spitzmueller
348b3e5e49 rewrite revert_jss reversion routine
Fixes: #11448
2019-01-04 16:36:11 +01:00
Scott Kostyshak
3ac2dd8e6c Bibliography.lyx: add a reference so it compiles 2019-01-03 22:27:22 -05:00
Scott Kostyshak
67f5a5173a Fix compilation of chess-article.lyx with TL 2018
Consistent with 32b77f1a.
2019-01-03 21:10:43 -05:00
Juergen Spitzmueller
4ebb91194a Fixed remaining glitches in tcolorbox reversion routines
The indexes were off at several places, which made the routines leak.
2019-01-03 10:12:14 +01:00
Scott Kostyshak
051eaeec8a maa-monthly.layout: declare dep maa-monthly.sty 2019-01-02 19:56:18 -05:00
Scott Kostyshak
32b77f1ad2 Fix compilation of chessgame.lyx with only TL 2018
chess-workshop-symbols.sty is no longer (on an updated TL 2018)
included in the TL package "skak". This commit replaces the loading
of chess-workshop-symbols in the custom preamble with the loading of
the package chessfss.

chessfss is in TL 2016 and TL 2018, and the example file now
compiles with both TL installations.

Before this commit, compilation of chessgame.lyx was possible if
chess-workshop-symbols.sty were installed manually (i.e., outside of
TL), but it is preferred to keep dependencies to only TL if
possible.
2019-01-02 14:02:03 -05:00
Juergen Spitzmueller
25451bc252 fix tcolorbox reversion routines 2019-01-02 15:37:48 +01:00
Juergen Spitzmueller
71dfcb18b9 Fis some old box reversion routines. 2019-01-01 16:34:15 +01:00
Richard Kimberly Heck
fc14f23b89 New layout file for American Mathematical Monthly.
From John Perry. See bug #10803.
2018-12-29 11:48:38 -05:00
Juergen Spitzmueller
12aaeb259f Handle bibliography irritations in thesis template
Outsource the bibliography to an own child, which is then also included
in the children's "Standalone" branch

Add some clarifying notes.

Fixes: #10748
2018-12-29 15:08:15 +01:00
Juergen Spitzmueller
012d9b088e Beamer: autonest column in columns
Candidate for stable
2018-12-29 13:36:13 +01:00
Richard Kimberly Heck
75c8e5c000 Typo 2018-12-28 23:34:51 -05:00
Richard Kimberly Heck
f11a51be35 Fix bug #11378. 2018-12-28 23:02:47 -05:00
Kornel Benko
98abb620fc Arrgh Amend 32b59a42, one string was changed but should not be 2018-12-28 16:11:29 +01:00