[LyX features/feature/docbook] DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore.

Pavel Sanda sanda at lyx.org
Fri Sep 11 10:39:04 UTC 2020


On Fri, Sep 11, 2020 at 01:28:37AM +0200, Thibaut Cuvelier wrote:
> commit e32b7760ed8ff7617116c87b806b09a0632e3500
> Author: Thibaut Cuvelier <tcuvelier at lyx.org>
> Date:   Fri Sep 11 01:50:26 2020 +0200
> 
>     DocBook: remove now useless function in configure.py.
> 
> diff --git a/lib/configure.py b/lib/configure.py
> index 1547000..2247c78 100644
> --- a/lib/configure.py
> +++ b/lib/configure.py
> @@ -1265,26 +1265,6 @@ def checkConverterEntries():
>  ''')
>  
>  
> -def checkDocBook():
> -    ''' Check docbook '''
> -    path, DOCBOOK = checkProg('SGML-tools 2.x (DocBook), db2x scripts or xsltproc', ['sgmltools', 'db2dvi', 'xsltproc'],
> -        rc_entry = [
> -            r'''\converter docbook    dvi        "sgmltools -b dvi $$i"	""
> -\converter docbook    html       "sgmltools -b html $$i"	""
> -\converter docbook    ps         "sgmltools -b ps $$i"	""''',
> -            r'''\converter docbook    dvi        "db2dvi $$i"	""
> -\converter docbook    html       "db2html $$i"	""''',
> -            r'''\converter docbook    dvi        ""	""
> -\converter docbook    html       "" ""''',
> -            r'''\converter docbook    dvi        ""	""
> -\converter docbook    html       ""	""'''])
> -    #
> -    if DOCBOOK:
> -        return ('yes', 'true', '\\def\\hasdocbook{yes}')
> -    else:
> -        return ('no', 'false', '')
> -
> -

Good. Do you plan to introduce the chain for epub or at least to document it in the manuals?

Pavel


More information about the lyx-devel mailing list