Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the current version (dated sept 10, 2019) does not compile with lualatex #177

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
patch 109
  • Loading branch information
andrewufrank committed Jul 18, 2023
commit 1af7f9b1245c63a8cceb97932c48aba51cb6b003
7 changes: 7 additions & 0 deletions tufte-common.def
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,13 @@
\gdef\@tufte@stored@caption{#3}%
}

% Tell nag package about Tufte captions
\AtBeginDocument{%
\@ifpackageloaded{nag}{%
\g@addto@macro\nag@captions{,@tufte@caption}%
}{}%
}

\newcommand{\@tufte@label}[1]{%
\gdef\@tufte@stored@label{#1}%
}
Expand Down