From 471c5e380f856b1151e87fb61028a4448793e983 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 21 Aug 2018 13:55:03 +1000 Subject: 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. --- common/conf.py | 1 - common/rtemsstyle.sty | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3