latex3 / latex3/hyperref

nameref: not working for float labels defined via \caption{...\label{...}}

Open
#162 11 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

The manuals of the longtable and xltabular packages specify that labels for tables should be defined in the form \caption{...\label{...}}. This seems not to work with nameref. For a MWE, see https://github.com/Ri-Ga/keyvaltable/issues/2#issuecomment-716180030.

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 with the nameref behavior described in this issue and reproduce it using the MWE linked from keyvaltable issue #2. Compare labels defined inside \caption{...\label{...}} for longtable and xltabular, and consider the issue done when nameref resolves those labels with the expected table name.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, tex
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.