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

footmisc + marginfix + todonotes = error #71

Closed
ghost opened this issue May 25, 2023 · 2 comments
Closed

footmisc + marginfix + todonotes = error #71

ghost opened this issue May 25, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented May 25, 2023

Feeding

\documentclass{article}
\usepackage{footmisc}
\usepackage{marginfix}
\usepackage{todonotes}
\begin{document}
\todo{test}
\end{document}

to pdflatex leads to a compilation error:

! Package marginfix Error: lost some margin notes.

See the marginfix package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.7 \end{document}
                  
?

Unfortunately, the explanation of “lost some margin notes” in § 13 of the documentation of marginfix says nothing to me. Having a bit more text, say,

\begin{document}
test

\todo{test}

test
\end{document}

doesn't help.

Used versions:

  • pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Debian)

  • LaTeX2e <2022-11-01>

  • L3 programming layer <2022-11-02>

  • article 2022/07/02 v1.4n

  • footmisc 2022/03/08 v6.0d

  • marginfix 2020/05/06 v1.2

  • todonotes 2021/06/04 v1.1.5

These versions were in TeX Live in Debian-testing this spring.

Who is the culprit? Any more permanent bugfix than \usepackage{footmisc}[=v5] (thx to David Carlisle)?

Crossposts: http://github.com/FrankMittelbach/fmitex-footmisc/issues/10 and http://github.com/shicks/marginfix/issues/19 .

Old version of the same bug: http://tex.stackexchange.com/questions/652835/footmisc-marginfix-todonotes-error .

Probably related: http://github.com/shicks/marginfix/issues/18 .

@FrankMittelbach
Copy link

nothing to do with todonotes - the same problem happens without loading the package and using a \marginpar instead

@ghost
Copy link
Author

ghost commented May 25, 2023

@FrankMittelbach Thanks for a quick reply. Indeed. An even shorter non-working example is

\documentclass{article}
\usepackage{footmisc}
\usepackage{marginfix}
\begin{document}
\marginpar{test}
\end{document}

Therefore, closing the bug report with todonotes.

@ghost ghost closed this as completed May 25, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant