[LyX/master] Add a comment for Python binary names.

2024-09-09 Thread Thibaut Cuvelier
commit e1efc709592c2572b9f9bf24a41eb6835a81057b Author: Thibaut Cuvelier Date: Mon Sep 9 23:31:53 2024 +0200 Add a comment for Python binary names. --- src/support/os.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/support/os.cpp b/src/support/os.cpp index 9a901cfd02

[LyX/master] Fix typo in comment.

2024-08-15 Thread Thibaut Cuvelier
commit 8ae1b9554c5bd2f12749e535307a93cc91589403 Author: Thibaut Cuvelier Date: Thu Aug 15 15:40:31 2024 +0200 Fix typo in comment. --- src/support/os.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/os.cpp b/src/support/os.cpp index a245a46957

[LyX/master] XHTML: in InsetGraphics, use the bounding box that LyX computes for each image instead of using the scale.

2024-05-20 Thread Thibaut Cuvelier
commit ce5f84ff02e04a10d345776571ae0a2439b09e8f Author: Thibaut Cuvelier Date: Mon May 20 16:59:46 2024 +0200 XHTML: in InsetGraphics, use the bounding box that LyX computes for each image instead of using the scale. --- src/insets/InsetGraphics.cpp | 23 +++ 1 file

[LyX/master] XHTML: export paragraph IDs also for list items, but not for the opening tag of the list.

