From f8016af3f982fe4abf9c2b2797a531cd8eaa24aa Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 3 Jan 2015 20:23:02 +0100 Subject: [PATCH] Parse subcaption.sty commands correctly (bug #8690) --- lib/syntax.default | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/syntax.default b/lib/syntax.default index dde67bea07..0ef1775001 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[]{}