
當我嘗試使用 TEXmaker 和終端機運行 bibtex 時遇到問題。我用的是centOS。
在 w8 中,一切運行正常,我得到了帶有正確參考的最終 pdf。
但在 Linux 中,使用 TEXmaker 我得到
Error : could not start the command
當我嘗試編譯時,無論是手動還是使用快速建置。我透過 Latex+bibtex+latex+latex 進行編譯。
在終端機中,我的 bash 腳本如下所示:
export fi=Level2 export day=`date +%d%m%y`
cp $fi.tex OLD/$fi$day.tex
#clean rm -rf $fi.bbl $fi.aux $fi.blg $fi.dvi $fi.log $fi.pdf
latex $fi.tex bibtex $fi latex $fi.tex latex $fi.tex dvipdf $fi.dvi $fi.pdf
#okular $fi.pdf & gnome-open $fi.pdf &
.bib 和 .bst 都在此目錄中。預設會載入 natbib,但如果我呼叫 packadge,我會得到相同的結果。
\clearpage \bibliographystyle{model2-names} %%
\bibliography{./Bibtex/global} \bibliography{global_scat} \clearpage
我在 Linux 中使用 Bibtex,而不是 biblatex,因為我需要能夠在兩個作業系統上運行 tex 文件,而不需要對其進行重大更改。