2024-05-19 Thread Thibaut Cuvelier
commit 2d86b881242c3ea4756af28f8458aeb7cbfa6822 Author: Thibaut Cuvelier Date: Mon May 20 03:21:00 2024 +0200 XHTML: export paragraph IDs also for list items, but not for the opening tag of the list. The IDs are used to link to specific elements (for instance, the User's

[LyX/master] XHTML: fix typo in comment.

2024-05-19 Thread Thibaut Cuvelier
commit a4f675a0408f4af13a7ea3a7856763dac8175e9a Author: Thibaut Cuvelier Date: Mon May 20 03:11:41 2024 +0200 XHTML: fix typo in comment. --- src/output_xhtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index

[LyX/master] InsetGraphics: use the `scale` CSS property instead of `width` with percentages.

2024-05-19 Thread Thibaut Cuvelier
commit f2660d172c3f38e2dad1f32d7b3b4d953e2efb8a Author: Thibaut Cuvelier Date: Mon May 20 01:09:43 2024 +0200 InsetGraphics: use the `scale` CSS property instead of `width` with percentages. The effect is closer to what LyX offers. Previously, the percentage was of the HTML

[LyX/master] Make comment clearer.

2024-05-18 Thread Thibaut Cuvelier
commit e3f2b10842cdc808e9f2bf235692f283009d3734 Author: Thibaut Cuvelier Date: Sat May 18 19:38:52 2024 +0200 Make comment clearer. --- src/insets/InsetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index

[LyX/master] InsetInfo: no need to output + explicitly in a shortcut, it is already contained in the sequence.

2024-05-18 Thread Thibaut Cuvelier
commit 7cfe36e6aa4460ae8641cd36f4aab5f013390326 Author: Thibaut Cuvelier Date: Sat May 18 19:41:44 2024 +0200 InsetInfo: no need to output + explicitly in a shortcut, it is already contained in the sequence. --- src/insets/InsetInfo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git

[LyX features/biginset] Amend 16660d12.

2024-04-05 Thread Thibaut Cuvelier
commit fd378450755b698cc3ddb1a8d14e8b78d19c57a2 Author: Thibaut Cuvelier Date: Thu Mar 21 21:32:45 2024 +0100 Amend 16660d12. The previous commit introduced wrong behaviours for <>. The new code carefully escapes what needs to be escaped from LaTeX, using the now-standar

[LyX features/biginset] MathML in HTML: don't escape <> for a raw LaTeX output.

2024-04-05 Thread Thibaut Cuvelier
commit 16660d12b4333f6486259048dec2b0a2e48a64d9 Author: Thibaut Cuvelier Date: Thu Mar 21 00:29:23 2024 +0100 MathML in HTML: don't escape <> for a raw LaTeX output. In some cases (I only found numbered equations), the LaTeX output still has a bit of HTML. For numbere

[LyX features/biginset] MathML: stop stretching all delimiters.

2024-04-05 Thread Thibaut Cuvelier
commit 8f820d7ccb0cb6129c8e3c1d495905d61db97355 Author: Thibaut Cuvelier Date: Mon Mar 11 01:40:16 2024 +0100 MathML: stop stretching all delimiters. No form? Reference: https://w3c.github.io/mathml-core/#dfn-form. The MathML processor is smart enough to determine whether the

[LyX features/biginset] MathML: don't let the processor stretch operators when they are single characters for LyX.

2024-04-05 Thread Thibaut Cuvelier
commit 7e6597a5b47c22ed22966a75c149264dacd6e289 Author: Thibaut Cuvelier Date: Mon Mar 11 02:00:47 2024 +0100 MathML: don't let the processor stretch operators when they are single characters for LyX. The main goal is to match TeX' behaviour. If you want stretchy opera

[LyX features/biginset] MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space.

2024-04-05 Thread Thibaut Cuvelier
commit be03d699463fba896f90e3046b0814d527368771 Author: Thibaut Cuvelier Date: Mon Mar 11 01:30:48 2024 +0100 MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space. --- src/mathed/InsetMathDelim.cpp | 23 ++- src/m

[LyX features/biginset] Extract vert, langle, rangle in MathExtern like parentheses and brackets.

2024-04-05 Thread Thibaut Cuvelier
commit 9e6b810b37f28499a5573468ae61d68be0bb2e75 Author: Thibaut Cuvelier Date: Mon Mar 11 01:22:12 2024 +0100 Extract vert, langle, rangle in MathExtern like parentheses and brackets. This patch is part of a series that aims at solving https://www.lyx.org/trac/ticket/12891. It is

[LyX features/biginset] Improve const correctness.

2024-04-05 Thread Thibaut Cuvelier
commit b1a4eb118cd3d271a35b2260cde077e21c62c32c Author: Thibaut Cuvelier Date: Mon Mar 11 01:15:48 2024 +0100 Improve const correctness. --- src/mathed/MathExtern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp

[LyX features/biginset] Memorise whether delims are extracted from MathExtern.

2024-04-05 Thread Thibaut Cuvelier
commit 93444892c504fdd7b8fdfbc7f2bf67f9b250eb82 Author: Thibaut Cuvelier Date: Mon Mar 11 01:07:25 2024 +0100 Memorise whether delims are extracted from MathExtern. This patch is part of a series that aims at solving https://www.lyx.org/trac/ticket/12891. It should not change any

[LyX features/biginset] Reduce code duplication.

2024-04-05 Thread Thibaut Cuvelier
commit 1680eaf5f0edeed089e2bdc2b539b80187b88d3c Author: Thibaut Cuvelier Date: Sun Mar 10 16:55:12 2024 +0100 Reduce code duplication. --- src/mathed/MathExtern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp

[LyX features/biginset] MathML: consider ordinary and alphabetical characters as identifiers instead of operators.

2024-04-05 Thread Thibaut Cuvelier
commit 011c3d73c0c3137dcd67bf8bb09644ac064b2342 Author: Thibaut Cuvelier Date: Sat Mar 9 20:59:12 2024 +0100 MathML: consider ordinary and alphabetical characters as identifiers instead of operators. The goal is to consider all Greek letters as identifiers instead of operators

[LyX features/biginset] Simplify a loop with a for-each.

2024-04-05 Thread Thibaut Cuvelier
commit 1b11dfeca5c4e11585129221d966e84c5c775402 Author: Thibaut Cuvelier Date: Sat Mar 9 20:46:54 2024 +0100 Simplify a loop with a for-each. These loops were brought by C++11. The next step could be using std::any_of. --- src/mathed/MathSupport.cpp | 8 1 file changed

[LyX features/biginset] DocBook: add missing mapping for AASTeX 6.3.

2024-04-05 Thread Thibaut Cuvelier
commit 04beccca4c7170273748e14827b8af62e5726b25 Author: Thibaut Cuvelier Date: Sat Mar 9 15:09:45 2024 +0100 DocBook: add missing mapping for AASTeX 6.3. The result is far from perfect, see the TODOs. The corresponding tests are still inverted. --- development/autotests

[LyX features/biginset] DocBook: amend e3020a6b.

2024-04-05 Thread Thibaut Cuvelier
commit 5c5765061fa1ce1b829c1b1dad05d3fc8d879079 Author: Thibaut Cuvelier Date: Fri Mar 1 13:45:28 2024 +0100 DocBook: amend e3020a6b. Book authorship and authorship can be quite distinct. As far as I know, there is no standard way to represent book authorship in DocBook

[LyX features/biginset] DocBook: authorsToDocBookAuthorGroup never needs to return anything.

2024-04-05 Thread Thibaut Cuvelier
commit 3973bbcf9915ad16cdd7dec3c20bd2f722dfb52e Author: Thibaut Cuvelier Date: Fri Mar 1 13:32:17 2024 +0100 DocBook: authorsToDocBookAuthorGroup never needs to return anything. --- src/BiblioInfo.cpp | 11 +-- src/BiblioInfo.h | 2 +- 2 files changed, 6 insertions(+), 7

[LyX features/biginset] DocBook: support bookauthor in bibliographies.

2024-04-05 Thread Thibaut Cuvelier
commit e3020a6b2d240d0e1ae2aec8dfd754f6cd64dee1 Author: Thibaut Cuvelier Date: Fri Mar 1 12:55:40 2024 +0100 DocBook: support bookauthor in bibliographies. --- autotests/export/docbook/basic.bib | 11 +++ autotests/export/docbook/basic.lyx | 2 +- autotests/export/docbook

[LyX/master] Amend 16660d12.

2024-03-21 Thread Thibaut Cuvelier
commit fd378450755b698cc3ddb1a8d14e8b78d19c57a2 Author: Thibaut Cuvelier Date: Thu Mar 21 21:32:45 2024 +0100 Amend 16660d12. The previous commit introduced wrong behaviours for <>. The new code carefully escapes what needs to be escaped from LaTeX, using the now-standar

[LyX/master] MathML in HTML: don't escape <> for a raw LaTeX output.

2024-03-20 Thread Thibaut Cuvelier
commit 16660d12b4333f6486259048dec2b0a2e48a64d9 Author: Thibaut Cuvelier Date: Thu Mar 21 00:29:23 2024 +0100 MathML in HTML: don't escape <> for a raw LaTeX output. In some cases (I only found numbered equations), the LaTeX output still has a bit of HTML. For numbere

[LyX/master] MathML: stop stretching all delimiters.

2024-03-10 Thread Thibaut Cuvelier
commit 8f820d7ccb0cb6129c8e3c1d495905d61db97355 Author: Thibaut Cuvelier Date: Mon Mar 11 01:40:16 2024 +0100 MathML: stop stretching all delimiters. No form? Reference: https://w3c.github.io/mathml-core/#dfn-form. The MathML processor is smart enough to determine whether the

[LyX/master] MathML: don't let the processor stretch operators when they are single characters for LyX.

2024-03-10 Thread Thibaut Cuvelier
commit 7e6597a5b47c22ed22966a75c149264dacd6e289 Author: Thibaut Cuvelier Date: Mon Mar 11 02:00:47 2024 +0100 MathML: don't let the processor stretch operators when they are single characters for LyX. The main goal is to match TeX' behaviour. If you want stretchy opera

[LyX/master] MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space.

2024-03-10 Thread Thibaut Cuvelier
commit be03d699463fba896f90e3046b0814d527368771 Author: Thibaut Cuvelier Date: Mon Mar 11 01:30:48 2024 +0100 MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space. --- src/mathed/InsetMathDelim.cpp | 23 ++- src/m

[LyX/master] Extract vert, langle, rangle in MathExtern like parentheses and brackets.

2024-03-10 Thread Thibaut Cuvelier
commit 9e6b810b37f28499a5573468ae61d68be0bb2e75 Author: Thibaut Cuvelier Date: Mon Mar 11 01:22:12 2024 +0100 Extract vert, langle, rangle in MathExtern like parentheses and brackets. This patch is part of a series that aims at solving https://www.lyx.org/trac/ticket/12891. It is

[LyX/master] Improve const correctness.

2024-03-10 Thread Thibaut Cuvelier
commit b1a4eb118cd3d271a35b2260cde077e21c62c32c Author: Thibaut Cuvelier Date: Mon Mar 11 01:15:48 2024 +0100 Improve const correctness. --- src/mathed/MathExtern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp

[LyX/master] Memorise whether delims are extracted from MathExtern.

2024-03-10 Thread Thibaut Cuvelier
commit 93444892c504fdd7b8fdfbc7f2bf67f9b250eb82 Author: Thibaut Cuvelier Date: Mon Mar 11 01:07:25 2024 +0100 Memorise whether delims are extracted from MathExtern. This patch is part of a series that aims at solving https://www.lyx.org/trac/ticket/12891. It should not change any

[LyX/master] Reduce code duplication.

2024-03-10 Thread Thibaut Cuvelier
commit 1680eaf5f0edeed089e2bdc2b539b80187b88d3c Author: Thibaut Cuvelier Date: Sun Mar 10 16:55:12 2024 +0100 Reduce code duplication. --- src/mathed/MathExtern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp

[LyX/master] MathML: consider ordinary and alphabetical characters as identifiers instead of operators.

2024-03-09 Thread Thibaut Cuvelier
commit 011c3d73c0c3137dcd67bf8bb09644ac064b2342 Author: Thibaut Cuvelier Date: Sat Mar 9 20:59:12 2024 +0100 MathML: consider ordinary and alphabetical characters as identifiers instead of operators. The goal is to consider all Greek letters as identifiers instead of operators

[LyX/master] Simplify a loop with a for-each.

2024-03-09 Thread Thibaut Cuvelier
commit 1b11dfeca5c4e11585129221d966e84c5c775402 Author: Thibaut Cuvelier Date: Sat Mar 9 20:46:54 2024 +0100 Simplify a loop with a for-each. These loops were brought by C++11. The next step could be using std::any_of. --- src/mathed/MathSupport.cpp | 8 1 file changed

[LyX/master] DocBook: add missing mapping for AASTeX 6.3.

2024-03-09 Thread Thibaut Cuvelier
commit 04beccca4c7170273748e14827b8af62e5726b25 Author: Thibaut Cuvelier Date: Sat Mar 9 15:09:45 2024 +0100 DocBook: add missing mapping for AASTeX 6.3. The result is far from perfect, see the TODOs. The corresponding tests are still inverted. --- development/autotests

[LyX/master] DocBook: amend e3020a6b.

2024-03-01 Thread Thibaut Cuvelier
commit 5c5765061fa1ce1b829c1b1dad05d3fc8d879079 Author: Thibaut Cuvelier Date: Fri Mar 1 13:45:28 2024 +0100 DocBook: amend e3020a6b. Book authorship and authorship can be quite distinct. As far as I know, there is no standard way to represent book authorship in DocBook

[LyX/master] DocBook: authorsToDocBookAuthorGroup never needs to return anything.

2024-03-01 Thread Thibaut Cuvelier
commit 3973bbcf9915ad16cdd7dec3c20bd2f722dfb52e Author: Thibaut Cuvelier Date: Fri Mar 1 13:32:17 2024 +0100 DocBook: authorsToDocBookAuthorGroup never needs to return anything. --- src/BiblioInfo.cpp | 11 +-- src/BiblioInfo.h | 2 +- 2 files changed, 6 insertions(+), 7

[LyX/master] DocBook: support bookauthor in bibliographies.

2024-03-01 Thread Thibaut Cuvelier
commit e3020a6b2d240d0e1ae2aec8dfd754f6cd64dee1 Author: Thibaut Cuvelier Date: Fri Mar 1 12:55:40 2024 +0100 DocBook: support bookauthor in bibliographies. --- autotests/export/docbook/basic.bib | 11 +++ autotests/export/docbook/basic.lyx | 2 +- autotests/export/docbook

[LyX/master] Amend 8e0bc01d

2024-02-26 Thread Thibaut Cuvelier
commit 27c01ee1d37e979f044329bcf07b9e910ed2b7ad Author: Thibaut Cuvelier Date: Tue Feb 27 00:45:10 2024 +0100 Amend 8e0bc01d std::set::find only appeared in C++20. Rather use std::set::find for compatibility. --- src/insets/InsetBibtex.cpp | 2 +- 1 file changed, 1 insertion

[LyX/master] DocBook: in a table, fix a typo in a condition.

2024-02-26 Thread Thibaut Cuvelier
commit baccce7d2de92dcf57eb2afa8492e56a4805b1af Author: Thibaut Cuvelier Date: Mon Feb 26 16:09:26 2024 +0100 DocBook: in a table, fix a typo in a condition. Before this patch, all table cells had a semicolon at the beginning of their style: + Table 1 - + Table 2

[LyX/master] DocBook: when a similar tag is present multiple times in the bibliography entry, output it only once.

2024-02-26 Thread Thibaut Cuvelier
commit 8e0bc01d50fc7d7af454cb8bed4d098f85b3f73b Author: Thibaut Cuvelier Date: Mon Feb 26 16:04:22 2024 +0100 DocBook: when a similar tag is present multiple times in the bibliography entry, output it only once. Other copies have an error message. --- autotests/export/docbook

[LyX/master] DocBook: in bibliographies, fix support for editors.

2024-02-26 Thread Thibaut Cuvelier
commit 2be72a1534af143bda34b382189198667c10136b Author: Thibaut Cuvelier Date: Mon Feb 26 15:50:12 2024 +0100 DocBook: in bibliographies, fix support for editors. Also, add TODOs for similar problems lurking around. --- autotests/export/docbook/basic.xml | 57

[LyX/master] Use C++11 string literals to make code easier to read.

2024-02-26 Thread Thibaut Cuvelier
commit 6b1441036f35767c0b60af510222ba792b17b829 Author: Thibaut Cuvelier Date: Mon Feb 26 15:24:36 2024 +0100 Use C++11 string literals to make code easier to read. --- src/insets/InsetIndex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets

[LyX/master] DocBook: restore index ranges.

2024-02-26 Thread Thibaut Cuvelier
commit 3fdf3aafe8a2da25c10152c97e6e7824ace42e96 Author: Thibaut Cuvelier Date: Mon Feb 26 15:15:32 2024 +0100 DocBook: restore index ranges. --- src/insets/InsetIndex.cpp | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets

[LyX/master] DocBook: simplify building an error message.

2024-02-26 Thread Thibaut Cuvelier
commit 5dd36404f2234395aa709f3723607a485e464dbb Author: Thibaut Cuvelier Date: Mon Feb 26 15:09:10 2024 +0100 DocBook: simplify building an error message. --- src/insets/InsetIndex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetIndex.cpp b/src

[LyX/master] DocBook: update bibliography handling for 337f9534260.

2024-02-26 Thread Thibaut Cuvelier
commit c71f7039148ba112ed3d0e56b19bce063a04323a Author: Thibaut Cuvelier Date: Mon Feb 26 14:36:01 2024 +0100 DocBook: update bibliography handling for 337f9534260. --- autotests/export/docbook/basic.lyx | 129 - src/insets/InsetBibtex.cpp | 8

[LyX/master] Update comment: a function was renamed.

2024-02-25 Thread Thibaut Cuvelier
commit e311606a30d0cbc3603a0187f68dd6a44fd402cd Author: Thibaut Cuvelier Date: Mon Feb 26 02:17:48 2024 +0100 Update comment: a function was renamed. --- src/insets/InsetBibitem.cpp | 2 +- src/output_docbook.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[LyX/master] InsetMathHull: add a missing const (plus strange indentation fixed).

2023-01-21 Thread Thibaut Cuvelier
commit fca8e542890c841ac95209c7714c591308372491 Author: Thibaut Cuvelier Date: Sun Jan 22 02:45:25 2023 +0100 InsetMathHull: add a missing const (plus strange indentation fixed). --- src/mathed/InsetMathHull.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[LyX/master] InsetMathHull: replace 0 by nullptr.

2023-01-21 Thread Thibaut Cuvelier
commit e7d57338b955a60b26cc60e9674d4b5937f37169 Author: Thibaut Cuvelier Date: Sun Jan 22 01:25:03 2023 +0100 InsetMathHull: replace 0 by nullptr. --- src/mathed/InsetMathHull.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mathed

[LyX/master] MathML: make InsetMathHull::mathmlize easier to read while doing less work

2023-01-21 Thread Thibaut Cuvelier
commit d066a66a51b423ece3588198b6d29a9a67ac49b5 Author: Thibaut Cuvelier Date: Sun Jan 22 01:49:03 2023 +0100 MathML: make InsetMathHull::mathmlize easier to read while doing less work If `havetable == true`, a lot of the code didn't make any sense: in particular, i

[LyX/master] MathML: remove useless code

2023-01-19 Thread Thibaut Cuvelier
commit 5f7c26fbe52e2a55039996ad267e553dabbe9aa9 Author: Thibaut Cuvelier Date: Fri Jan 20 02:19:33 2023 +0100 MathML: remove useless code Contributed by lynx: https://www.lyx.org/trac/ticket/12629 --- src/mathed/InsetMathChar.cpp |2 -- 1 files changed, 0 insertions(+), 2

[LyX/master] MathML: use standard {M/E}Tag{, Inline} instead of bespoke constructs

2023-01-19 Thread Thibaut Cuvelier
commit bf0da33c9a0af098fd9c4f1bd96bc8cb964ab878 Author: Thibaut Cuvelier Date: Fri Jan 20 02:21:27 2023 +0100 MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs Also, replace lspace='thinmathspace' by constructs that are not deprecated. Cont

[LyX/master] MathML: improve formatting of formula in XHTML hull

2023-01-19 Thread Thibaut Cuvelier
commit f9fd652aae3634f6eb3739b372811d1e7d6558f8 Author: Thibaut Cuvelier Date: Fri Jan 20 02:42:07 2023 +0100 MathML: improve formatting of formula in XHTML hull Contributed by lynx: https://www.lyx.org/trac/ticket/12629 --- src/mathed/InsetMathHull.cpp | 20

[LyX/master] MathML: replace HTML entities with XML ones in more places

2023-01-19 Thread Thibaut Cuvelier
commit 66fab7038831874ab2466e60d094287e4fb8901a Author: Thibaut Cuvelier Date: Fri Jan 20 02:25:08 2023 +0100 MathML: replace HTML entities with XML ones in more places This part should have been committed with bc73a857 in the first place. --- src/mathed/InsetMathExInt.cpp |4

[LyX/master] MathML: remove extraneous in fractions

2023-01-19 Thread Thibaut Cuvelier
commit 0c227d3dfa48500d4889f8a39f627a7db8ad5666 Author: Thibaut Cuvelier Date: Fri Jan 20 02:30:35 2023 +0100 MathML: remove extraneous in fractions Contributed by lynx: https://www.lyx.org/trac/ticket/12629 --- src/mathed/InsetMathFrac.cpp |4 ++-- 1 files changed, 2

[LyX/master] MathML in HTML: in case of conversion failure, add a comment

2023-01-19 Thread Thibaut Cuvelier
commit 598c6a0a879f604703f7fd9ce5d6a3fd03c983ef Author: Thibaut Cuvelier Date: Fri Jan 20 02:45:20 2023 +0100 MathML in HTML: in case of conversion failure, add a comment --- src/mathed/InsetMathHull.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src

[LyX/master] LyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is generating XML-compatible HTML, i.e. XHTML5).

