bib から bbl ファイルを作成するためのステップバイステップのガイドが必要です

bib から bbl ファイルを作成するためのステップバイステップのガイドが必要です

ジャーナル投稿用に tex ファイルと bib ファイルを 1 つに結合しようとしています。誰かが bbl ファイルの使用を提案しました。私は texmaker / miktex と bibtex を使用しています。

bib から bbl ファイルを実際に作成する方法がわかりません。この Web サイトや Google で見つけたリンクはすべて、実際にこれを行う方法をステップごとに明確に説明していません。ステップごとに説明しているわけではありません (LaTeX やコンピューティングに関する私の知識は、一般的にほとんどゼロに近いため)。たとえば、「コンパイル」という指示がありますが、これが何を意味するのかわかりません (キーボードのどのキーを押せばよいのか)。

ありがとう。

答え1

次のような文書があるとします。

\documentclass{article}
\begin{document}
\cite{article-crossref} and \cite{article-full}.
\bibliographystyle{plain}
\bibliography{xampl}
\end{document}

ここで、選択したエディタやコマンド ラインなどを使用して、通常の方法でコンパイルします。必要に応じてコンパイル シーケンスを複数回実行し、すべてが正しく解決および定義されていることを確認します。(コンパイルは、たとえばpdflatex-> bibtex-> pdflatex->のように実行されるだけですpdflatex。)

ステージ1

ここで、ジャーナル投稿用のファイルを準備するために、ファイルを開きます。ファイルは.bbl、デフォルトでは作業ディレクトリにありますが、生成されたファイルの保存先として指定した場所にある場合もあります。

これが私のものです:

\newcommand{\noopsort}[1]{} \newcommand{\printfirst}[2]{#1}
  \newcommand{\singleletter}[1]{#1} \newcommand{\switchargs}[2]{#2#1}
\begin{thebibliography}{1}

\bibitem{article-crossref}
L[eslie]~A. Aamport.
\newblock The gnats and gnus document preparation system.
\newblock {\em \mbox{G-Animal's} Journal}, 41(7):73+, July 1986.
\newblock This is a cross-referencing ARTICLE entry.

\bibitem{article-full}
L[eslie]~A. Aamport.
\newblock The gnats and gnus document preparation system.
\newblock {\em \mbox{G-Animal's} Journal}, 41(7):73+, July 1986.
\newblock This is a full ARTICLE entry.

\end{thebibliography}

これを、 コマンドとコマンド.texを発行したポイントに元のファイルにコピーします。\bibliographystylebibliography

\documentclass{article}
\begin{document}
\cite{article-crossref} and \cite{article-full}.
\newcommand{\noopsort}[1]{} \newcommand{\printfirst}[2]{#1}
  \newcommand{\singleletter}[1]{#1} \newcommand{\switchargs}[2]{#2#1}
\begin{thebibliography}{1}

\bibitem{article-crossref}
L[eslie]~A. Aamport.
\newblock The gnats and gnus document preparation system.
\newblock {\em \mbox{G-Animal's} Journal}, 41(7):73+, July 1986.
\newblock This is a cross-referencing ARTICLE entry.

\bibitem{article-full}
L[eslie]~A. Aamport.
\newblock The gnats and gnus document preparation system.
\newblock {\em \mbox{G-Animal's} Journal}, 41(7):73+, July 1986.
\newblock This is a full ARTICLE entry.

\end{thebibliography}
\end{document}

ここで、生成されたファイルを削除して、外部に依存していないことを確認し.bbl、少なくとも 2 回再コンパイル ( pdflatex-> pdflatex) して、自分の.texファイルから同じ結果を取得します。

答え2

TeXmakerでは、アプリオリ、書くだけでいい

\bibliographystyle{name-of-the-bibstyle}
\bibliography{name-of-the-.bib file}% without the .bib extension

.tex ファイル内の参考文献を置きたい場所に を置き、次にpdflatex (F6) + bibtex (F11) + pdflatex (twice).tex ファイルに追加します。 または、 を選択するFast compilationと、自動的に実行されます。

関連情報