[tex-live] problem with elsarticle.cls and hyperref

Robert Jäschke jaeschke at l3s.de
Fri Aug 17 07:08:15 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Am 17.08.2012 01:26, schrieb Zdenek Wagner:
> I am having trouble to typeset a document with the elsarticle class
> in combination with the hyperref package.
> 
[...]
> 
> If I remove the hyperref package, everything works fine. I am
> assuming that this is a TeXLive bug, since a search on the web
> brought me to 
> http://www.latex-community.org/forum/viewtopic.php?f=4&t=14622 
> where a similar problem is described and solved by switching to
> MikTeX:
> 
>>>> Thanks a lot for your post. It helped me to figure out that
>>>> the problem is that I am using TeXLive. When I switch to
>>>> MikTeX, it works perfectly.
> 
> Unfortunately, this is not an option for me. Can you confirm that
> this is a TeXLive bug? Are there any workarounds besides not using
> the hyperref package?
> 
>> 1. This is not a TeX Live vs MiKTeX problem. The difference is
>> that when the user switched from TeX Live to MiKTeX, he or she
>> had different versions of packages in MiKTeX than in TL

OK. Good to know.


>> 2. Do you really need hyperref with elsarticle? AFAIK elsarticle
>> is intended for articles in journals published by Elsevier. They
>> will certainly do hypertext references by their own means
>> (references via CrossRef etc). See their web page or the web page
>> of Science Direct.

That is a good point. Actually, I don't necessarily need hyperref,
although it is nice to have hyperlinks when writing the article to
quickly jump through the document.

However, what I need is the url package, otherwise URLs won't be
typeset correctly. So I exchanged hyperref with url in the example
from my previous post and now the document compiles. However, the DOI
of the citation is now typeset as:

doi:\bibinfo{doi}{10.1073/pnas.98.2.404}

(yes, I see the raw macro in the PDF)

The url package is the most recent version. So I assume there is an
incompatibility between the elsarticle class and the url package and I
should contact the maintainers?


>> 3. Have you checked the bugs fixed recently by Heiko?

I found nothing in the changelog that could be related.



Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAlAt0b8ACgkQPycGMHQuamL0qwD/flkV2u83c1JWRho+SB9wbDLV
qkDKNNm2QtwQGHtsvEcA/391T9S40KeQnAZThKuTQxwP9Xai4iZALY8ScpylQ1Pn
=z4VR
-----END PGP SIGNATURE-----


More information about the tex-live mailing list