[LyX/master] Search for external xslt stylesheets.
Pavel Sanda
sanda at lyx.org
Fri Feb 12 22:47:05 UTC 2021
On Fri, Feb 12, 2021 at 11:39:17PM +0100, Pavel Sanda wrote:
> commit 19a9387f72009483cbe50f910bf800709452e8cd
> Author: Pavel Sanda <sanda at lyx.org>
> Date: Fri Feb 12 23:33:47 2021 +0100
>
> Search for external xslt stylesheets.
>
> Tested with debian's docbook-xsl-ns (1.79.1)
> ---
> lib/configure.py | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/lib/configure.py b/lib/configure.py
> index 24a51cb..0bf0772 100644
> --- a/lib/configure.py
> +++ b/lib/configure.py
> @@ -1006,9 +1006,14 @@ def checkConverterEntries():
> checkProg('DocBook converter -> PDF (docbook)', ['pandoc -f docbook -t latex --latex-engine=lualatex --toc -o $$o $$i'],
> rc_entry = [ r'\converter docbook5 pdf9 "%%" ""' ])
> #
> + xpath, xslt_sheet = checkProg('XSLT stylesheets for ePub', ['chunk.xsl'], '', ['/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/epub3'])
Jose / Cor,
you might want to add where stylesheets for processing DocBook 5 XML live in the chameleon's hat
so it's automatically detected ;)
Pavel
More information about the lyx-devel
mailing list