From c2a80c7d56ea694d88110f4ae3c6508a01adea00 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 28 Oct 2015 00:25:09 +0100 Subject: [PATCH] Prevent unfortunate splitting of the author in the index --- patacrep/index.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/patacrep/index.py b/patacrep/index.py index b67897f3..c0727519 100644 --- a/patacrep/index.py +++ b/patacrep/index.py @@ -135,6 +135,9 @@ class Index(object): self._raw_add((key, ""), number, link) if self.indextype == "AUTHOR": + + # \IeC {} is included by LaTeX and must not be split (because of the space) + key = key.replace('\\IeC {', '\\IeC{') # Processing authors for author in authors.processauthors( key,