lib/ltx/build.rb in ltx-1.1.0 vs lib/ltx/build.rb in ltx-1.2.0
- old
+ new
@@ -69,37 +69,37 @@
def pdflatex_command
latexmk_base_command.concat [
'-pdf',
'-e',
"$pdflatex='pdflatex -synctex=1 -interaction=batchmode %O %S'",
- File.join(@config.compile_dir, @config.main)
+ @config.main
]
end
def latex_command
latexmk_base_command.concat [
'-pdfdvi',
'-e',
"$latex='latex -synctex=1 -interaction=batchmode %O %S'",
- File.join(@config.compile_dir, @config.main)
+ @config.main
]
end
def xelatex_command
latexmk_base_command.concat [
'-xelatex',
'-e',
"$pdflatex='xelatex -synctex=1 -interaction=batchmode %O %S'",
- File.join(@config.compile_dir, @config.main)
+ @config.main
]
end
def lualatex_command
latexmk_base_command.concat [
'-pdf',
'-e',
"$pdflatex='lualatex -synctex=1 -interaction=batchmode %O %S'",
- File.join(@config.compile_dir, @config.main)
+ @config.main
]
end
end
end