README.rdoc in rails-latex-1.0.12 vs README.rdoc in rails-latex-1.0.13

- old
+ new

@@ -1,9 +1,9 @@ = Rails-LaTeX -* Git: http://github.com/jacott/rails-latex -* Author: Geoff Jacobsen +* Git: http://github.com/baierjan/rails-latex +* Original author: Geoff Jacobsen * Copyright: 2009-2010 * License: MIT-LICENSE == Description @@ -38,29 +38,31 @@ Only the file containing the \\documentclass should be of type: .pdf.erbtex . Partials and views (when there is a layout) should be of type .pdf.erb . -If a LaTeX package requires two parses then add the following to the .pdf.erbtex file: +If a LaTeX package requires more than one parser run add the following to the .pdf.erbtex file: - <% @latex_config={:parse_twice => true} %> + <% @latex_config={:parse_runs => 3} %> You can override the defaults like so: - LatexToPdf.config.merge! :command => 'xetex', :arguments => ['-etex'], :parse_twice => true + LatexToPdf.config.merge! :command => 'xetex', :arguments => ['-etex'], :parse_runs => 2 or to change just the arguments: LatexToPdf.config[:arguments].delete('-halt-on-error') The defaults are: command: 'pdflatex' arguments: ['-halt-on-error'] - parse_twice: false + parse_runs: 1 -The last log file is moved to tmp/rails-latex/input.log . If the PDF is not produced the build directory is not removed; -an archive script should be written to occasionally clean up the tmp/rails-latex directory. +The last log file is moved to tmp/rails-latex/input.log , and the corresponding +source TeX file to tmp/rails-latex/input.tex . If the PDF is not produced the +build directory is not removed; an archive script should be written to +occasionally clean up the tmp/rails-latex directory. See the rails application under examples/rails-latex-demo/ for a working example. === Generating a String @@ -99,7 +101,8 @@ * rake test * rake build == Contributions +* Geoff Jacobsen * Tommaso Patrizi -* Klaus Reske \ No newline at end of file +* Klaus Reske