]>
git.lyx.org Git - features.git/log
Kornel Benko [Sat, 14 Nov 2020 11:21:48 +0000 (12:21 +0100)]
Cmake build: Partly revert
6f696151
1.) cmake errors on old versions with 'LIST does not recognize sub-command PREPEND'
2.) using Windows settings on non-Windows platforms is wrong
Thibaut Cuvelier [Sat, 14 Nov 2020 04:44:12 +0000 (05:44 +0100)]
DocBook: implement European CV.
Scott Kostyshak [Sat, 14 Nov 2020 04:27:08 +0000 (23:27 -0500)]
ctests: invert Hebrew tutorial LuaTeX tests
With an updated TeX Live 2020 an assertion is given. The assertion
was reported on the LuaTeX ML [1], and will be converted into the
following error as of LuaTeX svn commit r7385:
! the word doesn't start with a character
The error could likely be worked around with a change to the
document but since the document compiles without error with XeTeX I
did not change anything since I do not understand the issue.
[1]
https://www.mail-archive.com/search?l=mid&q=
20201030030430 .4y4i6bdpwx633qs7%40vbox-VirtualBox
Scott Kostyshak [Sat, 14 Nov 2020 02:26:38 +0000 (21:26 -0500)]
Noweb_Listerrors.lyx: do not force ps2pdf
Export to all formats seems to work well after removing the "ps2pdf"
option to the hyperref package.
Accordingly we uninvert the tests for the other formats. All ctests
pass on an updated TeX Live 2020.
Thibaut Cuvelier [Sat, 14 Nov 2020 02:14:23 +0000 (03:14 +0100)]
DocBook: implement EuropassCV.
Kornel Benko [Fri, 13 Nov 2020 23:37:39 +0000 (00:37 +0100)]
Update sk.po
Kornel Benko [Fri, 13 Nov 2020 23:34:20 +0000 (00:34 +0100)]
Cmake build: Check for perl before use
(Define PERL_EXCUTABLE to be used while calling perl scripts)
Thibaut Cuvelier [Thu, 12 Nov 2020 03:45:02 +0000 (04:45 +0100)]
DocBook: implement chess.
Scott Kostyshak [Wed, 11 Nov 2020 17:57:24 +0000 (12:57 -0500)]
ctests: Invert two LyX HTML tests that were broken
These exports have not worked (i.e., failed our xmllint checks) for
a while. We have a bug open to track them at #10355.
Yuriy Skalko [Thu, 12 Nov 2020 12:09:36 +0000 (14:09 +0200)]
Simplify Changers
Kornel Benko [Thu, 12 Nov 2020 09:38:11 +0000 (10:38 +0100)]
Amend
1354dcdef0b412ff004b93068956611825a78db2 (Typo)
Regexes in *Tests files require to contain the first and
also the last character ot the testname
Thibaut Cuvelier [Thu, 12 Nov 2020 03:42:58 +0000 (04:42 +0100)]
Thibaut Cuvelier [Thu, 12 Nov 2020 03:39:54 +0000 (04:39 +0100)]
DocBook: bicaptions cannot be implemented only with templates.
Thibaut Cuvelier [Thu, 12 Nov 2020 03:17:49 +0000 (04:17 +0100)]
DocBook: implement aa.
Thibaut Cuvelier [Thu, 12 Nov 2020 02:18:03 +0000 (03:18 +0100)]
DocBook: implement achemso.
Thibaut Cuvelier [Thu, 12 Nov 2020 01:33:19 +0000 (02:33 +0100)]
DocBook: mark more tests to be ignored.
Yuriy Skalko [Wed, 11 Nov 2020 22:20:46 +0000 (00:20 +0200)]
Update Development.lyx
Yuriy Skalko [Wed, 11 Nov 2020 18:27:06 +0000 (20:27 +0200)]
Merge CodingRulesAndAdvice.lyx into Development.lyx
Richard Kimberly Heck [Wed, 11 Nov 2020 16:24:59 +0000 (11:24 -0500)]
Revert "Improve structure of updateMacros"
The problem here is that the check against TEXT_CODE only
catches InsetText, and not its subclasses. Same for the check
against MATH_HULL_CODE. So there is reason not to check codes
here.
This reverts commit
5a54ccfa87057fd3220d7193b40ac2dd37a9e6e1 .
Jean-Marc Lasgouttes [Tue, 10 Nov 2020 14:39:47 +0000 (15:39 +0100)]
Fixup
aeb51be9 : set current font correctly when editing inset
When using InsetText::edit(), invoke Cursor::setCurrentFont (note that
editXY does it already). It is a good idea in general, especially
after commit
411333fa95 , which sets languagecorrectly in ERT.
This allows to comment out (again!) the trick added to fix ticket #9042.
Jean-Marc Lasgouttes [Tue, 10 Nov 2020 12:47:53 +0000 (13:47 +0100)]
Make sure that Cursor::setCurrentFont sets LaTeX language in ERT&friends
Fix issue when language is set to document language instead of
latex_language in ERT and pass thru layouts.
To trigger the issue
1/ select all in a ERT inset
2/ type "abc"
3/ look at code in code preview pane
==> result: the "a" is in document language, the "bc" in LaTeX language
(as should be)
Pavel Sanda [Mon, 9 Nov 2020 14:06:42 +0000 (15:06 +0100)]
Fix Riki's contact
Pavel Sanda [Mon, 9 Nov 2020 13:42:25 +0000 (14:42 +0100)]
Customization.lyx: Import and review changes from Phil Netro.
Chap. 1 & 2.
Yuriy Skalko [Sun, 8 Nov 2020 21:26:36 +0000 (23:26 +0200)]
Simplify operator== for ParConstIterator
Comment out it while it is unused.
Yuriy Skalko [Thu, 5 Nov 2020 10:01:21 +0000 (12:01 +0200)]
Whitespace & renaming
Yuriy Skalko [Wed, 4 Nov 2020 10:04:39 +0000 (12:04 +0200)]
MacroData refactoring
Yuriy Skalko [Wed, 4 Nov 2020 09:27:08 +0000 (11:27 +0200)]
Improve structure of updateMacros
Richard Kimberly Heck [Fri, 6 Nov 2020 16:30:02 +0000 (11:30 -0500)]
Remove dead comment
Richard Kimberly Heck [Fri, 6 Nov 2020 16:23:52 +0000 (11:23 -0500)]
Move trivial constructors into header. Remove unimplemented one.
Yuriy Skalko [Fri, 30 Oct 2020 21:49:21 +0000 (23:49 +0200)]
Update Russian localization
Thibaut Cuvelier [Thu, 5 Nov 2020 04:35:53 +0000 (05:35 +0100)]
DocBook: mark more tests to be ignored.
Thibaut Cuvelier [Thu, 5 Nov 2020 04:35:34 +0000 (05:35 +0100)]
DocBook: remove special options from InsetGraphics.cpp
This was not really a useful attribute for DocBook, or it must be parsed beforehand.
Thibaut Cuvelier [Thu, 5 Nov 2020 02:10:37 +0000 (03:10 +0100)]
DocBook: polyglossia test now works.
Thibaut Cuvelier [Thu, 5 Nov 2020 01:42:03 +0000 (02:42 +0100)]
DocBook: many fixes for the user guide.
Thibaut Cuvelier [Thu, 5 Nov 2020 01:25:30 +0000 (02:25 +0100)]
DocBook: exclude the Math docs from the tests.
Thibaut Cuvelier [Thu, 5 Nov 2020 01:18:47 +0000 (02:18 +0100)]
MathML: make InsetMathXArrow generate valid XML entities when required.
Before this, it only supported HTML entities.
Thibaut Cuvelier [Thu, 5 Nov 2020 01:06:31 +0000 (02:06 +0100)]
DocBook: EmbeddedObjects is too complex to have a truly valid output.
Thibaut Cuvelier [Thu, 5 Nov 2020 01:03:34 +0000 (02:03 +0100)]
DocBook: ensure that tables do not get wrapped in a paragraph.
Thibaut Cuvelier [Thu, 5 Nov 2020 00:45:40 +0000 (01:45 +0100)]
DocBook: a previous patch has unexpectedly nice consequences!
Tests that used to fail now pass (the title structure is now better handled).
Thibaut Cuvelier [Wed, 4 Nov 2020 23:27:29 +0000 (00:27 +0100)]
DocBook: mark nested sidebars as allowed.
This is mostly for shapepar support, in a rare situation. Fixing this would create a lot of special cases in output_docbook.cpp, i.e. fixing the issue (which will barely happen in real life) would make maintenance much harder.
Thibaut Cuvelier [Wed, 4 Nov 2020 23:02:59 +0000 (00:02 +0100)]
DocBook: don't consider bridgeheads for abstracts.
Thibaut Cuvelier [Wed, 4 Nov 2020 21:43:05 +0000 (22:43 +0100)]
DocBook: implement AMS articles.
Thibaut Cuvelier [Wed, 4 Nov 2020 21:36:27 +0000 (22:36 +0100)]
DocBook: missing inverted tests.
Thibaut Cuvelier [Wed, 4 Nov 2020 21:29:02 +0000 (22:29 +0100)]
DocBook: implement AMS book.
Thibaut Cuvelier [Wed, 4 Nov 2020 17:50:45 +0000 (18:50 +0100)]
DocBook: basic implementation of recipe book.
Thibaut Cuvelier [Wed, 4 Nov 2020 16:31:22 +0000 (17:31 +0100)]
DocBook: ignore other KOMA-Script letters.
Thibaut Cuvelier [Wed, 4 Nov 2020 04:06:56 +0000 (05:06 +0100)]
DocBook: implement Braille.
Basically, nothing to do: the conversion must be performed by the DocBook-processing agent (which is not a standard feature).
Jean-Marc Lasgouttes [Tue, 3 Nov 2020 15:22:20 +0000 (16:22 +0100)]
Fixup
ce526607 again: last-minute blunder
Jean-Marc Lasgouttes [Tue, 3 Nov 2020 14:11:06 +0000 (15:11 +0100)]
Fixup
6394dd89 : small cleanups
Jean-Marc Lasgouttes [Tue, 3 Nov 2020 14:10:19 +0000 (15:10 +0100)]
Indentation
Jean-Marc Lasgouttes [Mon, 2 Nov 2020 16:40:29 +0000 (17:40 +0100)]
Make it possible to select C++ standard with autoconf
Introduce new configure option --enable-cxx-mode=MODE, which allows to
force a C++ version. The default is {14,11}, which means that C++14 is
chosen if it is supported, and C++11 will be selected as a fallback.
Using --enable-cxx-mode=11 ensures that LyX compiles correctly
with an older C++11 compiler.
Richard Kimberly Heck [Mon, 2 Nov 2020 22:36:58 +0000 (17:36 -0500)]
StepMasterCounter --> StepParentCounter
Richard Kimberly Heck [Mon, 2 Nov 2020 22:09:13 +0000 (17:09 -0500)]
Revert "Fix a number of signedness warnings"
This reverts commit
e8a28c33c564784899ecd427c06d1fe8678bfc07 .
I was not aware that we used negative numbers for author IDs!
Richard Kimberly Heck [Mon, 2 Nov 2020 22:03:42 +0000 (17:03 -0500)]
Remove 'slave' terminology from Counters.cpp.
And with it, 'master'. That is less problematic by itself (so I'm not
worried about 'master document'), but here it doesn't make a lot of
sense without 'slave'.
Yuriy Skalko [Mon, 2 Nov 2020 00:06:30 +0000 (02:06 +0200)]
Use default member initialization in OutputParams
Richard Kimberly Heck [Mon, 2 Nov 2020 17:03:37 +0000 (12:03 -0500)]
Fix a number of signedness warnings
Richard Kimberly Heck [Mon, 2 Nov 2020 16:45:09 +0000 (11:45 -0500)]
whitespace and style
Richard Kimberly Heck [Mon, 2 Nov 2020 16:38:52 +0000 (11:38 -0500)]
whitespace
Thibaut Cuvelier [Mon, 2 Nov 2020 14:39:25 +0000 (15:39 +0100)]
Merge tests in invertedTests, proposed by Kornel
This should improve performance when building LyX.
Kornel Benko [Mon, 2 Nov 2020 12:12:56 +0000 (13:12 +0100)]
Cmake tests: Do not remove temporary data while debugging
The debug mode is set with the environment LYX_DEBUG_LATEX
$ export LYX_DEBUG_LATEX=1
The downside: From time to time the need to remove the superfluous dirs
$ cd build-dir
$ find autotests/out-home -name AbC_\* | xargs rm -rf
Yuriy Skalko [Sun, 1 Nov 2020 20:39:21 +0000 (22:39 +0200)]
Simplify bformat
Thibaut Cuvelier [Mon, 2 Nov 2020 02:44:51 +0000 (03:44 +0100)]
DocBook: implement svmult.
More generally, ensures that paragraphs in abstracts do not have something else configured.
A major problem in making the layout more useful is that article titles are not supposed to be in TOC.
Thibaut Cuvelier [Mon, 2 Nov 2020 02:11:28 +0000 (03:11 +0100)]
DocBook: more tests to be ignored.
Thibaut Cuvelier [Mon, 2 Nov 2020 02:03:24 +0000 (03:03 +0100)]
DocBook: implement DIN-Brief.
Thibaut Cuvelier [Mon, 2 Nov 2020 01:22:48 +0000 (02:22 +0100)]
DocBook: ignore obsolete document layouts, at least for now.
Thibaut Cuvelier [Mon, 2 Nov 2020 00:51:25 +0000 (01:51 +0100)]
DocBook: write correctly the lists of tests that are expected to fail, with the language instead of .*.
Richard Kimberly Heck [Sun, 1 Nov 2020 23:08:18 +0000 (18:08 -0500)]
Comment updates
Richard Kimberly Heck [Sun, 1 Nov 2020 22:37:19 +0000 (17:37 -0500)]
Some constness, following Yuriy
Yuriy Skalko [Sun, 1 Nov 2020 12:00:49 +0000 (14:00 +0200)]
Constify LaTeXFont
Yuriy Skalko [Sun, 1 Nov 2020 11:34:49 +0000 (13:34 +0200)]
Use default member initialization
Yuriy Skalko [Sun, 1 Nov 2020 11:05:14 +0000 (13:05 +0200)]
Use bool literals
Yuriy Skalko [Sun, 1 Nov 2020 10:57:14 +0000 (12:57 +0200)]
Constify InsetQuotesParams
Yuriy Skalko [Sat, 31 Oct 2020 17:18:51 +0000 (19:18 +0200)]
Match header/source function argument naming
Yuriy Skalko [Sat, 31 Oct 2020 13:09:46 +0000 (15:09 +0200)]
Use const references
Yuriy Skalko [Fri, 30 Oct 2020 21:27:44 +0000 (23:27 +0200)]
Use default member initialization in InsetLayout
Yuriy Skalko [Sat, 31 Oct 2020 15:13:52 +0000 (17:13 +0200)]
Simplify with std::map::insert
Scott Kostyshak [Sun, 1 Nov 2020 18:27:43 +0000 (13:27 -0500)]
Powerdot examples: work around undefined ref
The hook that defines the "lastslide" label is interfered with for
some reason on an updated TeX Live 2020. We thus avoid referencing
the label and instead show only the current slide number on each
slide. We leave instructions in the preamble for how to get back the
previous behavior if desired.
Scott Kostyshak [Sun, 1 Nov 2020 18:26:03 +0000 (13:26 -0500)]
ctests: uninvert some unicode ctests
Thanks to an update of the "menukey" package, these exports now
succeed. For more information, see
33228178 .
Thibaut Cuvelier [Sun, 1 Nov 2020 02:58:25 +0000 (03:58 +0100)]
DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
I gave up on G-Brief, it's too far from the other classes.
Thibaut Cuvelier [Sun, 1 Nov 2020 02:03:38 +0000 (03:03 +0100)]
DocBook: implement French letter.
Thibaut Cuvelier [Sun, 1 Nov 2020 01:52:42 +0000 (02:52 +0100)]
DocBook: mark more presentations as expected failures.
Thibaut Cuvelier [Sun, 1 Nov 2020 01:51:49 +0000 (02:51 +0100)]
DocBook: implement Hollywood layout.
Eugene Chornyi [Sat, 31 Oct 2020 10:14:53 +0000 (11:14 +0100)]
Wininstaller2: Imagemagick should be able to find ghostscript binaries
Scott Kostyshak [Sat, 31 Oct 2020 00:22:00 +0000 (20:22 -0400)]
Foils: set default output to PDF (ps2pdf)
We currently specify that dvips be used. This could potentially
change in the future. One issue is that with system fonts XeTeX and
LuaTeX do not correctly rotate pages.
Scott Kostyshak [Fri, 30 Oct 2020 21:37:23 +0000 (17:37 -0400)]
ctests: invert JASA tests, consistent with Seminar
These tests are failing for the same reason as the Seminar tests.
See
1aa4987b .
José Matos [Fri, 30 Oct 2020 18:46:13 +0000 (18:46 +0000)]
Make all exectuable python scripts use python3
This is only relevant on linux/unix if running the scripts from a shell.
These two were the last where the call still used an unversioned python.
This has no reflex on the way that lyx calls the scripts or the python
version used since the #! "shebang line" is ignored.
Richard Kimberly Heck [Fri, 30 Oct 2020 17:34:36 +0000 (13:34 -0400)]
Change the logic of the indentation setting.
The option here is to NOT indent the paragraph, so make that clear.
As it was, we would set "Indent" to false in the case of paragraphs
that do not permit indentation and then write that, uselessly, to the
LyX file if we wrote any other option (and then keep writing it, even
if other options were removed). Now, we will write it only if it's been
explicitly set.
Richard Kimberly Heck [Fri, 30 Oct 2020 17:25:15 +0000 (13:25 -0400)]
Fix warning
Richard Kimberly Heck [Fri, 30 Oct 2020 16:16:42 +0000 (12:16 -0400)]
Whitespace
Scott Kostyshak [Fri, 30 Oct 2020 03:09:59 +0000 (23:09 -0400)]
Address failures of Seminar examples on new TL20
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):
it is a problem with the new hook management of the current latex.ltx
seminar is a quite old package and there is no reason to use it with a
new LaTeX format. It won't be fixed, so the usual way is to use the
package latexrealease to get the old hook management.
This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:
\RequirePackage[2020-02-02]{latexrelease}
We now invert the relevant tests.
Thibaut Cuvelier [Mon, 26 Oct 2020 23:49:26 +0000 (00:49 +0100)]
DocBook: use the same normalisation for biblio IDs and their references.
Thibaut Cuvelier [Mon, 26 Oct 2020 04:11:59 +0000 (05:11 +0100)]
DocBook: more robust list implementation.
Thibaut Cuvelier [Mon, 26 Oct 2020 04:03:22 +0000 (05:03 +0100)]
DocBook: ensure to have paragraphs in <sidebar>.
Thibaut Cuvelier [Mon, 26 Oct 2020 03:19:11 +0000 (04:19 +0100)]
DocBook: fix an issue where parts of list in abstract were duplicated.
Excerpt from export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.
Thibaut Cuvelier [Mon, 26 Oct 2020 03:13:32 +0000 (04:13 +0100)]
DocBook: update test suite.
Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
Thibaut Cuvelier [Mon, 26 Oct 2020 02:55:25 +0000 (03:55 +0100)]
DocBook: support for <info> tags in inner sections.
Previously, this code only worked correctly for the root tag.
Thibaut Cuvelier [Sun, 25 Oct 2020 14:38:08 +0000 (15:38 +0100)]
DocBook: implement algorithm floats.
Now that https://github.com/docbook/docbook/pull/185 has been merged into DocBook 5.2.
Thibaut Cuvelier [Thu, 22 Oct 2020 04:28:46 +0000 (06:28 +0200)]
DocBook: generate chapter metadata in <info>, for Springer mono.
Thibaut Cuvelier [Thu, 22 Oct 2020 03:24:55 +0000 (05:24 +0200)]
DocBook: don't consider sectioning items that shouldn't be in TOC for anything section-related.
Thibaut Cuvelier [Wed, 21 Oct 2020 12:54:25 +0000 (14:54 +0200)]
DocBook: add DocBookSection parameter for styles that define new sections and implement argument parameters; improve Springer support.
For elements that should behave like sections (for now, mostly prefaces).
A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement).