#やりたいこと
Atomで \input の入ってるtex fileを使う際に一発でコンパイルしたい
#環境
- MacOS 10.12.5(Sierra)
- Atom 1.17.2
- latex (Atomのパッケージ)0.43.0
- platexでコンパイル
#fileの構成
folder/
├ main.tex
├ chapter1.tex
├ chapter2.tex
├ fig/
#main.tex
tex:main.tex
1プリンブルもろもろ 2\input{chapter1} 3\input{chapter2}
#問題
chapter1.tex
を編集して保存(cmd+s)するとchapter1.tex
が"latex"パッケージによりコンパイルされてエラーが出る
Missing \bigen{document}
opt+cmd+sで一括保存してもうまくいかず
#現状
chapter1.tex
を保存してからmain.tex
を保存
previewにchapter1.pdf
が表示される -邪魔
#理想
chapter1.tex
を編集して保存するとmain.tex
にも反映され,main.tex
のみがコンパイルされる
main.pdf
だけを表示させたい.
あなたの回答
tips
プレビュー