Module indfix
Combine similar index entries into an entry and subentries.
For example:
\item {foobar} (in module flotz), 23
\item {foobar} (in module whackit), 4323
becomes
\item {foobar}
\subitem in module flotz, 23
\subitem in module whackit, 4323
Note that an item which matches the format of a collapsable item but which
isn't part of a group of similar items is not modified.
Version:
$Revision: 29268 $
|
|
|
dump_entries(write,
entries) |
|
|
|
|
|
|
|
breakable_re = re.compile(r' \\item ( .* ) \(( .* ) \)( (?: (?: , \d+ ...
|
Imports:
re,
StringIO,
sys
breakable_re
- Value:
re.compile(r' \\item ( .* ) \(( .* ) \)( (?: (?: , \d+ ) | (?: , \\[ a- z] * \{\d+ \})
) + ) ')
|
|