Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultHandler generates PDFs via the pdflatex executable. // A LaTeX installation is required, as well as the pdflatex command. DefaultHandler = NewHandler("pdflatex") )
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is the interface that handles the generation of PDFs from TeX, usually via pdflatex.
func NewHandler ¶
NewHandler returns a Handler compiling .tex documents with the provided cmd executable.
type NoopHandler ¶
type NoopHandler struct{}
NoopLatexHandler is a no-op LaTeX compiler.
func (NoopHandler) CompileLatex ¶
func (NoopHandler) CompileLatex(fname string) error
Click to show internal directories.
Click to hide internal directories.