다음 코드를 고려해보세요:
\begin{filecontents*}{\jobname.bib}
@book{ kuhn:1982,
author = "Thomas Kuhn",
title = "La struttura delle rivoluzioni scientifiche",
publisher = "Einaudi",
location = "Torino",
year = "1978",
edition = "4",
}
\end{filecontents*}
\documentclass[a4paper]{article}
\usepackage{enotez}
%\DeclareInstance{enotez-list}{plain}{paragraph}{notes-sep=0pt}
\let\footnote=\endnote
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\footcite[23]{kuhn:1982}
\printendnotes
\printbibliography
\end{document}
나는 pdflatex, biber, pdflatex, pdflatex로 컴파일합니다. 그러나 항상 다음과 같은 경고가 표시됩니다.
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) biblio
(biblatex) and rerun LaTeX afterwards.
제가 보기엔 .pdf 파일에는 문제가 없는 것 같지만요. 패키지를 사용해도 마찬가지입니다 endnotes
. 왜 이 루프가 발생합니까? 해결하거나 피할 수 있는 방법이 있나요? 감사합니다
================================================= ======================== 분명히 내 원래 코드에는 \RequirePackage{filecontents}
. 복사/붙여넣기 오류입니다. 저는 TexLive 2014를 사용하고 있으며 매주 한 번씩 더 업데이트합니다. 어떤 경우에도:
*File List*
filecontents.sty 2011/10/08 v1.3 Create an external file from within a LaTeX
document
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
lipsum.sty 2014/07/27 v1.3 150 paragraphs of Lorem Ipsum dummy text
enotez.sty 2014/02/04 v0.7c Endnotes for LaTeX2e
expl3.sty 2014/11/25 v5471 L3 programming layer (loader)
expl3-code.tex 2014/11/25 v5471 L3 programming layer
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
l3unicode-data.def 2014/11/23 v5465 L3 Unicode data
l3pdfmode.def 2014/11/23 v5466 L3 Experimental driver: PDF mode
xparse.sty 2014/11/25 v5471 L3 Experimental document command parser
l3keys2e.sty 2014/11/25 v5471 LaTeX2e option processing using LaTeX3 keys
xtemplate.sty 2014/11/25 v5471 L3 Experimental prototype document functions
etoolbox.sty 2011/01/03 v2.1 e-TeX tools for LaTeX
xpatch.sty 2012/10/02 v0.3 Extending etoolbox patching commands
scrlfile.sty 2014/10/28 v3.14 KOMA-Script package (loading files)
translations.sty 2014/01/23 v1.2a internationalization of LaTeX2e packages (
CN)
cnltx-base.sty 2014/01/05 v0.10 LaTeX tools and documenting facilities (CN)
pgfopts.sty 2014/07/10 v2.1a LaTeX package options with pgfkeys
pgfkeys.sty
pgfkeys.code.tex
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
trimspaces.sty 2009/09/17 v1.1 Trim spaces around a token list
biblatex.sty 2014/06/25 v2.9a programmable bibliographies (PK/JW/AB)
biblatex2.sty 2014/06/25 v2.9a programmable bibliographies (biber) (PK/JW/AB
)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
logreq.sty 2010/08/04 v1.0 xml request logger
logreq.def 2010/08/04 v1.0 logreq spec v1.0
ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc.
blx-dm.def
biblatex-dm.cfg
blx-compat.def 2014/06/25 v2.9a biblatex compatibility (PK/JW/AB)
biblatex.def
standard.bbx 2014/06/25 v2.9a biblatex bibliography style (PK/JW/AB)
numeric.bbx 2014/06/25 v2.9a biblatex bibliography style (PK/JW/AB)
numeric.cbx 2014/06/25 v2.9a biblatex citation style (PK/JW/AB)
biblatex.cfg
english.lbx 2014/06/25 v2.9a biblatex localization (PK/JW/AB)
supp-pdf.mkii
translations-basic-dictionary-english.trsl (english translation file `transl
ations-basic-dictionary')
references.bbl
답변1
MWE에 관련 명령이 없습니다: \RequirePackage{filecontents}
.
다음을 컴파일하면 MWE가 약간 변경되어 오류가 없습니다. 해당 내용은 본인의 컴퓨터에서 확인하시기 바랍니다. 여전히 문제가 있는 경우 \listfiles
MWE의 첫 번째 줄에 추가하고 다시 컴파일하십시오. 그런 다음 사용된 패키지 및 버전 목록을 확인하고 질문에 추가하세요. (그렇다면 귀하의 시스템은 약간 구식인 것 같습니다...)
변경된 MWE:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{kuhn:1982,
author = "Thomas Kuhn",
title = "La struttura delle rivoluzioni scientifiche",
publisher = "Einaudi",
location = "Torino",
year = "1978",
edition = "4",
}
\end{filecontents*}
\documentclass[a4paper]{article}
\usepackage{blindtext} % to create dummy text
\usepackage{enotez}
%\DeclareInstance{enotez-list}{plain}{paragraph}{notes-sep=0pt}
\let\footnote=\endnote
\usepackage[backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\blindtext
\footcite[23]{kuhn:1982}
\blindtext[5]
\printendnotes
\printbibliography
\end{document}