[Docstring-checkins] CVS: dps/dps/languages en.py,1.4,1.5
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-01-16 02:50:15
|
Update of /cvsroot/docstring/dps/dps/languages In directory usw-pr-cvs1:/tmp/cvs-serv28717/dps/dps/languages Modified Files: en.py Log Message: - Added 'bibliographic_fields' and 'author_separators' (transform support). Index: en.py =================================================================== RCS file: /cvsroot/docstring/dps/dps/languages/en.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** en.py 2001/09/10 04:10:40 1.4 --- en.py 2002/01/16 02:50:12 1.5 *************** *** 14,18 **** __docformat__ = 'reStructuredText' ! __all__ = ['interpreted', 'bibliographic_labels'] --- 14,19 ---- __docformat__ = 'reStructuredText' ! __all__ = ['interpreted', 'bibliographic_labels', 'bibliographic_fields', ! 'author_separators'] *************** *** 53,54 **** --- 54,73 ---- 'abstract': 'Abstract'} """Mapping of bibliographic node class name to label text.""" + + bibliographic_fields = { + 'author': nodes.author, + 'authors': nodes.authors, + 'organization': nodes.organization, + 'contact': nodes.contact, + 'version': nodes.version, + 'revision': nodes.revision, + 'status': nodes.status, + 'date': nodes.date, + 'copyright': nodes.copyright, + 'abstract': nodes.abstract} + """Field name (lowcased) to node class name mapping for bibliographic fields + (field_list).""" + + author_separators = [';', ','] + """List of separator strings for the 'Authors' bibliographic field. Tried in + order.""" |