]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoDocBook: fix delimitation of bibliographies.
Thibaut Cuvelier [Sun, 2 Aug 2020 01:14:16 +0000 (03:14 +0200)]
DocBook: fix delimitation of bibliographies.

3 years agotypo
Pavel Sanda [Sat, 1 Aug 2020 20:53:28 +0000 (22:53 +0200)]
typo

3 years agoDocBook: improve AAS support.
Thibaut Cuvelier [Sat, 1 Aug 2020 20:44:51 +0000 (22:44 +0200)]
DocBook: improve AAS support.

3 years agoDocBook: improve new lines around maths.
Thibaut Cuvelier [Sat, 1 Aug 2020 19:43:44 +0000 (21:43 +0200)]
DocBook: improve new lines around maths.

3 years agoDocBook: fix bug about fonts (tag not closed at the right place).
Thibaut Cuvelier [Sat, 1 Aug 2020 19:40:26 +0000 (21:40 +0200)]
DocBook: fix bug about fonts (tag not closed at the right place).

Yes, this was just a reference issue! Also includes support for XOUT text, and some styling consistency.

3 years agoxHTML export: change filenames of exported images.
Pavel Sanda [Sat, 1 Aug 2020 19:26:36 +0000 (21:26 +0200)]
xHTML export: change filenames of exported images.

This patch aims at:
1. replacing absolute paths by their hashes (do not leak directory structures)
2. not using counters anymore so that changing figures order in the document
   does not lead to large number of obsolete images in export directory.

Other changes than in xHTML export of images are unintended.

3 years agoUpdate sk.po
Kornel Benko [Sat, 1 Aug 2020 19:09:23 +0000 (21:09 +0200)]
Update sk.po

3 years agoCmake docbook tests: typos
Kornel Benko [Sat, 1 Aug 2020 19:08:35 +0000 (21:08 +0200)]
Cmake docbook tests: typos

3 years agoSpacing
Scott Kostyshak [Sat, 1 Aug 2020 14:04:33 +0000 (10:04 -0400)]
Spacing

3 years agoru layouttranslations review
Pavel Sanda [Sat, 1 Aug 2020 11:54:18 +0000 (13:54 +0200)]
ru layouttranslations review

3 years agoUpdate ru.po from Yuriy
Pavel Sanda [Sat, 1 Aug 2020 10:39:08 +0000 (12:39 +0200)]
Update ru.po from Yuriy

3 years agoCmake docbook export: Try to handle quotation marks in parameter values properly
Kornel Benko [Sat, 1 Aug 2020 07:40:23 +0000 (09:40 +0200)]
Cmake docbook export: Try to handle quotation marks in parameter values properly

3 years agoCmake export tests: Make the destination directory for test results unique
Kornel Benko [Sat, 1 Aug 2020 07:35:20 +0000 (09:35 +0200)]
Cmake export tests: Make the destination directory for test results unique

Exporting files with identical names (but in different directories)
could lead to conflicts in parallel executed tests.

3 years agoFix warnings
Richard Kimberly Heck [Sat, 1 Aug 2020 05:57:38 +0000 (01:57 -0400)]
Fix warnings

3 years agoMove META_INSET declaration to header file
Richard Kimberly Heck [Sat, 1 Aug 2020 05:53:36 +0000 (01:53 -0400)]
Move META_INSET declaration to header file

3 years agoDocBook: slight improvement for AAS documents.
Thibaut Cuvelier [Sat, 1 Aug 2020 02:09:45 +0000 (04:09 +0200)]
DocBook: slight improvement for AAS documents.

3 years agoDocBook: bug fixing with several bibliographic references at once.
Thibaut Cuvelier [Sat, 1 Aug 2020 01:51:14 +0000 (03:51 +0200)]
DocBook: bug fixing with several bibliographic references at once.

3 years agoDocBook: use the right key when generating bibiomixed.
Thibaut Cuvelier [Sat, 1 Aug 2020 01:37:25 +0000 (03:37 +0200)]
DocBook: use the right key when generating bibiomixed.

3 years agoGet rid of xmlize, bringing no advantage over escapeString.
Thibaut Cuvelier [Sat, 1 Aug 2020 01:20:08 +0000 (03:20 +0200)]
Get rid of xmlize, bringing no advantage over escapeString.

3 years agoAmend 85946aae: should compile also with g++.
Thibaut Cuvelier [Fri, 31 Jul 2020 22:41:58 +0000 (00:41 +0200)]
Amend 85946aae: should compile also with g++.

3 years agoDocBook: fix XML in comments (-- forbidden for some historical reason).
Thibaut Cuvelier [Fri, 31 Jul 2020 22:02:36 +0000 (00:02 +0200)]
DocBook: fix XML in comments (-- forbidden for some historical reason).

