Skip to content

NoHyper environment could not be nested #397

Description

@lvjr

From TeXackers/tabularray#620

NoHyper environment in hyperref could not be nested. In the following example, the last link is still disabled.

\documentclass{article}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue}
\begin{document}

\hypertarget{test}{Target}

\hyperlink{test}{Link}

\begin{NoHyper}
\hyperlink{test}{Link}
\end{NoHyper}

\hyperlink{test}{Link}

\begin{NoHyper}
A
\begin{NoHyper}
\hyperlink{test}{Link}
\end{NoHyper}
C
\end{NoHyper}

\hyperlink{test}{Link}

\end{document}
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions