비부닛의 문제

비부닛의 문제

Bibunits를 컴파일하는 데 문제가 있습니다. 가장 쉬운 예제(이 패키지의 공식 문서에 게시된 예제와 매우 유사)도 작동하지 않습니다.

\documentclass[english,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage{bibunits}

\begin{document}

\begin{bibunit}[plain]
I want to cite two works, the first one~\cite{Dub1} and the second one~\cite{Dub2}. 
\putbib[mybib]
\end{bibunit}

\begin{bibunit}[alpha]
I want to cite only work, that is~\cite{Har}. 
\putbib[mybib]
\end{bibunit}

\end{document}

오류가 3개 있습니다:

I found no \citation commands---while reading file bibunittest1.aux
I found no \bibdata command---while reading file bibunittest1.aux
I found no \bibstyle command---while reading file bibunittest1.aux

또한, 내가 그런 일을 하고 싶다면:

\documentclass[english,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}

\begin{document}

I want to cite two works, the first one~\cite{Dub1} and the second one~\cite{Dub2}. 
I want to cite only work, that is~\cite{Har}.

\bibliographystyle{plain}
\bibliography{mybib}

\end{document}

그래서 패키지를 사용하지 않고도 모든 것이 좋습니다. 나는 당신의 도움에 매우 감사할 것입니다.

답변1

내 영어를 용서해주세요. 저는 원어민이 아닙니다.

문서를 컴파일하려면 5가지 다른 프로세스(2페이지 문서 참조)를 실행해야 합니다 bibunits: latex bibunittest1, bibtex bu1, bibtex bu2, latex bibunittest1, latex bibunittest1. 저는 TeXMaker를 사용하고 QuickBuild Wisard(LaTeX, BiBTeX, BiBTeX, LaTeX, LaTeX를 연속적으로 클릭)를 사용하여 다음 문자열을 생성했습니다.

latex -interaction=nonstopmode %.tex|bibtex %|bibtex %|latex -interaction=nonstopmode %.tex|latex -interaction=nonstopmode %.tex

bu1그런 다음 수동으로 두 개의 퍼센트 기호를 및 로 바꿨습니다 bu2.

latex -interaction=nonstopmode %.tex|bibtex bu1|bibtex bu2|latex -interaction=nonstopmode %.tex|latex -interaction=nonstopmode %.tex

이 명령으로 파일이 성공적으로 생성되었습니다 .dvi.

관련 정보