Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.296 kb
files = `find . -name '*_latex.md'`
files = files.split("\n")
files.each do |file|
split = file.split '/'
dir = split[0..split.count - 2].join('/')
name = split.last.split('_latex.md')[0]
Dir.chdir(dir) do
`pandoc #{name}_latex.md -o #{name}.pdf --latex-engine=xelatex`
end
end
Jump to Line
Something went wrong with that request. Please try again.