2023-01-10 Thread Thibaut Cuvelier
commit 861af2b84f8e094a58f84112554e3f21ab78e05f Author: Thibaut Cuvelier Date: Wed Jan 11 01:12:22 2023 +0100 LyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is generating XML-compatible HTML, i.e. XHTML5). --- src/Buffer.cpp |4 +--- 1 files changed, 1

[LyX/master] InsetTabular LyXHTML: fix wrong escape.

2023-01-10 Thread Thibaut Cuvelier
commit fb70f89983c8ca3d263ce6e73f058c3fb2f41c8f Author: Thibaut Cuvelier Date: Wed Jan 11 00:26:28 2023 +0100 InsetTabular LyXHTML: fix wrong escape. --- src/insets/InsetTabular.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/insets/InsetTabular.cpp b/src

[LyX/master] KOMA Book: fix HTML validation issues.

2023-01-10 Thread Thibaut Cuvelier
commit 65a9a2ac11be413273b3b0e0c4b8382a52b568a8 Author: Thibaut Cuvelier Date: Wed Jan 11 00:21:23 2023 +0100 KOMA Book: fix HTML validation issues. Some elements had a title, while only one such title is expected per page. --- lib/layouts/scrbook.layout |6 -- 1 files

[LyX/master] Export tests: use a better function name.

