commit f8016af3f982fe4abf9c2b2797a531cd8eaa24aa
Author: Georg Baum <[email protected]>
Date:   Sat Jan 3 20:23:02 2015 +0100

    Parse subcaption.sty commands correctly (bug #8690)

diff --git a/lib/syntax.default b/lib/syntax.default
index dde67be..0ef1775 100644
--- a/lib/syntax.default
+++ b/lib/syntax.default
@@ -642,10 +642,14 @@ $$
 \stretch{}
 %\subitem{}   % unsupported theindex environment
 \subcaption[translate]{translate}
+\subcaptionbox[translate]{translate}[][]{translate} % subcaption.sty
+\subcaptionbox*{translate}[][]{translate} % subcaption.sty
 \subjectname
 \subfigure[translate][translate]{translate} % obsolete subfigure.sty
 \subparagraph[]{}  % These "sub" versions of the sectioning commands weren't
 \subparagraph*{}   % in the original commandlist for some reason (adk)
+\subref{} % subcaption.sty
+\subref*{} % subcaption.sty
 \subsection[]{}    %
 \subsection*{}     %
 \subsubsection[]{} %
@@ -706,6 +710,8 @@ $$
 \begin{environments}
 bibunit[]{translate}
 psmatrix[]{}
+subfigure[]{translate} % subcaption.sty
+subtable[]{translate} % subcaption.sty
 theorem[]{translate} % from amsthm.sty and probably others
 thebibliography{}
 tikzpicture[]{}

Reply via email to