
이 짧은 코드는 pdflatex로 컴파일되지만 lualatex로는 컴파일되지 않습니다. 사용할 수 없습니다\maketitle
% !TEX TS-program = lualatex
\documentclass[justified]{tufte-book}
\title{Functional Analysis
\thanks{Thanks to Edward R.~Tufte for his inspiration.}}
\author{Andrew Tulloch}
\publisher{School of Mathematics and Statistics\\
The University of Sydney}
\begin{document}
\frontmatter
\maketitle
\end{document}
답변1
문제는 tufte-book
클래스가 아직 LuaTeX > 0.85에서 작동하지 않는다는 것인데, 이는 출시된 지 꽤 시간이 지났기 때문에 약간 우스꽝스럽습니다.
클래스 는 의 값을 쿼리하여 패키지를 tufte-book
사용할 수 있는지 확인합니다 . 해당 값이 설정되지 않은 경우 로 대체됩니다 . 최신 LuaTeX에는 더 이상 내장 기능이 없으므로 (수년에 걸쳐 pdfTeX에서 상당히 벗어났기 때문에) 테스트가 실패하고 호환되지 않는 항목이 로드됩니다.letterspace
\pdftexversion
soul
\pdftexversion
soul
다행히 이전 인터페이스를 에뮬레이트하고 이전 패키지가 새로운 LuaTeX와 작동할 수 있게 해주는 호환성 패키지가 있습니다. 그냥 앞에 포함시키세요 \documentclass
.
\RequirePackage{luatex85}
\documentclass{tufte-book}
\begin{document}
\makeatletter
\meaning\@tufte@pdftexversion
\meaning\if@tufte@letterspace@pkg@prereqs
\makeatother
\end{document}
없이\RequirePackage{luatex85}
와 함께\RequirePackage{luatex85}