diff --git a/latex.go b/latex.go index 242980c..c0a1ad3 100644 --- a/latex.go +++ b/latex.go @@ -32,7 +32,7 @@ type Latex struct { // // flags is a set of LATEX_* options ORed together (currently no such options // are defined). -func NewLatexRenderer(flags int) Renderer { +func NewLatexRenderer(flags int) *Latex { var writer bytes.Buffer return &Latex{ w: writer,