Skip to content
Snippets Groups Projects
Commit 686c4c34 authored by Job van der Voort's avatar Job van der Voort
Browse files

back to xelatex

parent 055343f3
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -426,7 +426,7 @@ desc "Build website in #{BUILD_DIR}"
task :build => [:clean, :generate, :pdfs]
 
rule %r{^public/terms/print/.*\.pdf} => [->(f) { f.pathmap('%X.html') }] do |pdf|
options = %W(--template=_terms_template.tex --latex-engine=pdflatex -V date=#{Time.now.to_s})
options = %W(--template=_terms_template.tex --latex-engine=xelatex -V date=#{Time.now.to_s})
warn "Generating #{pdf.name}"
abort("Pandoc failed") unless system('pandoc', *options, '-o', pdf.name, pdf.source)
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment