Udi Fogiel
This is basically asking if there is a version of `\refstepcounter` that does not create a pdf destination node (assuming hyperred is loaded) so that I could use `\MakeLinkTarget{counter}` someplace else.
It might be an xy-problem, but I need to do that because the destination node will be one grouping level deeper than where the `\label` will be used.
For now I have something like
```tex
\AssignSocketPlug{refstepcounter/target}{noop}
\refstepcounter{counter}
\AssignSocketPlug{refstepcounter/target}{hyperref}
```
but I was wondering if there was a better way.
Top Answer
Ulrike Fischer
You can either use `\LinkTargetOff` to suppress the creation of the target, or use the kernel version `\@kernel@refstepcounter`.