Changes in scripts/bib2dox.py [801:2de0fc630899:792:68792fb2870f] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/bib2dox.py
r801 r792 71 71 author_rex = re.compile('\s+and\s+') 72 72 rembraces_rex = re.compile('[{}]') 73 capitalize_rex = re.compile('({ [^}]*})')73 capitalize_rex = re.compile('({\w*})') 74 74 75 75 # used by bibtexkeywords(data) … … 364 364 if entrycont.has_key('note') and (entrycont['note'] != ''): 365 365 entry.append(entrycont['note'] + '.') 366 if entrycont.has_key('url') and (entrycont['url'] != ''):367 entry.append(entrycont['url'] + '.')368 366 369 367 # generate keys for sorting and for the output … … 413 411 field = string.lower(field) 414 412 data = data_rex.sub('\g<2>', line) 415 416 if field == 'url':417 data = '\\url{' + data.strip() + '}'418 413 419 414 if field in ('author', 'editor'):
Note: See TracChangeset
for help on using the changeset viewer.