Re: LyX 2.4.2.1 and DocBook 5 export issues

2025-02-06 Thread Peter Bieringer
ransformed into comments. That's probably not what you expected, based on the previous behaviour.I just pushed 554eb63d onto master to solve the issue for your document and similar ones. Here is the preamble of your document with the latest commit: http://docbook.org/ns/docbook do

Re: LyX 2.4.2.1 and DocBook 5 export issues

2025-02-06 Thread Thibaut Cuvelier
b63d onto master to solve the issue for your document and similar ones. Here is the preamble of your document with the latest commit: http://docbook.org/ns/docbook"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:m=" http://www.w3.org/1998/Math/MathML"; xmlns:xi=" ht

Re: LyX 2.4.2.1 and DocBook 5 export issues

2025-02-05 Thread Peter Bieringer
Hi, > Is your document hosted at https://github.com/pbiering/ipv6calc/tree/4.3.0/doc? Yes, here already the one edited with LyX 2.4 and > (I bet the XSLT file you mention is the one in this repo?) Yes, this is used. > I see that this LyX document has raw DocBook, which I didn&#x

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

Re: LyX 2.4.2.1 and DocBook 5 export issues

2025-02-05 Thread Pavel Sanda
CC-ing Thibaut... On Wed, Feb 05, 2025 at 05:36:00AM +0100, 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 versio

LyX 2.4.2.1 and DocBook 5 export issues

2025-02-04 Thread Peter Bieringer
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 side. Before: LyX Doc -> DocBook expor

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

2024-11-04 Thread Scott Kostyshak
On Mon, Nov 04, 2024 at 01:15:05AM GMT, Thibaut Cuvelier wrote: > 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_

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

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

