Skip to content

Commit 2078749

Browse files
Work around an incompatibility between etoolbox and etextools
1 parent ac76994 commit 2078749

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

test-tikzscale.tex

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
% Load the MWE package, although its functionality is not needed. The loading highlights, that some graphics used below are part of the MWE package.
1616
\usepackage{mwe}
1717

18+
% This package is not needed and can be uncommented at any time. Loading it ensures that conflicts between this package and autonum (being involved by loading etoolbox and etextools) are detected.
19+
\usepackage[backend=bibtex]{biblatex}
20+
% Deactivate a warning from biblatex, as the package is intentionally not used in this document.
21+
\makeatletter
22+
\def\blx@ifsigned#1#2#3#4{}%
23+
\makeatother
24+
1825
\usetikzlibrary{external}
1926
\tikzexternalize
2027
% \tikzexternalize[mode=list and make]

tikzscale.dtx

+6
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ and the derived files tikzscale.ins,
9797
\ProvidesPackage{tikzscale}[2013/05/22 v0.2.6 tikzscale LaTeX package]
9898
\RequirePackage{graphicx}
9999
\RequirePackage{etoolbox}
100+
%
101+
% Avoid \href{https://groups.google.com/d/msg/comp.text.tex/VRrFB4ll5n0/Vu31OC4hQG8J}{a conflict} between etoolbox and etextools
102+
\makeatletter % The missing \makeatother command is on purpose (as every other combination results in an error).
103+
\let\autonum@etoolbox@forlistloop\forlistloop
100104
\RequirePackage{etextools}
105+
\let\forlistloop\autonum@etoolbox@forlistloop
106+
%
101107
\RequirePackage{pgfkeys}
102108
\RequirePackage{xparse}
103109
\RequirePackage{letltxmacro}

0 commit comments

Comments
 (0)