class

Qtr::Renderers::PdfRenderer

Inherits Reference < Object

Orchestrates PDF generation via native Crystal engine or system Pandoc

Constants

DEFAULT_LATEX_TEMPLATE = {{ read_file("/tmp/tmp.IJjAMa/src/src/qtr/renderers/../../../templates/proposal.tex") }}

Constructors

new(quote : Quote, financials : Financials, config : Config)

Instance methods

compile(target_pdf_path : String, source_rst_path : String | Nil = nil) : Bool

Compiles proposal to PDF at the target path

config
config=(config : Config)
financials
financials=(financials : Financials)
quote
quote=(quote : Quote)