2024-11-01 Thread Scott Kostyshak
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' Thibaut is this related to your recent work? Scott signature.asc Descr

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 d

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Pavel Sanda
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 these file after patch &&

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 22:22, Scott Kostyshak a écrit : On Tue, Jul 23, 2024 at 04:14:28PM GMT, Scott Kostyshak wrote: On Tue, Jul 23, 2024 at 10:12:32PM GMT, Jean-Marc Lasgouttes wrote: Le 23/07/2024 à 21:11, Scott Kostyshak a écrit : I believe this one is very recent: export/doc/UserGuide_xhtm

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Scott Kostyshak
On Tue, Jul 23, 2024 at 04:14:28PM GMT, Scott Kostyshak wrote: > On Tue, Jul 23, 2024 at 10:12:32PM GMT, Jean-Marc Lasgouttes wrote: > > Le 23/07/2024 à 21:11, Scott Kostyshak a écrit : > > > I believe this one is very recent: > > > > > >export/doc/UserGuide_xhtml > > > > > > This corresponds

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Scott Kostyshak
On Tue, Jul 23, 2024 at 10:12:32PM GMT, Jean-Marc Lasgouttes wrote: > Le 23/07/2024 à 21:11, Scott Kostyshak a écrit : > > I believe this one is very recent: > > > >export/doc/UserGuide_xhtml > > > > This corresponds to the English user guide. > > This one was easy. Do you have another one f

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 21:11, Scott Kostyshak a écrit : I believe this one is very recent: export/doc/UserGuide_xhtml This corresponds to the English user guide. This one was easy. Do you have another one for me? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailma

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Scott Kostyshak
From the 132 previously failed tests now are only 54 test failing. > > > > Some of the first are: > > > > 59% tests passed, 54 tests failed out of 132 > > > > The following tests FAILED: > > > > 300 - export/export/docbook/basic_xhtm

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
132 The following tests FAILED: 300 - export/export/docbook/basic_xhtml (Failed) 306 - export/export/docbook/bibliography_precooked_aastex_xhtml (Failed) 365 - export/export/docbook/svmono_xhtml (Failed) 367 - export/export/docbook/svmono_light_xhtml (Failed

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 20:53, Scott Kostyshak a écrit : I have 60 xhtml tests failing on current master now. Some are timing out so that might be a good place to start. For example, the following export times out for me after 10 minutes: cd lib/examples/Curricula_Vitae && lyx -e xhtml Modern_CV.lyx T

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Kornel Benko
Am Tue, 23 Jul 2024 20:42:36 +0200 schrieb Pavel Sanda : > On Tue, Jul 23, 2024 at 08:23:17PM +0200, Kornel Benko wrote: > > 306 - export/export/docbook/bibliography_precooked_aastex_xhtml (Failed) > > 365 - export/export/docbook/svmono_xhtml (Failed) > > 367 -

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Kornel Benko
The following tests FAILED: > > 300 - export/export/docbook/basic_xhtml (Failed) > > 306 - export/export/docbook/bibliography_precooked_aastex_xhtml (Failed) > > 365 - export/export/docbook/svmono_xhtml (Failed) > > 367 - export/export/docbook/svmono_light

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Scott Kostyshak
On Tue, Jul 23, 2024 at 08:42:36PM GMT, Pavel Sanda wrote: > On Tue, Jul 23, 2024 at 08:23:17PM +0200, Kornel Benko wrote: > > 306 - export/export/docbook/bibliography_precooked_aastex_xhtml (Failed) > > 365 - export/export/docbook/svmono_xhtml (Failed) > > 367 -

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 20:23, Kornel Benko a écrit : From the 132 previously failed tests now are only 54 test failing. Some of the first are: 59% tests passed, 54 tests failed out of 132 The following tests FAILED: 300 - export/export/docbook/basic_xhtml (Failed) 306 - export/export

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Pavel Sanda
On Tue, Jul 23, 2024 at 08:23:17PM +0200, Kornel Benko wrote: > 306 - export/export/docbook/bibliography_precooked_aastex_xhtml (Failed) > 365 - export/export/docbook/svmono_xhtml (Failed) > 367 - export/export/docbook/svmono_light_xhtml (Failed) > 369 - e

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Kornel Benko
gt; perfectly fine. From the 132 previously failed tests now are only 54 test failing. Some of the first are: 59% tests passed, 54 tests failed out of 132 The following tests FAILED: 300 - export/export/docbook/basic_xhtml (Failed) 306 - export/export/docbook/bibliography_precooked_

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
of an int. Neither the compiler nor the debugger have been useful to point this unfortunately. I spent a lot of time looking at code that seemed perfectly fine. I we have some machinery to compare the result of exporting to DocBook before/after the patch would be good. The output is supposed

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Jean-Marc Lasgouttes
Le 23/07/2024 à 19:24, Kornel Benko a écrit : Am Mon, 22 Jul 2024 16:47:14 -0400 schrieb Scott Kostyshak : I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Kornel can you reproduce? Scott Even with newest commits I g

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Scott Kostyshak
On Tue, Jul 23, 2024 at 07:24:20PM GMT, Kornel Benko wrote: > Am Mon, 22 Jul 2024 16:47:14 -0400 > schrieb Scott Kostyshak : > > > I don't have time to look into them but a whole bunch of xhtml and > > docbook tests started failing recently on master. Kornel can you >

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Kornel Benko
Am Mon, 22 Jul 2024 16:47:14 -0400 schrieb Scott Kostyshak : > I don't have time to look into them but a whole bunch of xhtml and > docbook tests started failing recently on master. Kornel can you > reproduce? > > Scott Even with newest commits I get 71% tests passed, 132

Re: Many xhtml/docbook tests now failing on master

2024-07-23 Thread Enrico Forestieri
ch of xhtml and docbook tests started failing recently on master. Kornel can you reproduce? I would be grateful to have individual examples. I guess the point made by Enrico is one of those issues. One example is doc/Tutorial The first few errors in the test logs are the following. Can you repr

Re: Many xhtml/docbook tests now failing on master

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 23:58, Scott Kostyshak a écrit : On Mon, Jul 22, 2024 at 11:27:46PM GMT, Jean-Marc Lasgouttes wrote: Le 22/07/2024 à 22:47, Scott Kostyshak a écrit : I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Korne

Re: Many xhtml/docbook tests now failing on master

2024-07-22 Thread Scott Kostyshak
On Mon, Jul 22, 2024 at 11:27:46PM GMT, Jean-Marc Lasgouttes wrote: > Le 22/07/2024 à 22:47, Scott Kostyshak a écrit : > > I don't have time to look into them but a whole bunch of xhtml and > > docbook tests started failing recently on master. Kornel can you > > reproduce

Re: Many xhtml/docbook tests now failing on master

2024-07-22 Thread Jean-Marc Lasgouttes
Le 22/07/2024 à 22:47, Scott Kostyshak a écrit : I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Kornel can you reproduce? I would be grateful to have individual examples. I guess the point made by Enrico is one of

Many xhtml/docbook tests now failing on master

2024-07-22 Thread Scott Kostyshak
I don't have time to look into them but a whole bunch of xhtml and docbook tests started failing recently on master. Kornel can you reproduce? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: DocBook tests failing AASTeX changes

2024-03-09 Thread Scott Kostyshak
; ^ > > > > > > > > > > > It doesn't sound super hard to fix, I'll try to do it this week-end. > > > > Thanks! > > Scott > > > > Your errors were quite strange, I couldn't reproduce them :/.

Re: DocBook tests failing AASTeX changes

2024-03-09 Thread Thibaut Cuvelier
xpected '>' > > > > > > ^ > > > > > > > > It doesn't sound super hard to fix, I'll try to do it this week-end. > > Thanks! > Scott > Your errors were quite strange, I couldn't reproduce them :/. (Is reco

Re: DocBook tests failing AASTeX changes

2024-03-08 Thread Scott Kostyshak
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: > > > > ctest -R "American_Astronomical_Society_.*docbook5" > > > > The failing tests: > > > > 3606 - > > export

DocBook tests failing AASTeX changes

2024-03-08 Thread Scott Kostyshak
I get 2 out of 3 failing tests with the following: ctest -R "American_Astronomical_Society_.*docbook5" The failing tests: 3606 - export/examples/Articles/American_Astronomical_Society_%28AASTeX_v._6.3.1%29_docbook5 (Failed) 6401 - export/templates/Articles/American_Astronomica

Re: Fwd: DocBook test now failing on master

2024-02-26 Thread Scott Kostyshak
> > > Thank you so much, Thibaut. > > > > > > > > Could you send the patch to lyx-devel, so Scott can test it? I am too > > > > unsure about all things docbook to judge. > > > > > > > > > > I tried sending it to the mailing list, but my email

Re: Fwd: DocBook test now failing on master

2024-02-26 Thread Thibaut Cuvelier
o Scott can test it? I am too > > > unsure about all things docbook to judge. > > > > > > > I tried sending it to the mailing list, but my emails from my @lyx.org > > alias are still refused :/. > > > > > > > I will submit the bookaut

Re: Fwd: DocBook test now failing on master

2024-02-26 Thread Scott Kostyshak
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, so Scott can test it? I am too > > unsure about all things docbook to judge.

Re: DocBook test now failing on master

2024-02-24 Thread Jürgen Spitzmüller
Am Sonntag, dem 25.02.2024 um 07:23 +0100 schrieb Jürgen Spitzmüller: > I suppose DocBook does not know how to handle booksubtitle and > journalsubtitle (both standard biblatex fields). The other field, > subtitle, seems to be covered already. > > Thibaut? While you are at it, c

Re: DocBook test now failing on master

2024-02-24 Thread Jürgen Spitzmüller
Am Samstag, dem 24.02.2024 um 19:53 -0500 schrieb Scott Kostyshak: > The following test now fails for me on current master: > >   export/export/docbook/basic_docbook5 > > It does not necessarily mean there's a regression. From what I > understand, DocBook support is fragil

DocBook test now failing on master

2024-02-24 Thread Scott Kostyshak
The following test now fails for me on current master: export/export/docbook/basic_docbook5 It does not necessarily mean there's a regression. From what I understand, DocBook support is fragile for some things so it may be that our DocBook export mechanism needs to adapt to a new feature

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

2023-08-18 Thread Thibaut Cuvelier
ter buffer setting when exporting > > Thibaut: This change may also be needed in the DocBook and XHTML export > routines. Basically, we were querying the buffer itself for the setting > of the use_refstyle flag rather than the master buffer. I ran into a > case where this was a problem:

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

2023-08-18 Thread Richard Kimberly Heck
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 Thibaut: This change may also be needed in the DocBook and XHTML export routines

Re: DocBook change: use a stack of fonts

2023-01-07 Thread Kornel Benko
> > C:\Users\Thibaut\Documents>perl > D:/LyX/lyx-unstable/development/autotests/xmlParser.pl > "D:\LyX\lyx-unstable\autotests\export\docbook\abstract_list.xml" \\ (lang > de_DE version > 5.2) article || #10; > article \\ () > article info || #10; > article

Re: DocBook change: use a stack of fonts

2023-01-06 Thread Thibaut Cuvelier
order of font tags when closing them, > > otherwise you get strange results like in the ticket. The bug is quite > > serious, actually, even though I don't believe many users will hit it. > > > > I'd like help on two points: > > - code review > > - runnin

Re: DocBook change: use a stack of fonts

2023-01-01 Thread Kornel Benko
ket. The bug is quite > serious, actually, even though I don't believe many users will hit it. > > I'd like help on two points: > - code review > - running the test suite (ctest -R "_docbook") > > Currently, I cannot run the DocBook test suite due to Perl

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Scott Kostyshak
On Tue, Dec 27, 2022 at 07:36:41PM +0100, Kornel Benko wrote: > Am Tue, 27 Dec 2022 10:23:59 -0500 > schrieb Scott Kostyshak : > > > On Tue, Dec 27, 2022 at 10:12:15AM +0100, Kornel Benko wrote: > > > Am Tue, 27 Dec 2022 00:03:40 -0500 > > > schrieb Scott Kostyshak : > > > > > > > On Tue, Dec 2

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Kornel Benko
Am Tue, 27 Dec 2022 10:23:59 -0500 schrieb Scott Kostyshak : > On Tue, Dec 27, 2022 at 10:12:15AM +0100, Kornel Benko wrote: > > Am Tue, 27 Dec 2022 00:03:40 -0500 > > schrieb Scott Kostyshak : > > > > > On Tue, Dec 27, 2022 at 02:13:15AM +0100, Thibaut Cuvelier wrote: > > > > Dear list, > >

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Richard Kimberly Heck
XHTML now? Or would it need to be adapted for that case? I've tested this case and it looks like the XHTML code did the right thing there. It's a part I rewrote for DocBook, introducing a few bugs.Here is the output from XHTML for the same file: norm emph emph-bold

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Thibaut Cuvelier
;t believe many >> > users will hit it. >> >> I struggled with that when writing the original XHTML code. It's hard to >> get right. I know it sometimes would fail. Is this same code also used >> with XHTML now? Or would it need to be adapted for that case? >&g

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Scott Kostyshak
On Tue, Dec 27, 2022 at 10:12:15AM +0100, Kornel Benko wrote: > Am Tue, 27 Dec 2022 00:03:40 -0500 > schrieb Scott Kostyshak : > > > On Tue, Dec 27, 2022 at 02:13:15AM +0100, Thibaut Cuvelier wrote: > > > Dear list, > > > > > > To solve https://www.lyx.org/trac/ticket/12585, I wrote the attached

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 :)! >> >> In another email, I said: >> >> I am planning

