pandoc-3.2.1: Conversion between markup formats
CopyrightCopyright (C) 2012-2024 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellSafe-Inferred
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, pagedjs, or path to executable)

-> [String]

arguments to pass to pdf creator

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

writer

-> WriterOptions

options

-> Pandoc

document

-> m (Either ByteString ByteString)