Re: docbook test failures

2025-07-18 Thread Thibaut Cuvelier
On Fri, 18 Jul 2025 at 10:03, Kornel Benko wrote: > Am Fri, 18 Jul 2025 08:34:55 +0200 > schrieb Scott Kostyshak : > > > > I just pushed 99ff541f15598ea4fe99dde33c854a4c2fbbadd7 to solve the > issue > > > with references. I tested it against several of your failures and > could no > > > longer re

Re: [automated testing] debian testing: compile failure with qt6

2025-07-18 Thread Thibaut Cuvelier
On Sat, 19 Jul 2025 at 03:40, wrote: > Making all in autotests > Making all in config > Making all in development > Making all in po > Making all in 3rdparty > Making all in nod > Making all in src > CHK lyx_commit_hash.h > Making all in support > Making all in frontends > Making all in qt

Re: docbook test failures

2025-07-17 Thread Thibaut Cuvelier
On Thu, 17 Jul 2025 at 22:56, Scott Kostyshak wrote: > On Thu, Jul 17, 2025 at 07:58:25PM +0200, Thibaut Cuvelier wrote: > > On Thu, 17 Jul 2025 at 10:21, Scott Kostyshak wrote: > > > > > The following tests are failing on current master: > > > > > &

Re: docbook test failures

2025-07-17 Thread Thibaut Cuvelier
On Thu, 17 Jul 2025 at 10:21, Scott Kostyshak wrote: > The following tests are failing on current master: > > export/export/docbook/basic_docbook5 (Failed) > export/doc/de/Customization_docbook5 (Failed) > export/doc/es/Tutorial_docbook5 (Failed) > export/doc/fr/Intro_docbook5 (Failed) >

Re: [PATCH] Make Qt6 the default

2025-07-10 Thread Thibaut Cuvelier
On Thu, 10 Jul 2025, 18:16 Jean-Marc Lasgouttes, wrote: > Hi there, > > Would that patch be OK? It makes Qt6 the default for configure-based > builds. > > Thoughts welcome. > > > Another thing that I'd like to try, is to get rid of configuration by > any thing else than qmake. > QMake is mostly

Re: Thoughts on TyX - a LyX-like editor based on Typst

2025-06-08 Thread Thibaut Cuvelier
On Sun, 8 Jun 2025 at 22:54, Pavel Sanda wrote: > On Sun, Jun 08, 2025 at 11:13:45PM +0300, Noam Zaks wrote: > > I honestly think it's a great idea to implement a LyX to Typst backend > > aswell! Didn't think about it mostly because LyX seems so "intertwined" > with > > (La)-TeX. I will have to

Re: [automated testing] debian testing: compile failure with qt6

2025-05-10 Thread Thibaut Cuvelier
On Sat, 10 May 2025 at 08:55, José Matos wrote: > On Sat, 2025-05-10 at 01:34 +, test...@tester.lyx.org wrote: > > insets/InsetFloat.cpp:376:1: error: control reaches end of non-void > function > > FWIW that is the only warning. > > I am not sure if using -Werror=return-type fails after the f

Re: Spurious newlines in .lyx files (was: [LyX/2.4.x] UG: accept all changes)

2025-04-05 Thread Thibaut Cuvelier
On Sun, 16 Feb 2025 at 17:36, Pavel Sanda wrote: > On Tue, Feb 11, 2025 at 04:48:10PM +0100, Pavel Sanda wrote: > > Ok, I got some time to actually look in the mysterious dis/appearance of > newlines > > in our .lyx fileformat and this is my current understanding: > > > > The superfluous newline

Re: xhtml ctests failing

2025-03-24 Thread Thibaut Cuvelier
On Sun, 23 Mar 2025 at 12:32, Scott Kostyshak wrote: > On Sat, Mar 22, 2025 at 11:29:45PM +0100, Thibaut Cuvelier wrote: > > On Mon, 10 Feb 2025 at 15:28, Scott Kostyshak wrote: > > > > > On Mon, Feb 10, 2025 at 03:11:45PM +0100, Thibaut Cuvelier wrote: > > &g

Re: xhtml ctests failing

2025-03-22 Thread Thibaut Cuvelier
On Mon, 10 Feb 2025 at 15:28, Scott Kostyshak wrote: > On Mon, Feb 10, 2025 at 03:11:45PM +0100, Thibaut Cuvelier wrote: > > On Mon, 10 Feb 2025 at 11:17, Scott Kostyshak wrote: > > > > > On Sun, Feb 09, 2025 at 12:37:18AM +0100, Scott Kostyshak wrote: > > > &

Re: [LyX/master] avoid temporary variables (spotted by Coverity Scan)