3 years agoMore consistent style.
Thibaut Cuvelier [Fri, 31 Jul 2020 21:35:08 +0000 (23:35 +0200)]
More consistent style.

3 years agoDocBook: actually include files that are not properly understood (with automatic...
Thibaut Cuvelier [Fri, 31 Jul 2020 18:16:18 +0000 (20:16 +0200)]
DocBook: actually include files that are not properly understood (with automatic escaping), in comments.

3 years agoDocBook: fix encoding issues with complex ERT.
Thibaut Cuvelier [Fri, 31 Jul 2020 15:34:58 +0000 (17:34 +0200)]
DocBook: fix encoding issues with complex ERT.

3 years agoTools(listFontWithLang.pl): Correct types of lohit fonts
Kornel Benko [Fri, 31 Jul 2020 14:27:48 +0000 (16:27 +0200)]
Tools(listFontWithLang.pl): Correct types of lohit fonts

3 years agoAmend 4ec788ce: Remove temporary files after tests
Kornel Benko [Fri, 31 Jul 2020 13:28:25 +0000 (15:28 +0200)]
Amend 4ec788ce: Remove temporary files after tests

3 years agoCmake export tests: Export to docbook5
Kornel Benko [Fri, 31 Jul 2020 13:24:48 +0000 (15:24 +0200)]
Cmake export tests: Export to docbook5

The sax-parser is choking on tags like 'section*' or 'Braille (default)'.
Also setting parameters like 'height=12pt' are not valid.

The added filter tries to 'correct' the input for the sax parser.
E.g. 'Braille (default)' ==> 'Braille__default_', 'section*' ==> 'section_'
and 'height =12pt' ==> 'height="12pt"'

3 years agoFix table in ru/Math
Juergen Spitzmueller [Fri, 31 Jul 2020 07:31:32 +0000 (09:31 +0200)]
Fix table in ru/Math

3 years agoRevert "Fix #11827"
Juergen Spitzmueller [Fri, 31 Jul 2020 07:18:37 +0000 (09:18 +0200)]
Revert "Fix #11827"

This reverts commit b521d36bfbedce9f89b48510409c32860f99559d.

Not ready yet

3 years agoUpdate ru.po and Russian docs
Yuriy Skalko [Thu, 30 Jul 2020 11:55:09 +0000 (14:55 +0300)]
Update ru.po and Russian docs

3 years agoFix CI…
Thibaut Cuvelier [Fri, 31 Jul 2020 00:23:22 +0000 (02:23 +0200)]
Fix CI…

3 years agoDocBook: better condition for abstracts.
Thibaut Cuvelier [Thu, 30 Jul 2020 23:20:08 +0000 (01:20 +0200)]
DocBook: better condition for abstracts.

3 years agoDocBook: don't output abstract if it would have no content.
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.

3 years agoDocBook: Kornel's patch to get rid of many assertions
Thibaut Cuvelier [Thu, 30 Jul 2020 21:22:41 +0000 (23:22 +0200)]
DocBook: Kornel's patch to get rid of many assertions

3 years agoDocBook: refactor font handling.
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).

3 years agosk review
Pavel Sanda [Thu, 30 Jul 2020 15:20:02 +0000 (17:20 +0200)]
sk review

3 years agoUpdate sk.po
Kornel Benko [Thu, 30 Jul 2020 15:10:42 +0000 (17:10 +0200)]
Update sk.po

3 years ago* layouttranslations for ru
Pavel Sanda [Thu, 30 Jul 2020 14:54:15 +0000 (16:54 +0200)]
* layouttranslations for ru

3 years agolayouttranslations - Notes on more used
Pavel Sanda [Thu, 30 Jul 2020 14:50:02 +0000 (16:50 +0200)]
layouttranslations - Notes on more used

3 years agotypo
Juergen Spitzmueller [Thu, 30 Jul 2020 14:38:18 +0000 (16:38 +0200)]
typo

3 years agotypo
Pavel Sanda [Thu, 30 Jul 2020 14:25:03 +0000 (16:25 +0200)]
typo

3 years agoFix #11827
Daniel Ramoeller [Thu, 30 Jul 2020 11:14:51 +0000 (13:14 +0200)]
Fix #11827

Keep spacing of math intact.

3 years agoMinor fixes in Math.lyx
Yuriy Skalko [Thu, 30 Jul 2020 11:58:18 +0000 (14:58 +0300)]
Minor fixes in Math.lyx

3 years agolayouttranslation.review: minor clarification
Juergen Spitzmueller [Thu, 30 Jul 2020 14:12:03 +0000 (16:12 +0200)]
layouttranslation.review: minor clarification

3 years agoCorrect layout string
Juergen Spitzmueller [Thu, 30 Jul 2020 14:11:50 +0000 (16:11 +0200)]
Correct layout string

