r*******d 发帖数: 958 | 1 【 以下文字转载自 Apple 讨论区 】
发信人: rockytodd (Rocky Mountain), 信区: Apple
标 题: Mac下编译latex的执行脚本
发信站: BBS 未名空间站 (Sat Jul 3 02:52:09 2010, 美东)
windows下用latex下文章,
一般都把一堆命令放到一个.bat脚本里,比如:
del Supporting-information.pdf
latex Supporting-information.tex
bibtex Supporting-information
latex Supporting-information.tex
latex Supporting-information.tex
dvipdfmx -p letter Supporting-information.dvi
然后双击这个bat文件,一切都搞定了。
Mac下怎么做?
谢谢 |
S**I 发帖数: 15689 | 2 shell script
【在 r*******d 的大作中提到】 : 【 以下文字转载自 Apple 讨论区 】 : 发信人: rockytodd (Rocky Mountain), 信区: Apple : 标 题: Mac下编译latex的执行脚本 : 发信站: BBS 未名空间站 (Sat Jul 3 02:52:09 2010, 美东) : windows下用latex下文章, : 一般都把一堆命令放到一个.bat脚本里,比如: : del Supporting-information.pdf : latex Supporting-information.tex : bibtex Supporting-information : latex Supporting-information.tex
|
s*****g 发帖数: 5159 | 3 make a file, namely latexcompile.sh
put the following in the content of the file
rm -f Supporting-information.pdf
latex Supporting-information.tex
bibtex Supporting-information
latex Supporting-information.tex
latex Supporting-information.tex
dvi2pdf Supporting-information.dvi
save and exit.
Doe the following ONCE.
> chmod +x latexcompile.sh
Everytime, you could compile by
./latexcompile.sh
or
sh ./latexcompile.sh
【在 r*******d 的大作中提到】 : 【 以下文字转载自 Apple 讨论区 】 : 发信人: rockytodd (Rocky Mountain), 信区: Apple : 标 题: Mac下编译latex的执行脚本 : 发信站: BBS 未名空间站 (Sat Jul 3 02:52:09 2010, 美东) : windows下用latex下文章, : 一般都把一堆命令放到一个.bat脚本里,比如: : del Supporting-information.pdf : latex Supporting-information.tex : bibtex Supporting-information : latex Supporting-information.tex
|
r*******d 发帖数: 958 | 4 works, thanks a lot!
【在 s*****g 的大作中提到】 : make a file, namely latexcompile.sh : put the following in the content of the file : rm -f Supporting-information.pdf : latex Supporting-information.tex : bibtex Supporting-information : latex Supporting-information.tex : latex Supporting-information.tex : dvi2pdf Supporting-information.dvi : save and exit. : Doe the following ONCE.
|
M***y 发帖数: 2252 | 5 设成emacs快捷键更好用 哈哈 还可以直接一键打开
【在 r*******d 的大作中提到】 : 【 以下文字转载自 Apple 讨论区 】 : 发信人: rockytodd (Rocky Mountain), 信区: Apple : 标 题: Mac下编译latex的执行脚本 : 发信站: BBS 未名空间站 (Sat Jul 3 02:52:09 2010, 美东) : windows下用latex下文章, : 一般都把一堆命令放到一个.bat脚本里,比如: : del Supporting-information.pdf : latex Supporting-information.tex : bibtex Supporting-information : latex Supporting-information.tex
|
s*****g 发帖数: 5159 | 6 Give a tutorial / link to tutorial, you will get a baozi.
【在 M***y 的大作中提到】 : 设成emacs快捷键更好用 哈哈 还可以直接一键打开
|
a****9 发帖数: 418 | 7 安装一下rubber
然后直接rubber -d Supporting-information.tex就好了
不用bibtex来bibtex去的了
省事儿
【在 r*******d 的大作中提到】 : 【 以下文字转载自 Apple 讨论区 】 : 发信人: rockytodd (Rocky Mountain), 信区: Apple : 标 题: Mac下编译latex的执行脚本 : 发信站: BBS 未名空间站 (Sat Jul 3 02:52:09 2010, 美东) : windows下用latex下文章, : 一般都把一堆命令放到一个.bat脚本里,比如: : del Supporting-information.pdf : latex Supporting-information.tex : bibtex Supporting-information : latex Supporting-information.tex
|
r*****l 发帖数: 110 | 8 用TexMaker+MikTex的MAC版本。相当方便。 |
r******s 发帖数: 925 | |