Bug#982988: footnotehyper: crashes with "Too many }'s."

2021-02-17 Thread Norbert Preining
Hi 

> https://ctan.org/ctan-ann/id/mailman.3887.1612536880.2532.ctan-...@ctan.org

Thanks, reproduced. I cherry-picked the upstream fixed to texlive-base -3
and uploaded it just now. Should be in sid in short time, and testing in
10 days.

Best

Norbert

--
PREINING Norbert  https://www.preining.info
Fujitsu Research Labs  +  IFMGA Guide + TU Wien + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#982988: footnotehyper: crashes with "Too many }'s."

2021-02-17 Thread Louis-Philippe Véronneau
Package: texlive-latex-recommended
Version: 2020.20210202-2
Severity: important

Dear maintainers,

While working on a document with pandoc that uses a latex template, I
hit this error:

https://github.com/Wandmalfarbe/pandoc-latex-template/issues/226

It seems the problem is caused by an error in `footnotehyper` that was
fixed a few weeks ago:

https://ctan.org/ctan-ann/id/mailman.3887.1612536880.2532.ctan-...@ctan.org

You should be able to reproduce the error I'm getting using these steps:

$ wget
https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template/master/eisvogel.tex

$ printf '\n---\ntitle: foo\ntables: true\n...\n\n#Foosbar\n' > foo.md

$ pandoc foo.md -o foo.pdf --template eisvogel.tex

> Error producing PDF.
! Too many }'s.
\FNH@check@a ...tnotes \expandafter \@gobble \fi }
  {}}\@secondoftwo
\scantoke...
l.286 \begin{document}

Apparently the problem is fixed when using the latest footnotehyper
version (1.1d, Debian currently has 1.1c), but I haven't tested that myself.

I'm unfamiliar with this package, so I'm not sure the severity is the
right one. All I know is that the current version of footnotehyper
breaks my current setup and I have to disable features to be able to
build again.

Thanks for maintaining this package.

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