[OS X TeX] Hyperref in 2018 and 2019 TeXLive

Herbert Schulz herbs at wideopenwest.com
Fri Apr 24 13:25:13 CEST 2020



> On Apr 24, 2020, at 4:55 AM, Nestor Aguilera <nestoreaguilera at gmail.com> wrote:
> 
> I installed the MacTeX-2020 distribution hoping that the hyperref problem would be solved, but this does not seem to be the case. The examples below work with the 2018 distribution but not with the 2019 or 2020.
> 
> Any suggestions?
> 
> Thanks.
> 
> Nestor
> 
>> On 7 Apr 2020, at 10:02, Nestor Aguilera <nestoreaguilera at gmail.com> wrote:
>> 
>> I want to reference external documents using hyperref on the files test1 and test2 below.
>> 
>> I have no problems using the 2018 TeXLive distribution. With the 2019 distribution the numbers are correct but the links are dead.
>> 
>> Everything works with either distribution if I replace "\hyperref" (two arguments) by a simple "\ref" (one argument).
>> 
>> Any clues?
>> 
>> Thanks!
>> 
>> Nestor
>> 
>> %----------------------------------------------
>> % file test1.tex
>> \documentclass{article}
>> \usepackage{xr-hyper}
>> \usepackage{hyperref}
>> \externaldocument{test2}
>> \begin{document}
>> \section{Section in I}\label{sec1}
>> All the leaves continued in \hyperref[sec2]{section~\ref*{sec2}}.
>> \end{document}
>> %----------------------------------------------
>> % file test2.tex
>> \documentclass{article}
>> \usepackage{xr-hyper}
>> \usepackage{hyperref}
>> \externaldocument{test1}
>> \begin{document}
>> \setcounter{section}{1}
>> \section{Section in II}\label{sec2}
>> Continuing from \hyperref[sec1]{Section~\ref*{sec1}} are brown.
>> \end{document}
>> %----------------------------------------------
>> 

Howdy,

Have you reported the problem to the hyperref maintainers, <https://github.com/latex3/hyperref/issues>?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.