Re: DocBook change: use a stack of fonts

2022-12-27 Thread Kornel Benko
Am Tue, 27 Dec 2022 00:03:40 -0500 schrieb Scott Kostyshak : > On Tue, Dec 27, 2022 at 02:13:15AM +0100, 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 closing

Re: DocBook change: use a stack of fonts

2022-12-26 Thread Scott Kostyshak
On Tue, Dec 27, 2022 at 02:13:15AM +0100, 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 closing them, > otherwise you get strange results like in the ticket. The bug is

Re: DocBook change: use a stack of fonts

2022-12-26 Thread Richard Kimberly Heck
. It's hard to get right. I know it sometimes would fail. Is this same code also used with XHTML now? Or would it need to be adapted for that case? I've tested this case and it looks like the XHTML code did the right thing there. It's a part I rewrote for DocBook, introd

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

2022-12-26 Thread Richard Kimberly Heck
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 :)! In another email, I said: I am planning to do the tarball tomorrow, so I guess the question is whether

Re: DocBook change: use a stack of fonts

2022-12-26 Thread Thibaut Cuvelier
t sometimes would fail. Is this same code also used > with XHTML now? Or would it need to be adapted for that case? > I've tested this case and it looks like the XHTML code did the right thing there. It's a part I rewrote for DocBook, introducing a few bugs.Here is the output from XHT

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 **completed** by then. Since they

