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:

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

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

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

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

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

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! &

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

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 > > > &

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

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

Re: Using lyxhtml_validity.py

2023-01-07 Thread 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 : > > > > After your recent changes, the number of errors decreased :) > > > > > > I got now (for Tufte_Book.xhtml) > > > Error:

Re: Using lyxhtml_validity.py

2023-01-07 Thread Thibaut Cuvelier
On Sat, 7 Jan 2023 at 10:41, Kornel Benko wrote: > Am Sat, 7 Jan 2023 03:59:54 +0100 > schrieb Thibaut Cuvelier : > > > On Sat, 31 Dec 2022 at 10:37, Kornel Benko wrote: > > > > > Hi Thibaut, > > > I started to integrate (a modified) version of lyxhtml_val

Re: Using lyxhtml_validity.py

2023-01-06 Thread Thibaut Cuvelier
On Sat, 31 Dec 2022 at 10:37, Kornel Benko wrote: > Hi Thibaut, > I started to integrate (a modified) version of lyxhtml_validity.py. > But I am getting errors like in the attached. > Hi Kornel, It may very well be the latest patches I got for XHTML that trigger different code paths for the

Re: DocBook change: use a stack of fonts

2023-01-06 Thread Thibaut Cuvelier
On Sun, 1 Jan 2023 at 13:02, Kornel Benko wrote: > Am Tue, 27 Dec 2022 02:13:15 +0100 > schrieb Thibaut Cuvelier : > > > Dear list, > > > > To solve https://www.lyx.org/trac/ticket/12585, I wrote the attached > patch. > > Basically, LyX now considers the

Re: New Theorems Module

2022-12-31 Thread Thibaut Cuvelier
On Sat, 31 Dec 2022 at 09:35, Udicoudco wrote: > > > In the last patch i sent only one module that support List of Theorems. > In that module the theorems are numbered by type and within sections, > Should I add new ones to support different numbering format? > I don't want to ֲclog the modules

Re: New Theorems Module

2022-12-31 Thread Thibaut Cuvelier
On Sat, 31 Dec 2022 at 03:36, Scott Kostyshak wrote: > On Sat, Dec 31, 2022 at 02:00:34AM +0100, Thibaut Cuvelier wrote: > > I've pushed your patch online: 42c2a25fb8. I had to rebase it manually, I > > hope I didn't make too many mistakes. I'm also attaching the patch to >

Re: New Theorems Module

2022-12-30 Thread Thibaut Cuvelier
?), I'm proceeding with integrating your patch :). All the best, Thibaut Cuvelier On Mon, 7 Nov 2022 at 23:29, Paul A. Rubin wrote: > On 10/13/22 02:45, Udicoudco wrote: > > > > On Fri, Sep 23, 2022 at 12:25 AM Paul A. Rubin > wrote: > >> On 9/19/22 22:26, Udicoudc

Re: Master broken due to febd1855eb

2022-12-28 Thread Thibaut Cuvelier
On Wed, 28 Dec 2022 at 04:03, Scott Kostyshak wrote: > On Wed, Dec 28, 2022 at 02:34:50AM +0100, Thibaut Cuvelier wrote: > > On Tue, 27 Dec 2022 at 23:41, Daniel wrote: > > > > > With febd1855eb ("XML: overhaul the tag-comparison operators."), I get > >

Re: Master broken due to febd1855eb

2022-12-27 Thread Thibaut Cuvelier
On Tue, 27 Dec 2022 at 23:41, Daniel wrote: > With febd1855eb ("XML: overhaul the tag-comparison operators."), I get > > /src/tex2lyx/dummy_impl.cpp:102:16: error: out-of-line >definition of 'operator==' does not match any declaration in >'lyx::xml::StartTag' > bool

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Thibaut Cuvelier
On Tue, 27 Dec 2022 at 05:42, Richard Kimberly Heck wrote: > On 12/26/22 21:46, Thibaut Cuvelier wrote: > > On Tue, 27 Dec 2022 at 03:20, Richard Kimberly Heck > wrote: > >> On 12/26/22 20:13, Thibaut Cuvelier wrote: >> > Dear list, >> > >> > T

