summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-08-21 13:55:03 +1000
committerChris Johns <chrisj@rtems.org>2018-08-21 13:55:03 +1000
commit471c5e380f856b1151e87fb61028a4448793e983 (patch)
tree3d57ec2d3147e195f7c14a417181bcc44e27acde
parentbuild: Fix indexing so it works on HTML and PDF. (diff)
downloadrtems-docs-471c5e380f856b1151e87fb61028a4448793e983.tar.bz2
pdf: Revert the changes to the Latex index formatting.
I removed the '_' splitting of long labels from the index when testing and this puts it back.
-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,