make sphinx prefixed names known to non-Sphinx document classes

This commit is contained in:
jfbu
2016-10-12 08:32:24 +02:00
parent 9826be6f69
commit 1a540247b6

View File

@@ -1019,3 +1019,8 @@
% stylesheet for highlighting with pygments
\RequirePackage{sphinxhighlight}
% make commands known to non-Sphinx document classes
\providecommand*{\sphinxtableofcontents}{\tableofcontents}
\providecommand*{\sphinxthebibliography}{\thebibliography}
\providecommand*{\sphinxtheindex}{\theindex}