3 years agozh_CN update of layouttranslations
Pavel Sanda [Thu, 30 Jul 2020 13:59:33 +0000 (15:59 +0200)]
zh_CN update of layouttranslations

3 years ago* layouttranslations.review
Pavel Sanda [Thu, 30 Jul 2020 13:50:20 +0000 (15:50 +0200)]
* layouttranslations.review

3 years agoNew Notes items in layouttranslation
Pavel Sanda [Thu, 30 Jul 2020 13:41:57 +0000 (15:41 +0200)]
New Notes items in layouttranslation

3 years agoRemerge strings
Pavel Sanda [Thu, 30 Jul 2020 13:35:49 +0000 (15:35 +0200)]
Remerge strings

3 years agoUse switches where possible around non-inheriting insets
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

3 years agoRussian Math manual
Juergen Spitzmueller [Wed, 29 Jul 2020 10:43:56 +0000 (12:43 +0200)]
Russian Math manual

by Henri Chern and Yuriy Skalko

3 years agoAmend 261625f4129fd6e
Juergen Spitzmueller [Wed, 29 Jul 2020 10:23:10 +0000 (12:23 +0200)]
Amend 261625f4129fd6e

3 years agozh_CN.po: update by W. Huang
Juergen Spitzmueller [Wed, 29 Jul 2020 09:48:21 +0000 (11:48 +0200)]
zh_CN.po: update by W. Huang

3 years agoInstatiate right font
Juergen Spitzmueller [Wed, 29 Jul 2020 09:44:33 +0000 (11:44 +0200)]
Instatiate right font

3 years agoCorrect version number
Juergen Spitzmueller [Wed, 29 Jul 2020 08:55:30 +0000 (10:55 +0200)]
Correct version number

3 years agoAdd missing FORMAT entries
Juergen Spitzmueller [Wed, 29 Jul 2020 08:55:06 +0000 (10:55 +0200)]
Add missing FORMAT entries

3 years ago#10571 configure defaults for full-screen switch per LFUN to be like the MacOS window...
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

3 years agoRevert "Support the mathbbm font."
Thibaut Cuvelier [Tue, 28 Jul 2020 16:01:38 +0000 (18:01 +0200)]
Revert "Support the mathbbm font."

This reverts commit e709a6626e731b460a98ea34d762a776de90b54c.

3 years agoSupport the mathbbm font.
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.

3 years agoDocBook: solve issue with formulae within font tags.
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!

3 years agoDocBook: can finally generate "Developing LyX" without validation errors.
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.

3 years agoDocBook: fix issues with nested labeling lists.
Thibaut Cuvelier [Sun, 26 Jul 2020 02:44:04 +0000 (04:44 +0200)]
DocBook: fix issues with nested labeling lists.

3 years agoDocBook: fix issues with nested description lists.
Thibaut Cuvelier [Sat, 25 Jul 2020 21:51:32 +0000 (23:51 +0200)]
DocBook: fix issues with nested description lists.

3 years agoDocBook: make existing tests loadable with current master
Thibaut Cuvelier [Sat, 25 Jul 2020 20:39:56 +0000 (22:39 +0200)]
DocBook: make existing tests loadable with current master

3 years agoDocBook: missing reference files
Thibaut Cuvelier [Sat, 25 Jul 2020 20:35:29 +0000 (22:35 +0200)]
DocBook: missing reference files

3 years agoKill warning about unused parameter.
Pavel Sanda [Sat, 25 Jul 2020 20:29:07 +0000 (22:29 +0200)]
Kill warning about unused parameter.

3 years agoDocBook: use xml:id instead of just id.
Thibaut Cuvelier [Sat, 25 Jul 2020 17:00:56 +0000 (19:00 +0200)]
DocBook: use xml:id instead of just id.

Amend 62af830f.

3 years agoDocBook: support for lists in more layouts
Thibaut Cuvelier [Sat, 25 Jul 2020 15:48:23 +0000 (17:48 +0200)]
DocBook: support for lists in more layouts

3 years agoDocBook: implementation of LATEX_BIB_ENVIRONMENT.
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

3 years agoDocBook 5: very basic support for simplecv, support for Itemize in many layouts
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

3 years agoUpdate layouts
Enrico Forestieri [Fri, 24 Jul 2020 16:50:53 +0000 (18:50 +0200)]
Update layouts

3 years agoFix typos in lib/symbols
Enrico Forestieri [Fri, 24 Jul 2020 10:57:00 +0000 (12:57 +0200)]
Fix typos in lib/symbols

This amends e8ee0100 and f96b99dc.

3 years agoFix placement of limits with integral signs
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.

3 years agoEnable display of docbook5 output in the Code Preview Plane
Kornel Benko [Thu, 23 Jul 2020 12:11:13 +0000 (14:11 +0200)]
Enable display of docbook5 output in the Code Preview Plane

