]> git.lyx.org Git - features.git/commitdiff
The new DocBook output has no prerequisite on the document, so enable it for each...
authorThibaut Cuvelier <cuvelier.thibaut@gmail.com>
Fri, 10 May 2019 00:13:23 +0000 (02:13 +0200)
committerPavel Sanda <sanda@lyx.org>
Wed, 8 Jul 2020 07:35:03 +0000 (09:35 +0200)
lib/configure.py
src/BufferParams.cpp

index f48fbf3f2f735234221b84a89b4ac1e229ec8f9a..cea9bdc886243dc51f474ae6535e74719159796a 100644 (file)
@@ -1242,7 +1242,6 @@ def checkConverterEntries():
     # checkProg('Image converter', ['convert $$i $$o'])
     #
     # Entries that do not need checkProg
-    # \converter docbook    docbook5   "cp $$i $$o"    "xml"
     addToRC(r'''
 \converter csv        lyx        "python -tt $$s/scripts/csv2lyx.py $$i $$o"   ""
 \converter fen        asciichess "python -tt $$s/scripts/fen2ascii.py $$i $$o" ""
@@ -1262,6 +1261,7 @@ def checkConverterEntries():
 \converter klyx       lyx        "python -tt $$s/lyx2lyx/lyx2lyx -c euc_kr -o $$o $$i" ""
 \converter lyxpreview png        "python -tt $$s/scripts/lyxpreview2bitmap.py --png"   ""
 \converter lyxpreview ppm        "python -tt $$s/scripts/lyxpreview2bitmap.py --ppm"   ""
+\converter docbook    docbook5   "cp $$i $$o"  "xml"
 ''')
 
 
index 1b130748d07c780c70fa39e65336f08247ea9380..bb59d0d71c644bab8d2ac47362f6df8e61164e33 100644 (file)
@@ -2698,6 +2698,7 @@ vector<string> BufferParams::backends() const
        }
 
        v.push_back("xhtml");
+       v.push_back("docbook5");
        v.push_back("text");
        v.push_back("lyx");
        return v;