help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] pdf links can not understand underscore ("_")


From: tomas
Subject: Re: [help-texinfo] pdf links can not understand underscore ("_")
Date: Mon, 22 Apr 2019 16:31:01 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Apr 22, 2019 at 10:17:28PM +0800, Jinsong Zhao wrote:

[...]

> I got the solution. Now the command defined as:

Glad you did :-)

> 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%
> }

I barely understand your code, but I seem to get that it helps
to stash the first arg #1 in a (special?) macro \pdfdestname.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]