acro icon indicating copy to clipboard operation
acro copied to clipboard

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

Open Sam1285 opened this issue 2 years ago • 2 comments

! 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 avatar Sep 09 '22 22:09 Sam1285

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.

TeXhackse avatar Feb 26 '23 11:02 TeXhackse

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
---

lorenzoFabbri avatar Mar 06 '23 11:03 lorenzoFabbri