projects
/
philipp
/
scripts
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b349a
)
bibtex.py: add id tag to category headings
author
Philipp Falk
<philipp.falk@math.uni-freiburg.de>
Wed, 7 Sep 2016 09:15:36 +0000
(11:15 +0200)
committer
Philipp Falk
<philipp.falk@math.uni-freiburg.de>
Wed, 7 Sep 2016 09:15:36 +0000
(11:15 +0200)
bibtex.py
patch
|
blob
|
history
diff --git
a/bibtex.py
b/bibtex.py
index
606989f
..
1e81b13
100755
(executable)
--- a/
bibtex.py
+++ b/
bibtex.py
@@
-52,7
+52,7
@@
if __name__ == '__main__':
(html, bib) = get_publications(tmpdir, cat, basename)
if html is None:
continue
- outhtml.append('<h2
>{}</h2>'.format(
name))
+ outhtml.append('<h2
id="{}">{}</h2>'.format(cat,
name))
outhtml.append(html)
outbibl.append(bib)
os.chdir(cwd)