请帮帮我。这是我工作的最后一部分,但发生了这种情况。我不是 LaTeX 专家,但我更喜欢使用它。
我检查了我的所有文档以及一些字体和 csquotes 的兼容性,但它没有生成任何参考,也没有生成参考书目部分的标题。
我正在使用 XeLaTex 和 Biber,我使用的软件是 Texpad,我也在 Texshop 中运行了;但什么都没有。
这是其中的一部分log
:
/Library/TeX/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp Tarea01_3.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./Tarea01_3.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
...
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=1.17}).
(/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg) (/usr/local/texlive/2021/texmf-dist/tex/latex/translator/translator-basic-dictionary-English.dict) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty) (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bbl) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsb.fd)
LaTeX Warning: Citation 'hennessey2006' on page 1 undefined on input line 505.
[1]
LaTeX Warning: Empty bibliography on input line 575.
[2] (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) Tarea01_3
(biblatex) and rerun LaTeX afterwards.
)
Output written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.pdf (2 pages).
SyncTeX written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.synctex.gz.
Transcript written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.log.
/Library/TeX/texbin/biber /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bcf
INFO - This is Biber 2.16
INFO - Logfile is '/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.blg'
INFO - Reading '/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bcf'
INFO - Found 1 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'biblio.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source '/usr/local/texlive/2021/texmf-dist/bibtex/bib/msc/biblio.bib'
WARN - I didn't find a database entry for 'hennessey2006' (section 0)
INFO - Overriding locale 'es-ES' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Overriding locale 'es-ES' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Sorting list 'nty/global//global/global' of type 'entry' with template 'nty' and locale 'es-ES'
INFO - Writing '/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bbl' with encoding 'UTF-8'
INFO - Output to /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bbl
INFO - WARNINGS: 1
/Library/TeX/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp Tarea01_3.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./Tarea01_3.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
....
Writing index file Tarea01_3.idx
...
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=1.17}).
(/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg) (/usr/local/texlive/2021/texmf-dist/tex/latex/translator/translator-basic-dictionary-English.dict) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty) (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bbl) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsb.fd)
LaTeX Warning: Citation 'hennessey2006' on page 1 undefined on input line 505.
[1]
LaTeX Warning: Empty bibliography on input line 575.
[2] (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) Tarea01_3
(biblatex) and rerun LaTeX afterwards.
)
Output written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.pdf (2 pages).
SyncTeX written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.synctex.gz.
Transcript written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.log.
/Library/TeX/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp Tarea01_3.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./Tarea01_3.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
....
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=1.17}).
(/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg) (/usr/local/texlive/2021/texmf-dist/tex/latex/translator/translator-basic-dictionary-English.dict) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty) (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bbl) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsb.fd)
LaTeX Warning: Citation 'hennessey2006' on page 1 undefined on input line 505.
[1]
LaTeX Warning: Empty bibliography on input line 575.
[2] (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) Tarea01_3
(biblatex) and rerun LaTeX afterwards.
)
Output written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.pdf (2 pages).
SyncTeX written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.synctex.gz.
Transcript written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.log.
/Library/TeX/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp Tarea01_3.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./Tarea01_3.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
....
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=1.17}).
(/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx-abbreviations.cfg) (/usr/local/texlive/2021/texmf-dist/tex/latex/translator/translator-basic-dictionary-English.dict) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx) (/usr/local/texlive/2021/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty) (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.bbl) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/local/texlive/2021/texmf-dist/tex/latex/amsfonts/umsb.fd)
LaTeX Warning: Citation 'hennessey2006' on page 1 undefined on input line 505.
[1]
LaTeX Warning: Empty bibliography on input line 575.
[2] (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) Tarea01_3
(biblatex) and rerun LaTeX afterwards.
)
Output written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.pdf (2 pages).
SyncTeX written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.synctex.gz.
Transcript written on /Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.log.
/Library/TeX/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp Tarea01_3.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./Tarea01_3.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
....
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=1.17}).
....
LaTeX Warning: Citation 'hennessey2006' on page 1 undefined on input line 505.
[1]
LaTeX Warning: Empty bibliography on input line 575.
[2] (/Users/Isai/Documents/Maestria PUCP/1CIV08 Mecanica/TA-01-20210414/Tarea01/.texpadtmp/Tarea01_3.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) Tarea01_3
(biblatex) and rerun LaTeX afterwards
这是我的文件。
\documentclass[a4paper,12pt]{article}
\usepackage[spanish,es-noshorthands]{babel}
\usepackage{fontspec}
\usepackage{amssymb,amsmath}
\usepackage{graphicx}
%\usepackage[utf8]{inputenc}
\usepackage[a4paper,left=3.5cm, top=4cm, right=2.5cm, bottom=2.5cm]{geometry}
\usepackage{tikz}
\usetikzlibrary{angles,quotes}
\usetikzlibrary{3d}
\usetikzlibrary {datavisualization.formats.functions}
%\usetikzlibrary{perspective}
\usepackage{tikz-3dplot}
\tdplotsetmaincoords{70}{110}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\usepackage{layout}
\usepackage{makeidx}
\makeindex
%\usepackage{tocstyle}
% \usetocstyle{KOMAlike}
\usepackage{siunitx}
\sisetup{per-mode = symbol}
\usepackage{csquotes}
\usepackage{biblatex}
\addbibresource{biblio.bib}
\setmainfont{Arial}
\begin{document}
Some text \cite{hennessey2006}.
\newpage
\printbibliography
\newpage
\section{Anexos}
\subsection{Problema 04}
Text
\end{document}
答案1
我希望这会对使用 Valleta Ventures 的 Texpad 的人们有所帮助。
Texpad 在访问文件夹和文件时出现问题,与沙盒有关。我对此不太了解。
我的所有文档都在 iCloud Drive 中,我认为这就是问题所在。正如 moewe 所说,解决我的问题的方法是提供bib
文件的绝对路径,但事实并非如此。
因此,我将文件位置更改为桌面,并使用绝对文件路径,一切都正常。