2023-01-09 Thread Thibaut Cuvelier
commit 253d532974791d7606401590ad38f9641e26d127 Author: Thibaut Cuvelier Date: Mon Jan 9 04:19:51 2023 +0100 Export tests: use a better function name. --- development/autotests/export.cmake |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/development/autotests

[LyX/master] Simplify simplehtml_validity.py

2023-01-09 Thread Thibaut Cuvelier
commit fa5b08e24d398cb76049f2962ae171485f480133 Author: Thibaut Cuvelier Date: Mon Jan 9 04:16:34 2023 +0100 Simplify simplehtml_validity.py --- development/autotests/simplehtml_validity.py | 19 +++ 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a

[LyX/master] LyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like most attributes for td).

2023-01-08 Thread Thibaut Cuvelier
commit 9ae793c6070cf31acd2e8f531b184fd6fc4a9279 Author: Thibaut Cuvelier Date: Mon Jan 9 01:50:05 2023 +0100 LyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like most attributes for td). Also implement alignment at character in CSS. --- src/insets

[LyX/master] LyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like most attributes for td).

2023-01-08 Thread Thibaut Cuvelier
commit 1f370a33536008c80c8e363a8097a9daef772c65 Author: Thibaut Cuvelier Date: Mon Jan 9 01:50:05 2023 +0100 LyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like most attributes for td). Also implement alignment at character in CSS. --- src/insets

