Commit Graph

43045 Commits

Author SHA1 Message Date
Richard Kimberly Heck
ca3077b40b 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.
2020-10-30 13:34:36 -04:00
Richard Kimberly Heck
3b4b047576 Fix warning 2020-10-30 13:26:48 -04:00
Richard Kimberly Heck
5eb913ca99 Whitespace 2020-10-30 12:18:41 -04:00
Scott Kostyshak
1aa4987b2f 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.
2020-10-29 23:29:26 -04:00
Thibaut Cuvelier
df0ea858ed DocBook: use the same normalisation for biblio IDs and their references. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
da6e999fc6 DocBook: more robust list implementation. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
6843bc5a38 DocBook: ensure to have paragraphs in <sidebar>. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
30572880ba DocBook: fix an issue where parts of list in abstract were duplicated.
Excerpt from export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
2e8bffa3c5 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.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
661c5d256b DocBook: support for <info> tags in inner sections.
Previously, this code only worked correctly for the root tag.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
4405f0164a DocBook: implement algorithm floats.
Now that https://github.com/docbook/docbook/pull/185 has been merged into DocBook 5.2.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
f2b7f8a089 DocBook: generate chapter metadata in <info>, for Springer mono. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
b816cb0f3c DocBook: don't consider sectioning items that shouldn't be in TOC for anything section-related. 2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
149e1ccc02 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).
2020-10-30 01:59:34 +01:00
Richard Kimberly Heck
cc1d3b78c9 Const 2020-10-29 18:25:33 -04:00
Scott Kostyshak
c9fd498a7f ctests: Invert some tests for new ru Additional
These inversions are consistent with ru Math manual tests.
2020-10-29 16:08:32 -04:00
Yuriy Skalko
b7b79c1d2e Update Additional.lyx manual 2020-10-29 15:53:47 +02:00
Yuriy Skalko
b8737e898c Simplify DispatchResult ctors 2020-10-29 15:52:38 +02:00
Yuriy Skalko
d8ead7debf Use nullptr 2020-10-29 15:52:33 +02:00
Yuriy Skalko
524073d09f Move HullType functions declared in InsetMath.h into InsetMath.cpp 2020-10-29 15:52:28 +02:00
Yuriy Skalko
eb7ad5757b Update Russian localization 2020-10-29 10:17:27 +02:00
Yuriy Skalko
98a64be872 Russian translation of Additional manual by Henry Chern 2020-10-29 07:34:26 +02:00
Kornel Benko
2ec243d47b Cmake build: Fine tuning
1.) If building with external iconv, remove remnants of libiconv data
  created if previousy used internal iconv
2.) Remove the variable HELP from cache to enable subsequent builds.
  (Different variable-handling on new cmake (version >= 3.18))
3.) New macro to extract cmake-known-cxx-sts features
4.) Check for CXX11-features only for a subset of possibilities
  known by the used cmake
2020-10-28 23:12:03 +01:00
Scott Kostyshak
33228178a8 ctests: invert unicode failures from menukeys pack
The issue is already reported and it seems a fix could be released
soon (in which case we will uninvert the tests):

  https://github.com/tweh/menukeys/issues/59
2020-10-28 16:37:51 -04:00
Scott Kostyshak
35d3ccf75b ctests: ignore zh_CN dvi3_systemF tests
These exports had wrong output before, and now (on updated TL20)
they fail with the following error message:

  DVI output is not supported in LuaTeX-ja
2020-10-27 23:08:25 -04:00
Richard Kimberly Heck
08a1f5e14e No need to specify qt5 2020-10-26 15:29:21 -04:00
Kornel Benko
66d5fffb50 Amend(3) 0ef96e4d: Use correct path for config.h 2020-10-26 02:07:10 +01:00
Kornel Benko
0ef96e4dec Amend(2) 2dbf3515: 2020-10-25 22:44:30 +01:00
Yuriy Skalko
f1926251c0 Move Windows-specific stuff into os_win32.h 2020-10-25 19:59:03 +02:00
Yuriy Skalko
10272e4747 Move include of own header to the top. Fix dependencies 2020-10-25 19:58:57 +02:00
Kornel Benko
415e0d8f3f Amend(1) 2dbf3515: 2020-10-25 17:31:41 +01:00
Richard Kimberly Heck
a939527945 Update build script again 2020-10-25 11:54:37 -04:00
Richard Kimberly Heck
bd142885a6 Update layouts 2020-10-25 11:43:32 -04:00
Kornel Benko
2dbf351542 Distribution: Added some missing files 2020-10-25 16:38:00 +01:00
Jean-Marc Lasgouttes
f6921d9161 Do not honor stdlib-debug when c++library is not gcc's libstdc++
Actually the real difference is that it does not complain about system
boost any more when LLVM's libc++ is used.
2020-10-25 12:45:04 +01:00
Yuriy Skalko
47330a66a8 Update Russian localization 2020-10-25 09:35:02 +02:00
Yuriy Skalko
4ece87c324 Fix obsoleted Qt values
All new values exist in Qt 4.8.7.
2020-10-25 09:28:46 +02:00
Yuriy Skalko
1b508fff03 Small refactorings 2020-10-25 09:28:41 +02:00
Yuriy Skalko
a7018252b7 Constify 2020-10-25 09:28:34 +02:00
Richard Kimberly Heck
904d960d6a typo 2020-10-24 23:24:28 -04:00
Richard Kimberly Heck
c4620152ce Update lyx-build script 2020-10-24 23:23:56 -04:00
Richard Kimberly Heck
acb2ca7b4c Update GMO files 2020-10-24 23:05:33 -04:00
Scott Kostyshak
f2622e1488 ctests: add test from #9043 which is fixedinmaster
This file succeeds on master, but not in 2.3.0 or 2.3.x (I have not
checked which commit fixed it).
2020-10-24 15:58:21 -04:00
Jean-Marc Lasgouttes
21422dd652 Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
The method horizontalAdvance() replaces width() starting with Qt 5.11.
To handle this, all direct calls to QFontMetrics::width() are replaced
by calls to GuiFontMetrics::width(), and the code for
GuiFontMetrics::width(QChar) uses horizontalAdvance on newer Qt
versions.
2020-10-24 19:52:18 +02:00
Enrico Forestieri
6bf0578e6e Update it.po 2020-10-24 18:42:34 +02:00
Kornel Benko
47146ab8a3 Amend 12557b09: Checking po-files (shortcut handling) 2020-10-24 18:40:15 +02:00
Yuriy Skalko
69f838bbf3 Fix isSpace for docstring 2020-10-24 18:55:05 +03:00
Kornel Benko
12557b094c Checking po-files (shortcut handling)
1.) Allow ' ' as a menu shortcut (corrected for missing/unexpected spaces at message end)
2.) Adapt for utf-8 shortcuts (corrected chacking for missing/unexpected shortcuts)
2020-10-24 14:05:19 +02:00
Pavel Sanda
8af747c9d9 Revert da8b5de97 because of MSVC 2017.
In GCC `min` is defined via including <vector>.
2020-10-24 12:06:54 +02:00
Scott Kostyshak
2c1753a526 CMake: comment out c++20 for now
We currently get errors with internal boost and also from LyX code.
2020-10-23 17:13:25 -04:00