
.bbl
参考文献 (ファイルとして)を含む単純な LaTeX ファイルを arXiv の TeX 提出で処理することができません。acmart
を使用する形式を使用しておりnatbib
、Overleaf では問題なくコンパイルされます。arXiv では、参照と引用が未定義であるという警告がログに表示され、処理ページの上部に「pdf に変換できません」と表示されます。
以下は、私がファイル内で処理しようとしている例ですmain.tex
。
\documentclass[acmsmall,nonacm,screen,review,anonymous,10pt]{acmart}
\settopmatter{printfolios=true,printacmref=false}
% This fixes a different, unrelated issue
\makeatletter
\providecommand{\mdseries@tt}{}
\makeatother
\title{This Be The \TeX}
\begin{document}
\maketitle
\section{Introduction}\label{sec:intro}
This is the introduction, \autoref{sec:intro}. Take a look at \cite{coq}.
\bibliographystyle{ACM-Reference-Format}
\bibliography{biblio}
\end{document}
ACM の読み込みがarXiv の読み込みと衝突するため、00README.XXX
その行を含むファイルも持っています。nohypertex
hyperref
以下の参考文献を所蔵していますbiblio.bib
:
@misc{coq,
author = {The Coq Development Team},
title = {The Coq Proof Assistant, version 8.9.0},
month = jan,
year = 2019,
doi = {10.5281/zenodo.2554024},
url = {https://doi.org/10.5281/zenodo.2554024}
}
main.bbl
Overleaf で Submit > arXiv を使用すると、 zip ファイルに次の内容が出力されます。
%%% -*-BibTeX-*-
%%% Do NOT edit. File created by BibTeX with style
%%% ACM-Reference-Format-Journals [18-Jan-2012].
\begin{thebibliography}{1}
%%% ====================================================================
%%% NOTE TO THE USER: you can override these defaults by providing
%%% customized versions of any of these macros before the \bibliography
%%% command. Each of them MUST provide its own final punctuation,
%%% except for \shownote{}, \showDOI{}, and \showURL{}. The latter two
%%% do not use final punctuation, in order to avoid confusing it with
%%% the Web address.
%%%
%%% To suppress output of a particular field, define its macro to expand
%%% to an empty string, or better, \unskip, like this:
%%%
%%% \newcommand{\showDOI}[1]{\unskip} % LaTeX syntax
%%%
%%% \def \showDOI #1{\unskip} % plain TeX syntax
%%%
%%% ====================================================================
\ifx \showCODEN \undefined \def \showCODEN #1{\unskip} \fi
\ifx \showDOI \undefined \def \showDOI #1{#1}\fi
\ifx \showISBNx \undefined \def \showISBNx #1{\unskip} \fi
\ifx \showISBNxiii \undefined \def \showISBNxiii #1{\unskip} \fi
\ifx \showISSN \undefined \def \showISSN #1{\unskip} \fi
\ifx \showLCCN \undefined \def \showLCCN #1{\unskip} \fi
\ifx \shownote \undefined \def \shownote #1{#1} \fi
\ifx \showarticletitle \undefined \def \showarticletitle #1{#1} \fi
\ifx \showURL \undefined \def \showURL {\relax} \fi
% The following commands are used for tagged output and should be
% invisible to TeX
\providecommand\bibfield[2]{#2}
\providecommand\bibinfo[2]{#2}
\providecommand\natexlab[1]{#1}
\providecommand\showeprint[2][]{arXiv:#2}
\bibitem[\protect\citeauthoryear{Team}{Team}{2019}]%
{coq}
\bibfield{author}{\bibinfo{person}{The Coq~Development Team}.}
\bibinfo{year}{2019}\natexlab{}.
\newblock \bibinfo{title}{The Coq Proof Assistant, version 8.9.0}.
\newblock
\newblock
\urldef\tempurl%
\url{https://doi.org/10.5281/zenodo.2554024}
\showDOI{\tempurl}
\end{thebibliography}
そして最後に、arXivから取得したログはここ。
hyperref
ここで何が欠けているのでしょうか?またはが問題を引き起こしているのか、それとも他の原因があるのかはわかりませんnatbib
。 に論文を提出したいのでacmsmall
、解決策として、 または他の ACM オプションをいじる必要がないことを願っています。
答え1
コメントにあるように、警告は最初の実行からのみ表示され、その後の実行では消えます。「PDF に変換できません」というエラーは、\pdfoutput=1
メイン ファイルの先頭に追加することで修正されました。