[LyX/master] InsetMathBox: remove debugging code.

2023-01-08 Thread Thibaut Cuvelier
commit 1b09bc965d2013a75ab7dc2b5416a1ce0d883c90 Author: Thibaut Cuvelier Date: Mon Jan 9 01:11:52 2023 +0100 InsetMathBox: remove debugging code. --- src/mathed/InsetMathBox.cpp |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathBox.cpp b/src

[LyX/master] Amend 2d56c01dcfaf04744ab6d854af3965919cc07b82

2023-01-08 Thread Thibaut Cuvelier
commit 24cda9e94a4b7306fe8852f3e94200ba617d2452 Author: Thibaut Cuvelier Date: Sun Jan 8 22:51:01 2023 +0100 Amend 2d56c01dcfaf04744ab6d854af3965919cc07b82 --- src/insets/InsetIndex.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/insets/InsetIndex.cpp b

[LyX/master] InsetIndex: make a condition more bullet-proof, a nullptr could be dereferenced.

2023-01-08 Thread Thibaut Cuvelier
commit 2d56c01dcfaf04744ab6d854af3965919cc07b82 Author: Thibaut Cuvelier Date: Sun Jan 8 22:19:39 2023 +0100 InsetIndex: make a condition more bullet-proof, a nullptr could be dereferenced. Error noticed by Coverity: *** CID 382777: Memory - illegal accesses

