diff options
| author | Nick Mathewson <nickm@torproject.org> | 2003-05-23 02:38:55 +0000 |
|---|---|---|
| committer | Nick Mathewson <nickm@torproject.org> | 2003-05-23 02:38:55 +0000 |
| commit | a5d4c56336ec216006fe830f630b7de5dde5c67a (patch) | |
| tree | 4fe39099c345876d29d8aeb4afca07101c2a6d5d /config.py | |
| parent | 4c84657cc6a6cffab2e322c70423e4d3b7977ea9 (diff) | |
| download | anonbib-a5d4c56336ec216006fe830f630b7de5dde5c67a.tar.gz | |
Collapse authors with similar names; make output pass XHTML/CSS validators.
Also some author refactoring.
svn:r30
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -29,6 +29,13 @@ AUTHOR_URLS = { } +# List of paterns for author names _not_ to do an initial-tolerant +# match on when building section list. E.g., if "J\\. Smith" is in +# this list, he won't be folded into "John Smith". +NO_COLLAPSE_AUTHORS = [ + +] + INITIAL_STRINGS = { # MONTHS 'jan' : 'January', 'feb' : 'February', @@ -55,3 +62,7 @@ OMIT_ENTRIES = ("proceedings", "journal") AUTHOR_RE_LIST = [ (re.compile(k, re.I), v,) for k, v in AUTHOR_URLS.items() ] + +NO_COLLAPSE_AUTHORS_RE_LIST = [ + re.compile(pat, re.I) for pat in NO_COLLAPSE_AUTHORS + ] |