2025-02-13 Thread Thibaut Cuvelier
On Thu, 13 Feb 2025 at 18:02, Richard Kimberly Heck wrote: > On 2/13/25 5:59 AM, Jean-Marc Lasgouttes wrote: > > commit b4a982e0229ea953d458a495e56e7362c6a3b78b > > Author: Jean-Marc Lasgouttes > > Date: Thu Feb 13 11:57:11 2025 +0100 > > > > avoid temporary variables (spotted by Coverity

Re: xhtml ctests failing

2025-02-10 Thread Thibaut Cuvelier
On Mon, 10 Feb 2025 at 11:17, Scott Kostyshak wrote: > On Sun, Feb 09, 2025 at 12:37:18AM +0100, Scott Kostyshak wrote: > > The following ctests are failing for me: > > > > > ... > > Thibaut, do you think these can be related to your recent work? Can you > reproduce the test failures? I can rep

Re: [LyX/master] InsetERT: recognise whenever the contents looks sufficiently like XML to attempt outputting it as raw XML.

2025-02-08 Thread Thibaut Cuvelier
On Sat, 8 Feb 2025 at 19:03, Pavel Sanda wrote: > On Sat, Feb 08, 2025 at 02:07:49AM +0100, Thibaut Cuvelier wrote: > > > BTW I also see in User Guide A.1.15 mention of DocBook SGML export, > that's > > > probably obsolete now? > > > > > > I updat

Re: [LyX/master] InsetERT: recognise whenever the contents looks sufficiently like XML to attempt outputting it as raw XML.

2025-02-07 Thread Thibaut Cuvelier
On Fri, 7 Feb 2025 at 10:36, Pavel Sanda wrote: > On Thu, Feb 06, 2025 at 11:53:46PM +0000, Thibaut Cuvelier wrote: > > commit 554eb63d3967fb88a38452114265d8a1bd5fee04 > > Author: Thibaut Cuvelier > > Date: Fri Feb 7 00:52:18 2025 +0100 > > > > InsetERT

Re: Returning address of local temporary object

2025-02-07 Thread Thibaut Cuvelier
On Fri, 7 Feb 2025 at 23:49, Scott Kostyshak wrote: > I now get the following on current master: > > /home/scott/lyxbuilds/master-master/repo/src/mathed/MacroTable.cpp:135:16: > error: returning address of local temporary object > [-Werror,-Wreturn-stack-address] > 135 | return sym_ ? s

Re: MathMl output error

2025-02-06 Thread Thibaut Cuvelier
On Wed, 1 Jan 2025 at 20:18, Jean-Marc Lasgouttes wrote: > Le 26/12/2024 à 13:54, yigiter yuksel a écrit : > > Hello Lyx-Developers, > > > > I noticed that the mathml conversion for bracketed matrices with under/ > > overbraces generates excessive mathml tags which generally causes > > mathjax to

Re: LyX 2.4.2.1 and DocBook 5 export issues

2025-02-06 Thread Thibaut Cuvelier
f DocBook 4, > > you might need to update parts of your toolchain.) > > The "toolchain" is "generate.sh" in same directory. > > The one worked with LyX 2.3 is here: > https://github.com/pbiering/ipv6calc/tree/4.2.2/doc > > Thank you for digging into. &g

Re: [automated testing] debian testing: compile failure with qt6

2025-02-06 Thread Thibaut Cuvelier
On Thu, 6 Feb 2025 at 12:53, Jean-Marc Lasgouttes wrote: > Le 06/02/2025 à 12:19, Scott Kostyshak a écrit : > >> mathed/InsetMathSymbol.cpp: In member function 'virtual void > lyx::InsetMathSymbol::mathmlize(lyx::MathMLStream&) const': > >> mathed/InsetMathSymbol.cpp:167:20: error: 'strcmp' was n

Re: LyX 2.4.2.1 and DocBook 5 export issues

2025-02-05 Thread Thibaut Cuvelier
On Wed, 5 Feb 2025 at 05:42, Peter Bieringer wrote: > Hi, > > see for more details: https://latex.org/forum/viewtopic.php?t=36140 > > where "milka" replied that this looks like a bug. > > > I had to update to newer LyX version and it looks like the "DocBook 5" > export causes some troubles on my

Re: Fw: Re: Possibly bug with export to epub

