[rtems-docs commit] pdf: Revert the changes to the Latex index formatting.

Chris Johns chrisj at rtems.org
Tue Aug 21 04:58:59 UTC 2018


Module:    rtems-docs
Branch:    master
Commit:    471c5e380f856b1151e87fb61028a4448793e983
Changeset: http://git.rtems.org/rtems-docs/commit/?id=471c5e380f856b1151e87fb61028a4448793e983

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Aug 21 13:55:03 2018 +1000

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,




More information about the vc mailing list