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

marginfit package incompatible #549

Open
mbertucci47 opened this issue Aug 12, 2024 · 1 comment
Open

marginfit package incompatible #549

mbertucci47 opened this issue Aug 12, 2024 · 1 comment
Labels
area: marginpars area: output routine partially compatible package or class package or class works with restrictions or some manual additions

Comments

@mbertucci47
Copy link
Contributor

Tagging with the marginfit package is okay unless the optional argument of \marginpar is used, producing parent-child warnings. The warnings appear even if the "right" text is typeset.

It also needs luatex85 for lualatex.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,title,math,table,firstaid}
  }
\documentclass{article}

%\usepackage{luatex85} % needed with luatex
\usepackage{marginfit}

\begin{document}

text\marginpar{right text} % no warnings

text\marginpar[left text]{right text} % parent-child warnings

\end{document}
@FrankMittelbach FrankMittelbach added the partially compatible package or class package or class works with restrictions or some manual additions label Aug 12, 2024
@u-fischer
Copy link
Member

I get no warning with current develop (I think it came from something I fixed some weeks ago), but if the optional argument is used one gets two Aside structures, so the package must like the default tagging marginpar code stop tagging for the "unused" box. Beside this it appends code to \@makecol and so the question is if a hook or socket is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: marginpars area: output routine partially compatible package or class package or class works with restrictions or some manual additions
Projects
None yet
Development

No branches or pull requests

3 participants