在裡面參考系統項目,我們正在提交一篇論文 國際商會 2021會議。截止日期是在幾個小時內。
我們的論文草稿放在 gitlab、儲存庫上https://gitlab.com/bstarynk/refpersys在下面目錄doc/iccait-2021/
在裡面FLTK分公司。我們正在使用 Linux/Debian/Buster。這自述文件.md包含依賴項,且./build.shshell 腳本正在建置 PDF。
由於我不明白的原因,我未能正確取得參考書目。
我收到的錯誤訊息是:
! Package biblatex Error: '\bibliographystyle' invalid.
See the biblatex package documentation for explanation.
Type H <return> for immediate help.
...
我能夠產生的最後一個 PDF 位於refpersys.org/iccait2021-refpersys-6f6c8f8d.pdf。如您所見,沒有出現參考書目。它是由git 提交6f6c8f8d
我確實讀了好幾次 LaTeX 指南https://mirrors.chevalier.io/CTAN/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf 和 BibTeX 指南https://ctan.tetaneutral.net/macros/latex/contrib/IEEEtran/bibtex/IEEEtran_bst_HOWTO.pdf
例如,當我跑步時
./build.sh >& /tmp/build-iccai2021-61953b55ba0.out
我正在獲取上傳到的輸出文件refpersys.org/build-iccai2021-61953b55ba0.out
我究竟做錯了什麼 ?
我嘗試了很多東西,但沒有任何效果。
提出相同問題的另一種方式是:使用 Linux 提交 IEEE 的來源檔案(可能*.tex
包含)是什麼?*.bib
*.svg
矛盾的是 IEEE LaTeX 套件的作者可能也在使用 Linux...
附言。我們放棄了提交的想法。
答案1
biblatex
如果您想提交給出版商,這很少是正確的選擇。我建議假設biblatex
出版商不接受這一點,除非他們明確另有說明。
讓我們檢查一下本次會議的 LaTeX 範本。
這論文提交指南在https://panel.waset.org/conference/2021/05/paris/ICCAIT/guideline連結到 LaTeX 模板:http://waset.org/downloads/latex.zip。該.zip
文件包含兩個文件:命名不太有創意的journal.cls
和journal.tex
.journal.cls
顯然是文檔類文件,作者可能不應該修改甚至閱讀,但journal.tex
包含許多註釋。然而,鑑於評論的狀態,我根本不清楚有多少評論是原始模板的逐字複製(顯然基於 Michael Shell 的IEEEtran
課程)以及來自會議出版商的評論。
無論如何,到最後journal.tex
我們發現
% references section
% can use a bibliography generated by BibTeX as a .bbl file
% BibTeX documentation can be easily obtained at:
% http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/
% The IEEEtran BibTeX style support page is at:
% http://www.michaelshell.org/tex/ieeetran/bibtex/
%\bibliographystyle{IEEEtran}
% argument is your BibTeX string definitions and bibliography database(s)
%\bibliography{IEEEabrv,../bib/paper}
%
% <OR> manually copy in the resultant .bbl file
% set second argument of \begin to the number of references
% (used to reserve space for the reference number labels box)
\begin{thebibliography}{1}
\bibitem{IEEEhowto:kopka}
H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
\end{thebibliography}
這對我來說最好的做法是使用 BibTeX 並在提交之前\bibliographystyle{IEEEtran}
將.bbl
文件複製到您的論文中。沒有提到biblatex
並且推薦的方法與 完全不相容biblatex
,所以我建議你不要使用它。
事情可能是這樣的
\documentclass[journal]{journal}
\begin{document}
\cite{sigfridsson}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,biblatex-examples}
\end{document}
使用 LaTeX、BibTeX、LaTeX、LaTeX 進行編譯(使用 BibTeX,而不是像使用 Biber 一樣biblatex
)。有關 BibTeX 的更多背景資訊請訪問問號或粗體引用鍵而非引用號。當你完成論文後,拿走你的.bbl
文件,它可能看起來有點像
% Generated by IEEEtran.bst, version: 1.14 (2015/08/26)
\begin{thebibliography}{1}
\providecommand{\url}[1]{#1}
\csname url@samestyle\endcsname
\providecommand{\newblock}{\relax}
\providecommand{\bibinfo}[2]{#2}
\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}
\providecommand{\BIBentryALTinterwordstretchfactor}{4}
\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus
\BIBentryALTinterwordstretchfactor\fontdimen3\font minus
\fontdimen4\font\relax}
\providecommand{\BIBforeignlanguage}[2]{{%
\expandafter\ifx\csname l@#1\endcsname\relax
\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%
\typeout{** loaded for the language `#1'. Using the pattern for}%
\typeout{** the default language instead.}%
\else
\language=\csname l@#1\endcsname
\fi
#2}}
\providecommand{\BIBdecl}{\relax}
\BIBdecl
\bibitem{sigfridsson}
E.~Sigfridsson and U.~Ryde, ``Comparison of methods for deriving atomic charges
from the electrostatic potential and moments,'' \emph{Journal of
Computational Chemistry}, vol.~19, no.~4, pp. 377--395, 1998.
\end{thebibliography}
並將其複製到您的.tex
文件中替換兩行
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,biblatex-examples}
導致
\documentclass[journal]{journal}
\begin{document}
\cite{sigfridsson}
% Generated by IEEEtran.bst, version: 1.14 (2015/08/26)
\begin{thebibliography}{1}
\providecommand{\url}[1]{#1}
\csname url@samestyle\endcsname
\providecommand{\newblock}{\relax}
\providecommand{\bibinfo}[2]{#2}
\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}
\providecommand{\BIBentryALTinterwordstretchfactor}{4}
\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus
\BIBentryALTinterwordstretchfactor\fontdimen3\font minus
\fontdimen4\font\relax}
\providecommand{\BIBforeignlanguage}[2]{{%
\expandafter\ifx\csname l@#1\endcsname\relax
\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%
\typeout{** loaded for the language `#1'. Using the pattern for}%
\typeout{** the default language instead.}%
\else
\language=\csname l@#1\endcsname
\fi
#2}}
\providecommand{\BIBdecl}{\relax}
\BIBdecl
\bibitem{sigfridsson}
E.~Sigfridsson and U.~Ryde, ``Comparison of methods for deriving atomic charges
from the electrostatic potential and moments,'' \emph{Journal of
Computational Chemistry}, vol.~19, no.~4, pp. 377--395, 1998.
\end{thebibliography}
\end{document}