welcome: please sign in
location: Diff for "Computer/Latex/Tikzexternalize_Hyperref"
Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2018-11-24 19:51:36
Size: 609
Editor: leif
Comment:
Revision 4 as of 2018-11-24 20:15:25
Size: 1084
Editor: leif
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== Hyperref and Tikz Externalize === ## page was renamed from Computer/Latex/Hyperref_tikzexternalize
=== Tikz Externalize and Hyperref ===
Line 6: Line 7:
Line 7: Line 9:
      \renewcommand{\hypersetup[1]}{}
   }{%
      \usepackage{hyperref}
   }
   \hypersetup{
      colorlinks, % These are of course only example options.
      bookmarksnumbered,
      linkcolor={blue!50!black},
      citecolor={blue!50!black}, \tikzifexternalizing{%
Line 19: Line 30:
      urlcolor={blue!50!black}
    }
    % \hypersetup{draft} % Remove the comment character for printing.

Tikz Externalize and Hyperref

Tikz Externalize does not work well with Hyperref without some extra measures. In order to get around the problem, include the following lines in your preamble

   \tikzifexternalizing{%
      \renewcommand{\hypersetup[1]}{}
   }{%
      \usepackage{hyperref}  
   }
   \hypersetup{
      colorlinks,           % These are of course only example options.
      bookmarksnumbered,
      linkcolor={blue!50!black},
      citecolor={blue!50!black},   \tikzifexternalizing{%
      \renewcommand{\hypersetup[1]}{}
   }{%
      \usepackage{hyperref}  
   }
   \hypersetup{
      colorlinks,           % These are of course only example options.
      bookmarksnumbered,
      linkcolor={black},
      citecolor={black},
      urlcolor={blue!90!black}
    }
    % \hypersetup{draft}    % Remove the comment character for printing. 
      urlcolor={blue!50!black}
    }
    % \hypersetup{draft}    % Remove the comment character for printing. 

Computer/Latex/Tikzexternalize_Hyperref (last edited 2022-06-01 14:34:14 by leif)