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

Thibaut Cuvelier tcuvelier at lyx.org
Fri Sep 11 22:50:16 UTC 2020


On Fri, 11 Sep 2020 at 12:39, Pavel Sanda <sanda at lyx.org> wrote:

> 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?
>

I do have that in my plans, but it's quite far away, as I need to
understand a lot more of how configure.py works to do that (mostly, how to
detect dependencies).

Otherwise, in what manual would you document this possibility? I was
thinking of Additional.lyx, with a new DocBook section after "LyX and the
World Wide Web". It could hint at some useful software to deal with
DocBook, like stylesheets to generate EPUB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200912/0977ed4e/attachment-0001.html>


More information about the lyx-devel mailing list