1

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

这是代码:

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

1 回答 1

0

bash 没有问题。我忘了在正确的目录中运行它。我一直保持它已经输出到启动。

于 2015-05-11T10:11:19.250 回答