On Sun, Jun 23, 2024 at 01:39:33PM +0200, Xavier Brochard wrote:
> At first start (or reconfigure option) Lyx look for xslt proc path. 
> But path is hardcoded in file /usr/share/lyx/configure.py and look 
> only for package docbook-xsl-ns. If the docbook-xsl package is 
> installed, as recommended by Lyx package, the script can't find it.

Hello, thanks for the report. You are right, there is now bug in
docbook deps.

> Adding the right path in the script works for me :.
> #
> xpath, xslt_sheet = checkProg('XSLT stylesheets for ePub', ['chunk.xsl'], '', 
> ['/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/epub3','/usr/share/xml/docbook/stylesheet/docbook-xsl/epub3/'])
> if xslt_sheet == 'chunk.xsl':
>     xpath = '/usr/share/xml/docbook/stylesheet/docbook-xsl-ns'
> else:
>     xpath = 'none'

It might work, but I think it's not the correct solution, as
LyX should now produce DocBook 5, which is covered by docbook-xsl-ns,
not by docbook-xsl.

Would you mind undo your fix, install docbook-xsl-ns instead and
check whether the LyX output works for you after reconfigure?

I'll fix the dependecy from docbook-xsl to docbook-xsl-ns
for 2.4.1, which should be released within few weeks.

Pavel

Reply via email to