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

Unable to patch footnote in doc using setspace #11

Closed
callegar opened this issue Feb 24, 2022 · 2 comments
Closed

Unable to patch footnote in doc using setspace #11

callegar opened this issue Feb 24, 2022 · 2 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@callegar
Copy link

Description

Getting the "unable to patch footnote" warning with the latest (today's) microtype on a lualatex document.
Doc uses setspace.

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{microtype}
\usepackage{hyperref}
\usepackage{setspace}

\begin{document}
test
\end{document}
@callegar callegar changed the title Still unable to patch footnote in doc using setspace Unable to patch footnote in doc using setspace Feb 24, 2022
@schlcht
Copy link
Owner

schlcht commented Feb 25, 2022

You should load setspace before hyperref. The setspace package overwrites hyperref's definition of \@footnotetext, which will not only make microtype fail to apply its own patch, but also break footnote hyperlinks. I consider this a bug in setspace, so I'm closing this here.

@yustiks
Copy link

yustiks commented Aug 15, 2023

You should load setspace before hyperref. The setspace package overwrites hyperref's definition of \@footnotetext, which will not only make microtype fail to apply its own patch, but also break footnote hyperlinks. I consider this a bug in setspace, so I'm closing this here.

worked for me perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants