ctest ca/Intro_docbook5 now failing
Thibaut Cuvelier
dourouc05 at gmail.com
Mon Sep 25 03:27:47 UTC 2023
On Mon, 18 Sept 2023 at 02:43, Thibaut Cuvelier <dourouc05 at gmail.com> wrote:
> On Thu, 14 Sept 2023 at 02:35, Scott Kostyshak <skostysh at lyx.org> 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 guessing the recent changes to that
>> file just triggered a known issue with DocBook export. Can you confirm so
>> that we can invert that test?
>> >
>>
>> I just inverted it for now (at eb920502). Take a look whenever you have
>> time.
>>
>
> I had a look at that failure. It's a specific feature of that document,
> with an emphasis ending at the end of a footnote (with no character
> afterwards). Is this expected that someone can enter that? I would naïvely
> think that LyX would remove that formatting (just like you cannot have two
> spaces or an empty paragraph). LyXHTML ends the emphasis at the end of the
> footnote, unlike DocBook.
>
> I have the idea for a fix; I'm waiting on your input on whether this is a
> DocBook bug or unexpected LyX behaviour.
>
I made up my mind and decided to replicate the same behaviour as LyXHTML
output: actually, there was some text, indicating a true bug in the
implementation. The attached patch fixes it locally, making it so that the
test can be uninverted. (As previously, I cannot push the commit onto the
Git repository.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230925/4f0baaeb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DocBook__fix_a_bug_when_having_a_space_with_font_at_the_end_of_a_paragraph_.patch
Type: application/octet-stream
Size: 10066 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230925/4f0baaeb/attachment.obj>
More information about the lyx-devel
mailing list