Commit Graph

42442 Commits

Author SHA1 Message Date
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
Pavel Sanda
9d8a45b5c0 sk review 2020-07-30 17:20:02 +02:00
Kornel Benko
5de13a804f Update sk.po 2020-07-30 17:10:42 +02:00
Pavel Sanda
53824067fe * layouttranslations for ru 2020-07-30 16:54:15 +02:00
Pavel Sanda
0160f644ce layouttranslations - Notes on more used 2020-07-30 16:50:02 +02:00
Juergen Spitzmueller
5d1451498a typo 2020-07-30 16:38:35 +02:00
Pavel Sanda
6061ab8e69 typo 2020-07-30 16:35:24 +02:00
Daniel Ramoeller
b521d36bfb Fix #11827
Keep spacing of math intact.
2020-07-30 16:24:17 +02:00
Yuriy Skalko
9909ce1b2d Minor fixes in Math.lyx 2020-07-30 16:19:29 +02:00
Juergen Spitzmueller
205d123a99 layouttranslation.review: minor clarification 2020-07-30 16:12:03 +02:00
Juergen Spitzmueller
011722604d Correct layout string 2020-07-30 16:11:50 +02:00
Pavel Sanda
b268ed41ec zh_CN update of layouttranslations 2020-07-30 15:59:33 +02:00
Pavel Sanda
4e383ecdb9 * layouttranslations.review 2020-07-30 15:50:20 +02:00
Pavel Sanda
28911d05ea New Notes items in layouttranslation 2020-07-30 15:41:57 +02:00
Pavel Sanda
11e797570d Remerge strings 2020-07-30 15:35:49 +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
d031edc587 Russian Math manual
by Henri Chern and Yuriy Skalko
2020-07-29 12:43:56 +02:00
Juergen Spitzmueller
065c09537b Amend 261625f412 2020-07-29 12:23:10 +02:00
Juergen Spitzmueller
37b20af98f zh_CN.po: update by W. Huang 2020-07-29 11:48:21 +02:00
Juergen Spitzmueller
d2a162ce3d Instatiate right font 2020-07-29 11:44:33 +02:00
Juergen Spitzmueller
483d914642 Correct version number 2020-07-29 10:55:30 +02:00
Juergen Spitzmueller
a848e22cf2 Add missing FORMAT entries 2020-07-29 10:55:06 +02:00
Stephan Witt
e2103c2307 #10571 configure defaults for full-screen switch per LFUN to be like the MacOS window manager switch to full-screen 2020-07-28 22:16:13 +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
Thibaut Cuvelier
1ebf58de0c DocBook: make existing tests loadable with current master 2020-07-25 22:39:56 +02:00
Thibaut Cuvelier
0de4e32d0b DocBook: missing reference files 2020-07-25 22:35:29 +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
62af830fa7 DocBook: support for lists in more layouts 2020-07-25 17:48:23 +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
Thibaut Cuvelier
b9c1fe1bac DocBook 5: very basic support for simplecv, support for Itemize in many layouts 2020-07-25 17:37:12 +02:00
Enrico Forestieri
1e2885fe81 Update layouts 2020-07-24 18:50:53 +02:00
Enrico Forestieri
585da1de4a Fix typos in lib/symbols
This amends e8ee0100 and f96b99dc.
2020-07-24 12:57:00 +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
c9f8469c00 DocBook: allow KOMA-Script documents to be generated as DocBook 2020-07-21 02:59:57 +02:00
Thibaut Cuvelier
ca01edf59f DocBook: escape IDs for InsetRef. 2020-07-21 02:45:04 +02:00
Pavel Sanda
1fa60342be * lib/RELEASE-NOTES 2020-07-21 00:12:24 +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
Kornel Benko
1dbc50a30d Cmake tests: Add check of the exported docbook file with xmllint 2020-07-20 16:55:28 +02:00
Kornel Benko
15947a7db4 Cmake tests: Add docbook5 exports to the tests 2020-07-20 10:42:34 +02:00
Pavel Sanda
c1a5b2c597 * development/FORMAT 2020-07-20 10:05:44 +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