Re: DocBook change: use a stack of fonts

2022-12-26 Thread Richard Kimberly Heck
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 closing them, otherwise you get strange results like in the ticket. The bug is quite serious, actually, ev

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

2022-12-26 Thread Richard Kimberly Heck
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 *completed* by then. Since they don't affect really core code, I'm not too worried about them being ma

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

2022-12-26 Thread Richard Kimberly Heck
On 12/26/22 16:57, Scott Kostyshak wrote: I'm fine with whatever Riki prefers since they're handling the beta 2. I am planning to do the tarball tomorrow, so I guess the question is whether these changes can be *completed* by then. Since they don't affect really core code, I'm not too worried

DocBook change: use a stack of fonts

2022-12-26 Thread Thibaut Cuvelier
l hit it. I'd like help on two points: - code review - running the test suite (ctest -R "_docbook") Currently, I cannot run the DocBook test suite due to Perl errors. I'm quite ignorant about Perl, so I'm not sure what I should do about the issue. I understood that the XML

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

2022-12-26 Thread Scott Kostyshak
rac/ticket/12612, I needed a new layout > > > parameter for DocBook to generate some content based on paragraph labels. > > > It draws heavily from LyXHTML code: makeEnvironment in output_xhtml.cpp, > > > case on environments, label generation (currently, lines 499 to 511). &g

