jacott/rails-latex — Issue #13: no output
Author: lawerna
Created: 2011-10-20 11:54:36+00:00
State: open

I have a small problem. I`m trying to make function which will generate a pdf. This is my code:

def generate_and_save_pdf
code = "\\documentclass[12pt]{article}
\\begin{document}
Don't forget to include examples of topicalization.
\\end{document}"
@latex_config={:command => 'xelatex',:parse_twice => true}
LatexToPdf.generate_pdf(code, @latex_config, parse_twice = true)
end

In a log file I can see that "Output written on input.pdf (1 page).", but there is no input.pdf in tmp/rails-latex/ and I have no clue what is wrong.

Thanks in advance for help.