COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/bib2dox.py

    r792 r801  
    7171author_rex = re.compile('\s+and\s+')
    7272rembraces_rex = re.compile('[{}]')
    73 capitalize_rex = re.compile('({\w*})')
     73capitalize_rex = re.compile('({[^}]*})')
    7474
    7575# used by bibtexkeywords(data)
     
    364364            if entrycont.has_key('note') and (entrycont['note'] != ''):
    365365                entry.append(entrycont['note'] + '.')
     366            if entrycont.has_key('url') and (entrycont['url'] != ''):
     367                entry.append(entrycont['url'] + '.')
    366368
    367369            # generate keys for sorting and for the output
     
    411413                field = string.lower(field)
    412414                data =  data_rex.sub('\g<2>', line)
     415
     416            if field == 'url':
     417                data = '\\url{' + data.strip() + '}'
    413418           
    414419            if field in ('author', 'editor'):
Note: See TracChangeset for help on using the changeset viewer.