Re: [Review requested] New DocBook layout parameter

2022-12-26 Thread Kornel Benko
rac/ticket/12612, I needed a new layout > > > parameter for DocBook to generate some content based on paragraph labels. > > > It draws heavily from LyXHTML code: makeEnvironment in output_xhtml.cpp, > > > case on environments, label generation (currently, lines 499 to 511). &g

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

2022-12-24 Thread Jean-Marc Lasgouttes
Le 22/12/2022 à 04:45, Thibaut Cuvelier a écrit : Dear list, To solve https://www.lyx.org/trac/ticket/12612 <https://www.lyx.org/trac/ticket/12612>, I needed a new layout parameter for DocBook to generate some content based on paragraph labels. It draws heavily from LyXHTM

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

2022-12-23 Thread Scott Kostyshak
On Thu, Dec 22, 2022 at 04:45:52AM +0100, Thibaut Cuvelier wrote: > Dear list, > > To solve https://www.lyx.org/trac/ticket/12612, I needed a new layout > parameter for DocBook to generate some content based on paragraph labels. > It draws heavily from LyXHTML code: mak

Fwd: [Review requested] New DocBook layout parameter

2022-12-22 Thread Thibaut Cuvelier
Dear list, To solve https://www.lyx.org/trac/ticket/12612, I needed a new layout parameter for DocBook to generate some content based on paragraph labels. It draws heavily from LyXHTML code: makeEnvironment in output_xhtml.cpp, case on environments, label generation (currently, lines 499 to 511

Re: docbook ctest failing on master

2022-12-09 Thread Scott Kostyshak
On Fri, Dec 09, 2022 at 08:20:08PM +0100, Thibaut Cuvelier wrote: > 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: > &

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

docbook ctest failing on master

2022-12-08 Thread Scott Kostyshak
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... ././60/lily-95ee389a.ly:7:12: error: undefined cha

Re: A docbook test is failing on current master

2022-04-02 Thread Scott Kostyshak
On Sun, Apr 03, 2022 at 03:41:43AM +0200, Thibaut Cuvelier wrote: > 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. Tha

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 http://lists.lyx.org/mailman/listin

