From a5d4c56336ec216006fe830f630b7de5dde5c67a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 23 May 2003 02:38:55 +0000 Subject: Collapse authors with similar names; make output pass XHTML/CSS validators. Also some author refactoring. svn:r30 --- config.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config.py') diff --git a/config.py b/config.py index 8de6c96..e6eacda 100644 --- a/config.py +++ b/config.py @@ -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 + ] -- cgit v1.2.3-70-g09d2