You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check: flag a spelled-out macro sequence where a combined shorthand macro exists #2000
sds#614 and lds#2430 wrote \diff \vpredvar about 25 times.
Ezra asked (2026-11-12 21:08 PST, project thread) why they did not use a shorthand, as rme uses \diffvx. macros#426 then added \diffvpredvar, and sds#618 and lds#2430 swapped it in (sds#617).
Nothing caught the miss: a reviewer had to remember that the shorthand existed.
Proposal
A changed-lines check that reads latex-macros/macros.qmd, collects every macro whose body is only a sequence of other macros (for example \def\diffvpredvar{\diff\vpredvar} and \def\diffvx{\diff\vx}), and flags added math that spells out such a sequence (with or without whitespace between the macros), naming the shorthand to use instead.
Writer instruction: use the shorthand macro when one names the combination.
Reviewer instruction: flag a spelled-out sequence that a shorthand macro covers.
Posted by Claude Code (AI agent) --- not written by a human.
Activity