2 Nov
2008
2 Nov
'08
10:01 p.m.
Am 02.11.2008 um 18:21 schrieb Peter Münster:
On Sun, Nov 02 2008, Wolfgang Schuster wrote:
how can I combine \ref and \goto?
\setupinteraction[state=start]
[...]
see also \goto{\ref[s][sec:one]}[sec:one] % fails
Here a workaround:
see also \goto{\expanded{\ref[s][sec:one]}}[sec:one] % does not fail
This works also:
\def\myGoto#1{\goto{\expanded{\ref[s][#1]}}[#1]}
see also \myGoto{sec:one}
Hi Peter, thank you for the solution, I use now this: \def\gotoref[#1][#2]% {\goto{\expanded{\ref[#1][#2]}}[#2]} see also \gotoref[s][sec:one] Regards Wolfgang