Skip to content

feat: detect LaTeX \label{} inside figure/table environments for crossref pickers#3

Merged
urtzienriquez merged 2 commits into
mainfrom
dev
May 10, 2026
Merged

feat: detect LaTeX \label{} inside figure/table environments for crossref pickers#3
urtzienriquez merged 2 commits into
mainfrom
dev

Conversation

@urtzienriquez

Copy link
Copy Markdown
Owner

The crossref pickers (figure/table) now detect LaTeX \label{} definitions inside figure, figure*, table, and table* environments, in addition to existing code chunk labels. Environment nesting is tracked via the \begin/\end stack, so figure labels only appear in the figure picker and table labels only in the table picker.

…sref pickers

The crossref pickers (figure/table) now detect LaTeX \label{} definitions inside figure, figure*, table, and table* environments, in addition to existing code chunk labels. Environment nesting is tracked via the \begin/\end stack, so figure labels only appear in the figure picker and table labels only in the table picker.
@urtzienriquez urtzienriquez merged commit 4d55c94 into main May 10, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant