Re: Regressions in 2.4 xhtml export [was: TESTING Tarballs for 2.4.0]

2024-05-20 Thread Thibaut Cuvelier
On Mon, 20 May 2024 at 15:50, Pavel Sanda wrote: > On Mon, May 20, 2024 at 03:24:30AM +0200, Thibaut Cuvelier wrote: > > > InsetInfo shortcuts export to xhtml is borken compared to 2.3. > > > > > > In 2.3 we exported: Ctrl+N > > > In 2.4 we expor:

[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 guide

[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 numbered equ

[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

[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 operators, use

[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/mathed

[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

[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

Re: Layout file format change proposal

2024-03-28 Thread Thibaut Cuvelier
On Thu, 28 Mar 2024 at 12:41, Lorenzo Bertini wrote: > Il giorno gio 28 mar 2024 alle ore 11:40 José Matos > ha scritto: > > > > On Wed, 2024-03-27 at 11:02 -0400, Scott Kostyshak wrote: > > > Cool idea, Lorenzo! There have been some discussions in the past on > > > using standard formats, even

[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 numbered equ

[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

[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 operators, use

[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/mathed

[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

[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

Re: DocBook tests failing AASTeX changes

2024-03-09 Thread Thibaut Cuvelier
On Fri, 8 Mar 2024 at 19:01, Scott Kostyshak wrote: > On Fri, Mar 08, 2024 at 06:58:35PM +0100, Thibaut Cuvelier wrote: > > On Fri, 8 Mar 2024 at 18:39, Scott Kostyshak wrote: > > > > > I get 2 out of 3 failing tests with the following: > > > > > >

[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

Re: Fwd: DocBook test now failing on master

2024-02-26 Thread Thibaut Cuvelier
On Mon, 26 Feb 2024 at 16:00, Scott Kostyshak wrote: > On Mon, Feb 26, 2024 at 03:07:12PM +0100, Thibaut Cuvelier wrote: > > On Mon, 26 Feb 2024 at 10:46, wrote: > > > > > Thank you so much, Thibaut. > > > > > > Could you send the patch to lyx-devel, s

[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

Re: LYX 2.4 RC1 — Unable to export a Lyx archive (zip)

2024-01-30 Thread Thibaut Cuvelier
On Tue, 30 Jan 2024 at 19:27, Enrico Forestieri wrote: > On Sun, Jan 28, 2024 at 12:59:12AM +0100, Enrico Forestieri wrote: > > > >On Sat, Jan 27, 2024 at 10:09:05PM +, José Matos wrote: > >> > >>On Sat, 2024-01-27 at 20:49 +0100, didiergab...@free.fr wrote: > >>>20:37:37.977: Exportation en

Re: Graphics Conversion

2024-01-23 Thread Thibaut Cuvelier
On Tue, 23 Jan 2024 at 18:35, Pavel Sanda wrote: > On Tue, Jan 23, 2024 at 11:58:54AM -0500, Richard Kimberly Heck wrote: > > pdftoppm -r 72 -png -singlefile $$i > $$o > > This is new route in 2.4 which can be used to avoid IM problems in linux. > We perhaps triggerred unnecessary problems

Re: RC1: Unable to read files with accents in names on Windows

2024-01-22 Thread Thibaut Cuvelier
On Mon, 22 Jan 2024 at 23:53, Thibaut Cuvelier wrote: > On Mon, 22 Jan 2024 at 23:00, Richard Kimberly Heck > wrote: > >> On 1/22/24 16:53, didiergab...@free.fr wrote: >> >> I also realize that I can no longer load images whose names contain accents. >> In

Fwd: New Defects reported by Coverity Scan for LyX

2023-10-25 Thread Thibaut Cuvelier
-- Forwarded message - From: Thibaut Cuvelier Date: Thu, 26 Oct 2023, 03:35 Subject: Fwd: New Defects reported by Coverity Scan for LyX To: LyX Developers Dear list, I am attaching a patch that fixes two Coverity warnings. Could anyone commit this to the Git repo (given I

Re: Big number of inverted docbook5 tests

2023-10-12 Thread Thibaut Cuvelier
On Thu, 12 Oct 2023, 11:11 Kornel Benko, wrote: > > Master trunk as of today: > I count 406 tests for docbook5. 149 of them are inverted. > Thibaut, is there a reason for such a huge ratio? There are two major reasons. - Many tests are for Beamer: someone would need to write the layouts for

Re: [PATCH] Added some options to configure.py allowing for faster partial-reconfigures.

2023-10-11 Thread Thibaut Cuvelier
On Wed, 11 Oct 2023 at 11:03, Pavel Sanda wrote: > On Tue, Oct 10, 2023 at 02:38:01PM +0200, Jürgen Spitzmüller wrote: > >> 4) *lot* of latex packages > > All we query is needed for something for sure. > > Let's stick with point 4. > > By *needed* you mean that we have e.g. some specific feature

Re: [LyX/master] ctest: invert es/Intro_docbook5

2023-10-08 Thread Thibaut Cuvelier
On Sun, 8 Oct 2023 at 21:35, Thibaut Cuvelier wrote: > On Sun, 8 Oct 2023 at 17:05, Scott Kostyshak wrote: > >> On Sun, Oct 08, 2023 at 02:48:45PM +0200, Thibaut Cuvelier wrote: >> > Just a quick amendment to a previous patch (#1 in the series): there >>

Re: [LyX/master] ctest: invert es/Intro_docbook5

2023-10-08 Thread Thibaut Cuvelier
On Sun, 8 Oct 2023 at 17:05, Scott Kostyshak wrote: > On Sun, Oct 08, 2023 at 02:48:45PM +0200, Thibaut Cuvelier wrote: > > Just a quick amendment to a previous patch (#1 in the series): there was > a > > quite big typo there... It should solve the largest issue with the newl

Re: [LyX/master] ctest: invert es/Intro_docbook5

2023-10-08 Thread Thibaut Cuvelier
Just a quick amendment to a previous patch (#1 in the series): there was a quite big typo there... It should solve the largest issue with the newly failing test, but not all. I'm having a look at this test to improve the situation a bit more. Thibaut Cuvelier On Sun, 8 Oct 2023 at 04:23, Scott

Re: [LyX/master] ctest: invert es/Intro_docbook5

2023-10-07 Thread Thibaut Cuvelier
believe the test could be uninverted). Let me know if you find more issues! Could someone please check this in the Git repository? Thanks! From 0cef99615a371fb5b794091553dd29ec91a2de6f Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 8 Oct 2023 01:20:14 +0200 Subject: [PATCH 1/3] DocBook

Re: ctest ca/Intro_docbook5 now failing

2023-09-24 Thread Thibaut Cuvelier
On Mon, 18 Sept 2023 at 02:43, Thibaut Cuvelier wrote: > On Thu, 14 Sept 2023 at 02:35, Scott Kostyshak wrote: > >> On Wed, Sep 06, 2023 at 11:52:49PM -0400, Scott Kostyshak wrote: >> > Recently (I think due to the ca/Intro changes) the following test >> started to f

Re: ctest ca/Intro_docbook5 now failing

2023-09-17 Thread Thibaut Cuvelier
On Thu, 14 Sept 2023 at 02:35, Scott Kostyshak wrote: > On Wed, Sep 06, 2023 at 11:52:49PM -0400, Scott Kostyshak wrote: > > Recently (I think due to the ca/Intro changes) the following test > started to fail: > > > > export/doc/ca/Intro_docbook5 > > > > Thibaut, can you take a look? I'm

Re: Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5

2023-09-15 Thread Thibaut Cuvelier
On Fri, 15 Sept 2023 at 11:36, Jürgen Spitzmüller wrote: > Am Freitag, dem 15.09.2023 um 10:45 +0200 schrieb Léo de Souza: > > 1. Create new document: File > New > > 2. Insert label: Insert > Label... > > 3. On a new line, switch layout to "Labeling" or "Description" > > 4. Insert

Re: [DocBook] Re: [LyX/master] Use master buffer setting when exporting

2023-08-18 Thread Thibaut Cuvelier
On Sat, 19 Aug 2023 at 01:28, Richard Kimberly Heck wrote: > On 8/18/23 18:09, Richard Kimberly Heck wrote: > > commit 784a7210baf6b0c610c04d507e08855bb233565e > > Author: Richard Kimberly Heck > > Date: Fri Aug 18 19:17:05 2023 -0400 > > > > Use master buffer setting when exporting > >

Re: Beta 3 On FTP Now

2023-07-31 Thread Thibaut Cuvelier
On Tue, 4 Jul 2023 at 00:02, Pavel Sanda wrote: > On Mon, Jul 03, 2023 at 10:53:52PM +0200, Pavel Sanda wrote: > > please can you have a look on few 2.4 related bugs: > > https://www.lyx.org/trac/ticket/12786 > > https://www.lyx.org/trac/ticket/12803 > > https://www.lyx.org/trac/ticket/10364 > >

Re: [PATCH] Is there a reason for not using macros with arguments in lib/symbols?

2023-07-26 Thread Thibaut Cuvelier
om 4c868a476eca6cad8b7a9db29e560e27f4ceb579 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Thu, 27 Jul 2023 02:43:56 +0200 Subject: [PATCH] MathML: implement InsetMathClass. Before this patch, each character within InsetMathClass was output separately, without understanding their meani

Re: [PATCH] Is there a reason for not using macros with arguments in lib/symbols?

2023-07-18 Thread Thibaut Cuvelier
On Tue, 18 Jul 2023 at 16:55, Jean-Marc Lasgouttes wrote: > Le 18/07/2023 à 16:47, Thibaut Cuvelier a écrit : > > On Tue, 18 Jul 2023 at 16:04, Jean-Marc Lasgouttes > <mailto:lasgout...@lyx.org>> wrote: > > > > Le 18/07/2023 à 15:54, Thibaut Cuvelier a éc

Re: [PATCH] Is there a reason for not using macros with arguments in lib/symbols?

2023-07-18 Thread Thibaut Cuvelier
On Tue, 18 Jul 2023 at 16:04, Jean-Marc Lasgouttes wrote: > Le 18/07/2023 à 15:54, Thibaut Cuvelier a écrit : > > Also, we already have macros with parameters: > > https://github.com/cburschka/lyx/blob/master/lib/symbols#L1223 > > <https://github.com/cburschka/lyx/blob/

Re: [PATCH] Is there a reason for not using macros with arguments in lib/symbols?

2023-07-18 Thread Thibaut Cuvelier
On Tue, 18 Jul 2023 at 15:45, Jean-Marc Lasgouttes wrote: > Le 18/07/2023 à 15:36, Thibaut Cuvelier a écrit : > > For the symbols in your patch, yes, export is currently broken, but it's > > fixable. > > I think it would still be fixable in the future with macros,

Re: [PATCH] Is there a reason for not using macros with arguments in lib/symbols?

2023-07-18 Thread Thibaut Cuvelier
On Tue, 18 Jul 2023 at 15:11, Jean-Marc Lasgouttes wrote: > Hello, > > In the attached patch, I am able to support the mod/bmod/pmod/pod macros > by just defining them in lib/symbols with an argument. > > The result is a more pleasing editing process (IMO) and a simplification > of the

Re: Windows Dark Mode and "fusion" style

2023-07-07 Thread Thibaut Cuvelier
On Fri, 7 Jul 2023 at 10:13, Yu Jin wrote: > Am Fr., 7. Juli 2023 um 04:37 Uhr schrieb Thibaut Cuvelier: > >> I'm having an issue with your patch: QStyle::name has only been added in >> Qt 6.1 (https://doc.qt.io/qt-6/qstyle.html#name). I believe >> QObject::objectName

Re: Windows Dark Mode and "fusion" style

2023-07-06 Thread Thibaut Cuvelier
patch. Side question: why is createApplication declared in Application.h but defined in GuiApplication.cpp? Thibaut Cuvelier On Fri, 7 Jul 2023 at 02:23, Thibaut Cuvelier wrote: > On Thu, 6 Jul 2023 at 10:34, Yu Jin wrote: > >> Am Do., 6. Juli 2023 um 03:47 Uhr schrieb Thib

Re: Windows Dark Mode and "fusion" style

2023-07-06 Thread Thibaut Cuvelier
On Thu, 6 Jul 2023 at 10:34, Yu Jin wrote: > Am Do., 6. Juli 2023 um 03:47 Uhr schrieb Thibaut Cuvelier: > >> On Wed, 5 Jul 2023 at 22:02, Enrico Forestieri wrote: >> >>> On Wed, Jul 05, 2023 at 08:42:21PM +0200, Pavel Sanda wrote: >>> > >>> >

Re: [docbook] The semantics of mediaobject

2023-04-05 Thread Thibaut Cuvelier
On Wed, 5 Apr 2023 at 22:32, Peter Flynn wrote: > On 05/04/2023 17:27, Norm Tovey-Walsh wrote: > > The description of mediaobject states: > > > >This element contains a set of alternative “media objects.” Exactly > >one object will be selected and rendered. … Under no circumstances > >

Re: Include Python3 in the Windows installer

2023-03-11 Thread Thibaut Cuvelier
On Sun, 12 Mar 2023 at 03:25, Richard Kimberly Heck wrote: > On 3/11/23 20:18, Thibaut Cuvelier wrote: > > On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck > wrote: > >> On 3/11/23 03:22, Yu Jin wrote: >> > So what would you say? Is pywin32 needed or do I

Re: Include Python3 in the Windows installer

2023-03-11 Thread Thibaut Cuvelier
On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck wrote: > On 3/11/23 03:22, Yu Jin wrote: > > 2. The python package gets significantly larger (50MB vs 18MB unzipped) > and also the LyX installer itself when finished (65MB vs. 55MB). > > Not a big deal either. > LyX will still be far from

[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

[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

[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. Contributed

[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: 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: 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

Re: Using lyxhtml_validity.py

2023-01-14 Thread Thibaut Cuvelier
On Fri, 13 Jan 2023 at 17:29, Scott Kostyshak wrote: > On Wed, Jan 11, 2023 at 06:55:11AM +0100, Kornel Benko wrote: > > Am Wed, 11 Jan 2023 01:12:40 +0100 > > schrieb Thibaut Cuvelier : > > > > > > Still > > > > Error: Bad value "con

[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

Re: Embedded Objects xhtml tests failing due to xmllint

2023-01-10 Thread Thibaut Cuvelier
On Wed, 11 Jan 2023 at 00:15, Thibaut Cuvelier wrote: > On Tue, 10 Jan 2023 at 04:11, Scott Kostyshak wrote: > >> I'll paste the errors at the bottom of this message. Thibaut, is this >> related to recent work? >> > > It's highly likely, I'm having a look! &

[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

Re: Embedded Objects xhtml tests failing due to xmllint

2023-01-10 Thread Thibaut Cuvelier
On Tue, 10 Jan 2023 at 04:11, Scott Kostyshak wrote: > I'll paste the errors at the bottom of this message. Thibaut, is this > related to recent work? > It's highly likely, I'm having a look! -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

[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

Re: Using lyxhtml_validity.py

2023-01-08 Thread Thibaut Cuvelier
On Sun, 8 Jan 2023 at 17:11, Kornel Benko wrote: > Am Sun, 8 Jan 2023 10:57:40 -0500 > schrieb Scott Kostyshak : > > > > Same here. To disable the validity-check simply comment the line > > > development/autotests/export.cmake:335 > > > --> #check_xhtml_validate(${result_file_name})

Re: Using lyxhtml_validity.py

2023-01-08 Thread Thibaut Cuvelier
> > > Am Sun, 8 Jan 2023 09:37:03 -0500 > > > > schrieb Scott Kostyshak : > > > > > > > > > On Sun, Jan 08, 2023 at 09:30:43AM +0100, Kornel Benko wrote: > > > > > > Am Sun, 8 Jan 2023 00:59:34 +0100 > > > &

[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

Re: Using lyxhtml_validity.py

2023-01-08 Thread Thibaut Cuvelier
On Sun, 8 Jan 2023 at 09:31, Kornel Benko wrote: > Am Sun, 8 Jan 2023 00:59:34 +0100 > schrieb Thibaut Cuvelier : > > > On Sat, 7 Jan 2023 at 17:10, Kornel Benko wrote: > > > > > Am Sat, 7 Jan 2023 16:26:03 +0100 > > > schrieb Thibaut Cuvelier : &g

[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

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

2023-01-08 Thread Thibaut Cuvelier
On Sun, 8 Jan 2023 at 22:46, Jean-Marc Lasgouttes wrote: > Le 08/01/2023 à 22:39, Richard Kimberly Heck a écrit : > > On 1/8/23 15:21, Thibaut Cuvelier wrote: > >> commit 2d56c01dcfaf04744ab6d854af3965919cc07b82 > >> Author: Thibaut Cuvelier > >> D

[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

  1   2   3   4   5   6   7   8   9   10   >