COIN-OR::LEMON - Graph Library

Changeset 801:2de0fc630899 in lemon


Ignore:
Timestamp:
10/10/09 08:15:07 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Handle url fields in bib2dox.py (#184)
and modify the bibtex file using url fields.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/references.bib

    r790 r801  
    1313  title =        {{EGRES} -- {E}gerv{\'a}ry {R}esearch {G}roup on
    1414                  {C}ombinatorial {O}ptimization},
    15   howpublished = {\url{http://www.cs.elte.hu/egres/}},
    16   year =         2009
     15  url =          {http://www.cs.elte.hu/egres/}
    1716}
    1817
     
    2120  title =        {{COIN-OR} -- {C}omputational {I}nfrastructure for
    2221                  {O}perations {R}esearch},
    23   howpublished = {\url{http://www.coin-or.org/}},
    24   year =         2009
     22  url =          {http://www.coin-or.org/}
    2523}
    2624
     
    3129  key =          {Boost},
    3230  title =        {{B}oost {C++} {L}ibraries},
    33   howpublished = {\url{http://www.boost.org/}},
    34   year =         2009
     31  url =          {http://www.boost.org/}
    3532}
    3633
     
    4845  title =        {{LEDA} -- {L}ibrary of {E}fficient {D}ata {T}ypes and
    4946                  {A}lgorithms},
    50   howpublished = {\url{http://www.algorithmic-solutions.com/}},
    51   year =         2009
     47  url =          {http://www.algorithmic-solutions.com/}
    5248}
    5349
     
    6864  key =          {CMake},
    6965  title =        {{CMake} -- {C}ross {P}latform {M}ake},
    70   howpublished = {\url{http://www.cmake.org/}},
    71   year =         2009
     66  url =          {http://www.cmake.org/}
    7267}
    7368
     
    7671  title =        {{Doxygen} -- {S}ource code documentation generator
    7772                  tool},
    78   howpublished = {\url{http://www.doxygen.org/}},
    79   year =         2009
     73  url =          {http://www.doxygen.org/}
    8074}
    8175
     
    8680  key =          {GLPK},
    8781  title =        {{GLPK} -- {GNU} {L}inear {P}rogramming {K}it},
    88   howpublished = {\url{http://www.gnu.org/software/glpk/}},
    89   year =         2009
     82  url =          {http://www.gnu.org/software/glpk/}
    9083}
    9184
     
    9386  key =          {Clp},
    9487  title =        {{Clp} -- {Coin-Or} {L}inear {P}rogramming},
    95   howpublished = {\url{http://projects.coin-or.org/Clp/}},
    96   year =         2009
     88  url =          {http://projects.coin-or.org/Clp/}
    9789}
    9890
     
    10092  key =          {Cbc},
    10193  title =        {{Cbc} -- {Coin-Or} {B}ranch and {C}ut},
    102   howpublished = {\url{http://projects.coin-or.org/Cbc/}},
    103   year =         2009
     94  url =          {http://projects.coin-or.org/Cbc/}
    10495}
    10596
     
    10798  key =          {CPLEX},
    10899  title =        {{ILOG} {CPLEX}},
    109   howpublished = {\url{http://www.ilog.com/}},
    110   year =         2009
     100  url =          {http://www.ilog.com/}
    111101}
    112102
     
    115105  title =        {{SoPlex} -- {T}he {S}equential {O}bject-{O}riented
    116106                  {S}implex},
    117   howpublished = {\url{http://soplex.zib.de/}},
    118   year =         2009
     107  url =          {http://soplex.zib.de/}
    119108}
    120109
  • 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.