[manual] Links for `left` and `right` placement options for nodes lead to wrong locations
Migrated from SourceForge Author: denisbitouze Timestamp: 2019-01-07 11:07:12.725000
Manual for Version 3.1.
Instead of leading to page 234 (§ 17.5.2 "Basic Placement Options"), the links for the placement options left and right in the various examples (e.g. 1st example page 46) lead to /pgf/arrow keys/left and /pgf/arrow keys/right page 193 (§ 16.3.5 "Reversing, Halving, Swapping").
Migrated from SourceForge Author: mo-gul Timestamp: 2019-01-07 15:53:22.619000
For the record: This was already the case for v3.0.1a (and I guess also in even earlier releases).
When I am not mistaken the hyperlinks are not set explicitly but by some automated stuff. This would explain the wrong destinations. There are other wrong hyperlinks as well, but I cannot remember them right now ...
I am not sure if this can be fixed (in an easy way).
The problem here is that the link to /pgf/arrow keys/left overrides a previous link to /tikz/left. Maybe overriding should only be allowed, if the new key is “less qualified”. In this case /tikz/left has only one level of nesting, whereas /pgf/arrow keys/left has two levels of nesting, i.e. /tikz/left should take precedence.
We need to check here before \pgfmanualpdflabel whether a label with that key already exists:
https://github.com/pgf-tikz/pgf/blob/1ad8f6e68d9066bcaa0e68dc4619a584c774df1f/tex/latex/pgf/doc/pgfmanual-en-macros.tex#L790-L820