简单的程序,自动编译乳胶文件

时间:2015-05-10 21:03:17

标签: macos bash latex texmaker

我正在使用基于unix的操作系统,我正在尝试制作一个小的bash程序,它一直编译我的tex文件,这样我就不需要每次都这样做..它似乎编译正常,但它不会创建任何PDF文件..我有点困惑为什么它不这样做。

以下是代码:

#!/bin/bash
while true
do
    pdflatex -synctex=1 -interaction=nonstopmode /Users/Johnathan/Documents/Bachelor/Rp/bachelor.tex
done

1 个答案:

答案 0 :(得分:0)

bash没什么问题..我忘了在正确的目录中运行..我一直把它输出到开始..

相关问题