welcome: please sign in
location: Diff for "Computer/Latex/Tikzexternalize_Hyperref"
Differences between revisions 5 and 6
Revision 5 as of 2018-11-26 09:21:17
Size: 1062
Editor: leif
Comment:
Revision 6 as of 2018-11-26 09:50:46
Size: 962
Editor: leif
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
      citecolor={blue!50!black}, \tikzifexternalizing{%
      \renewcommand{\hypersetup[1]}{}
   }{%
      \usepackage{hyperref}
      citecolor={blue!50!black},
Line 22: Line 19:

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}, 
   }

   % \hypersetup{draft}    % Remove the comment character for printing. 

Tikzexternalize and Lualatex

In order to use tikzexternalize in lualatex another package is also necessary:

  \usepackage{shellesc} 

Other packages also require {shellesc} with lualatex, and therefore it may seem that it is not necessary sometimes. It is always necessary.

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