[LyX/master] InsetIndex: remove unused code that created Coverity errors.

2023-01-08 Thread Thibaut Cuvelier
commit b42269f065f6b7705f6cc8e26dda638f07ff363a Author: Thibaut Cuvelier Date: Sun Jan 8 22:17:02 2023 +0100 InsetIndex: remove unused code that created Coverity errors. --- src/insets/InsetIndex.cpp | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/src

[LyX/master] InsetIndex: add a missing destructor for IndexNode and call it from xhtml() to avoid leaking resources.

2023-01-08 Thread Thibaut Cuvelier
commit 6e4cf808da4ea846d0f5195d0d684daf4912af43 Author: Thibaut Cuvelier Date: Sun Jan 8 22:03:26 2023 +0100 InsetIndex: add a missing destructor for IndexNode and call it from xhtml() to avoid leaking resources. Corresponding Coverity finding: ** CID 382778: Resource

[LyX/master] InsetMathBox: split the boxed text into and other tags, while boxing the whole inset within an .

2023-01-07 Thread Thibaut Cuvelier
commit e70cdfd3a222f12ab25a8c7296b180018bc06381 Author: Thibaut Cuvelier Date: Sun Jan 8 02:27:36 2023 +0100 InsetMathBox: split the boxed text into and other tags, while boxing the whole inset within an . Rationales: - previously, was used, but it's being deprecate

[LyX/master] MathML test case: fix a typo.

2023-01-07 Thread Thibaut Cuvelier
commit 4412fdf09aa8afe0a53e9380c2bc5a2815d04b03 Author: Thibaut Cuvelier Date: Sun Jan 8 00:50:18 2023 +0100 MathML test case: fix a typo. It was bugging me when looking at XHTML output: I was wondering if LyX was doing anything weird about ligatures! Hopefully not

[LyX/master] MathML: convert InsetMathBox as .

2023-01-07 Thread Thibaut Cuvelier
commit edcaad2419b70ef1bd96bb1b117b9818187679ba Author: Thibaut Cuvelier Date: Sun Jan 8 00:50:06 2023 +0100 MathML: convert InsetMathBox as . The inset represents text (as opposed to maths in formulae). is used to give style to its children, it is not supposed to have any

[LyX/master] InsetMathBox: fix strange indentation (mix of spaces and tabs).

2023-01-07 Thread Thibaut Cuvelier
commit d3c81eb2cbdf1c233042c35fe493cc789cc93647 Author: Thibaut Cuvelier Date: Sun Jan 8 00:51:43 2023 +0100 InsetMathBox: fix strange indentation (mix of spaces and tabs). --- src/mathed/InsetMathBox.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mathed

[LyX/master] LyXHTML validation tests: explicitly exit the Python script if it fails

2023-01-07 Thread Thibaut Cuvelier
commit 0f8951e7089013e68e47daa148dccfcca7f692fd Author: Thibaut Cuvelier Date: Sat Jan 7 21:27:50 2023 +0100 LyXHTML validation tests: explicitly exit the Python script if it fails --- .../thorough_export_tests/lyxhtml_validity.py |3 +++ 1 files changed, 3 insertions(+), 0

[LyX/master] LyXHTML: use a lower-case meta for generator, this is the most common convention.

2023-01-07 Thread Thibaut Cuvelier
commit 6a3bd6403277c5a2fd7cc93f88f1ed7e7d492145 Author: Thibaut Cuvelier Date: Sat Jan 7 16:24:57 2023 +0100 LyXHTML: use a lower-case meta for generator, this is the most common convention. --- src/Buffer.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src

[LyX/master] LyXHTML: add a missing space in the content-type annotation.

2023-01-07 Thread Thibaut Cuvelier
commit a5c6215ebde966f2e33b51706fe4356cd52dde40 Author: Thibaut Cuvelier Date: Sat Jan 7 16:23:56 2023 +0100 LyXHTML: add a missing space in the content-type annotation. --- src/Buffer.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Buffer.cpp b/src

[LyX/master] LyXHTML: remove the double specification of charset.

2023-01-06 Thread Thibaut Cuvelier
commit fd2078f3aa55d61e68c1996c31b7ad3f63fea39a Author: Thibaut Cuvelier Date: Sat Jan 7 03:34:58 2023 +0100 LyXHTML: remove the double specification of charset. The choice of content-type is arbitrary. --- src/Buffer.cpp |1 - 1 files changed, 0 insertions(+), 1 deletions

