
編集:
moewe の提案どおり、MWE は今や本当に最小限になっています (私はそう思います)。.bib
略語を削除することで複数のファイルの必要性をなくし、メイン.bib
ファイルを小さくしました (以下に示すように)。
ログは次のとおりです ( file.blg
)。
[0] Config.pm:318> INFO - This is Biber 1.8
[0] Config.pm:321> INFO - Logfile is 'file.blg'
[60] biber-darwin:275> INFO - === Sat May 10, 2014, 14:45:31
[61] Biber.pm:333> INFO - Reading 'file.bcf'
[128] Biber.pm:630> INFO - Found 2 citekeys in bib section 0
[156] Biber.pm:3053> INFO - Processing section 0
[181] Biber.pm:3190> INFO - Looking for bibtex format file 'https://dl.dropboxusercontent.com/u/47261882/bibliography.bib' for section 0
[182] bibtex.pm:134> INFO - Data source 'https://dl.dropboxusercontent.com/u/47261882/bibliography.bib' is a remote BibTeX data source - fetching ...
[925] bibtex.pm:812> INFO - Found BibTeX data source '/var/folders/lw/xmh_g5vx4j9ctfxysb189qyr0000gn/T/ZegiE_xxWe/biber_remote_data_source_vqdu_.bib'
[930] bibtex.pm:134> INFO - Data source 'https://dl.dropboxusercontent.com/u/47261882/bibliography.bib' is a remote BibTeX data source - fetching ...
[1508] bibtex.pm:812> INFO - Found BibTeX data source '/var/folders/lw/xmh_g5vx4j9ctfxysb189qyr0000gn/T/ZegiE_xxWe/biber_remote_data_source_17lZd.bib'
[1509] Utils.pm:169> WARN - Duplicate entry key: 'a:watson:2014:01' in file '/var/folders/lw/xmh_g5vx4j9ctfxysb189qyr0000gn/T/ZegiE_xxWe/biber_remote_data_source_17lZd.bib', skipping ...
[1509] Utils.pm:169> WARN - Duplicate entry key: 'ic:bedau:2009:01' in file '/var/folders/lw/xmh_g5vx4j9ctfxysb189qyr0000gn/T/ZegiE_xxWe/biber_remote_data_source_17lZd.bib', skipping ...
[1509] Utils.pm:169> WARN - Duplicate entry key: 'c:barberousse:2009:01' in file '/var/folders/lw/xmh_g5vx4j9ctfxysb189qyr0000gn/T/ZegiE_xxWe/biber_remote_data_source_17lZd.bib', skipping ...
[1510] Utils.pm:169> WARN - I didn't find a database entry for crossref 'c:barberousse:2009:01' in entry 'ic:bedau:2009:01' - ignoring (section 0)
[1535] Biber.pm:2939> INFO - Overriding locale 'en_GB.UTF-8' default tailoring 'variable = shifted' with 'variable = non-ignorable'
[1535] Biber.pm:2945> INFO - Sorting 'entry' list 'nty' keys
[1535] Biber.pm:2949> INFO - No sort tailoring available for locale 'en_GB.UTF-8'
[1539] bbl.pm:482> INFO - Writing 'file.bbl' with encoding 'ascii'
[1540] bbl.pm:555> INFO - Output to file.bbl
[1540] Biber.pm:105> INFO - WARNINGS: 4
ファイルが 2 回取得されたようです (重複キーの警告が表示されるため)。ただし、これが問題とどのように関連しているかはわかりません。
biblatex
の (およびbiber
の) 機能を使用してリモートの場所からファイルを取得する場合.bib
、相互参照は解決されません。
次の参考文献ファイル(bibliography.bib
):
@Article{a:watson:2014:01,
title = {The Evolution of Phenotypic Correlations and ``Developmental Memory''},
author = {Watson, Richard A. and Wagner, G{\"u}nter P. and Pavlicev, Mihaela and Weinreich, Daniel M. and Mills, Rob},
journal = {Evolution},
year = {2014},
month = apr,
volume = {68},
number = {4},
pages = {1124--1138},
doi = {10.1111/evo.12337},
url = {http://dx.doi.org/10.1111/evo.12337},
}
@InCollection{ic:bedau:2009:01,
title = {The Evolution of Complexity},
author = {Bedau, Mark A.},
pages = {111--130},
doi = {10.1007/978-1-4020-9636-5_8},
url = {http://dx.doi.org/10.1007/978-1-4020-9636-5_8},
crossref = {c:barberousse:2009:01},
}
@Collection{c:barberousse:2009:01,
editor = {Barberousse, Anouk and Morange, Michel and Pradeu, Thomas},
title = {Mapping the Future of Biology},
booktitle = {Mapping the Future of Biology},
subtitle = {Evolving Concepts and Theories},
publisher = {Springer Netherlands},
year = {2009},
doi = {10.1007/978-1-4020-9636-5},
url = {http://dx.doi.org/10.1007/978-1-4020-9636-5},
series = {Boston Studies in the Philosophy of Science},
volume = {266},
}
ic:bedau:2009:01
を使用するときにを引用する\addbibresource{bibliography.bib}
と、 への相互参照はc:barberousse:2009:01
正常に解決されます。ただし、 を使用するときに を引用すると、テキスト内の他の場所\addbibresource[location=remote]{<url>.bib}
も引用しない限り、相互参照は解決されません。c:barberousse:2009:01
私は の最新バージョンを使用しておりMacTeX
、 でコンパイルしていますpdflatex -> biber -> pdflatex
。
何かアイデアはありますか? 少なくとも同じ問題に直面していることを誰か確認してもらえますか? MWE は以下です。
MWE:
\documentclass{article}
\usepackage[backend=biber]{biblatex}
% If I fetch the file from a remote location, cross-refs are not resolved.
\addbibresource[location=remote]{https://dl.dropboxusercontent.com/u/47261882/bibliography.bib}
% If the file is stored locally, everything works okay.
% \addbibresource{bibliography.bib}
\begin{document}
% Does not resolve cross-reference.
\cite{a:watson:2014:01,ic:bedau:2009:01}.
% Resolves cross-reference because it is also cited explicitly.
% \cite{a:watson:2014:01,ic:bedau:2009:01,c:barberousse:2009:01}.
\printbibliography
\end{document}
答え1
これはバグであり、SourceForge の DEV フォルダで利用可能な biber 1.9 で修正される必要があります。biber 1.9 (これも SourceForge にあります) では、biblatex 2.9 DEV バージョンを使用する必要があります。リモート ソースを不必要に複数回取得していました。