summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/conf.py1
-rw-r--r--common/rtemsstyle.sty4
2 files changed, 4 insertions, 1 deletions
diff --git a/common/conf.py b/common/conf.py
index 3c8ae76..2632146 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -203,7 +203,6 @@ latex_elements = {
\newcommand{\rtemscopyright}{%s}
\usepackage{rtemsstyle}
''' % (copyright),
- 'printindex': r'\footnotesize\raggedright\printindex',
'parsedliteralwraps': True,
}
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index fe82b52..96313f1 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -10,6 +10,10 @@
\renewenvironment{tabulary}{\underscoresplit\oldtabulary}{\endoldtabulary\endunderscoresplit}
+\let\oldprintindex\printindex
+
+\renewenvironment{printindex}{\underscoresplit\oldprintindex}
+
\usepackage{minted}
\fvset{
breaklines=true,