Re: Fwd: [Review requested] New DocBook layout parameter

2022-12-27 Thread Thibaut Cuvelier
On Tue, 27 Dec 2022 at 05:17, Richard Kimberly Heck wrote: > On 12/26/22 21:27, Thibaut Cuvelier wrote: > > On Tue, 27 Dec 2022 at 03:11, Richard Kimberly Heck > wrote: > >> On 12/26/22 20:01, Thibaut Cuvelier wrote: >> >> Riki, let me know :)! >>

Re: DocBook change: use a stack of fonts

2022-12-26 Thread Thibaut Cuvelier
On Tue, 27 Dec 2022 at 03:20, Richard Kimberly Heck wrote: > On 12/26/22 20:13, Thibaut Cuvelier wrote: > > Dear list, > > > > To solve https://www.lyx.org/trac/ticket/12585, I wrote the attached > > patch. Basically, LyX now considers the order of font tags when >

Re: Fwd: [Review requested] New DocBook layout parameter

2022-12-26 Thread Thibaut Cuvelier
On Tue, 27 Dec 2022 at 03:11, Richard Kimberly Heck wrote: > On 12/26/22 20:01, Thibaut Cuvelier wrote: > > Riki, let me know :)! > > In another email, I said: > > I am planning to do the tarball tomorrow, so I guess the question is > whether these changes can be **co

DocBook change: use a stack of fonts

