pandoc-2.15: Conversion between markup formats
CopyrightCopyright (C) 2012-2021 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.PDF

Description

Conversion of LaTeX documents to PDF.

Documentation

makePDF Source #

Arguments

:: (PandocMonad m, MonadIO m, MonadMask m) 
=> String

pdf creator (pdflatex, lualatex, xelatex, wkhtmltopdf, weasyprint, prince, context, pdfroff, or path to executable)

-> [String]

arguments to pass to pdf creator

-> (WriterOptions -> Pandoc -> m Text)

writer

-> WriterOptions

options

-> Pandoc

document

-> m (Either ByteString ByteString)