cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

JP015 PDF links to clauses point to first subclause instead #391

Closed jensmaurer closed 4 years ago

jensmaurer commented 4 years ago

Regarding the PDF file of the specification, when the link of the clause X is clicked, X.1 is displayed.

Reset the link.

JP2

jensmaurer commented 4 years ago

This is reproducible with a current PDF build of the draft.

JohelEGP commented 4 years ago

Started with https://github.com/cplusplus/draft/commit/beb88157cc49f76677fc467db8ec4a523dbc41d0.

jensmaurer commented 4 years ago

Curiously enough, this only occurs with references to entire clauses, not with references to subclauses that don't have hanging paragraphs. Example: A reference to 6.4 [basic.scope] correctly hyperlinks to [basic.scope], not to its first subclause [basic.scope.declarative].

jensmaurer commented 4 years ago

Experimentally replacing our home-grown \clauselabel with the standard \label in the definition of \Sec in macros.tex restores the correct behavior, but of course kills the "Clause 7" label names.

tkoeppe commented 4 years ago

Final disposition: Accepted.