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

! Package acro Error: Patching `longtable' failed. Please contact the acro author. #252

Open
Sam1285 opened this issue Sep 9, 2022 · 2 comments

Comments

@Sam1285
Copy link

Sam1285 commented Sep 9, 2022

! Package acro Error: Patching `longtable' failed. Please contact the acro author.

Can't say anything else. Was running smoth and now I get this error.

@Sam1285 Sam1285 changed the title ! Package acro Error: Patching `longtable' failed. Please contact the acro ! Package acro Error: Patching `longtable' failed. Please contact the acro author. Sep 9, 2022
@TeXhackse
Copy link

longtable got an update and therefore the patch is no longer applying.
The patch is applied to add \acswitchoff while the longtable is not yet final. Without that one even more compilation runs might be necessary. You can disable it by using

\acsetup{patch/longtable=false}

in your preamble. It's possible to locally replace the hook to work with the current version but I think it's easier to maintain when waiting for an update of acro.

@lorenzoFabbri
Copy link

I am also facing this issue:

compilation failed- error
Package acro Error: Patching `longtable' failed. Please contact the acro
(acro) author.

I am using Quarto with RStudio 2022.12.0 Build 353 (on KDE Plasma). My preamble looks like this:

---
format:
  pdf:
    documentclass: report
    pdf-engine: pdflatex
    include-in-header:
      - \usepackage{rotating}
      - \usepackage{float}
      - \usepackage{acro}
      - \acsetup{patch/longtable=false}
      - 
filters:
  - pandoc-acro

acronyms:
  edc:
    short: EDC
    long: endocrine distruptor
    short-plural: s
    long-plural: s
---

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

3 participants