From c7e3c1ec1797d633c181e5701c94f4169b0e5471 Mon Sep 17 00:00:00 2001 From: Mauro Bieg Date: Tue, 12 Sep 2017 05:18:42 +0200 Subject: Support for PDF generation via `weasyprint` and `prince` (#3909) * Rename --latex-engine to --pdf-engine * In `Text.Pandoc.Options.WriterOptions`, rename `writerLaTeXEngine` to `writerPdfEngine` and `writerLaTeXArgs` to `writerPdfArgs`. * Add support for `weasyprint` and `prince`, in addition to `wkhtmltopdf`, for PDF generation via HTML (closes #3906). * `Text.Pandoc.PDF.html2pdf`: use stdin instead of intermediate HTML file --- data/bash_completion.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/bash_completion.tpl') diff --git a/data/bash_completion.tpl b/data/bash_completion.tpl index 317fd5095..c9145c06c 100644 --- a/data/bash_completion.tpl +++ b/data/bash_completion.tpl @@ -29,8 +29,8 @@ _pandoc() COMPREPLY=( $(compgen -W "references javascript none" -- ${cur}) ) return 0 ;; - --latex-engine) - COMPREPLY=( $(compgen -W "pdflatex lualatex xelatex" -- ${cur}) ) + --pdf-engine) + COMPREPLY=( $(compgen -W "pdflatex lualatex xelatex wkhtmltopdf weasyprint prince context pdfroff" -- ${cur}) ) return 0 ;; --print-default-data-file) -- cgit v1.2.3