DocBook milestone: most tests pass!

Kornel Benko kornel at lyx.org
Sat Nov 28 20:47:33 UTC 2020


Am Sat, 28 Nov 2020 20:31:26 +0100
schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:

> On Sat, 28 Nov 2020 at 15:30, Kornel Benko <kornel at lyx.org> wrote:
> 
> > Am Sat, 28 Nov 2020 14:11:58 +0100
> > schrieb Kornel Benko <kornel at lyx.org>:
> >
> > > >    - *export/export/docbook/basic_docbook5*: this test only fails
> > because
> > > >    of a bibliography issue. In the test environment, I cannot make LyX
> > load
> > > >    the BibTeX bibliography. When I manually run the test from the GUI,
> > the
> > > >    bibliography properly loads. I don't know how to debug it…
> > >
> > > I tried to find the cause (and have a patch attached to handle this case)
> > > The problem was, that searching for relative bibfiles in a copied
> > lyx-file did not work.
> > > We have to use absolute paths.
> >
> > One other possibility would have been to respect the setting of \origin
> > value in the
> > lyx-file.
> > While testing, it is set to source-path of the original lyx-file (if not
> > set to
> > absolute path already)
> >
> 
> The problem is that this file is part of the autotests folder, while
> \origin only seems to work with /systemlyxdir/.

No, at test _we_ are setting the origin. Because of that, the pdf tests work.
Docbook output could evaluate it too.

> However, your patch works perfectly for this issue!

Yes, but is not nice for other tested formats (to test if they respect origin for
instance)

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201128/f917442d/attachment.asc>


More information about the lyx-devel mailing list