Skip to content

Consider adding a macro for semantic cross references #4937

@JohelEGP

Description

@JohelEGP

#4936 shows that when wording is refactored, it is necessary to manually keep in sync cross references, and that unfortunate references are left semantically dangling. For that particular case, #4832 was going to copy some dangling references. #4866 also fixed references to that subclause within [basic].

It seems like there is benefit to be found in a macro for doing semantic cross references. This means that they refer not to a fixed subclause label, but something closer to what is semantically cross referenced. The obvious candidate for this are indexed entities.

I am thinking of something along the lines of

\reference{matter involving an \grammarterm{id-expression}}{\grammarterm{id-expression}}

Is it possible to do that with LaTeX?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions