... | ... |
@@ -88,2 +88,6 @@ |
88 | 88 |
|
89 |
# |
|
90 |
# styles for html formatting |
|
91 |
# |
|
92 |
divstyle = 'margin-top: -4ex; margin-left: 8em;' |
|
89 | 93 |
|
... | ... |
@@ -286,3 +290,3 @@ |
286 | 290 |
entrytype = string.lower(entrytype) |
287 |
|
|
291 |
entryid = pubtype_rex.sub('\g<2>', line) |
|
288 | 292 |
|
... | ... |
@@ -381,2 +385,3 @@ |
381 | 385 |
entry.insert(1, bibkey) |
386 |
entry.insert(2, entryid) |
|
382 | 387 |
|
... | ... |
@@ -441,2 +446,3 @@ |
441 | 446 |
bibkey = entry[1] |
447 |
entryid = entry[2] |
|
442 | 448 |
if keytable[bibkey] == 1: |
... | ... |
@@ -448,9 +454,7 @@ |
448 | 454 |
# append the entry code to the output |
449 |
file.append('<tr valign="top">\n' + \ |
|
450 |
'<td>[' + outkey + ']</td>') |
|
451 |
file.append('<td>') |
|
452 |
file.append('\\anchor ' + outkey) |
|
453 |
|
|
455 |
file.append('\\section ' + entryid + ' [' + outkey + ']') |
|
456 |
file.append('<div style="' + divstyle + '">') |
|
457 |
for line in entry[3:]: |
|
454 | 458 |
file.append(line) |
455 |
file.append('</ |
|
459 |
file.append('</div>') |
|
456 | 460 |
file.append('') |
... | ... |
@@ -782,8 +786,4 @@ |
782 | 786 |
|
783 |
print '<table border="0" cellspacing="5px" width="100%">' |
|
784 |
|
|
785 | 787 |
for line in outdata: |
786 | 788 |
print line |
787 |
print '</table>' |
|
788 |
|
|
789 | 789 |
print '*/' |
0 comments (0 inline)