
2개의 문서가 있고 참조를 일관되게 만들고 싶습니다. 문서 A와 문서 B라고 부르겠습니다.
평소와 같이 문서 A를 컴파일하여 .bbl 파일을 출력합니다. 이제 (1) 인용 번호가 문서 A와 동일하고 (2) 참고 문헌 목록을 제거하고 참고 문헌 항목(인용 번호 아님)을 텍스트로 인쇄하려는 문서 B를 컴파일하고 싶습니다.
예를 들어 문서 A는 다음과 같습니다.
doca.tex
\documentclass{article}
\usepackage{cite}
\usepackage[utf8]{inputenc}
\usepackage{bibentry}
\begin{document}
\nobibliography{my_bib1.bib, my_bib2.bib}
This is a reference to \cite{myref1} and \cite{myref2}.
And, this is my in text bibliography entry:
\cite{myref1} \bibentry{myref1}
More text. More text.
\newpage
{
\bibliographystyle{plain}
}
\end{document}
그리고 이것은 문서 A에서 사용하는 .bib 파일입니다.
my_bib1.bib
@article{myref1,
title={Paper Title 1},
author={LastnameA, A and LastnameB, B and LastnameC, C},
journal={arXiv preprint arXiv:0000.00000},
year={2024}
}
my_bib2.bib
@article{myref2,
title={Paper Title 2},
author={LastnameA, A and LastnameB, B and LastnameC, C},
journal={arXiv preprint arXiv:0000.00000},
year={2024}
}
이제 문서 B에는 다음과 같은 내용이 있습니다(분명히 작동하지 않습니다).
\documentclass{article}
\usepackage{cite}
\usepackage[utf8]{inputenc}
\usepackage{bibentry}
\begin{document}
\input{doca.bbl}
This is a reference to~\cite{myref1} and~\cite{myref2}.
\cite{myref1} \bibentry{myref1}
More text.
\end{document}
두 가지 문제가 있습니다.
- 첫 번째는
\bibentry
일이 아닙니다. 내가 이해한 바에 따르면,\nobibliography
전화하기 전에 전화를 해야 합니다\bibentry
. 그러나 문서 A의\nobibliography
문서를 사용하고 있기 때문에 문서 B를 호출하지 않습니다..bbl
이것이 이유라고 생각하지만 해결 방법을 모르겠습니다. - 두 번째는
.bbl
포함\begin{thebibliography}
및\end{thebibliography}
.
내가 원하는 것을 달성할 수 있는 방법이 있나요? 즉, 참고문헌 항목을 텍스트로 인쇄하고 두 문서 간에 참고문헌 번호 매기기를 일관되게 유지하는 것입니까? 위의 방법을 사용하여 이들 중 하나를 달성할 수 있지만 둘 다 작동하게 할 수는 없습니다.
xr
참조 일관성을 유지하기 위해 또는 패키지를 사용할 수 있다는 것을 이해 xcite
하지만 위에서 언급한 문제를 우회하는 데 사용할 수 있는 방법은 없습니다.