welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 10 as of 2019-01-08 18:08:48

location: Computer / Latex / Tikzexternalize_Hyperref

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{%
   \newcommand{\hypersetup}[1]{}
}{%
   \usepackage{hyperref}  
}
\hypersetup{
   colorlinks,           % These are of course only example options.
   bookmarksnumbered,
   linkcolor={blue!60!black},
   citecolor={blue!60!black}, 
   urlcolor={blue!60!black}
}

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

Tikz Externalize and Lualatex

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

  \usepackage{shellesc} 

This package may also be used with latex and pdflatex, but is necessary with lualatex. Other packages also require {shellesc} with lualatex, and therefore it may seem that it is not necessary sometimes. It is always necessary.