]>
git.lyx.org Git - features.git/log
Thibaut Cuvelier [Sat, 25 Jul 2020 02:09:39 +0000 (04:09 +0200)]
DocBook 5: very basic support for simplecv, support for Itemize in many layouts
Enrico Forestieri [Fri, 24 Jul 2020 16:50:53 +0000 (18:50 +0200)]
Update layouts
Enrico Forestieri [Fri, 24 Jul 2020 10:57:00 +0000 (12:57 +0200)]
Fix typos in lib/symbols
This amends
e8ee0100 and
f96b99dc .
Enrico Forestieri [Fri, 24 Jul 2020 10:32:24 +0000 (12:32 +0200)]
Fix placement of limits with integral signs
Since
be836909c52 the positioning of super- and subscripts
for symbol fonts has been broken because the metrics of the
font of the environment (rather than those of the symbol itself)
were used.
Kornel Benko [Thu, 23 Jul 2020 12:11:13 +0000 (14:11 +0200)]
Enable display of docbook5 output in the Code Preview Plane
Thibaut Cuvelier [Tue, 21 Jul 2020 00:59:57 +0000 (02:59 +0200)]
DocBook: allow KOMA-Script documents to be generated as DocBook
Thibaut Cuvelier [Tue, 21 Jul 2020 00:44:11 +0000 (02:44 +0200)]
DocBook: escape IDs for InsetRef.
Pavel Sanda [Mon, 20 Jul 2020 22:12:24 +0000 (00:12 +0200)]
* lib/RELEASE-NOTES
Jean-Marc Lasgouttes [Sun, 19 Jul 2020 17:56:07 +0000 (19:56 +0200)]
Implement properly \limits and \nolimits
These are now properties of insets that can be operators :
InsetMathSymbols, InsetMathDecoration (for over/underbrace) and
InsetMathMacro (for its contents).
Each of these has a limit_ member that allows to remember a limit
forcing and a member defaultLimits() that indicates what to do in the
absence of such forcing. Moreover the write() method calls
writeLimits().
This allows to simplify the definitions of integrals in lib/symbols by
defining the integrals as macros of their "op" version, as it is done in
the style files.
Also, many hardcoded assumptions can now be removed.
The handling of LFUN_MATH_LIMITS is now done in InsetNest, which tries
successively to apply the limit change to (1) the character after
cursor, (2) the character before cursor and (3) the character at the
end of the inset (useful for script insets?)
The new code allows to define
\newcommand\int{\intop\limits}
but not
\newcommand\makelimits#1{#1\limits}
It is also possible to type explicitly \limits or \nolimits to modify
a symbol.
Kornel Benko [Mon, 20 Jul 2020 14:55:28 +0000 (16:55 +0200)]
Cmake tests: Add check of the exported docbook file with xmllint
Kornel Benko [Mon, 20 Jul 2020 08:42:34 +0000 (10:42 +0200)]
Cmake tests: Add docbook5 exports to the tests
Pavel Sanda [Mon, 20 Jul 2020 08:05:44 +0000 (10:05 +0200)]
* development/FORMAT
Thibaut Cuvelier [Mon, 20 Jul 2020 01:41:44 +0000 (03:41 +0200)]
DocBook: avoid skipping paragraphs in <info>.
Richard Kimberly Heck [Mon, 20 Jul 2020 01:11:59 +0000 (21:11 -0400)]
Style
Thibaut Cuvelier [Mon, 20 Jul 2020 00:15:35 +0000 (02:15 +0200)]
Stop adding points at the end of xml:id without reason
Thibaut Cuvelier [Mon, 20 Jul 2020 01:03:16 +0000 (03:03 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Richard Kimberly Heck [Mon, 20 Jul 2020 01:01:55 +0000 (21:01 -0400)]
FORMAT for format 594
Richard Kimberly Heck [Mon, 20 Jul 2020 01:01:55 +0000 (21:01 -0400)]
FORMAT for format 594
Thibaut Cuvelier [Mon, 20 Jul 2020 01:00:55 +0000 (03:00 +0200)]
DocBook: allow Tufte books to be (more) properly generated.
Includes a test case useful for some of the previous commits (notes in abstract, PI escaping, counter warnings).
Still missing: marginal and side notes. Shouldn't they be ported to InsetMarginal?
Thibaut Cuvelier [Mon, 20 Jul 2020 00:58:48 +0000 (02:58 +0200)]
DocBook: properly escape PI in InsetMarginal.
Thibaut Cuvelier [Mon, 20 Jul 2020 00:51:59 +0000 (02:51 +0200)]
DocBook: don't update counters when generating, as they are not used in DocBook.
This also removes a warning in the console in some cases where counters are updated when they don't exist...
Thibaut Cuvelier [Mon, 20 Jul 2020 00:47:40 +0000 (02:47 +0200)]
DocBook: better handling of paragraphs containing notes in the abstract.
Thibaut Cuvelier [Mon, 20 Jul 2020 00:28:28 +0000 (02:28 +0200)]
DocBook: clean citation keys everywhere in the same way.
Thibaut Cuvelier [Sun, 19 Jul 2020 23:56:33 +0000 (01:56 +0200)]
Partial revert of
e3027574 : don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document
Thibaut Cuvelier [Sun, 19 Jul 2020 19:36:34 +0000 (21:36 +0200)]
Thibaut Cuvelier [Sun, 19 Jul 2020 19:00:25 +0000 (21:00 +0200)]
DocBook fonts: fix issue 1732
Thibaut Cuvelier [Thu, 9 Jul 2020 00:38:07 +0000 (02:38 +0200)]
Fix use of std::regex_match
Jean-Marc Lasgouttes [Fri, 17 Jul 2020 16:49:08 +0000 (18:49 +0200)]
Implement variable size bigops
The goal is to reproduce the change of size of operators like \sum wen they
are in display style.
The syntax of the symbols file has been extended to allow for two code
points (like 80|88 for \sum). In this case, the second one will be
used in display style.
Update the symbols file to handle all bigops from cmex, esint, wasy and
stmaryrd.
Let the code for math symbol inset handle symbols which can change size,
using the information from the symbols file.
Jean-Marc Lasgouttes [Fri, 17 Jul 2020 16:48:39 +0000 (18:48 +0200)]
Improve metrics for \limits in display mode
Eugene Chornyi [Fri, 17 Jul 2020 19:18:17 +0000 (21:18 +0200)]
Wininstaller2, code readability
Richard Kimberly Heck [Fri, 17 Jul 2020 16:16:47 +0000 (12:16 -0400)]
Simplify
Thibaut Cuvelier [Mon, 13 Jul 2020 01:31:48 +0000 (03:31 +0200)]
Add support for CALS tables in DocBook.
Thibaut Cuvelier [Wed, 15 Jul 2020 14:15:26 +0000 (16:15 +0200)]
DocBook: add support for LYX_ALIGN_BLOCK and LYX_ALIGN_DECIMAL in tables
Kornel Benko [Wed, 15 Jul 2020 12:24:49 +0000 (14:24 +0200)]
Cmake build: Re-enable address sanitizer
Moved code because:
1.) Setting of LYX_CXX_FLAGS only has no effect,
2.) and setting of CMAKE_CXX_FLAGS was to late.
Juergen Spitzmueller [Wed, 15 Jul 2020 07:11:05 +0000 (09:11 +0200)]
Do not terminate size switches in front of insets with InheritFont() false
and inherit the size.
This reduces formatting clutter (#8384) in table and fixes some wrongly
set sizes (#9923, #9285) in tables.
Jean-Marc Lasgouttes [Tue, 14 Jul 2020 18:51:05 +0000 (20:51 +0200)]
Take the height of label into account when painting rows
Handle the case where, in beamer's Frame, for example, where the label
string uses a taller font then the paragraph itself.
Fixes bug #11890.
Kornel Benko [Tue, 14 Jul 2020 18:06:43 +0000 (20:06 +0200)]
Cmake build: Added option to override configure.ac default
Example:
Set some defaults for release with '-DLYX_ENABLE_BUILD_TYPE=release',
even if configure.ac specifies for instance 'development'.
Juergen Spitzmueller [Tue, 14 Jul 2020 13:52:20 +0000 (15:52 +0200)]
Fix comment
Juergen Spitzmueller [Tue, 14 Jul 2020 13:49:15 +0000 (15:49 +0200)]
Reset CategorizedCombo filter when switching between non-TeX and TeX fonts
Juergen Spitzmueller [Tue, 14 Jul 2020 08:39:49 +0000 (10:39 +0200)]
Consider single-cell insets when pasting multiple cells (#11906)
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 22:08:07 +0000 (00:08 +0200)]
Cleanup: BufferView should not need to be friend of TextMetrics
It did access par_metrics_[] directly because there was no non-const
parMetrics().
This patch adds one and unfriends BufferView. The code is equivalent
since in all these cases, the metrics have just been computed with
redoParagraph().
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 21:29:15 +0000 (23:29 +0200)]
Fix paragraph position in TextMetrics::singleParUpdate()
When running redoParagraph, it may happen that the ascent of the first
row changes. Since the ParagraphMetrics position is actually the
baseline of its first row, it may be necessary to update it.
Fixes bug #11601.
Juergen Spitzmueller [Mon, 13 Jul 2020 14:50:11 +0000 (16:50 +0200)]
Do not blindly disable inset-modify in MathNest
Fixes #11784
Juergen Spitzmueller [Mon, 13 Jul 2020 14:46:43 +0000 (16:46 +0200)]
InsetFloat: pass back inset-modify that is addressed to other inset
Fixes #9994
Juergen Spitzmueller [Mon, 13 Jul 2020 14:14:21 +0000 (16:14 +0200)]
InsetInfo: Pass back inset-modify that do not target this inset
Fixes #9214.
Kornel Benko [Mon, 13 Jul 2020 11:51:44 +0000 (13:51 +0200)]
Amend2
26fa3b3d : Added support for sanity checks (Option LYX_ENABLE_ASSERTIONS)
Kornel Benko [Mon, 13 Jul 2020 08:53:52 +0000 (10:53 +0200)]
Cmake build: Select some defaults depending on LYX_BUILD_TYPE
Kornel Benko [Mon, 13 Jul 2020 08:17:54 +0000 (10:17 +0200)]
Amend
26fa3b3d , Cmake build: Move interpretation of configure.ac to own function
Use of posix packaging needs to be known prior to call to determineversionandbuildtype()
(Spotted by Scott)
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 00:25:51 +0000 (02:25 +0200)]
Improve handling of top and bottom margin
The 20px space on top and bottom of document have traditionally been
obtained by adding them to the ascent/descent of the first/last row.
This leads to annoyances like selections that are drawn in these
margins and issues with the nesting marker.
The change is to add the value to the ParagraphMetrics ascent/descent
only and to correct one place where the ascent of the first row may be
different from the ascent of the ParagraphMetrcs object. There may be
other places where this should be done.
Fixes bug #9545.
Jean-Marc Lasgouttes [Sun, 12 Jul 2020 22:00:36 +0000 (00:00 +0200)]
Revert "Improve handling of top and bottom margin"
It turns out this is not ready at all.
This reverts commit
ff7cdf1b74f5c17a966af24dc70d49fc162f007e .
Jean-Marc Lasgouttes [Sun, 12 Jul 2020 18:11:27 +0000 (20:11 +0200)]
Improve handling of top and bottom margin
The 20px space on top and bottom of document have traditionally been
obtained by adding the to the ascent/descent of the first/last row.
This reads to annoyances like selections that are drawn in these
margins and issues with the nesting marker.
The change is to add the values to a separate member of the Row
object, and to add new Row::total(Ascent|Descent) methods that add the
effect of this padding.
Moreover, some methods are added to TextMetrics to simplify the
BufferView code.
Fixes bug #9545.
Eugene Chornyi [Sun, 12 Jul 2020 16:54:56 +0000 (18:54 +0200)]
Wininstaller, remove the option to run LyX from the finish page
Thibaut Cuvelier [Sun, 12 Jul 2020 15:58:50 +0000 (17:58 +0200)]
Add sections to HTML output.
Kornel Benko [Sun, 12 Jul 2020 14:27:45 +0000 (16:27 +0200)]
Cmake build: Move interpretation of configure.ac to own function
Created function determineversionandbuildtype() in development/cmake/modules/LyXMacros.cmake
Jean-Marc Lasgouttes [Sun, 12 Jul 2020 13:37:58 +0000 (15:37 +0200)]
Improve drawing of macro template frame
Use Inset::xxxOffset as offsets and draw the frame in the middle of
the empty space.
Fixes bug #9657.
Pavel Sanda [Sun, 12 Jul 2020 09:52:06 +0000 (11:52 +0200)]
* RELEASE-NOTES
Jean-Marc Lasgouttes [Sat, 11 Jul 2020 21:56:48 +0000 (23:56 +0200)]
Fix and simplify computation of painter monochrome mode
The old code in GuiPainter::filterColor did not work. Tricks with
colors should take place in HSV space, not RGB IMO.
Replace the code with a simpler one which maps the grayscale value
of the original color on the blend color. It works nin the case where
original color is red, but might not work as well when blend color is
not black. Time will tell.
Fixes bug #11904.
Eugene Chornyi [Sat, 11 Jul 2020 20:10:48 +0000 (22:10 +0200)]
Wininstaller2, use plugin to start LyX as user after installation as admin
Jean-Marc Lasgouttes [Thu, 30 Apr 2020 10:35:57 +0000 (12:35 +0200)]
Set desktop name for Wayland
Fixes bug 11847.
Eugene Chornyi [Sat, 11 Jul 2020 18:34:01 +0000 (20:34 +0200)]
Wininstaller2, fix wrong logic
Jean-Marc Lasgouttes [Sat, 11 Jul 2020 17:54:06 +0000 (19:54 +0200)]
Small update to INSTALL
Juergen Spitzmueller [Sat, 11 Jul 2020 14:41:34 +0000 (16:41 +0200)]
Remove unneeded header
Enrico Forestieri [Sat, 11 Jul 2020 14:19:21 +0000 (16:19 +0200)]
Fix compilation on platforms where sizeof(wchar_t) == 2.
Use "set" instead of "unordered_set" as some facets are missing when
using gcc on cygwin, mingw and, possibly, FreeBSD.
Kornel Benko [Sat, 11 Jul 2020 10:46:26 +0000 (12:46 +0200)]
Tools(listFontWithLang.pl): Allow the include of the separator glyph in the list of chars
For instance:
listFontWithLang.pl -c 'a-z\,A-Z'
is not the same now as
listFontWithLang.pl -c 'a-z,A-Z'
Kornel Benko [Sat, 11 Jul 2020 10:43:17 +0000 (12:43 +0200)]
Cmake build: Improve checks for stdlib-debug
Kornel Benko [Sat, 11 Jul 2020 10:42:25 +0000 (12:42 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 11 Jul 2020 10:30:14 +0000 (12:30 +0200)]
Fix header inclusion order
This cures a crash with stdlib-debug on autotools
Juergen Spitzmueller [Sat, 11 Jul 2020 09:18:20 +0000 (11:18 +0200)]
de.po
Juergen Spitzmueller [Sat, 11 Jul 2020 09:12:00 +0000 (11:12 +0200)]
Update tex2lyx test after last file format change
Jean-Marc Lasgouttes [Fri, 10 Jul 2020 15:17:15 +0000 (17:17 +0200)]
Use Common Number separator instead of European to detect numbers
The is a fixup to commit
611df441 . It seems that the wrong unicode
property was selected. It could be that both classes should be used.
Fixes bug #11900.
Richard Kimberly Heck [Fri, 10 Jul 2020 02:25:09 +0000 (22:25 -0400)]
Revert "Simplify code a bit. Should be equivalent, unless backs is empty!"
This reverts commit
3c094c739ba38f43edf9698ac37dd9eee62080b1 .
Juergen Spitzmueller [Thu, 9 Jul 2020 16:59:54 +0000 (18:59 +0200)]
Add support for Libertinus Math
Juergen Spitzmueller [Thu, 9 Jul 2020 16:47:53 +0000 (18:47 +0200)]
Do not attempt to mark par break in single-line insets
Juergen Spitzmueller [Thu, 9 Jul 2020 15:39:57 +0000 (17:39 +0200)]
Typo
Juergen Spitzmueller [Thu, 9 Jul 2020 15:19:01 +0000 (17:19 +0200)]
Fix header inclusions
Jean-Marc Lasgouttes [Thu, 9 Jul 2020 10:39:36 +0000 (12:39 +0200)]
Cleanup: remove trailing underscores
These ToobarItem members are public, not private.
Juergen Spitzmueller [Thu, 9 Jul 2020 10:26:25 +0000 (12:26 +0200)]
tex2lyx: add support for libertinus
Juergen Spitzmueller [Thu, 9 Jul 2020 09:46:07 +0000 (11:46 +0200)]
Add support for the libertinus family of fonts (#11899)
File format change.
Juergen Spitzmueller [Thu, 9 Jul 2020 09:41:21 +0000 (11:41 +0200)]
LaTeXFonts: Add ScaleCommand
This is needed to add support for scaling to fonts that are switched
via command
Juergen Spitzmueller [Thu, 9 Jul 2020 09:39:43 +0000 (11:39 +0200)]
Provide option to prevent unnecessary font loading.
If an OSF font is an alternative to a non-OSF one, only load the OSFFont
if osf is requested.
Thibaut Cuvelier [Wed, 8 Jul 2020 19:15:13 +0000 (21:15 +0200)]
Update RELEASE-NOTES for DocBook
Eugene Chornyi [Thu, 9 Jul 2020 07:36:12 +0000 (09:36 +0200)]
Workaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...) is called falsely when quickly double tapping on a touchpad of a notebook running Windows
Richard Kimberly Heck [Thu, 9 Jul 2020 07:27:27 +0000 (03:27 -0400)]
Change in ::docbook args
Thibaut Cuvelier [Thu, 9 Jul 2020 00:40:20 +0000 (02:40 +0200)]
Fix Coverity false positive for null-pointer dereference
Richard Kimberly Heck [Thu, 9 Jul 2020 03:59:15 +0000 (23:59 -0400)]
Simplify code a bit. Should be equivalent, unless backs is empty!
Richard Kimberly Heck [Thu, 9 Jul 2020 03:52:39 +0000 (23:52 -0400)]
Best to use braces when there are comments.
Pavel Sanda [Wed, 8 Jul 2020 22:34:19 +0000 (00:34 +0200)]
Update customization manual for docbook (part2).
Pavel Sanda [Wed, 8 Jul 2020 20:27:04 +0000 (22:27 +0200)]
Update customization manual for docbook (part1).
Kornel Benko [Wed, 8 Jul 2020 22:19:34 +0000 (00:19 +0200)]
Amend
3883b85f : Typo in "New DocBook support"
Richard Kimberly Heck [Wed, 8 Jul 2020 16:15:34 +0000 (12:15 -0400)]
Whitespace
Thibaut Cuvelier [Wed, 8 Jul 2020 13:39:01 +0000 (15:39 +0200)]
Clean up DeclareDocBookClass
Pavel Sanda [Wed, 8 Jul 2020 12:27:24 +0000 (14:27 +0200)]
Fix another constructor order of parameters
Pavel Sanda [Wed, 8 Jul 2020 12:15:33 +0000 (14:15 +0200)]
Revert docbook updates to Customization manual.
Something went wrong while merging.
Pavel Sanda [Wed, 8 Jul 2020 12:05:54 +0000 (14:05 +0200)]
comment only
Thibaut Cuvelier [Mon, 6 Jul 2020 22:11:09 +0000 (00:11 +0200)]
Remove AGU DTD style, probably doesn't work, impossible to check.
Pavel Sanda [Wed, 8 Jul 2020 11:34:45 +0000 (13:34 +0200)]
Wrong order in constructor
Thibaut Cuvelier [Sun, 5 Jul 2020 00:31:37 +0000 (02:31 +0200)]
Remove DOCBOOK enum values, no more used.
Kornel Benko [Wed, 8 Jul 2020 09:28:58 +0000 (11:28 +0200)]
Update sk.po
Pavel Sanda [Wed, 8 Jul 2020 08:08:15 +0000 (10:08 +0200)]
Makefile forgotten in previous patch
Thibaut Cuvelier [Sun, 5 Jul 2020 00:24:57 +0000 (02:24 +0200)]
Remove GuiRef::nameAllowed, as the DocBook support no more uses it