[LyX/master] LyXHTML and DocBook: encode language codes as BCP47.

2023-01-06 Thread Thibaut Cuvelier
commit 26e6b1c20940fc766c4eadbd64563f0da1880908 Author: Thibaut Cuvelier Date: Sat Jan 7 03:31:40 2023 +0100 LyXHTML and DocBook: encode language codes as BCP47. --- src/Buffer.cpp | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/Buffer.cpp b

[LyX/master] LyXHTML: add explicit HTMLTag for titles.

2023-01-06 Thread Thibaut Cuvelier
commit 051c5f27284f00c20e95c5732bcfb04632c7cb18 Author: Thibaut Cuvelier Date: Sat Jan 7 03:59:22 2023 +0100 LyXHTML: add explicit HTMLTag for titles. This way, LyX can generate semantic tags instead of a generic . --- lib/layouts/beamer.layout|4 lib/layouts

[LyX/master] LyXHTML: don't explicitly mention that the style is CSS, HTML5 doesn't like it.

2023-01-06 Thread Thibaut Cuvelier
commit fb4a26577e9f1149e78bd500447ce061445bd708 Author: Thibaut Cuvelier Date: Sat Jan 7 03:42:11 2023 +0100 LyXHTML: don't explicitly mention that the style is CSS, HTML5 doesn't like it. --- src/Buffer.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff -

[LyX/master] LyXHTML: use a value of font-weight that makes sense instead of a nonexistent medium.

2023-01-06 Thread Thibaut Cuvelier
commit 4c1f9d1161d91acfdd982ce16f6ed7b0c6defe63 Author: Thibaut Cuvelier Date: Sat Jan 7 03:40:27 2023 +0100 LyXHTML: use a value of font-weight that makes sense instead of a nonexistent medium. --- lib/layouts/stdinsets.inc |6 +++--- 1 files changed, 3 insertions(+), 3 deletions

[LyX/master] LyXHTML: fix the content-type attribute, it must be lower case (enforced for HTML5).

2023-01-06 Thread Thibaut Cuvelier
commit cabb12ba51de713d5162ed2ef956d71b3974acc0 Author: Thibaut Cuvelier Date: Sat Jan 7 03:33:48 2023 +0100 LyXHTML: fix the content-type attribute, it must be lower case (enforced for HTML5). --- src/Buffer.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[LyX/master] Amend 16a1aa99