A docbook test is failing on current master

2022-04-02 Thread Scott Kostyshak
The following test fails for me on current master: export/export/xhtml/table_borders_docbook5 Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Lots of duplicate code in docbook

2022-03-31 Thread Daniel
;mailto:lorenzobertin...@gmail.com <mailto:lorenzobertin...@gmail.com>>> 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 LyXHT

Re: Lots of duplicate code in docbook

2022-03-31 Thread Thibaut Cuvelier
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 > > >> its own to produ

Re: Lots of duplicate code in docbook

2022-03-29 Thread Daniel
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: > On 2022-03-21 10:55, Lorenzo Bertini wrote: >> There is some degree of duplication betw

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 old

Re: Lots of duplicate code in docbook

2022-03-21 Thread Lorenzo Bertini
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 its own to produce Docbook. This has been brought up also when

Re: Lots of duplicate code in docbook

2022-03-21 Thread Daniel
On 2022-03-21 10:55, Lorenzo Bertini wrote: Il 21/03/22 10:37, Daniel ha scritto: I have no knowledge about docbook. I never used it. I was just wondering why so code is duplicated in the docbook functions. For example, Tabular::docbookRowAsHTML and Tabular::docbookRowAsCALS seems to

Re: Lots of duplicate code in docbook

2022-03-21 Thread Lorenzo Bertini
Il 21/03/22 10:37, Daniel ha scritto: I have no knowledge about docbook. I never used it. I was just wondering why so code is duplicated in the docbook functions. For example, Tabular::docbookRowAsHTML and Tabular::docbookRowAsCALS seems to duplicate much of Tabular::xhtmlRow. Isn't th

Lots of duplicate code in docbook

2022-03-21 Thread Daniel
I have no knowledge about docbook. I never used it. I was just wondering why so code is duplicated in the docbook functions. For example, Tabular::docbookRowAsHTML and Tabular::docbookRowAsCALS seems to duplicate much of Tabular::xhtmlRow. Isn't that an issue when adding new features? Wh

Re: [LyX/master] DocBook: add more flexibility for floats.

2021-12-05 Thread Scott Kostyshak
On Sun, Dec 05, 2021 at 10:56:49PM +0100, Thibaut Cuvelier wrote: > Hi Scott, > > My last two commits should solve this issue > (489bf46a0345216f1a281617ec2a1ae6019c189f) and improve the support for > Tufte (e3489d54e3485ef186eb70b06d4372eaa400db98). At least, it works > locally. Does it work on y

Re: [LyX/master] DocBook: add more flexibility for floats.

2021-12-05 Thread Thibaut Cuvelier
Kostyshak wrote: > On Sun, Sep 19, 2021 at 11:45:17PM +0200, Thibaut Cuvelier wrote: > > commit 8b6e3d374996cc124a9830c71bc2bb744097a7a2 > > Author: Thibaut Cuvelier > > Date: Mon Sep 20 00:06:20 2021 +0200 > > > > DocBook: add more flexibility for floats. &

Re: [LyX/master] DocBook: add more flexibility for floats.

2021-12-05 Thread Scott Kostyshak
On Sun, Sep 19, 2021 at 11:45:17PM +0200, Thibaut Cuvelier wrote: > commit 8b6e3d374996cc124a9830c71bc2bb744097a7a2 > Author: Thibaut Cuvelier > Date: Mon Sep 20 00:06:20 2021 +0200 > > DocBook: add more flexibility for floats. > > Intended to fix #12371. >

Re: A couple of lilypond docbook tests failing

2021-11-01 Thread Scott Kostyshak
On Tue, Nov 02, 2021 at 12:55:54AM +0100, Thibaut Cuvelier wrote: > Hi Scott, > > What version of LilyPond are you using? Probably an old one: $ lilypond -v GNU LilyPond 2.22.0 > I am indeed getting errors at least > with the first document, but not at all the same ones. The error you get >

Re: A couple of lilypond docbook tests failing

