diff options
author | Chris Johns <chrisj@rtems.org> | 2018-08-21 13:55:03 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-08-21 13:55:03 +1000 |
commit | 471c5e380f856b1151e87fb61028a4448793e983 (patch) | |
tree | 3d57ec2d3147e195f7c14a417181bcc44e27acde | |
parent | build: Fix indexing so it works on HTML and PDF. (diff) | |
download | rtems-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.
Diffstat (limited to '')
-rw-r--r-- | common/conf.py | 1 | ||||
-rw-r--r-- | common/rtemsstyle.sty | 4 |
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, |