/refbase.bib 文件:
@book{adams1995hitchhiker,
title={The Hitchhiker's Guide to the Galaxy},
author={Adams, D.},
isbn={9781417642595},
url={http://books.google.com/books?id=W-xMPgAACAAJ},
year={1995},
publisher={San Val}
}
@book{lamport1994latex,
title={LATEX: a document preparation system: user's guide and reference manual},
author={Lamport, Leslie},
year={1994},
publisher={Addison-wesley}
}
@article{lamport1994latex,
title={LATEX user’s guide and reference manual},
author={Lamport, Leslie},
year={1994},
publisher={Addison-Wesley, Reading, Massachusetts}
}
@book{7.1.3-1,
address={Niter\'oi},
author={Gomes, L. G. F. F},
publisher={EdUFF},
title={Novela e sociedade no Brasil},
year={1998}}
/02-elementos-textuais/1-introducao/contextualizacao_e_motivacao.tex 文件:
\section{Contextualização e Motivação}
\cite{7.1.3-1}
/03-elementos-pos-textuais/bibliografia.tex 文件:
\bibliography{refbase}
/main.tex 包含:
\usepackage[alf, abnt-emphasize=bf, recuo=0cm, abnt-etal-cite=2, abnt-etal-list=0]{abntex2cite} % Citações padrão ABNT
在{文档}中:
\include{./03-elementos-pos-textuais/referencias}
答案1
(评论太长,因此作为答案发布)
请检查您的 makefile 在以下 MWE(最小工作示例)上运行是否产生正确的输出。如果正确不是产生正确的输出,则您的 makefile 需要修复。如果它确实产生了正确的输出,则您的 latex 和 bibtex 相关文件和文件夹的复杂系统中的某个地方存在问题。
%% save as "test.tex"
\RequirePackage{filecontents}
\begin{filecontents}{refbase.bib}
@book{7.1.3-1,
address={Niter\'oi},
author={Gomes, L. G. F. F},
publisher={EdUFF},
title={Novela e sociedade no Brasil},
year={1998}
}
\end{filecontents}
\documentclass{abntex2} % just a guess...
\usepackage[alf, abnt-emphasize=bf, recuo=0cm,
abnt-etal-cite=2, abnt-etal-list=0]{abntex2cite}
\begin{document}
\cite{7.1.3-1}
\bibliography{refbase}
\end{document}