biblatex가 올바르게 작동하지 않습니다.

biblatex가 올바르게 작동하지 않습니다.

나는 인용과 참고 문헌에 대해 많은 옵션을 시도해 왔습니다. natbib패키지와 plainnat스타일을 사용했는데 biblatex인용 및 참고문헌 스타일을 사용자 정의하는 데 더 좋은 것 같습니다. 내 문제는 내가 그것을 작동시킬 수 없다는 것입니다.

내 코드:

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[left=2.00cm, right=2.00cm, top=2.00cm, bottom=2.00cm]{geometry}
\usepackage[citestyle=authoryear,bibstyle=authortitle]{biblatex}
\usepackage[none]{hyphenat} 
\addbibresource{C:/Users/usuario/Documents/6_Latex_Files/References}
\usepackage[brazil]{babel}

\begin{document}
Hi \parencite[i.e.][page 2]{Alamri2010}\\

Another citation \parencite{Bouvy1999,Ho2008,Ho2012c}\\

In line citation \parencite{Bar-Yosef2010}


\printbibliography
\end{document}

결과:

여기에 이미지 설명을 입력하세요

인용이 올바르지 않은 이유는 무엇입니까?

왜 사전 및 사후 메모가 표시되지 않습니까?

참고문헌이 naor로 나타나는 이유는 무엇입니까?

관찰(도움이 되는 경우): 컴파일할 때 다음 메시지가 나타납니다.

This is BibTeX, Version 0.99d (MiKTeX 2.9.6200 64-bit)
The top-level auxiliary file: document.aux
I found no \citation commands---while reading file document.aux
I found no \bibdata command---while reading file document.aux
I found no \bibstyle command---while reading file document.aux
(There were 3 error messages)

답변1

다음 명령은 거의 확실하게 잘못되었습니다.

\addbibresource{C:/Users/usuario/Documents/6_Latex_Files/References}

\addbibresource지시문은 사용자가 파일 이름 확장자를 제공하도록 요구합니다. 아마도 ".bib"일 것입니다. 그렇죠? 참고 .bib문헌 항목에 대한 파일 이름 확장자를 가진 파일만 찾는 BibTeX biblatex와 달리 \addbibresource구문 분석할 수 있는 파일 형식이 훨씬 유연합니다. "단점"은 파일 이름 확장자가~ 해야 하다명시적으로 명시하라.

따라서 다음과 같이 작성해야 합니다.

\addbibresource{C:/Users/usuario/Documents/6_Latex_Files/References.bib}

그리고 다시 컴파일하세요. 당연히 턱받이가 있다면~ 아니다디렉토리에 있는 C:/Users/usuario/Documents/6_Latex_Files의 인수를 \addbibresource적절하게 수정해야 합니다.


다음은 전체 MWE(최소 작업 예제)입니다. 컴파일을 위해서는 반드시 LaTeX, biber, LaTeX를 한 번 더 실행해 보시기 바랍니다.

여기에 이미지 설명을 입력하세요

\RequirePackage{filecontents}
%% Create some dummy bib entries in a file called "References.bib"
\begin{filecontents}{References.bib}
@misc{Alamri2010,author="Alamri",title="AA",year=2010}
@misc{Bouvy1999, author="Bouvy", title="BB",year=1999}
@misc{Ho2008,    author="Ho",    title="CC",year=2008}
@misc{Ho2012c,   author="Ho",    title="DD",year=2012}
@misc{Bar-Yosef2010,author="Bar-Yosef",title="EE",year=2010}
\end{filecontents}

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[brazil]{babel}
\usepackage[margin=2cm]{geometry}

\usepackage[citestyle=authoryear,
            bibstyle=authortitle,
            backend=biber] % or: "backend=bibtex"
           {biblatex} 
\addbibresource{References.bib} % note the ".bib" extension

\begin{document}
Hi \parencite[i.e.,][page~2]{Alamri2010}

Another citation \parencite{Bouvy1999,Ho2008,Ho2012c}

Inline citation \parencite{Bar-Yosef2010}

\printbibliography
\end{document}

관련 정보