latex3 / latex3/hyperref

new `\textsuperscript` definition breaks bigfoot's color management

Open
#429 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
205
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Using current TeXLive (commit 2103b15de04c8 from 2026-Jun-27), this document

\documentclass{article}

\usepackage{perpage}
\MakePerPage{footnote}
\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}

\usepackage[colorlinks=true]{hyperref}

\begin{document}
foo\footnote{bar}
\end{document}

aborts with the following error.

! Undefined control sequence.
\set@color ...lt {\current@color }{\FN@colorstack 
                                                  }}\marks \FN@color {\FN@co...

l.11 foo\footnote{bar}

A larger document of mine that uses both hyperref and bigfoot with the mentioned options worked fine with TeXLive 0308fcb0 (from 2026-May-09); this corresponds to hyperref v7.01q.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by compiling the minimal TeX document with current TeXLive and the earlier hyperref v7.01q environment, focusing on the interaction between bigfoot, perpage, hyperref, and the new \textsuperscript definition. Trace the undefined control sequence in the reported \set@color path; done means the minimal document compiles without breaking bigfoot's color management.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.