]>
git.lyx.org Git - lyx.git/log
Günter Milde [Mon, 28 Jan 2019 22:02:33 +0000 (23:02 +0100)]
Fix CJK environment nesting issue.
If the last paragraph is nested in an environment,
we'll have to \end that first.
Günter Milde [Mon, 28 Jan 2019 21:11:43 +0000 (22:11 +0100)]
Fix line breaking, punctuation kerning and font switching with non-tex-fonts
Use "luatexja" or "xeCJK" with non-tex fonts in
Japanese and Chinese example documents.
Günter Milde [Mon, 28 Jan 2019 16:49:58 +0000 (17:49 +0100)]
Fix for CJK-documents with input-encoding "utf8".
Günter Milde [Mon, 28 Jan 2019 16:26:52 +0000 (17:26 +0100)]
Load CJK support package before font selection.
Günter Milde [Mon, 28 Jan 2019 16:24:39 +0000 (17:24 +0100)]
ctests: update CJK export tests.
Jean-Marc Lasgouttes [Mon, 28 Jan 2019 09:21:26 +0000 (10:21 +0100)]
Take care of spaces tracked as inserted in depm
When there are Change::INSERTED spaces in the range of consecutive
spaces to delete, it is better to remove them first.
Part of bug #11412.
Kornel Benko [Sun, 27 Jan 2019 12:25:29 +0000 (13:25 +0100)]
Cmake export tests: Expand summary messages
Summary log messages are now used also for xhtml exports
Enrico Forestieri [Sun, 27 Jan 2019 10:40:35 +0000 (11:40 +0100)]
Update it.po
Juergen Spitzmueller [Fri, 25 Jan 2019 18:25:09 +0000 (19:25 +0100)]
Two more IPA symbol fixes
Juergen Spitzmueller [Fri, 25 Jan 2019 17:33:13 +0000 (18:33 +0100)]
Fix IPA icons
Convert text to path and fix the most salient drawing issues.
Candidate for stable.
Juergen Spitzmueller [Fri, 25 Jan 2019 17:29:15 +0000 (18:29 +0100)]
Merge branch 'master' of git.lyx.org:lyx
Günter Milde [Fri, 25 Jan 2019 15:48:16 +0000 (16:48 +0100)]
ctests: fix system font setup for some CJK documents
Juergen Spitzmueller [Fri, 25 Jan 2019 13:49:36 +0000 (14:49 +0100)]
de.po
Juergen Spitzmueller [Fri, 25 Jan 2019 13:40:30 +0000 (14:40 +0100)]
Do not check for duplicates when pasting a label into a non-outputting inset.
Issue mentioned at #10333
Günter Milde [Thu, 24 Jan 2019 14:54:13 +0000 (15:54 +0100)]
ctests: small correction of inverted tests.
Günter Milde [Thu, 24 Jan 2019 13:40:19 +0000 (14:40 +0100)]
Fix second part of #5386.
A \clearpage command issued right before \end{CJK} is recommended by the
package author to prevent any un-processed CJK chars outside the
\begin{CJK} and \end{CJK} scope. Otherwise, TOC, header, footer,
and may contain CJK chars but get processed outside the CJK environment scope.
Tha new dedicated export test fails without the fix.
Günter Milde [Wed, 23 Jan 2019 23:36:33 +0000 (00:36 +0100)]
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.
Kornel Benko [Wed, 23 Jan 2019 22:09:55 +0000 (23:09 +0100)]
Amend
d31dc599 : Remove intermediate dirs
Kornel Benko [Wed, 23 Jan 2019 22:07:54 +0000 (23:07 +0100)]
Cmake lyxxx export tests: Add summary of commands to log
Günter Milde [Wed, 23 Jan 2019 10:06:04 +0000 (11:06 +0100)]
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.
Günter Milde [Wed, 23 Jan 2019 09:12:28 +0000 (10:12 +0100)]
Improve readability of the lyx2lyx help output.
Also some small clean-up edits
Günter Milde [Wed, 23 Jan 2019 08:11:01 +0000 (09:11 +0100)]
Avoid bitmap fonts for Latin text parts using LatinModern.
Günter Milde [Tue, 22 Jan 2019 23:57:20 +0000 (00:57 +0100)]
ctests: export tests for CJK in multilingual documents.
Günter Milde [Tue, 22 Jan 2019 22:59:11 +0000 (23:59 +0100)]
Test for bug #6197.
With language Polish, "amssymb" must be loaded before "babel" to
avoid a name clash for command "\lll".
Günter Milde [Tue, 22 Jan 2019 15:06:37 +0000 (16:06 +0100)]
Add example for mulit-lingual Japanese document with CJKutf8.
Günter Milde [Tue, 22 Jan 2019 11:02:57 +0000 (12:02 +0100)]
Farsi document with custom font encoding OT1 fails.
Set font encoding in examples to "auto" and add minimal test sample.
Scott Kostyshak [Mon, 21 Jan 2019 18:12:57 +0000 (13:12 -0500)]
ctests: invert acmart_lyx23 because of known issue
LyX expectedly gives the following warning:
TextClass.cpp (1385): The layout does not provide a list command for
the float `sidebar'. LyX will not be able to produce a float list.
This issue was reported to the maintainer. This commit is consistent
with
00f7a95f .
Scott Kostyshak [Mon, 21 Jan 2019 18:00:32 +0000 (13:00 -0500)]
ctests: invert also es modernCV 16 and 20 tests
Consistent with
9d7a3e21 .
Günter Milde [Mon, 21 Jan 2019 15:43:00 +0000 (16:43 +0100)]
ctest: Patterns in invertedTests must match the full test name.
Günter Milde [Sun, 20 Jan 2019 18:57:30 +0000 (19:57 +0100)]
ctests: Invert failing lyx2lyx tests for modernCV.
Exports to LyX < 2.1 fails.
Günter Milde [Sun, 20 Jan 2019 17:24:41 +0000 (18:24 +0100)]
ctests: Invert failing lyx2lyx tests for beamer.
Some exports to versions < 2.1 fail due to a warning about missing layout name.
Günter Milde [Fri, 18 Jan 2019 18:02:33 +0000 (19:02 +0100)]
update latex export tests, add test for bug #9871
Günter Milde [Fri, 18 Jan 2019 17:09:08 +0000 (18:09 +0100)]
ctests: update inputenc tests.
Use \input in luainputenc-utf8 instead of copying the
content of test documents in latex/unicodesymbols/.
Kornel Benko [Sun, 20 Jan 2019 08:16:45 +0000 (09:16 +0100)]
Update sk.po
Richard Kimberly Heck [Sun, 20 Jan 2019 03:05:32 +0000 (22:05 -0500)]
Add spaces. Thanks, Kornel.
Daniel Ramoeller [Mon, 31 Dec 2018 11:14:46 +0000 (12:14 +0100)]
Fix for #11294: Wrong description for Change bars module
Richard Kimberly Heck [Wed, 16 Jan 2019 16:13:53 +0000 (11:13 -0500)]
Rename emergency file when it is kept.
Otherwise, we will ask about it again next time, when the file
may have changed. Also, if we crash again, we'll over-write that
file, which we may not want to do.
See bug #11464.
Günter Milde [Thu, 17 Jan 2019 23:20:19 +0000 (00:20 +0100)]
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.
Kornel Benko [Thu, 17 Jan 2019 11:27:12 +0000 (12:27 +0100)]
Cmake build: Add format V2.0 to export tests
Scott Kostyshak [Wed, 16 Jan 2019 23:30:25 +0000 (18:30 -0500)]
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
Günter Milde [Wed, 16 Jan 2019 21:42:08 +0000 (22:42 +0100)]
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.
Günter Milde [Wed, 16 Jan 2019 17:32:20 +0000 (18:32 +0100)]
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)
Jean-Marc Lasgouttes [Thu, 3 Jan 2019 15:03:48 +0000 (16:03 +0100)]
Try to compute row height like it should be done
Currently, our computation of row height is not completely standard:
* we ignore completely the QFontMetrics::leading() parameter
* we add arbitrarily 2 hardcoded pixels to the height.
This patch reverses these two choices, which leads to
* slightly larger spacing for MinionPro (which has a big leading).
* an additional spacing of 20% font height that depends on dpi and zoom.
Visual inspection with LibreOffice seems to imply that it disregards
the font leading but uses a interline which is 20% larger than the
font height.
Günter Milde [Tue, 15 Jan 2019 15:35:34 +0000 (16:35 +0100)]
Fix unicodesymbols.
Remove 4 spurious tags that slipped in in [
4ebb415 /lyxgit].
Günter Milde [Mon, 14 Jan 2019 21:40:03 +0000 (22:40 +0100)]
Update some special latex export tests.
Günter Milde [Mon, 14 Jan 2019 21:35:14 +0000 (22:35 +0100)]
Update unicodesymbols replacements
"textcomp" supports some more characters in its ts1enc.dfu Unicode definition file.
Scott Kostyshak [Mon, 14 Jan 2019 17:40:37 +0000 (12:40 -0500)]
Development.lyx: check that PDF is good before inv
Before uninverting a test, we should check that the PDF looks
correct.
Scott Kostyshak [Mon, 14 Jan 2019 17:36:25 +0000 (12:36 -0500)]
Development.lyx: remove an unmatched parenthesis
Jean-Marc Lasgouttes [Mon, 14 Jan 2019 15:37:10 +0000 (16:37 +0100)]
Allow to type a space in front of another one
This is a follow-up to
714b731e . This fixes the issue when the cursor
is in front of a space
abc| def
and one inserts another space (to start a word). DEPM would eat one
space and produce
abc |def
instead of
abc | def
Additionally, fix the same_par boolean, wheich did not take the cell
index into account.
Related to ticket #11412.
Günter Milde [Mon, 14 Jan 2019 11:21:34 +0000 (12:21 +0100)]
ctests: update test tagging/categorization and export test for accents on Cyrillic letters.
Scott Kostyshak [Sun, 13 Jan 2019 19:18:25 +0000 (14:18 -0500)]
ctests: ignore latex8 LyX 2.2.x and 2.3.x tests
The cls is obsolete, so all PDF exports are disabled. We keep the
1.6.x and 2.1.x tests because those only check roundtrip
convergence, and do not export to PDF.
Scott Kostyshak [Sun, 13 Jan 2019 18:04:26 +0000 (13:04 -0500)]
ctests: ignore minted 2.2.x tests
As explained by Enrico, backward compatibility is not guaranteed for
these cases (and indeed currently fails):
https://www.mail-archive.com/search?l=mid&q=
20190113085555 .GA7928%40GIOVE
Scott Kostyshak [Sun, 13 Jan 2019 17:31:55 +0000 (12:31 -0500)]
ctests: add comment about formats that won't work
This way we will not try to test those formats for this file in the
future.
Juergen Spitzmueller [Sun, 13 Jan 2019 10:38:28 +0000 (11:38 +0100)]
Fix copy-paste error
Juergen Spitzmueller [Sun, 13 Jan 2019 10:25:17 +0000 (11:25 +0100)]
Amend
7b639d2db212
Not the (ASCII) encoding matters here, but the (TU) font encoding.
Juergen Spitzmueller [Sat, 12 Jan 2019 17:44:52 +0000 (18:44 +0100)]
Script wrapper is needed with ASCII encoding
Enrico Forestieri [Sat, 12 Jan 2019 17:37:41 +0000 (18:37 +0100)]
Remove PYTHONPATH from the environment on Windows
This make sure to use the the modules distributed with LyX,
avoiding reconfigure failures.
Enrico Forestieri [Fri, 11 Jan 2019 17:15:40 +0000 (18:15 +0100)]
Replace environment variables in PATH prefix
The PATH prefix modified through the GUI was set without
replacing embedded environment variables. This might have
caused problems on Windows with external python installations.
Juergen Spitzmueller [Fri, 11 Jan 2019 15:40:41 +0000 (16:40 +0100)]
Add support for U+2693 (ANCHOR)
Fixes: #10706
Jean-Marc Lasgouttes [Fri, 11 Jan 2019 14:55:17 +0000 (15:55 +0100)]
Fix alignment of rows when text width is variable
When several lines of text are in the same variable-width tabular
cell, it is not possible to align properly the rows until the cell
width is known.
Therefore a parameter is added to redoParagraph to skip this
computation, so that it can be done later in TextMetrics::metrics.
Other calls to redoParagraph in the code are not affected. It is not
clear at this point whether they may create artefacts.
computeRowMetrics has been renamed to setRowAlignment to better
reflect its use.
Fixes bug #11447.
Kornel Benko [Fri, 11 Jan 2019 12:14:49 +0000 (13:14 +0100)]
Amend
23f7431c : Renamed files
latex/inputenc-utf8-plain.lyx -> latex/luainputenc-utf8.lyx
Juergen Spitzmueller [Fri, 11 Jan 2019 09:08:49 +0000 (10:08 +0100)]
"Script chars" also need to be output as macro with full utf8 engines and TeX fonts
Fixes rest of #9681
Günter Milde [Thu, 10 Jan 2019 21:37:03 +0000 (22:37 +0100)]
ctests: update sorting and documentation of inverted and ignored tests.
Richard Kimberly Heck [Thu, 10 Jan 2019 18:22:58 +0000 (13:22 -0500)]
Remove empty file discovered by Kornel.
Looks like an accidental commit.
> git log GuiGraphicsUi.h
commit
a1cec91afaca91968b46e695533c10ad2a3f73d3
Author: André Pönitz <poenitz@gmx.net>
Date: Fri Aug 31 05:53:55 2007 +0000
move our stuff off the Q* namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19935
a592a061 -630c-0410-9148-
cb99ea01b6c8
That's all a rename, basically. The original file, QGraphicsUi.h, was commited at
12e5a52b92 , and it was empty then, too.
Günter Milde [Thu, 10 Jan 2019 17:46:47 +0000 (18:46 +0100)]
Force more symbols with utf8-cjk
Günter Milde [Thu, 10 Jan 2019 16:11:42 +0000 (17:11 +0100)]
ctests: Update/clean up latex export tests after fix of #9681.
Günter Milde [Thu, 10 Jan 2019 16:13:45 +0000 (17:13 +0100)]
lyx2lyx: Minor formatting fix.
Juergen Spitzmueller [Thu, 10 Jan 2019 08:56:11 +0000 (09:56 +0100)]
Force more symbols with utf8-cjk
Juergen Spitzmueller [Thu, 10 Jan 2019 08:43:40 +0000 (09:43 +0100)]
force some symbols as macros with utf8-cjk
Probably more needed.
Scott Kostyshak [Thu, 10 Jan 2019 00:49:48 +0000 (19:49 -0500)]
ctests: uninvert two 008-greek-and-coptic tests
The following two exports now succeed, likely thanks to recent
commits:
008-greek-and-coptic_(utf8|utf8x)_pdf2
Scott Kostyshak [Thu, 10 Jan 2019 00:00:08 +0000 (19:00 -0500)]
ctests: move IEEEtran-Journal_lyx16 to inverted
It used to give an endless loop, so we "ignored" it (did not run the
test). Now it gives a lyx2lyx warning, which is reported at #11455,
so it is appropriate to invert the test.
Günter Milde [Wed, 9 Jan 2019 13:12:37 +0000 (14:12 +0100)]
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.
Günter Milde [Wed, 9 Jan 2019 13:10:40 +0000 (14:10 +0100)]
ctests: Dedicated LaTeX export tests for problematic input encodings.
Günter Milde [Wed, 9 Jan 2019 09:39:40 +0000 (10:39 +0100)]
Remove omikron from math tests.
The letter Omikron is not available in TeX math mode because
it looks like the latin O and hence not used as mathematical symbol.
Günter Milde [Wed, 9 Jan 2019 09:35:08 +0000 (10:35 +0100)]
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).
Günter Milde [Wed, 9 Jan 2019 07:59:24 +0000 (08:59 +0100)]
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.
Günter Milde [Tue, 8 Jan 2019 09:52:20 +0000 (10:52 +0100)]
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.
Juergen Spitzmueller [Wed, 9 Jan 2019 07:29:41 +0000 (08:29 +0100)]
CJKutf8 is only to be used with the dedicated utf8-cjk encoding
Scott Kostyshak [Tue, 8 Jan 2019 22:05:55 +0000 (17:05 -0500)]
ctests: ingore a utf8-cjk test instead of invert
The 001-4-latin_utf8x_pdf2 test passes and the
001-4-latin_utf8-cjk_pdf2 test fails, which means that there are
characters in the .lyx file that are only available with
utf8-extended encoding, so the utf8 test is never expected to pass
in the future.
Thanks to Kornel.
Scott Kostyshak [Mon, 7 Jan 2019 23:17:43 +0000 (18:17 -0500)]
ctests: improve a regex
The "004" did not actually match anything, so there is no change in
functionality.
This commit amends
c2a99965 .
Günter Milde [Mon, 7 Jan 2019 22:17:47 +0000 (23:17 +0100)]
ctests: utf8-plain now works with all export variants.
utf8-plain (Unicode (utf8 XeTeX)) is a power-user setting
for the input encoding with two use cases:
a) setup of system fonts or
b) setup of input encoding supportuser preamble
in the document class or user preamble.
The test file is an example for use case b.
Scott Kostyshak [Mon, 7 Jan 2019 19:44:46 +0000 (14:44 -0500)]
ctests: uninvert CJK exports that now succeed
These tests were likely fixed with
d193cd05 . There are still some
failing CJK tests, but many were fixed.
Juergen Spitzmueller [Mon, 7 Jan 2019 16:02:06 +0000 (17:02 +0100)]
Improve readability
No functional change.
Jean-Marc Lasgouttes [Mon, 7 Jan 2019 12:50:55 +0000 (13:50 +0100)]
use range-based for loops
Juergen Spitzmueller [Mon, 7 Jan 2019 12:54:23 +0000 (13:54 +0100)]
When using polyglossia (bidi), paragraph directions don't need to be swapped
Bidi does that.
Fixes: #11399
Kornel Benko [Mon, 7 Jan 2019 07:37:41 +0000 (08:37 +0100)]
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.
Stephan Witt [Sun, 6 Jan 2019 23:33:33 +0000 (00:33 +0100)]
Remove outdated comment
Richard Kimberly Heck [Sun, 6 Jan 2019 22:50:14 +0000 (17:50 -0500)]
Remove now unused routine.
Richard Kimberly Heck [Sun, 6 Jan 2019 22:45:08 +0000 (17:45 -0500)]
Use combo box data rather than looking up info from InsetRef.
Scott Kostyshak [Sun, 6 Jan 2019 19:47:39 +0000 (14:47 -0500)]
ctests: uninvert ko splash.lyx dvi, pdflatex tests
These exports now pass thanks to the recent CJK improvement at
d193cd05 and specifying "mj" as CJK font (
0cfaf406 ).
Scott Kostyshak [Sun, 6 Jan 2019 19:38:54 +0000 (14:38 -0500)]
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.
Richard Kimberly Heck [Sun, 6 Jan 2019 18:02:40 +0000 (13:02 -0500)]
Add comment.
Richard Kimberly Heck [Sun, 6 Jan 2019 18:00:21 +0000 (13:00 -0500)]
Remove debugging code.
Richard Kimberly Heck [Sun, 6 Jan 2019 17:51:02 +0000 (12:51 -0500)]
Fix problem caused by re-ordering of menu at
5f6332bf4 .
This broke the activation and de-activation of plural, capitalize,
etc. I guess that tells us how much those get used....
Juergen Spitzmueller [Sun, 6 Jan 2019 15:40:36 +0000 (16:40 +0100)]
Don't output CJK environment with non-TeX fonts
This amends
d193cd05a8e3b .
Juergen Spitzmueller [Sun, 6 Jan 2019 14:19:50 +0000 (15:19 +0100)]
Juergen Spitzmueller [Sun, 6 Jan 2019 13:36:11 +0000 (14:36 +0100)]
Properly implement CJKutf8
If we use that, the document actually needs to be in utf8 encoding, and
the CJK environment needs to account for it.
Candidate for stable.
Stephan Witt [Sun, 6 Jan 2019 08:28:11 +0000 (09:28 +0100)]
Add license info for inkscape start script
Scott Kostyshak [Sun, 6 Jan 2019 07:19:06 +0000 (02:19 -0500)]
ctests: ignore Bibliography.lyx PDF export tests
Bibliography.lyx is not expected to be compiled on its own. See:
https://www.mail-archive.com/search?l=mid&q=
20190104195414 .opgeuggeqakxl2fo%40barna
Scott Kostyshak [Sat, 5 Jan 2019 23:49:27 +0000 (18:49 -0500)]
ctests: invert ar UserGuide.lyx lyx22x and lyx23x
These tests are expected to fail since the default export is
expected to fail.