]>
git.lyx.org Git - lyx.git/log
Thibaut Cuvelier [Fri, 31 Jul 2020 00:23:22 +0000 (02:23 +0200)]
Fix CI…
Thibaut Cuvelier [Thu, 30 Jul 2020 23:20:08 +0000 (01:20 +0200)]
DocBook: better condition for abstracts.
Thibaut Cuvelier [Thu, 30 Jul 2020 22:55:00 +0000 (00:55 +0200)]
DocBook: don't output abstract if it would have no content.
Restore a change from
e709a662 (reverted by
d75ff993 ) that was mixed into another commit.
Also, add a TODO for InsetIndex.
Thibaut Cuvelier [Thu, 30 Jul 2020 21:22:41 +0000 (23:22 +0200)]
DocBook: Kornel's patch to get rid of many assertions
Thibaut Cuvelier [Thu, 30 Jul 2020 21:15:54 +0000 (23:15 +0200)]
DocBook: refactor font handling.
This only hides a lot of complexity behind a function. It is a good candidate for future refactoring (code highly similar to the XHTML code path).
Pavel Sanda [Thu, 30 Jul 2020 15:20:02 +0000 (17:20 +0200)]
sk review
Kornel Benko [Thu, 30 Jul 2020 15:10:42 +0000 (17:10 +0200)]
Update sk.po
Pavel Sanda [Thu, 30 Jul 2020 14:54:15 +0000 (16:54 +0200)]
* layouttranslations for ru
Pavel Sanda [Thu, 30 Jul 2020 14:50:02 +0000 (16:50 +0200)]
layouttranslations - Notes on more used
Juergen Spitzmueller [Thu, 30 Jul 2020 14:38:18 +0000 (16:38 +0200)]
typo
Pavel Sanda [Thu, 30 Jul 2020 14:25:03 +0000 (16:25 +0200)]
typo
Daniel Ramoeller [Thu, 30 Jul 2020 11:14:51 +0000 (13:14 +0200)]
Fix #11827
Keep spacing of math intact.
Yuriy Skalko [Thu, 30 Jul 2020 11:58:18 +0000 (14:58 +0300)]
Minor fixes in Math.lyx
Juergen Spitzmueller [Thu, 30 Jul 2020 14:12:03 +0000 (16:12 +0200)]
layouttranslation.review: minor clarification
Juergen Spitzmueller [Thu, 30 Jul 2020 14:11:50 +0000 (16:11 +0200)]
Correct layout string
Pavel Sanda [Thu, 30 Jul 2020 13:59:33 +0000 (15:59 +0200)]
zh_CN update of layouttranslations
Pavel Sanda [Thu, 30 Jul 2020 13:50:20 +0000 (15:50 +0200)]
* layouttranslations.review
Pavel Sanda [Thu, 30 Jul 2020 13:41:57 +0000 (15:41 +0200)]
New Notes items in layouttranslation
Pavel Sanda [Thu, 30 Jul 2020 13:35:49 +0000 (15:35 +0200)]
Remerge strings
Juergen Spitzmueller [Wed, 29 Jul 2020 14:25:19 +0000 (16:25 +0200)]
Use switches where possible around non-inheriting insets
Fixes rest of #8384
Juergen Spitzmueller [Wed, 29 Jul 2020 10:43:56 +0000 (12:43 +0200)]
Russian Math manual
by Henri Chern and Yuriy Skalko
Juergen Spitzmueller [Wed, 29 Jul 2020 10:23:10 +0000 (12:23 +0200)]
Juergen Spitzmueller [Wed, 29 Jul 2020 09:48:21 +0000 (11:48 +0200)]
zh_CN.po: update by W. Huang
Juergen Spitzmueller [Wed, 29 Jul 2020 09:44:33 +0000 (11:44 +0200)]
Instatiate right font
Juergen Spitzmueller [Wed, 29 Jul 2020 08:55:30 +0000 (10:55 +0200)]
Correct version number
Juergen Spitzmueller [Wed, 29 Jul 2020 08:55:06 +0000 (10:55 +0200)]
Add missing FORMAT entries
Stephan Witt [Tue, 28 Jul 2020 20:16:13 +0000 (22:16 +0200)]
#10571 configure defaults for full-screen switch per LFUN to be like the MacOS window manager switch to full-screen
Thibaut Cuvelier [Tue, 28 Jul 2020 16:01:38 +0000 (18:01 +0200)]
Revert "Support the mathbbm font."
This reverts commit
e709a6626e731b460a98ea34d762a776de90b54c .
Thibaut Cuvelier [Mon, 27 Jul 2020 01:14:38 +0000 (03:14 +0200)]
Support the mathbbm font.
Should just be able to read formulae, not add it from the GUI, as it's mostly redundant with mathds and mathbb.
Thibaut Cuvelier [Sun, 26 Jul 2020 21:23:02 +0000 (23:23 +0200)]
DocBook: solve issue with formulae within font tags.
This is not valid DocBook either!
Thibaut Cuvelier [Sun, 26 Jul 2020 02:59:30 +0000 (04:59 +0200)]
DocBook: can finally generate "Developing LyX" without validation errors.
This also removes many warnings when generating this document.
Thibaut Cuvelier [Sun, 26 Jul 2020 02:44:04 +0000 (04:44 +0200)]
DocBook: fix issues with nested labeling lists.
Thibaut Cuvelier [Sat, 25 Jul 2020 21:51:32 +0000 (23:51 +0200)]
DocBook: fix issues with nested description lists.
Thibaut Cuvelier [Sat, 25 Jul 2020 20:39:56 +0000 (22:39 +0200)]
DocBook: make existing tests loadable with current master
Thibaut Cuvelier [Sat, 25 Jul 2020 20:35:29 +0000 (22:35 +0200)]
DocBook: missing reference files
Pavel Sanda [Sat, 25 Jul 2020 20:29:07 +0000 (22:29 +0200)]
Kill warning about unused parameter.
Thibaut Cuvelier [Sat, 25 Jul 2020 17:00:56 +0000 (19:00 +0200)]
DocBook: use xml:id instead of just id.
Amend
62af830f .
Thibaut Cuvelier [Sat, 25 Jul 2020 15:48:23 +0000 (17:48 +0200)]
DocBook: support for lists in more layouts
Thibaut Cuvelier [Sat, 25 Jul 2020 02:48:33 +0000 (04:48 +0200)]
DocBook: implementation of LATEX_BIB_ENVIRONMENT.
Fixes endless loops when such environments were used.
Add Kornel's test case that triggers an infinite loop when generating as DocBook 5
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