Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用基于 unix 的操作系统,我目前正在尝试制作一个始终编译我的 tex 文件的小型 bash 程序,这样我就不需要每次都这样做..它似乎编译得很好,但它不会创建任何PDF文件..我对它为什么不这样做感到有点困惑。
这是代码:
#!/bin/bash while true do pdflatex -synctex=1 -interaction=nonstopmode /Users/Johnathan/Documents/Bachelor/Rp/bachelor.tex done
bash 没有问题。我忘了在正确的目录中运行它。我一直保持它已经输出到启动。