Sha256: cf3b08ca9ed2635161d36f407729e7a4d4ef90efd35ff5fb4b82db2a5685f953

Contents?: true

Size: 428 Bytes

Versions: 9

Compression:

Stored size: 428 Bytes

Contents

\documentclass[12pt,a4paper,sloppy]{article}
<% @latex_config={:command => 'pdflatex',:parse_twice => true} # you can override the defaults if you wish; see LatexToPdf#config %>
\usepackage{lastpage}
\usepackage{graphics}
\begin{document}

This document uses \verb|parse_twice| to calculate the last page.

Other defaults can be overridden using \verb|LatexToPdf#config| and \verb|@latex_config|.

<%= yield %>

\end{document}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-latex-1.0.14 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.13 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.12 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.11 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.10 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.9 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.8 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.7 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
rails-latex-1.0.6 examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex