Richard Kimberly Heck
4ce9e784b4
Fix warnings
2020-08-01 02:01:01 -04:00
Richard Kimberly Heck
219773dd55
Move META_INSET declaration to header file
2020-08-01 01:53:36 -04:00
Thibaut Cuvelier
fed71fa8c2
DocBook: bug fixing with several bibliographic references at once.
2020-08-01 03:51:14 +02:00
Thibaut Cuvelier
5324566013
DocBook: use the right key when generating bibiomixed.
2020-08-01 03:39:53 +02:00
Thibaut Cuvelier
0c0613327c
Get rid of xmlize, bringing no advantage over escapeString.
2020-08-01 03:20:28 +02:00
Thibaut Cuvelier
0be32e3b98
Amend 85946aae
: should compile also with g++.
2020-08-01 00:41:58 +02:00
Thibaut Cuvelier
85946aae2b
DocBook: fix XML in comments (-- forbidden for some historical reason).
2020-08-01 00:02:36 +02:00
Thibaut Cuvelier
f2e69c165e
More consistent style.
2020-07-31 23:35:08 +02:00
Thibaut Cuvelier
ad08373ae2
DocBook: actually include files that are not properly understood (with automatic escaping), in comments.
2020-07-31 20:17:38 +02:00
Thibaut Cuvelier
44ef3fadee
DocBook: fix encoding issues with complex ERT.
2020-07-31 20:17:38 +02:00
Juergen Spitzmueller
53e872455a
Revert "Fix #11827 "
...
This reverts commit b521d36bfb
.
Not ready yet
2020-07-31 09:18:37 +02:00
Thibaut Cuvelier
06675b853b
Fix CI…
2020-07-31 02:23:22 +02:00
Thibaut Cuvelier
acdead0487
DocBook: better condition for abstracts.
2020-07-31 01:20:08 +02:00
Thibaut Cuvelier
6434b666bf
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.
2020-07-31 00:55:00 +02:00
Thibaut Cuvelier
e153477bca
DocBook: Kornel's patch to get rid of many assertions
2020-07-30 23:22:41 +02:00
Thibaut Cuvelier
37b2115d2e
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).
2020-07-30 23:18:31 +02:00
Daniel Ramoeller
b521d36bfb
Fix #11827
...
Keep spacing of math intact.
2020-07-30 16:24:17 +02:00
Juergen Spitzmueller
50b2120438
Use switches where possible around non-inheriting insets
...
Fixes rest of #8384
2020-07-29 16:25:19 +02:00
Juergen Spitzmueller
065c09537b
Amend 261625f412
2020-07-29 12:23:10 +02:00
Juergen Spitzmueller
d2a162ce3d
Instatiate right font
2020-07-29 11:44:33 +02:00
Thibaut Cuvelier
d75ff9931d
Revert "Support the mathbbm font."
...
This reverts commit e709a6626e
.
2020-07-28 18:01:38 +02:00
Thibaut Cuvelier
e709a6626e
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.
2020-07-27 03:15:00 +02:00
Thibaut Cuvelier
8dd2e7e681
DocBook: solve issue with formulae within font tags.
...
This is not valid DocBook either!
2020-07-26 23:23:02 +02:00
Thibaut Cuvelier
a874173660
DocBook: can finally generate "Developing LyX" without validation errors.
...
This also removes many warnings when generating this document.
2020-07-26 04:59:30 +02:00
Thibaut Cuvelier
e0b8bac36e
DocBook: fix issues with nested labeling lists.
2020-07-26 04:44:04 +02:00
Thibaut Cuvelier
88e00a0b7b
DocBook: fix issues with nested description lists.
2020-07-25 23:51:32 +02:00
Pavel Sanda
618f3a0359
Kill warning about unused parameter.
2020-07-25 22:29:07 +02:00
Thibaut Cuvelier
459c17fb14
DocBook: use xml:id instead of just id.
...
Amend 62af830f
.
2020-07-25 19:00:56 +02:00
Thibaut Cuvelier
5de60e3c77
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
2020-07-25 17:37:13 +02:00
Enrico Forestieri
0b3e69167c
Fix placement of limits with integral signs
...
Since be836909c5
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.
2020-07-24 12:32:24 +02:00
Kornel Benko
9e977932c5
Enable display of docbook5 output in the Code Preview Plane
2020-07-23 14:11:13 +02:00
Thibaut Cuvelier
ca01edf59f
DocBook: escape IDs for InsetRef.
2020-07-21 02:45:04 +02:00
Jean-Marc Lasgouttes
f96b99dcb3
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.
2020-07-20 23:20:26 +02:00
Thibaut Cuvelier
e0a4dfa7d3
DocBook: avoid skipping paragraphs in <info>.
2020-07-20 03:41:44 +02:00
Richard Kimberly Heck
e09445b3cf
Style
2020-07-19 21:21:01 -04:00
Thibaut Cuvelier
6aaf118bc7
Stop adding points at the end of xml:id without reason
2020-07-20 03:04:02 +02:00
Thibaut Cuvelier
d0748cd69c
DocBook: properly escape PI in InsetMarginal.
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
fb45f7b8c9
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...
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
51939801f5
DocBook: better handling of paragraphs containing notes in the abstract.
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
be3e79c2a0
DocBook: clean citation keys everywhere in the same way.
2020-07-20 02:29:40 +02:00
Thibaut Cuvelier
d6ec3d686b
amend 467d57bc
: typo
2020-07-19 21:36:34 +02:00
Thibaut Cuvelier
6b701f945e
DocBook fonts: fix issue 1732
2020-07-19 21:00:25 +02:00
Thibaut Cuvelier
467d57bca1
Fix use of std::regex_match
2020-07-19 19:34:02 +02:00
Jean-Marc Lasgouttes
e8ee0100fc
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.
2020-07-17 22:25:18 +02:00
Jean-Marc Lasgouttes
8d54457dbf
Improve metrics for \limits in display mode
2020-07-17 22:18:43 +02:00
Thibaut Cuvelier
e302757476
Add support for CALS tables in DocBook.
2020-07-16 00:40:16 +02:00
Thibaut Cuvelier
3b740d0c8f
DocBook: add support for LYX_ALIGN_BLOCK and LYX_ALIGN_DECIMAL in tables
2020-07-15 16:17:16 +02:00
Juergen Spitzmueller
3b6fec3835
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.
2020-07-15 09:11:05 +02:00
Jean-Marc Lasgouttes
bce21e8975
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 .
2020-07-14 20:53:32 +02:00
Juergen Spitzmueller
097383f657
Fix comment
2020-07-14 15:52:20 +02:00