2021-11-01 Thread Thibaut Cuvelier
Hi Scott, What version of LilyPond are you using? I am indeed getting errors at least with the first document, but not at all the same ones. The error you get should have been solved by e22f52e7, at least on Windows (os.chdir solved it for me in some cases). You could chime in https://gitlab.com/l

A couple of lilypond docbook tests failing

2021-10-31 Thread Scott Kostyshak
The following tests are failing for me: The following tests FAILED: 4010 - export/examples/Modules/LilyPond_Book_docbook5 (Failed) 5165 - INVERTED.DOCBOOK_export/examples/fr/Modules/Linguistics_docbook5 (Failed) 5557 - export/examples/ja/Modules/LilyPond_Book_docbo

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Thibaut Cuvelier
eone wants to modify the image without access to the > original > > > > LyX document (this property is quite important to me). > > > > > > Just to be sure - do I understand correctly that what you aim for is to > > > take > > > any piece of ERT, run

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Pavel Sanda
perty is quite important to me). > > > > Just to be sure - do I understand correctly that what you aim for is to > > take > > any piece of ERT, run preview-inset-like machinery, get it's output as an > > image > > and include it in docbook output? > >

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Thibaut Cuvelier
to > take > any piece of ERT, run preview-inset-like machinery, get it's output as an > image > and include it in docbook output? > No, that's not for any ERT, it's only for insets that opt into this mechanism. In particular, for the linguistic trees, there are no

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Pavel Sanda
ge and include it in docbook output? Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Thibaut Cuvelier
Dear list, Subject: https://www.lyx.org/trac/ticket/12372 In the last few weeks, I've been working on a fix for #12372. Basically, the user complained that some random LaTeX code is not properly rendered in the DocBook output. The problem is that this is really arbitrary LaTeX code quite r

Re: Compile warnings with docbook

2021-09-24 Thread Thibaut Cuvelier
On Fri, 24 Sept 2021 at 10:07, Kornel Benko wrote: > Am Fri, 24 Sep 2021 09:34:36 +0200 > schrieb Thibaut Cuvelier : > > > On Fri, 24 Sept 2021 at 09:23, Kornel Benko wrote: > > > > > Am Fri, 24 Sep 2021 01:23:50 +0200 > > > schrieb Thibaut Cuvelier : > > > > > > > Hi Kornel, > > > > > > > > Tha

Re: Compile warnings with docbook

2021-09-24 Thread Kornel Benko
Am Fri, 24 Sep 2021 09:34:36 +0200 schrieb Thibaut Cuvelier : > On Fri, 24 Sept 2021 at 09:23, Kornel Benko wrote: > > > Am Fri, 24 Sep 2021 01:23:50 +0200 > > schrieb Thibaut Cuvelier : > > > > > Hi Kornel, > > > > > > Thanks for pointing these out, they didn't show on my side. I could quite >

Re: Compile warnings with docbook

2021-09-24 Thread Thibaut Cuvelier
On Fri, 24 Sept 2021 at 09:23, Kornel Benko wrote: > Am Fri, 24 Sep 2021 01:23:50 +0200 > schrieb Thibaut Cuvelier : > > > Hi Kornel, > > > > Thanks for pointing these out, they didn't show on my side. I could quite > > easily fix the one about the unused argument in the constructor (it's > > alr

Re: Compile warnings with docbook

2021-09-24 Thread Kornel Benko
allowssideways_(allowssideways), html_tag_(htmlTag), html_attrib_(htmlAttrib), html_style_(htmlStyle), - docbook_tag_(docbookTag), docbook_tag_type_(docbookTagType), - docbook_caption_(docbookCaption) + docbook_caption_(docbookCaption), docbook_tag_(docbookTag), + docbook_tag_type_(docboo

Re: Compile warnings with docbook

2021-09-23 Thread Thibaut Cuvelier
Hi Kornel, Thanks for pointing these out, they didn't show on my side. I could quite easily fix the one about the unused argument in the constructor (it's already pushed: dca39815), but I don't know what to do for the others. Maybe the attached patch solves the rest of the warnings? On Fri, 24 Se

  1   2   3   4   5   6   7   8   9   10   >