test/assets/test_template_backmatter.tex in review-3.0.0 vs test/assets/test_template_backmatter.tex in review-3.1.0
- old
+ new
@@ -53,11 +53,20 @@
\def\reviewprefacefiles{}
\def\reviewchapterfiles{}
\def\reviewappendixfiles{}
\def\reviewpostdeffiles{}
+\def\reviewbackcompatibilityhook{
+ \@ifundefined{reviewimagecaption}{% for 3.0.0 compatibility
+ \newcommand{\reviewimagecaption}[1]{\caption{##1}}
+ }
+}
+
\makeatother
+
+%% backward compatibility (defined in config.erb)
+\reviewbackcompatibilityhook
\begin{document}
%% begindocument hook
\ifdefined\reviewbegindocumenthook