2024-11-14 Thread Thibaut Cuvelier
> > Am 12.11.2024 09:43:14 schrieb José Matos : > @Thibaut could this be related with the same issue that you committed > today? > > No: the error I fixed should apply to all documents on a given system (this problem either appears for all documents on a given machine or none, which doesn't seem to

Re: Quick patch for cases MathML bracket

2024-11-13 Thread Thibaut Cuvelier
Hi, Thanks a lot for the patch! I have pushed it onto the master branch. Thibaut Cuvelier On Wed, 13 Nov 2024 at 15:39, Lorenzo Bertini wrote: > Dear devs, > can somebody push this tiny patch for InsetMathCases::mathmlize that adds > an mrow that makes the bracket stretch corre

Re: Possibly bug with export to epub

2024-11-11 Thread Thibaut Cuvelier
On Mon, 11 Nov 2024 at 19:01, José Matos wrote: > On Wed, 2024-11-06 at 20:16 +0100, Bernd Nitzschmann wrote: > > Hi lyx-devel, > > I hope this is the right place to report a feature not working (at > > least for me): > > > > When trying to export a lyx file to epub format an error message pops >

Re: Lots of check_load tests failing due to docbook terminal errors (?)

2024-11-03 Thread Thibaut Cuvelier
On Fri, 1 Nov 2024 at 17:02, Scott Kostyshak wrote: > For example, if I open the document "WrongDfnTagHandling.lyx" > > I get the following terminal messages: > > Text.cpp (2127): Handling unknown body token: `\docbook_mathml_version' > Text.cpp (2127): Handling unknown body token: `0' > > Thibau

Re: [LyX/master] MathML: let the user change the MathML version.

2024-11-03 Thread Thibaut Cuvelier
On Sun, 3 Nov 2024 at 20:56, José Matos wrote: > On Sun, 2024-11-03 at 19:32 +0100, Scott Kostyshak wrote: > > I think that starting with this commit a lot of lyx2lyx tests are timing > out. > > For example: > > ctest --timeout 10 -R > '(export/export/WrongDfnTagHandling_lyx23|export/examples/Wel

Re: [LyX/master] InsetMathFont: harden the new switches against unexpected values.

2024-11-01 Thread Thibaut Cuvelier
f6405ef8 should deal with that, thanks for the comment! Thibaut Cuvelier On Fri, 1 Nov 2024 at 15:44, Scott Kostyshak wrote: > On Wed, Oct 30, 2024 at 12:59:14AM GMT, Thibaut Cuvelier wrote: > > commit 110e654b67cdc7399defa38b32810cf9e78ff95b > > Author: Thibaut Cuvelier >

Re: [LyX/master] Math: add a structure to hold font information.

2024-10-29 Thread Thibaut Cuvelier
I have just pushed 110e654b. I tried to run with the hare and hunt with the hounds: I'm not using default:, I'm adding runtime warnings in case something unexpected happens, and I'm always returning a non-problematic value. Thibaut Cuvelier On Tue, 29 Oct 2024 at 20:54, Pav

Re: [LyX/master] Math: add a structure to hold font information.

2024-10-29 Thread Thibaut Cuvelier
On Tue, 29 Oct 2024, 10:36 Pavel Sanda, wrote: > On Tue, Oct 29, 2024 at 03:31:52AM +0000, Thibaut Cuvelier wrote: > > + std::string toMathVariantForMathML3() const > > + { > > + // mathvariant is the way MathML 3 encodes fonts. > > +

Re: [patch] Removal of strfwd.h (was: When to use strfwd.h)

2024-10-01 Thread Thibaut Cuvelier
On Tue, 1 Oct 2024 at 23:02, Pavel Sanda wrote: > On Tue, Oct 01, 2024 at 07:09:03PM +0200, Jean-Marc Lasgouttes wrote: > > Le 01/10/2024 ?? 18:18, Pavel Sanda a écrit : > > > I could produce patch which ditches strfwd and let Enrico/Eugene test > it? > > > > > > From what I see it might do more

Re: Windows Dark Mode and "fusion" style

2024-08-18 Thread Thibaut Cuvelier
;s not yet perfect, as Qt Creator actively doesn't use it by default ( https://codereview.qt-project.org/c/qt-creator/qt-creator/+/568741). Maybe we should do something similar or decide it's good enough. Thibaut Cuvelier On Sat, 8 Jul 2023 at 13:58, Yu Jin wrote: > Am Fr., 7. Juli 2023

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Thibaut Cuvelier
On Tue, 23 Jul 2024 at 23:38, Pavel Sanda wrote: > On Tue, Jul 23, 2024 at 09:12:23PM +0200, Kornel Benko wrote: > > > I might be completely wrong as I do not use the test machinery myself, > but > > > isn't autotests/export/docbook/*.xml result of exporting of docbook > > > and re-exporting thes

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: Ct+r+l++

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 o

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 any c

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 it,

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 >> was a >

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,

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

2023-10-07 Thread Thibaut Cuvelier
cBook 5 (i.e. I 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: [PAT

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 guess

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 cross-reference

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

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
:/. Thanks! From 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 understand

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 mac

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 documentat

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

Re: Windows Dark Mode and "fusion" style

2023-07-06 Thread Thibaut Cuvelier
e corresponding 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 U

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

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 Elect

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 havi

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 val

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 m

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 th

Re: New Theorems Module

2022-12-30 Thread Thibaut Cuvelier
/www.lyx.org/BlanketPermission?), 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: >

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

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
::Parser::Expat" C:\Users\Thibaut\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 a

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 p

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 Welcome.xhtm

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
ception 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! Thibau

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 t

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 > > lyx::InsetIndex::docb

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) > > b

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 ly

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 lyxprev

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'

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

  1   2   3   4   5   >