Skip to content

fix(latex): leftover tcbmakedocSubKey and documentation refs - #489

Merged
HaoZeke merged 1 commit into
mainfrom
leftover/tcb-doc
Sep 15, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
leftover/tcb-doc

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Treat tcolorbox documentation constructors \tcbmakedocSubKey / \tcbmakedocSubKeys as leftover walkers (optional options, then {name}{key path}).
  • Same for leftover documentation refs and aux macros: \refCom (and *), \refEnv, \refKey, \refPathOperation, \refAux, \refAuxcs, \refPkg, \docAuxCommand, \docAuxEnvironment, \docAuxKey (optional key path), \docKeyChoices, \docCounter, \docLength, \docColor, \docValue.
  • Following flush prose still splits. Configured extras do not re-tokenize the no-brace form as Delim.

Test plan

  • cargo test --test latex_leftover_cmds leftover_constructors_do_not_join on the remote builder

tcolorbox documentation constructors \tcbmakedocSubKey /
\tcbmakedocSubKeys and leftover \refCom / \refEnv / \refKey /
\refPathOperation / \refAux / \refAuxcs / \refPkg plus \docAux* /
\docKeyChoices / \docCounter / \docLength / \docColor / \docValue
stay one Structure command so following flush prose does not join.
@HaoZeke
HaoZeke enabled auto-merge (squash) September 15, 2026 17:12
@HaoZeke
HaoZeke merged commit 8514d67 into main Sep 15, 2026
24 checks passed
@HaoZeke
HaoZeke deleted the leftover/tcb-doc branch September 15, 2026 17:17
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