Index: scripts/bib2dox.py =================================================================== --- scripts/bib2dox.py (revision 790) +++ scripts/bib2dox.py (revision 792) @@ -87,4 +87,8 @@ url_rex = re.compile('\\\url\{([^}]*)\}') +# +# styles for html formatting +# +divstyle = 'margin-top: -4ex; margin-left: 8em;' # @@ -285,5 +289,5 @@ entrytype = pubtype_rex.sub('\g<1>',line) entrytype = string.lower(entrytype) - # entryid = pubtype_rex.sub('\g<2>', line) + entryid = pubtype_rex.sub('\g<2>', line) # end entry if just a } @@ -380,4 +384,5 @@ entry.insert(0, sortkey) entry.insert(1, bibkey) + entry.insert(2, entryid) # add the entry to the file contents @@ -440,4 +445,5 @@ # generate output key form the bibtex key bibkey = entry[1] + entryid = entry[2] if keytable[bibkey] == 1: outkey = bibkey @@ -447,11 +453,9 @@ # append the entry code to the output - file.append('