At 2019-04-22 21:27:21, [email protected] wrote:
>On Mon, Apr 22, 2019 at 09:19:15PM +0800, Jinsong Zhao wrote:
>
>[...]
>
>> Maybe, but I don't know.
>>
>> Here is a MWE. On page two, if you click on "not_work", you will find that
>> you can not jump to page one. But "work" let you back.
>>
>> Any solution? Thanks.
>
>I'm a bit tight on time, so I can't run tests for you. Have you tried
>to escape the underscore? In (La)TeX you'd write '\_' for an underscore
>(unescaped, it would make a subscript). So perhaps writing '@_' instead
>of just '_' would work for texinfo?
>
>Cheers
>-- tomás
I got the solution. Now the command defined as:
def\mmref#1#2{%
\setpdfdestname{#1}%
{\leavevmode%
\special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A
<< /S /GoTo /D (\pdfdestname) >> >>}%
}%
\setcolor{\linkcolor}%
#2%
\endlink%
}
Best,
Jinsong