mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
DocBook: for PDF export with Pandoc, support the current syntax for PDf engine
This commit is contained in:
parent
53ff5785f4
commit
befeb204c9
@ -1003,7 +1003,9 @@ def checkConverterEntries():
|
||||
checkProg('an Open Document (Pandoc) -> LaTeX converter', ['pandoc -s -f odt -o $$o -t latex $$i'],
|
||||
rc_entry = [ r'\converter odt3 latex "%%" ""' ])
|
||||
#
|
||||
checkProg('DocBook converter -> PDF (docbook)', ['pandoc -f docbook -t latex --latex-engine=lualatex --toc -o $$o $$i'],
|
||||
checkProg('DocBook converter -> PDF (docbook)',
|
||||
['pandoc -f docbook -t latex --pdf-engine=lualatex --toc -o $$o $$i', # Since Pandoc 2.0
|
||||
'pandoc -f docbook -t latex --latex-engine=lualatex --toc -o $$o $$i'], # Up to Pandoc 1.19
|
||||
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'])
|
||||
|
Loading…
Reference in New Issue
Block a user