2023-01-06 Thread Thibaut Cuvelier
commit 96023697f5efa4d3414bdfeb1dab3200057ba1cb Author: Thibaut Cuvelier Date: Sat Jan 7 03:05:55 2023 +0100 Amend 16a1aa99 With the current settings, a theorem with several paragraphs will have several wrapper tags (i.e. two ``, with one paragraph each, one next to the other

[LyX/master] Make formatting of DocBook changes more similar to surrounding code.

2023-01-06 Thread Thibaut Cuvelier
commit 3cf8ced72ede681a61918d69ffe2c8d8a1dc4e19 Author: Thibaut Cuvelier Date: Sat Jan 7 02:56:40 2023 +0100 Make formatting of DocBook changes more similar to surrounding code. Spaces between if and condition. --- src/Layout.cpp | 48

[LyX/master] Revert "New Theorems Module. Contributed by Udicoudco on the mailing list. Rebased on top of master."

2022-12-31 Thread Thibaut Cuvelier
commit 017588973f773fcb9b17262902e73c76de3c8152 Author: Thibaut Cuvelier Date: Sat Dec 31 11:28:56 2022 +0100 Revert "New Theorems Module. Contributed by Udicoudco on the mailing list. Rebased on top of master." This reve

[LyX/master] New Theorems Module. Contributed by Udicoudco on the mailing list. Rebased on top of master.

2022-12-30 Thread Thibaut Cuvelier
commit 42c2a25fb873727d87ce753b3a3ac4e913e36fe0 Author: Thibaut Cuvelier Date: Sat Dec 31 01:47:37 2022 +0100 New Theorems Module. Contributed by Udicoudco on the mailing list. Rebased on top of master. I've modified all the non-AMS theorem modules so they wou

[LyX/master] Amend febd1855eb: fix compilability

2022-12-28 Thread Thibaut Cuvelier
commit 7a67302c01c9c8a08def90038cfbea1474c06151 Author: Thibaut Cuvelier Date: Wed Dec 28 12:57:25 2022 +0100 Amend febd1855eb: fix compilability --- src/tests/dummy_functions.cpp |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/tests/dummy_functions.cpp b/src

[LyX/master] Fix a typo in a comment

2022-12-27 Thread Thibaut Cuvelier
commit 4aeba17895cac6fa2e563f315eb7292eb508271f Author: Thibaut Cuvelier Date: Wed Dec 28 02:32:05 2022 +0100 Fix a typo in a comment --- src/tex2lyx/dummy_impl.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tex2lyx/dummy_impl.cpp b/src/tex2lyx

[LyX/master] Amend febd1855eb: fix compilability of tex2lyx

2022-12-27 Thread Thibaut Cuvelier
commit 8b5bfa971bc9b3f2e49b48f25a2a2fee03004016 Author: Thibaut Cuvelier Date: Wed Dec 28 02:33:11 2022 +0100 Amend febd1855eb: fix compilability of tex2lyx --- src/tex2lyx/dummy_impl.cpp |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/tex2lyx/dummy_impl.cpp

[LyX/master] XML: overhaul the tag-comparison operators.

2022-12-27 Thread Thibaut Cuvelier
commit febd1855eba8cd73f7e37790ead78a66378326ab Author: Thibaut Cuvelier Date: Tue Dec 27 16:52:51 2022 +0100 XML: overhaul the tag-comparison operators. First and foremost, this patch implements the latest best practices in C++ (i.e. comparison operators are not member functions

[LyX/master] DocBookGenerateTitle: update all layouts.

2022-12-27 Thread Thibaut Cuvelier
commit 0af5fbcc0e47d1e4ea9a2ec87465c152e4a9d819 Author: Thibaut Cuvelier Date: Fri Dec 23 02:26:52 2022 +0100 DocBookGenerateTitle: update all layouts. lib/citeengines/basic.citeengine |2 +- lib/citeengines/biblatex-natbib.citeengine |2 +- lib

[LyX/master] DocBook: add support for DocBookGenerateTitle.

2022-12-27 Thread Thibaut Cuvelier
commit 16a1aa9901adc1f91671499b39565f9bccc2e644 Author: Thibaut Cuvelier Date: Thu Dec 22 04:38:36 2022 +0100 DocBook: add support for DocBookGenerateTitle. The new parameter allows more flexibility when encoding some elements that have a poor mapping in DocBook, like theorems

[LyX/master] layout2layout: remove unused regex.

2022-12-27 Thread Thibaut Cuvelier
commit 7f5c917c71b97c880d333c6de5ed0af86ff6 Author: Thibaut Cuvelier Date: Tue Dec 27 03:21:29 2022 +0100 layout2layout: remove unused regex. --- lib/scripts/layout2layout.py |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/scripts/layout2layout.py b/lib

[LyX/master] DocBook: for computing font changes, simplify code by removing state evolution from iteration to iteration. This surely makes the code slightly slower (although the compiler should be sma

2022-12-26 Thread Thibaut Cuvelier
commit ed7072985e6a76a8013ea670728fc40e6359c723 Author: Thibaut Cuvelier Date: Mon Dec 26 02:45:03 2022 +0100 DocBook: for computing font changes, simplify code by removing state evolution from iteration to iteration. This surely makes the code slightly slower (although the compiler

[LyX/master] DocBook: add some TODOs for the future.

2022-12-26 Thread Thibaut Cuvelier
commit 2b03f0a2c1d9becc3261a97fecd3aab8f6e518c6 Author: Thibaut Cuvelier Date: Tue Dec 27 00:02:30 2022 +0100 DocBook: add some TODOs for the future. --- src/output_docbook.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/output_docbook.h b/src

[LyX/master] layout2layout: improve coding style.

2022-12-26 Thread Thibaut Cuvelier
commit 55ccae72d4c93e95caf9c2424eb85e5be5dd7650 Author: Thibaut Cuvelier Date: Mon Dec 26 21:21:52 2022 +0100 layout2layout: improve coding style. Useless parentheses (not helping with readability either) and semicolon. Redo indentation to be consistent throughout the file. Also

[LyX/master] Add comments about variable usage.

2022-12-26 Thread Thibaut Cuvelier
commit e3eddd4cf9f63b365846ceba162a6f2b7505051b Author: Thibaut Cuvelier Date: Mon Dec 26 02:44:57 2022 +0100 Add comments about variable usage. --- src/Paragraph.cpp | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp

[LyX/master] Fix a typo in a comment.

2022-12-26 Thread Thibaut Cuvelier
commit 8b6ec979ff26f36062f4cad07cce0c11a4583c6b Author: Thibaut Cuvelier Date: Mon Dec 26 02:44:29 2022 +0100 Fix a typo in a comment. --- src/Paragraph.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index e2338ba

[LyX/master] InsetIPAMacro: implement the XHTML conversion, refactor plaintext and DocBook to share more code.

2022-12-26 Thread Thibaut Cuvelier
commit b2fdc04f9638c7def8f74f0af1c3e480431b28a6 Author: Thibaut Cuvelier Date: Mon Dec 26 20:50:48 2022 +0100 InsetIPAMacro: implement the XHTML conversion, refactor plaintext and DocBook to share more code. --- src/insets/InsetIPAMacro.cpp | 37 - 1

[LyX/master] InsetMathExFunc: use XML entities instead of HTML in MathML.

2022-12-26 Thread Thibaut Cuvelier
commit 3839897c0fcaa5b2275d05d901a517610331f304 Author: Thibaut Cuvelier Date: Mon Dec 26 20:38:06 2022 +0100 InsetMathExFunc: use XML entities instead of HTML in MathML. This part should have been committed with bc73a857 in the first place. --- src/mathed/InsetMathExFunc.cpp

[LyX/master] InsetMathSpace: use XML entities instead of HTML in MathML.

2022-12-26 Thread Thibaut Cuvelier
commit 9b80a5ba9e1d072daa9ec3fd3e6470e5460db1f4 Author: Thibaut Cuvelier Date: Mon Dec 26 20:35:26 2022 +0100 InsetMathSpace: use XML entities instead of HTML in MathML. This part should have been committed with bc73a857 in the first place. --- src/mathed/InsetMathSpace.cpp

  1   2   3   4   5   6   7   >