]>
git.lyx.org Git - lyx.git/log
Thibaut Cuvelier [Sat, 28 Nov 2020 04:08:58 +0000 (05:08 +0100)]
DocBook: implement iopart.
Thibaut Cuvelier [Sat, 28 Nov 2020 01:15:27 +0000 (02:15 +0100)]
DocBook: implement IEEEtran.
Thibaut Cuvelier [Sat, 28 Nov 2020 01:13:19 +0000 (02:13 +0100)]
DocBook: slightly change the Copernicus template to be valid DocBook.
This is just adding an author instead of leaving the field blank.
Thibaut Cuvelier [Sat, 28 Nov 2020 00:32:48 +0000 (01:32 +0100)]
DocBook: implement ectaart.
Thibaut Cuvelier [Sat, 28 Nov 2020 00:23:22 +0000 (01:23 +0100)]
DocBook: implement Copernicus.
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
Thibaut Cuvelier [Fri, 27 Nov 2020 23:51:27 +0000 (00:51 +0100)]
DocBook: implement AEA and APA.
Thibaut Cuvelier [Fri, 27 Nov 2020 22:44:48 +0000 (23:44 +0100)]
DocBook: fix regression in floats.
Also implement a valid filler for tables.
Thibaut Cuvelier [Fri, 27 Nov 2020 19:24:09 +0000 (20:24 +0100)]
DocBook: improve naming of test files.
First, the kind of issue that the file tests for. Then, its source, if it's been extracted from the rest of the test suite.
Thibaut Cuvelier [Fri, 27 Nov 2020 16:59:35 +0000 (17:59 +0100)]
amend
bd9dce374976ef8d8f9be0140217c2d92b950c66
Fix warning, add a comment while I'm there
Yuriy Skalko [Sat, 21 Nov 2020 18:11:23 +0000 (20:11 +0200)]
Always use std::regex
Since now minimum supported GCC is 4.9.
Yuriy Skalko [Tue, 24 Nov 2020 22:00:28 +0000 (00:00 +0200)]
Update CMake for minimum GCC version: 4.9
Yuriy Skalko [Thu, 26 Nov 2020 21:01:18 +0000 (23:01 +0200)]
Fix signed integer overflow on x = 0, detected by GCC sanitizer
Yuriy Skalko [Thu, 26 Nov 2020 20:14:43 +0000 (22:14 +0200)]
Replace ;;
Yuriy Skalko [Thu, 26 Nov 2020 20:10:45 +0000 (22:10 +0200)]
Use iround function, amend
c0ce79452f
Yuriy Skalko [Wed, 25 Nov 2020 23:11:07 +0000 (01:11 +0200)]
Constify
Yuriy Skalko [Wed, 25 Nov 2020 22:17:29 +0000 (00:17 +0200)]
Use to_string function
Yuriy Skalko [Fri, 20 Nov 2020 22:06:05 +0000 (00:06 +0200)]
Move several common types to support/types.h
Jean-Marc Lasgouttes [Thu, 26 Nov 2020 19:17:57 +0000 (20:17 +0100)]
Remove deprecated enum value with Qt5
Thibaut Cuvelier [Fri, 27 Nov 2020 04:53:46 +0000 (05:53 +0100)]
DocBook: bug fixes for JASA.
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
Thibaut Cuvelier [Fri, 27 Nov 2020 04:20:51 +0000 (05:20 +0100)]
DocBook: AASTeX is still too complicated to be fully supported.
Thibaut Cuvelier [Fri, 27 Nov 2020 04:19:27 +0000 (05:19 +0100)]
DocBook: for empty figures, output a message.
This ensures that this part of the DocBook file is valid.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:52:39 +0000 (04:52 +0100)]
DocBook: in aa, fix acknowledgements.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:40:16 +0000 (04:40 +0100)]
DocBook: implement author for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:35:54 +0000 (04:35 +0100)]
DocBook: implement subtitle for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:34:33 +0000 (04:34 +0100)]
DocBook: implement title for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:29:40 +0000 (04:29 +0100)]
DocBook: implement standard for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:26:31 +0000 (04:26 +0100)]
DocBook: implement keywords for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:16:48 +0000 (04:16 +0100)]
DocBook: implement IJMP C/D.
Thibaut Cuvelier [Fri, 27 Nov 2020 01:50:03 +0000 (02:50 +0100)]
DocBook: fix appendices.
Thibaut Cuvelier [Fri, 27 Nov 2020 01:49:48 +0000 (02:49 +0100)]
DocBook: implement iucr.
Thibaut Cuvelier [Fri, 27 Nov 2020 00:56:14 +0000 (01:56 +0100)]
DocBook: deploy fix for acknowledgements.
Thibaut Cuvelier [Fri, 27 Nov 2020 00:54:00 +0000 (01:54 +0100)]
DocBook: implement Mathematical Monthly.
Kornel Benko [Thu, 26 Nov 2020 23:49:03 +0000 (00:49 +0100)]
Cmake tests: Save the number of ignored tests in file for later review
Thibaut Cuvelier [Thu, 26 Nov 2020 22:32:44 +0000 (23:32 +0100)]
Scott Kostyshak [Thu, 26 Nov 2020 18:48:42 +0000 (13:48 -0500)]
Fix Clang warning about struct/class mismatch
CaretGeometry is defined as a struct, but was forward-declared as a
class. Now we forward-declare as a struct. This addresses the
following Clang warning (that does not appear with GCC):
src/frontends/CaretGeometry.h:27:1: warning: 'CaretGeometry' defined
as a struct here but previously declared as a class; this is valid,
but may result in linker errors under the Microsoft C++ ABI
[-Wmismatched-tags]
Scott Kostyshak [Thu, 26 Nov 2020 16:50:50 +0000 (11:50 -0500)]
ctests: invert Greek LuaTeX texF tests
These tests fail on TeX Live 2020 after a babel-greek update.
Jean-Marc Lasgouttes [Thu, 26 Nov 2020 10:04:33 +0000 (11:04 +0100)]
Improve some debug messages
The current code did not give much information.
I am not sure why the <<FontInfo operator is not defined in
FontInfo.h, but I figured that it was not necessary to understand that
now.
Kornel Benko [Thu, 26 Nov 2020 10:04:48 +0000 (11:04 +0100)]
Cmake build: Use the same warning flags at in automake
Thibaut Cuvelier [Thu, 26 Nov 2020 05:52:21 +0000 (06:52 +0100)]
DocBook: make empty bibliographies empty.
Even though this means that there is no output tag.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:49:53 +0000 (06:49 +0100)]
DocBook: implement JASA.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:40:39 +0000 (06:40 +0100)]
DocBook: implement Kluwer.
Includes an assertion fix that only occurred with this example.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:22:27 +0000 (06:22 +0100)]
DocBook: implement REVTeX.
Improvements to abstract detection: it can now contain lists or anything with a higher depth.
Implement video floats.
Yuriy Skalko [Sun, 22 Nov 2020 19:43:15 +0000 (21:43 +0200)]
Update ru/UserGuide.lyx
Yuriy Skalko [Wed, 25 Nov 2020 18:27:35 +0000 (20:27 +0200)]
Fix warnings regarding switches on enum values
Yuriy Skalko [Wed, 25 Nov 2020 18:24:36 +0000 (20:24 +0200)]
Fix loop variable, amend
d8e8a93a58
Yuriy Skalko [Wed, 25 Nov 2020 00:12:04 +0000 (02:12 +0200)]
Better PNG detection in guessFormatFromContents
Eugene Chornyi [Wed, 25 Nov 2020 21:00:34 +0000 (22:00 +0100)]
Wininstaller2: auto select downloading dictionary of the same language as the UI of users Windows
include Russian and Portuguese languages by default
Scott Kostyshak [Wed, 25 Nov 2020 20:34:07 +0000 (15:34 -0500)]
Catch exception if LaTeX fails for child preview
The exception is raised when an included file fails to export
because e.g. it is from a newer version of LyX or because an
intermediate command such as knitr fails.
The exception was introduced at
1a374a93 so that the export of a
document exits with error if an included document exports with
error.
This commit catches the exception when the LaTeX is asked for in
order to generate a preview of the included file.
Juergen Spitzmueller [Wed, 25 Nov 2020 12:10:04 +0000 (13:10 +0100)]
Fix tex4ht odt converter
Private message by Michal Hoftich (tex4ht head developer):
oolatex is not recommended way to use Tex4ht for the ODT conversion.
It is better to use
make4ht -f odt mwe.tex
make4ht fixes some issues in ODT files
This is candidate for stable.
Yuriy Skalko [Tue, 24 Nov 2020 20:42:06 +0000 (22:42 +0200)]
Simplify InsetQuotes constructors
Yuriy Skalko [Tue, 24 Nov 2020 18:46:49 +0000 (20:46 +0200)]
Add default TransformID enum value
Yuriy Skalko [Tue, 24 Nov 2020 17:58:24 +0000 (19:58 +0200)]
Fix memory leak
Yuriy Skalko [Sun, 22 Nov 2020 22:23:39 +0000 (00:23 +0200)]
Cleanup headers
Richard Kimberly Heck [Tue, 24 Nov 2020 21:57:12 +0000 (16:57 -0500)]
Only set buffer if it is not null.
Yuriy found these specific problems. They do not cause a crash, but
they are not good.
Richard Kimberly Heck [Tue, 24 Nov 2020 21:58:07 +0000 (16:58 -0500)]
nullptr
Jean-Marc Lasgouttes [Tue, 24 Nov 2020 20:20:25 +0000 (21:20 +0100)]
Forgot this.
Jean-Marc Lasgouttes [Tue, 24 Nov 2020 17:35:25 +0000 (18:35 +0100)]
Rewrite (again!) the code for caret drawing
The caret geometry is now computed in BufferView as a list of shapes
(caret, horizontal l-shape if needed, completion triangle if needed)
kept in a variable of type CaretGeometry.
The code in WorkArea.cpp only has to draw these shapes. The
CaretWidget (which never was a widget) in GuiWorkArea.cpp is gone
now.
As a consequence, the bounding box for the cursor is known precisely
and therefore rows should be repainted correctly now. This avoids
caret droppings.
Fixes bug #12024.
Juergen Spitzmueller [Tue, 24 Nov 2020 14:19:56 +0000 (15:19 +0100)]
Do not \cprotect \textcolor
Fixes #12034
Kornel Benko [Mon, 23 Nov 2020 20:55:13 +0000 (21:55 +0100)]
Adv-Find: Add handling for \cdot (at least if using format-search
Scott Kostyshak [Mon, 23 Nov 2020 04:50:41 +0000 (23:50 -0500)]
ctests: ignore the new lt pdf4 texF test
This document is not meant to be used to test XeTeX with TeX fonts.
Günter Milde [Thu, 19 Nov 2020 23:14:05 +0000 (00:14 +0100)]
Fix lithuanian default font encoding and Xindy name.
FontEncoding L7x required for hyphenation but no longer set
by Babel (since 2017-12-06).
The PostBabelPreamble now sets L7x for Lithuanian, if it is defined
and restores the previous font encodng on exit.
Günter Milde [Thu, 19 Nov 2020 19:43:04 +0000 (20:43 +0100)]
ctests: some compilation errors fixed with last TeXLive update.
Change tag to "unreliable.varying_versions".
Yuriy Skalko [Sun, 22 Nov 2020 18:39:29 +0000 (20:39 +0200)]
Update links to spellchecking/thesaurus dictionaries in UserGuide
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 19:00:26 +0000 (20:00 +0100)]
(almost) Proper fix for caret droppings
Try to find the most inner row that is overwritten by the caret. This
allows to replace the hack in TextMetrics::draw, which did not really
work.
Note that there are still issues with emphasized caret at the
beginning of inset, which will require some code reorganisation.
Fixes current recipe of bug #12024.
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 18:42:23 +0000 (19:42 +0100)]
Compilation fix
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 18:37:22 +0000 (19:37 +0100)]
Correct caret position from the start
Yuriy Skalko [Sat, 21 Nov 2020 14:27:13 +0000 (16:27 +0200)]
Use `std::any` when compiler supports C++17 or later
Yuriy Skalko [Sat, 21 Nov 2020 13:40:31 +0000 (15:40 +0200)]
Refactor checksum calculation
Yuriy Skalko [Sat, 21 Nov 2020 12:14:38 +0000 (14:14 +0200)]
Remove unused headers
Yuriy Skalko [Thu, 19 Nov 2020 12:03:26 +0000 (14:03 +0200)]
Use range-based loops
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 18:13:29 +0000 (19:13 +0100)]
Typo and reformatting
Pavel Sanda [Sat, 21 Nov 2020 14:34:26 +0000 (15:34 +0100)]
Erase white frame in fullscreen mode.
Since Qt 5.9.4 one can't set negative margins unless explicitely
allowed by a new flag. This brought back the white frame in
fullscreen mode.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg214002.html
Yuriy Skalko [Thu, 19 Nov 2020 13:53:33 +0000 (15:53 +0200)]
Simplify Length
Yuriy Skalko [Thu, 19 Nov 2020 13:40:14 +0000 (15:40 +0200)]
Add more `override` specifiers
Yuriy Skalko [Thu, 19 Nov 2020 12:51:00 +0000 (14:51 +0200)]
Remove unused header
Thibaut Cuvelier [Fri, 20 Nov 2020 20:59:22 +0000 (21:59 +0100)]
amend
2c6537ff for C++11 compatibility
Thibaut Cuvelier [Wed, 18 Nov 2020 04:54:08 +0000 (05:54 +0100)]
DocBook: make InsetText respect tag types.
Thibaut Cuvelier [Wed, 18 Nov 2020 04:38:25 +0000 (05:38 +0100)]
XML: move higher-level tag-opening and closing functions to xml namespace.
Thibaut Cuvelier [Wed, 18 Nov 2020 04:29:26 +0000 (05:29 +0100)]
XML: add tag-type information in XML tags. It is not yet used.
Thibaut Cuvelier [Wed, 18 Nov 2020 03:34:58 +0000 (04:34 +0100)]
DocBook: InsetText supports items and wrappers.
Thibaut Cuvelier [Wed, 18 Nov 2020 00:51:05 +0000 (01:51 +0100)]
DocBook: ensure that <info>-related insets in the abstract are not generated in the abstract.
This helps generate more conformant DocBook files.
Also implement wrapper tags for InsetText.
Kornel Benko [Fri, 20 Nov 2020 15:32:51 +0000 (16:32 +0100)]
Missing '{'
Jean-Marc Lasgouttes [Fri, 20 Nov 2020 14:04:59 +0000 (15:04 +0100)]
Use range-based loops in GuiView
Yuriy Skalko [Tue, 17 Nov 2020 18:03:04 +0000 (20:03 +0200)]
Typo
Yuriy Skalko [Thu, 19 Nov 2020 11:24:04 +0000 (13:24 +0200)]
Simplify constructors
Jean-Marc Lasgouttes [Fri, 20 Nov 2020 13:38:06 +0000 (14:38 +0100)]
Revert "Limit the -Wall flag to C++ compiler"
Something is fishy, it breaks compilation.
This reverts commit
cbc9a901afd1783a30b4d76663208b0c13530a30 .
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:08:39 +0000 (18:08 +0200)]
Do not set language from keyboard in passthru setting
Jean-Marc Lasgouttes [Fri, 20 Nov 2020 12:41:45 +0000 (13:41 +0100)]
Limit the -Wall flag to C++ compiler
This avoids tons of warning when compiling code, like libiconv, which is
not prepared to this kind of scrutiny of its code quality...
Jean-Marc Lasgouttes [Thu, 19 Nov 2020 12:40:26 +0000 (13:40 +0100)]
Fix compilation of included libiconv with autoconf
Jean-Marc Lasgouttes [Wed, 18 Nov 2020 15:41:19 +0000 (16:41 +0100)]
Do nothing if hunspell support is disabled
Eugene Chornyi [Wed, 18 Nov 2020 18:17:44 +0000 (19:17 +0100)]
CMake fix but where Perl not found on Windows
Jean-Marc Lasgouttes [Wed, 18 Nov 2020 09:15:05 +0000 (10:15 +0100)]
Fix screen display of parts and chapters in default classes
This has been done by reading the LaTeX sources (classes.dtx) to try
to get things right
* fix font sizes of chapters and parts. Note that the labels have
smaller size as the title itself.
* fix alignment of Part and put label on top
* add spacing between label and title.
Kornel Benko [Tue, 17 Nov 2020 22:07:01 +0000 (23:07 +0100)]
Automake build: We are using 3rdparty iconv with version 1.15
Jean-Marc Lasgouttes [Tue, 17 Nov 2020 16:47:22 +0000 (17:47 +0100)]
Take right margin into account for text inset width
This is particularly important for contents in RtL languages, where
the right margin may contain the paragraph indentation, or
itemize/enumeration symbols.
Fixes bug #12030.
Thibaut Cuvelier [Tue, 17 Nov 2020 02:58:39 +0000 (03:58 +0100)]
DocBook: fix indentation.
Scott Kostyshak [Mon, 16 Nov 2020 23:23:47 +0000 (18:23 -0500)]
ctests: uninvert an export that passes now
The export inputenc-luatex-utf8_pdf5_texF has been succeeding for a
while and was likely fixed by a TeX Live update. Compiling manually
and looking at the output looks good.
Thibaut Cuvelier [Mon, 16 Nov 2020 19:15:34 +0000 (20:15 +0100)]
DocBook: implement svglobal.
Yuriy Skalko [Mon, 16 Nov 2020 17:35:54 +0000 (19:35 +0200)]
Bump minimal GCC version to 4.9
Yuriy Skalko [Sun, 15 Nov 2020 20:22:47 +0000 (22:22 +0200)]
Remove old duplicated files, newer are in autotests/mathmacros
Kornel Benko [Mon, 16 Nov 2020 11:40:35 +0000 (12:40 +0100)]
Typo in message