2022-12-26 Thread Thibaut Cuvelier
ut\Documents>where perl C:\Strawberry\perl\bin\perl.exe (By the way, the "lyx-windows-deps-msvc2017" archive should be updated with the contents of http://xmlsoft.org/sources/win32/64bit/libxml2-2.9.3-win32-x86_64.7z to include xmllint.) If anyone can lend me a hand either by testi

Re: XHTML ctests failing

2022-12-26 Thread Thibaut Cuvelier
On Mon, 26 Dec 2022 at 20:56, Kornel Benko wrote: > Am Mon, 26 Dec 2022 19:21:48 +0100 > schrieb Thibaut Cuvelier : > > > On Mon, 26 Dec 2022 at 09:51, Kornel Benko wrote: > > > > > Am Mon, 26 Dec 2022 01:52:50 -0500 > > > schrieb Scott Kostyshak : >

Re: XHTML ctests failing

2022-12-26 Thread Thibaut Cuvelier
On Mon, 26 Dec 2022 at 09:51, Kornel Benko wrote: > Am Mon, 26 Dec 2022 01:52:50 -0500 > schrieb Scott Kostyshak : > > > A lot of the XHTML ctests just started failing. > > > > Are they passing for others? > > > > Scott > > Same here. > 69% tests passed, 129 tests failed out of 422 > I've just

Re: [LyX/master] LyXHTML: switch the doctype to (X)HTML5 and only output

2022-12-25 Thread Thibaut Cuvelier
On Sun, 25 Dec 2022 at 22:05, Pavel Sanda wrote: > ... > CXX insets/InsetSpecialChar.o > insets/InsetSpecialChar.cpp: In function 'std::string > lyx::{anonymous}::specialCharKindToXMLEntity(lyx::InsetSpecialChar::Kind)': > insets/InsetSpecialChar.cpp:569:1: warning: control reaches end of >

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-12-25 Thread Thibaut Cuvelier
On Sat, 24 Dec 2022 at 03:49, Scott Kostyshak wrote: > On Fri, Dec 23, 2022 at 01:00:59AM +0100, Thibaut Cuvelier wrote: > > On Mon, 21 Nov 2022 at 08:56, Kornel Benko wrote: > > > > > Am Sun, 20 Nov 2022 15:23:58 -0500 > > > schrieb Scott Kostyshak : > >

Re: Export to lyxhtml broken

2022-12-22 Thread Thibaut Cuvelier
On Sun, 20 Sept 2020 at 16:58, Kornel Benko wrote: > Am Sun, 20 Sep 2020 11:53:39 +0200 > schrieb Kornel Benko : > > > Am Sun, 20 Sep 2020 11:46:36 +0200 > > schrieb Kornel Benko : > > > > > Am Sun, 20 Sep 2020 01:38:11 +0200 > > > schrieb Kornel Benko : > > > > > > > > > > $ xmllint

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-12-22 Thread Thibaut Cuvelier
On Mon, 21 Nov 2022 at 08:56, Kornel Benko wrote: > Am Sun, 20 Nov 2022 15:23:58 -0500 > schrieb Scott Kostyshak : > > > On Sun, Nov 20, 2022 at 08:24:41PM +0100, Thibaut Cuvelier wrote: > > > On Sun, 20 Nov 2022 at 16:47, Scott Kostyshak > wrote: > > > &

Fwd: [Review requested] New DocBook layout parameter

2022-12-22 Thread Thibaut Cuvelier
of updating the version number of all layouts (to avoid cluttering the patch). By the way, I noticed that the documentation on the new DocBook parameters for the layouts is truly lacking. I'll try to do something about it. Thanks in advance! Thibaut Cuvelier From

Re: State of the killqt4 branch

2022-12-14 Thread Thibaut Cuvelier
On Mon, 21 Nov 2022 at 09:34, Kornel Benko wrote: > Am Sun, 20 Nov 2022 21:12:56 +0100 > schrieb Jean-Marc Lasgouttes : > > > Dear all, > > > > I think I have done everything I can do on the branch (actually I just > > noticed a few remnants in config/, I will handle that). > > > > What remains

Re: Warning in master in C++11 mode

2022-12-14 Thread Thibaut Cuvelier
On Sat, 26 Nov 2022 at 20:33, Scott Kostyshak wrote: > On Wed, Nov 09, 2022 at 10:41:17AM +0100, Jean-Marc Lasgouttes wrote: > > Hi, > > > > I get this warning when compiling in C++11 mode : > > > > ../../master/src/insets/InsetIndex.cpp: In member function ‘virtual void > >

Re: OOP question: deduplicating code across two subclasses

2022-12-10 Thread Thibaut Cuvelier
On Sat, 10 Dec 2022 at 23:12, Scott Kostyshak wrote: > On Sat, Dec 10, 2022 at 10:36:51PM +0100, Thibaut Cuvelier wrote: > > On Sat, 10 Dec 2022 at 17:19, Scott Kostyshak wrote: > > > > > PreambleModule::editExternal() and LocalLayout::editExternal() share

Re: OOP question: deduplicating code across two subclasses

2022-12-10 Thread Thibaut Cuvelier
On Sat, 10 Dec 2022 at 17:19, Scott Kostyshak wrote: > PreambleModule::editExternal() and LocalLayout::editExternal() share > most of their code. The functions are pretty small, so there's not too > much duplication as a whole. However, I'm still curious. How would I > best deduplicate the code?

Re: docbook ctest failing on master

2022-12-09 Thread Thibaut Cuvelier
On Fri, 9 Dec 2022 at 19:48, Thibaut Cuvelier wrote: > On Fri, 9 Dec 2022 at 04:23, Scott Kostyshak wrote: > >> The following ctest is failing for me after the recent commits: >> >> export/export/docbook/LilyPond_Book_docbook5 >> >> The first error in the

Re: docbook ctest failing on master

2022-12-09 Thread Thibaut Cuvelier
On Fri, 9 Dec 2022 at 04:23, Scott Kostyshak wrote: > The following ctest is failing for me after the recent commits: > > export/export/docbook/LilyPond_Book_docbook5 > > The first error in the output has to do with '&' apparently: > > Processing `./60/lily-95ee389a.ly' > Parsing... >

Re: lyx2lyx: many unused variables (any bugs?)

2022-12-08 Thread Thibaut Cuvelier
On Thu, 8 Dec 2022 at 22:06, José Matos wrote: > On the same vein for 2.5 I intend to start, in an iterative process, to > add type hinting to our python code: http://mypy-lang.org/ > > One example: > > def fib(n): > if n==0 or n==1: > return 1 > else: > return fin(n-1)+fib(n-2) > >

Re: lyx2lyx: many unused variables (any bugs?)

2022-12-08 Thread Thibaut Cuvelier
On Thu, 8 Dec 2022 at 21:19, Richard Kimberly Heck wrote: > On 12/8/22 13:45, Scott Kostyshak wrote: > > Perhaps it doesn't make sense to clean up lyx_2_4.py (except for looking > > for bugs), but what would you think about adding an agreed-upon set of > > pylint warnings to our test suite for

Re: LyX HTML export on command line runs pdflatex (via lyxpreview2bitmap.py)

2022-11-24 Thread Thibaut Cuvelier
On Wed, 23 Nov 2022 at 04:08, Richard Kimberly Heck wrote: > On 11/20/22 10:22, Scott Kostyshak wrote: > > When testing a (seemingly) different issue that Thibaut reported about > > de Math.lyx, when I do: > > > >lyx -e xhtml Math.lyx > > > > I notice that pdflatex is run, I think via

Re: Any preference on using braces to restrict scope?

2022-11-21 Thread Thibaut Cuvelier
On Mon, 21 Nov 2022 at 10:14, Jean-Marc Lasgouttes wrote: > Le 18/11/2022 à 18:43, Thibaut Cuvelier a écrit : > > You can avoid this level of indentation by defining the variable within > > the if: > > > > if (const vector potential_terms = > &

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-11-20 Thread Thibaut Cuvelier
On Sun, 20 Nov 2022 at 16:47, Scott Kostyshak wrote: > On Sun, Nov 20, 2022 at 04:33:36PM +0100, Thibaut Cuvelier wrote: > > > When I open the exported de Math.xhtml in Chromium, I get: > > > > > > "error on line 7159 at column 22: Entity 'imaginary' not defi

Re: [LyX/master] Amend 48d9d01a: remove debug output

2022-11-20 Thread Thibaut Cuvelier
On Sun, 20 Nov 2022 at 16:26, Scott Kostyshak wrote: > On Sun, Nov 20, 2022 at 03:25:09PM +0100, Thibaut Cuvelier wrote: > > commit f3862130cf687854dbff2df348f34659ca602a02 > > Author: Thibaut Cuvelier > > Date: Sun Nov 20 16:19:17 2022 +0100 > > > > Am

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-11-20 Thread Thibaut Cuvelier
On Sun, 20 Nov 2022 at 16:18, Scott Kostyshak wrote: > On Sun, Nov 20, 2022 at 03:29:37PM +0100, Thibaut Cuvelier wrote: > > On Fri, 4 Nov 2022 at 01:59, Scott Kostyshak wrote: > > > > > On Thu, Nov 03, 2022 at 10:04:31PM +0100, Thibaut Cuvelier wrote: > > > >

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-11-20 Thread Thibaut Cuvelier
On Fri, 4 Nov 2022 at 01:59, Scott Kostyshak wrote: > On Thu, Nov 03, 2022 at 10:04:31PM +0100, Thibaut Cuvelier wrote: > > On Thu, 3 Nov 2022 at 21:27, Scott Kostyshak wrote: > > > > > On Mon, Oct 31, 2022 at 11:38:46PM -0400, Scott Kostyshak wrote: > > > >

Re: Any preference on using braces to restrict scope?

2022-11-18 Thread Thibaut Cuvelier
On Fri, 18 Nov 2022 at 18:41, Scott Kostyshak wrote: > What do you think of the attached patch? It adds braces to restrict the > scope of the variable 'potential_terms'. I like this style, since it > makes it easier for me to read, but I wonder if others would find it > annoying. For example, it

Re: [Qt4???] Re: [PATCH] Show branches from master document in branch inset dialog

2022-11-16 Thread Thibaut Cuvelier
On Mon, 14 Nov 2022 at 19:38, Scott Kostyshak wrote: > On Tue, Oct 18, 2022 at 10:51:34AM -0400, Scott Kostyshak wrote: > > On Tue, Oct 18, 2022 at 03:12:40PM +0200, Pavel Sanda wrote: > > > On Fri, Oct 07, 2022 at 05:05:43PM +0200, Jean-Marc Lasgouttes wrote: > > > > Still, I am wondering why

Re: 2.4.0 plan for #12215 [LyX crashes with async processes (Qt6 only)] ?

2022-11-14 Thread Thibaut Cuvelier
On Mon, 14 Nov 2022, 11:45 Pavel Sanda, wrote: > On Fri, Nov 11, 2022 at 03:16:05PM -0500, Scott Kostyshak wrote: > > If no one fixes it in time, shall we postpone 2.4.0 > > No, I wouldn't do that. > > > or proceed with 2.4.0 and state that Qt6 is not officially supported > because of #12215? >

Re: 2.4.0 plan for #12215 [LyX crashes with async processes (Qt6 only)] ?

2022-11-11 Thread Thibaut Cuvelier
On Fri, 11 Nov 2022 at 21:16, Scott Kostyshak wrote: > The following issue seems pretty bad: > > https://www.lyx.org/trac/ticket/12215 > > Is there someone who is brave enough with time to attempt a fix? > > If no one fixes it in time, shall we postpone 2.4.0 or proceed with > 2.4.0 and state

Re: Delete merged branches from features repository?

2022-11-10 Thread Thibaut Cuvelier
On Thu, 10 Nov 2022 at 20:38, Scott Kostyshak wrote: > Should we delete branches from the features repo that have been merged > to master? I don't know our policy on this, but it's hard to figure out > which branches on the features repo are still relevant (i.e., not yet > merged). In the worst

Re: A fast mostly collision free hash ?

2022-11-08 Thread Thibaut Cuvelier
On Tue, 8 Nov 2022 at 20:45, Pavel Sanda wrote: > On Tue, Nov 08, 2022 at 04:43:15PM +0100, Jean-Marc Lasgouttes wrote: > > * I could do fancy things, but I'd rather avoid to import a whole library > > for this. > Probably, the less fancy option is to use std::hash, available since C++11. I

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-11-03 Thread Thibaut Cuvelier
On Thu, 3 Nov 2022 at 21:27, Scott Kostyshak wrote: > On Mon, Oct 31, 2022 at 11:38:46PM -0400, Scott Kostyshak wrote: > > On Tue, Nov 01, 2022 at 12:01:47AM +0100, Thibaut Cuvelier wrote: > > > On Mon, 31 Oct 2022 at 21:12, Jürgen Spitzmüller > wrote: > > > > &

Re: Policy for commits to master

2022-10-31 Thread Thibaut Cuvelier
On Mon, 31 Oct 2022 at 18:49, Scott Kostyshak wrote: > Dear all, > > My schedule will clear up a bit in mid-January and I will try to help > push the 2.4.0 release out. I will not spend much time before January, > but I hope to at least dedicate some time to coming up with a plan. > > One

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-10-31 Thread Thibaut Cuvelier
On Mon, 31 Oct 2022 at 21:12, Jürgen Spitzmüller wrote: > Am Montag, dem 31.10.2022 um 14:58 -0400 schrieb Scott Kostyshak: > > I get the following warning: > > > > /home/scott/lyxbuilds/master- > > master/repo/src/insets/InsetIndex.cpp:1691:6: error: function > > 'printTree' is not needed and

Re: [LyX/master] Merge branch 'features/indexmacros'

2022-10-31 Thread Thibaut Cuvelier
On Mon, 31 Oct 2022 at 19:58, Scott Kostyshak wrote: > On Mon, Oct 31, 2022 at 06:40:15PM +0100, Juergen Spitzmueller wrote: > > commit 4e50da3e655b9f8d26f7d5e439d72b219d32279d > > Merge: 0df63e3 f4d588c > > Author: Juergen Spitzmueller > > Date: Mon Oct 31 19:32:52 2022 +0100 > > > >

Re: Feature request (Grammarly support for LYX)

2022-09-21 Thread Thibaut Cuvelier
, providing language services for French and English, but their desktop API is a mess to use (COM on Windows, D-BUS for Linux, and services for macOS — or JavaScript for Web browsers): https://www.antidote.info/en/antidote-11/documentation/developer-tools. Thibaut Cuvelier On Wed, 21 Sept 2022 at 21:02

Re: New Theorems Module

2022-09-20 Thread Thibaut Cuvelier
guessing this is related to the > > redesigned module selection dialog in LyX 2.4? > > Yes, that is the case. > > > Also, could you care to explain what is the purpose of the new tags i > > saw in the master (DocBookWrapperTag, DocBookTag, DocBookAttr)? > > They are impor

Re: Making Paragraph::latex() thread safe?

2022-08-29 Thread Thibaut Cuvelier
On Mon, 29 Aug 2022 at 21:52, Scott Kostyshak wrote: > I used the hacks just to get an idea of whether such parallelization would > actually lead to a speed-up. It does. For example, on an 8-core machine, > the document files (user guide, etc.) export to .tex about 4x faster. This > isn't that

Re: I need help with Qt6X11Extras

2022-06-19 Thread Thibaut Cuvelier
On Sat, 18 Jun 2022, 11:04 Kornel Benko, wrote: > Am Sat, 18 Jun 2022 18:22:34 +0300 > schrieb Andrew Gaidukevich <3du...@mail.ru>: > > > > > Hello! My name is Andrew! > > I need help! > > I cant compile LMMS without this! > > I got this error… help me to solve this > > -- Could NOT find

Re: features/indexmacros

2022-05-04 Thread Thibaut Cuvelier
On Mon, 25 Apr 2022 at 07:43, Jürgen Spitzmüller wrote: > Am Montag, dem 25.04.2022 um 02:43 +0200 schrieb Thibaut Cuvelier: > > I have pushed a slightly revised patch to your branch with the > > DocBook implementation. I'm now having a look at the XHTML one, in > > particul

Re: Back

2022-05-03 Thread Thibaut Cuvelier
On Tue, 3 May 2022 at 17:19, Richard Kimberly Heck wrote: > Hi, all, > > Sorry for disappearing there for a while. I had some difficult personal > circumstances and an incredibly busy semester and just had to withdraw > from everything else until things settled down. Which they now have. >

Re: features/indexmacros

2022-04-24 Thread Thibaut Cuvelier
On Fri, 22 Apr 2022 at 13:14, Jürgen Spitzmüller wrote: > Am Freitag, dem 22.04.2022 um 09:01 +0200 schrieb Jürgen Spitzmüller: > > > Also, I'm assuming that the user either uses the new insets or the > > > old, pure LaTeX way of doing index, not a mix of both. Does this > > > make > > > sense?

Re: features/indexmacros

2022-04-21 Thread Thibaut Cuvelier
On Tue, 19 Apr 2022 at 13:29, Jürgen Spitzmüller wrote: > Am Dienstag, dem 19.04.2022 um 13:21 +0200 schrieb Jürgen Spitzmüller: > > This adds native macros for subindexes (!level), |see and |seealso > > and sort keys (sort@key), for that matter. > Code-wise, the design looks really clean! The

Re: A docbook test is failing on current master

2022-04-02 Thread Thibaut Cuvelier
On Sat, 2 Apr 2022 at 20:24, Scott Kostyshak wrote: > The following test fails for me on current master: > > export/export/xhtml/table_borders_docbook5 > Thanks for the notice! It's been fixed as e7ed8213ac. -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: LyXHTML doc doesn't pass validation

2022-04-01 Thread Thibaut Cuvelier
On Wed, 23 Mar 2022 at 22:54, José Abílio Matos wrote: > On Wednesday, 23 March 2022 20.12.23 WET Thibaut Cuvelier wrote: > > > XHTML 1 dates back from 2001... LyX generates XHTML 5, but the doctype > is kept > > > from XHTML 1 for compatibility issues (some br

Re: Lots of duplicate code in docbook

2022-03-31 Thread Thibaut Cuvelier
On Wed, 30 Mar 2022 at 07:29, Daniel wrote: > On 2022-03-28 18:49, Thibaut Cuvelier wrote: > > On Mon, 21 Mar 2022 at 13:11, Lorenzo Bertini > > mailto:lorenzobertin...@gmail.com>> wrote: > > > > Il 21/03/22 11:49, Daniel ha scritto: > > >

Re: Lots of duplicate code in docbook

2022-03-28 Thread Thibaut Cuvelier
On Mon, 21 Mar 2022 at 13:11, Lorenzo Bertini wrote: > Il 21/03/22 11:49, Daniel ha scritto: > > On 2022-03-21 10:55, Lorenzo Bertini wrote: > >> There is some degree of duplication between Docbook and LyXHTML code. > >> I think its because the latter is much older and Thibaut had to write > >>

Re: LyXHTML doc doesn't pass validation

2022-03-23 Thread Thibaut Cuvelier
On Wed, 23 Mar 2022 at 20:02, Lorenzo Bertini wrote: > Il 23/03/22 19:03, Thibaut Cuvelier ha scritto: > > On Wed, 23 Mar 2022 at 18:43, Lorenzo Bertini > > mailto:lorenzobertin...@gmail.com>> wrote: > > > > Running a very simple LyXHTML doc (a section with

Re: LyXHTML doc doesn't pass validation

2022-03-23 Thread Thibaut Cuvelier
On Wed, 23 Mar 2022 at 18:43, Lorenzo Bertini wrote: > Running a very simple LyXHTML doc (a section with a few paragraphs) > against this validator https://validator.w3.org/check reports some > errors, I don't really know if we care or not: > > 1. value of attribute "dir" cannot be "auto"; must

Re: Master uncompilable on cygwin

2022-03-04 Thread Thibaut Cuvelier
On Sat, 5 Mar 2022 at 03:40, Enrico Forestieri wrote: > On Sat, Mar 05, 2022 at 03:00:08AM +0100, Thibaut Cuvelier wrote: > > > > What I don't get is why casting one value is easy, but a vector is not... > > What about adding a manual cast around this line? > > &

Re: Master uncompilable on cygwin

2022-03-04 Thread Thibaut Cuvelier
On Sat, 5 Mar 2022 at 02:54, Enrico Forestieri wrote: > On Sat, Mar 05, 2022 at 02:47:16AM +0100, Thibaut Cuvelier wrote: > > > > On Sat, 5 Mar 2022 at 02:24, Enrico Forestieri wrote: > > > > > This is the error: > > > > > > In file included fr

Re: Master uncompilable on cygwin

2022-03-04 Thread Thibaut Cuvelier
On Sat, 5 Mar 2022 at 02:24, Enrico Forestieri wrote: > This is the error: > > In file included from ../../../../src/frontends/qt/GuiBibtex.cpp:21: > ../../../../src/Encoding.h: In member function > ‘std::vector int>, std::allocator > > lyx::CharInfo::textCommands() const’: >

Re: [LyX/master] Clarify debug message

2022-03-01 Thread Thibaut Cuvelier
On Tue, 1 Mar 2022 at 13:52, Jürgen Spitzmüller wrote: > Am Di., 1. März 2022 um 13:51 Uhr schrieb Jürgen Spitzmüller < > sp...@lyx.org>: > >> Am Di., 1. März 2022 um 04:19 Uhr schrieb Thibaut Cuvelier < >> tcuvel...@lyx.org>: >> >>> On T

Re: [LyX/master] Clarify debug message

2022-02-28 Thread Thibaut Cuvelier
On Tue, 1 Mar 2022 at 03:58, Thibaut Cuvelier wrote: > On Mon, 28 Feb 2022 at 08:04, Jürgen Spitzmüller wrote: > >> Am Sonntag, dem 27.02.2022 um 20:48 +0100 schrieb Thibaut Cuvelier: >> > I'm doing this in the attached patches (also for HTML, XML being the >> > c

  1   2   3   4   >