Browse Source

Prevent unfortunate splitting of the author in the index

pull/134/head
Oliverpool 9 years ago
parent
commit
c2a80c7d56
  1. 3
      patacrep/index.py

3
patacrep/index.py

@ -135,6 +135,9 @@ class Index(object):
self._raw_add((key, ""), number, link) self._raw_add((key, ""), number, link)
if self.indextype == "AUTHOR": 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 # Processing authors
for author in authors.processauthors( for author in authors.processauthors(
key, key,

Loading…
Cancel
Save