3 years agoDocBook: allow KOMA-Script documents to be generated as DocBook
Thibaut Cuvelier [Tue, 21 Jul 2020 00:59:57 +0000 (02:59 +0200)]
DocBook: allow KOMA-Script documents to be generated as DocBook

3 years agoDocBook: escape IDs for InsetRef.
Thibaut Cuvelier [Tue, 21 Jul 2020 00:44:11 +0000 (02:44 +0200)]
DocBook: escape IDs for InsetRef.

3 years ago* lib/RELEASE-NOTES
Pavel Sanda [Mon, 20 Jul 2020 22:12:24 +0000 (00:12 +0200)]
* lib/RELEASE-NOTES

3 years agoImplement properly \limits and \nolimits
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.

3 years agoCmake tests: Add check of the exported docbook file with xmllint
Kornel Benko [Mon, 20 Jul 2020 14:55:28 +0000 (16:55 +0200)]
Cmake tests: Add check of the exported docbook file with xmllint

3 years agoCmake tests: Add docbook5 exports to the tests
Kornel Benko [Mon, 20 Jul 2020 08:42:34 +0000 (10:42 +0200)]
Cmake tests: Add docbook5 exports to the tests

3 years ago* development/FORMAT
Pavel Sanda [Mon, 20 Jul 2020 08:05:44 +0000 (10:05 +0200)]
* development/FORMAT

3 years agoDocBook: avoid skipping paragraphs in <info>.
Thibaut Cuvelier [Mon, 20 Jul 2020 01:41:44 +0000 (03:41 +0200)]
DocBook: avoid skipping paragraphs in <info>.

3 years agoStyle
Richard Kimberly Heck [Mon, 20 Jul 2020 01:11:59 +0000 (21:11 -0400)]
Style

3 years agoStop adding points at the end of xml:id without reason
Thibaut Cuvelier [Mon, 20 Jul 2020 00:15:35 +0000 (02:15 +0200)]
Stop adding points at the end of xml:id without reason

3 years agoMerge branch 'master' of git.lyx.org:lyx
Thibaut Cuvelier [Mon, 20 Jul 2020 01:03:16 +0000 (03:03 +0200)]
Merge branch 'master' of git.lyx.org:lyx

3 years agoFORMAT for format 594
Richard Kimberly Heck [Mon, 20 Jul 2020 01:01:55 +0000 (21:01 -0400)]
FORMAT for format 594

3 years agoFORMAT for format 594
Richard Kimberly Heck [Mon, 20 Jul 2020 01:01:55 +0000 (21:01 -0400)]
FORMAT for format 594

3 years agoDocBook: allow Tufte books to be (more) properly generated.
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?

3 years agoDocBook: properly escape PI in InsetMarginal.
Thibaut Cuvelier [Mon, 20 Jul 2020 00:58:48 +0000 (02:58 +0200)]
DocBook: properly escape PI in InsetMarginal.

3 years agoDocBook: don't update counters when generating, as they are not used in DocBook.
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...

3 years agoDocBook: better handling of paragraphs containing notes in the abstract.
Thibaut Cuvelier [Mon, 20 Jul 2020 00:47:40 +0000 (02:47 +0200)]
DocBook: better handling of paragraphs containing notes in the abstract.

3 years agoDocBook: clean citation keys everywhere in the same way.
Thibaut Cuvelier [Mon, 20 Jul 2020 00:28:28 +0000 (02:28 +0200)]
DocBook: clean citation keys everywhere in the same way.

3 years agoPartial revert of e3027574: don't add \docbook_table_output at lyx2lyx step, let...
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

3 years agoamend 467d57bc: typo
Thibaut Cuvelier [Sun, 19 Jul 2020 19:36:34 +0000 (21:36 +0200)]
amend 467d57bc: typo

3 years agoDocBook fonts: fix issue 1732
Thibaut Cuvelier [Sun, 19 Jul 2020 19:00:25 +0000 (21:00 +0200)]
DocBook fonts: fix issue 1732

3 years agoFix use of std::regex_match
Thibaut Cuvelier [Thu, 9 Jul 2020 00:38:07 +0000 (02:38 +0200)]
Fix use of std::regex_match

3 years agoImplement variable size bigops
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.

3 years agoImprove metrics for \limits in display mode
Jean-Marc Lasgouttes [Fri, 17 Jul 2020 16:48:39 +0000 (18:48 +0200)]
Improve metrics for \limits in display mode

3 years agoWininstaller2, code readability
Eugene Chornyi [Fri, 17 Jul 2020 19:18:17 +0000 (21:18 +0200)]
Wininstaller2, code readability

3 years agoSimplify
Richard Kimberly Heck [Fri, 17 Jul 2020 16:16:47 +0000 (12:16 -0400)]
Simplify