![\ref에 대한 터프테북 문제](https://rvso.com/image/328473/%5Cref%EC%97%90%20%EB%8C%80%ED%95%9C%20%ED%84%B0%ED%94%84%ED%85%8C%EB%B6%81%20%EB%AC%B8%EC%A0%9C.png)
처음으로 이것을 조판할 ??
때 \ref
. 두 번째로 비어 있습니다. TeXShop을 사용하고 있습니다. 나는 biblatex
각 장에 대한 참고 문헌 목록과 책 끝에 있는 또 다른 목록을 얻는 데 사용되는 예제를 만들기 시작했습니다 . 참조 목록은 괜찮지만 표시는 그렇지 않습니다 \ref
. 뭐가 잘못 되었 니?
\documentclass[nobib]{tufte-book}
\usepackage[
style=authoryear,
autocite=footnote,
backend=biber,
natbib=true
]{biblatex}
\addbibresource{references.bib}
\begin{document}
\begin{refsection}
\chapter{First chapter}\label{ch01}
\section{Foo}\label{ch01:sec01}
Some text \citep{Duffie:96}.
\section{Bee}
Refer to \ref{ch01:sec01} of chapter \ref{ch01}.
\printbibliography[heading=subbibliography]
\end{refsection}
\begin{refsection}
\chapter{Second chapter}
\section{Bar}
Some text\autocite{Eason1999}.
Remember section \ref{ch01:sec01} of chapter \ref{ch01} down here.
\printbibliography[heading=subbibliography]
\end{refsection}
\chapter{Later}
This,\autocite{hashemian} should be a side note but not this \citep{hashemian}.
\printbibliography
\end{document}
여기 reference.bib가 있습니다:
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/
%% Created for Sam Cox at 2016-02-17 17:46:29 -0500
%% Saved with string encoding Unicode (UTF-8)
@book{Duffie:96,
Address = {Princeton, NJ 08540},
Author = {Duffie, J. Darrell},
Date-Added = {2016-02-17 22:36:09 +0000},
Date-Modified = {2016-02-17 22:36:09 +0000},
Edition = {2nd},
Publisher = {Princeton University Press},
Title = {Dynamic Asset Pricing Theory},
Year = {1996}}
@article{Eason1999,
Author = {Eason, Stephen W. and Hirst, Brian L. and Vukelic, Milan},
Date-Added = {2016-02-17 22:35:52 +0000},
Date-Modified = {2016-02-17 22:35:52 +0000},
Journal = {Record of the Society of Actuaries},
Number = {3},
Pages = {1--20},
Title = {Security Blanket for Life (and Health)},
Volume = {25},
Year = {1999}}
@book{childs_temperature,
Address = {Great Britain},
Author = {Childs, Peter R N},
Edition = {1},
Isbn = {0 7506 5080 X},
Publisher = {Butterworth - Heinemann},
Title = {Practical Temperature Measurement},
Year = {2001}}
@phdthesis{hashemian,
Author = {Hashemian, Hashem Mehrdad},
School = {{The University of Western Ontario}},
Title = {Measurements of dynamic temperatures and pressures in nuclear power plants},
Type = {PhD {T}hesis},
Year = {2011}}
답변1
문서 클래스 에서는 장과 섹션 제목에 번호가 없습니다 tufte-book
. \ref
장/섹션 번호를 인쇄하려고 하는데 찾을 수 없기 때문에 로그 파일에 다음과 같은 메시지가 표시됩니다.
Package hyperref Warning: Suppressing empty link on input line 18.
\setcounter{secnumdepth}{1}
문서의 서문에 추가하여 장 및 섹션 번호 매기기를 켜면 문제가 해결됩니다.
그러나 의 제목은 tufte-book
기본적으로 번호 매기기를 멋지게 인쇄하도록 설계되지 않았으므로 서식을 약간 조정해야 할 수도 있습니다.
대안으로, 번호 대신 장/섹션의 이름을 인쇄하는 \nameref
대신 를 사용하는 것을 고려할 수도 있습니다.\ref