We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa7254 commit 9f5e803Copy full SHA for 9f5e803
sphinx/texinputs/sphinxlatextables.sty
@@ -943,7 +943,12 @@
943
% redefined by the cells of the nested table. So this is the alternative
944
% macro which is executed on exit of nested table.
945
\def\spx@nestedtable@resetcolortbl{%
946
- \spx@gpop@rownum
+ \ifx\spx@rownum@stack\@empty\else
947
+% The stack can be empty if this is executed on exit of a nested table,
948
+% and the parent table has received the "nocolorrows" class, but globally
949
+% colorrows are activated (default). So we protected against that case.
950
+ \spx@gpop@rownum
951
+ \fi
952
\sphinxSwitchCaseRowColor\rownum
953
}
954
\def\spx@table@reset@CT@everycr{%
0 commit comments