Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Dennis Ritchie is twice as bright as Steve Jobs, and only half wrong. -- Jim Gettys


computers / comp.text.tex / Re: backward compatibility issue with acro 3.8

SubjectAuthor
* backward compatibility issue with acro 3.8Dr Engelbert Buxbaum
`* Re: backward compatibility issue with acro 3.8Denis_Bitouzé
 `* Re: backward compatibility issue with acro 3.8Dr Engelbert Buxbaum
  `- Re: backward compatibility issue with acro 3.8Denis_Bitouzé

1
Subject: backward compatibility issue with acro 3.8
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Fri, 13 May 2022 07:17 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: engelber...@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.text.tex
Subject: backward compatibility issue with acro 3.8
Date: Fri, 13 May 2022 09:17:04 +0200
Organization: private
Lines: 37
Message-ID: <MPG.3ce8244442720b3c98968f@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="d8e578221d7f878d6936c31a80ef6c9d";
logging-data="6495"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XavAVn1ZiQOJkvg90snmdFibMs6M3Too="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:3SVpletWBF6H1VeWoM/E8fFEo40=
View all headers


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.


Subject: Re: backward compatibility issue with acro 3.8
From: Denis_Bitouzé
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Fri, 13 May 2022 07:51 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dbito...@wanadoo.fr (Denis_Bitouzé)
Newsgroups: comp.text.tex
Subject: Re: backward compatibility issue with acro 3.8
Date: Fri, 13 May 2022 09:51:38 +0200
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <87tu9tzx85.fsf@example.com>
References: <MPG.3ce8244442720b3c98968f@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="69a25d7db44e7a28e7201ea660bc3eef";
logging-data="19986"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/r5apJRBeT2n8UeK+mMP7Wo+Qwq/JfX2M="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:bKrWelGbIHoQvLq3kQJix5xbE70=
sha1:j8MeL76tky361IJddrqKzLeuAik=
X-Archive: encrypt
X-Url: http://gte.univ-littoral.fr/members/dbitouze/pub/latex
View all headers
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


Subject: Re: backward compatibility issue with acro 3.8
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Tue, 17 May 2022 08:28 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: engelber...@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.text.tex
Subject: Re: backward compatibility issue with acro 3.8
Date: Tue, 17 May 2022 10:28:54 +0200
Organization: private
Lines: 41
Message-ID: <MPG.3ceac0db258a507f989690@news.eternal-september.org>
References: <MPG.3ce8244442720b3c98968f@news.eternal-september.org> <87tu9tzx85.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="f46d3a77e46a67203537bc2ab063d6ee";
logging-data="11756"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//rrMDpVxpMi4pxPWg3xANDswL75gmpJM="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:lnJMdHkfh9Tm04gYhKuc90824Lw=
View all headers
In article <87tu9tzx85.fsf@example.com>, dbitouze@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


Subject: Re: backward compatibility issue with acro 3.8
From: Denis_Bitouzé
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Tue, 17 May 2022 12:38 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dbito...@wanadoo.fr (Denis_Bitouzé)
Newsgroups: comp.text.tex
Subject: Re: backward compatibility issue with acro 3.8
Date: Tue, 17 May 2022 14:38:47 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <87ilq4wcyw.fsf@example.com>
References: <MPG.3ce8244442720b3c98968f@news.eternal-september.org>
<87tu9tzx85.fsf@example.com>
<MPG.3ceac0db258a507f989690@news.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="0b0370c88cd4a953ad6e9122e7b699dc";
logging-data="11136"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2vt2BNiQFoD0oHarEKvgONGwrI++SfPw="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:xTFJbwEJ2AizvmxO9sxyFcb+amo=
sha1:UXsJSnoZhU2Gn6MZ5rURsGe2/Wo=
X-Archive: encrypt
X-Url: http://gte.univ-littoral.fr/members/dbitouze/pub/latex
View all headers
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


1
rocksolid light 0.7.2
clearneti2ptor