Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

backward compatibility issue with acro 3.8

6 views
Skip to first unread message

Dr Engelbert Buxbaum

unread,
May 13, 2022, 3:17:10 AM5/13/22
to


Hi,

https://tex.stackexchange.com/questions/161464/are-mouse-over-
definitions-of-acronyms-possible gives a method for pop-up windows that
explain an acronym on mouse-over, using acro 2.1:

\documentclass{article}

\usepackage[tooltip]{acro}

\DeclareAcronym{cd}{
short = {CD},
long = {Compact Disc}
}
\DeclareAcronym{mc}{
short = {MC},
long = {Music Cassette},
tooltip = {my mouse-over text}
}


\begin{document}

\ac{cd} \ac{mc}\par\vspace{1cm}
\ac{cd} \ac{mc}

\aca{cd} \aca{mc}

\acs{cd} \acs{mc}

\end{document}

However, with acro 3.8 (miktex), I get an error message that the
property `tooltip' does not exist. There are no pop-ups visible in the
output with either Acrobat Reader nor SumatraPDF.

Denis Bitouzé

unread,
May 13, 2022, 3:51:45 AM5/13/22
to
Le 13/05/22 à 09h17, Dr Engelbert Buxbaum a écrit :

> Hi,

Hi,

> https://tex.stackexchange.com/questions/161464/are-mouse-over-
> definitions-of-acronyms-possible gives a method for pop-up windows that
> explain an acronym on mouse-over, using acro 2.1:
>
> [...]
>
> However, with acro 3.8 (miktex), I get an error message that the
> property `tooltip' does not exist. There are no pop-ups visible in the
> output with either Acrobat Reader nor SumatraPDF.

The following works like a charm:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{acro}
\usepackage{pdfcomment}
\usepackage{hyperref}

\DeclareAcronym{cd}{
short = {CD},
long = {Compact Disc}
}
\DeclareAcronym{mc}{
short = {MC},
long = {Music Cassette},
pdfcomment = {my mouse-over text}
}

\acsetup{
pdfcomments/use=true
}

\begin{document}

\ac{cd} \ac{mc}\par\vspace{1cm}
\ac{cd} \ac{mc}

\aca{cd} \aca{mc}

\acs{cd} \acs{mc}
\end{document}
--8<---------------cut here---------------end--------------->8---

See section 21.3 of the documentation.
--
Denis

Dr Engelbert Buxbaum

unread,
May 17, 2022, 4:28:59 AM5/17/22
to
In article <87tu9tz...@example.com>, dbit...@wanadoo.fr says...
>
> The following works like a charm:
>
> --8<---------------cut here---------------start------------->8---
> \documentclass{article}
> \usepackage{acro}
> \usepackage{pdfcomment}
> \usepackage{hyperref}
>
> \DeclareAcronym{cd}{
> short = {CD},
> long = {Compact Disc}
> }
> \DeclareAcronym{mc}{
> short = {MC},
> long = {Music Cassette},
> pdfcomment = {my mouse-over text}
> }
>
> \acsetup{
> pdfcomments/use=true
> }
>
> \begin{document}
>
> \ac{cd} \ac{mc}\par\vspace{1cm}
> \ac{cd} \ac{mc}
>
> \aca{cd} \aca{mc}
>
> \acs{cd} \acs{mc}
> \end{document}
> --8<---------------cut here---------------end--------------->8---
>

Yes, it does. That should probably also go on StackExchange, do you want
to put it there or shall I?

Thanks
Engelbert

Denis Bitouzé

unread,
May 17, 2022, 8:38:53 AM5/17/22
to
Le 17/05/22 à 10h28, Dr Engelbert Buxbaum a écrit :

> That should probably also go on StackExchange, do you want to put it
> there or shall I?

You can do it :)

> Thanks

You're welcome.
--
Denis
0 new messages