summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex')
-rw-r--r--graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex17
1 files changed, 14 insertions, 3 deletions
diff --git a/graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex b/graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex
index 0909945567..57f51bda21 100644
--- a/graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex
+++ b/graphics/pgf/base/doc/text-en/pgfmanual-en-main-preamble.tex
@@ -35,6 +35,7 @@
arrows,
arrows.spaced,
arrows.meta,
+ bbox,
bending,
babel,
calc,
@@ -137,9 +138,9 @@
\def\LuaTeX{Lua\TeX}%
-
-\iffalse
-%\iftrue
+\newif\ifpgfmanualexternalize
+\pgfmanualexternalizefalse
+\ifpgfmanualexternalize
\tikzexternalize[
mode=list only,export=true,% simply skips EVERY picture -> good for debugging the text.
]{pgfmanual}
@@ -238,6 +239,16 @@
\tikzset{make snapshot if necessary}
+% Detect changed labels
+% by David Carlisle https://tex.stackexchange.com/a/169245
+\makeatletter
+\def\@testdef#1#2#3{%
+ \def\reserved@a{#3}%
+ \expandafter\ifx\csname #1@#2\endcsname\reserved@a\else
+ \typeout{^^JLabel `#2' changed:^^J\meaning\reserved@a^^J\expandafter\meaning\csname #1@#2\endcsname^^J}%
+ \@tempswatrue
+ \fi}
+\makeatother
%% -----------------------------------------------------------------------------
%\includeonly{