publist

managing my list of publications, talks, reviews
git clone https://a3nm.net/git/publist/
Log | Files | Refs | README | LICENSE

commit 1822df33771aa2d0a31ea2d9a74bbbfcb047cc35
parent 69f49f783da99fdde2c6e1e8ed5be57936c369a9
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 22 Apr 2021 16:51:42 +0200

fix

Diffstat:
make_talks_html.py | 2++
maketex.py | 2+-
parserec.py | 2+-
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/make_talks_html.py b/make_talks_html.py @@ -76,6 +76,8 @@ def makevenue2(venue, lang, typ, url, issue, links=True, hidden=False): def makevenue(publi, lang, links=True, hidenonoa=False): global venuesz venue, typ, url, issue, oa, keywords = getvenue(publi, lang, venuesz) + if venue == 'Draft': + return venue return makevenue2(venue, lang, typ, url, issue, links=links, hidden=((not oa) and hidenonoa)) def makesuppl(publi, lang, ismain=False): diff --git a/maketex.py b/maketex.py @@ -118,7 +118,7 @@ typetoobjtype = { } legaltypes = ['phdthesis', 'patent', 'mscthesis', 'journal', 'conference', 'note', 'demo', 'posterpaper', 'shortpaper', 'spotlight', 'book', - 'newsletter'] + 'newsletter', 'draft', 'submitted'] informaltypes = ['phdthesis', 'mscthesis', 'note', 'book', 'newsletter'] def publitobib(publi, lang, venuesz, authorsz): diff --git a/parserec.py b/parserec.py @@ -186,7 +186,7 @@ def getvenue(publi, lang, venuesz, short=False): global talk_types if 'venue' not in publi.keys(): if 'status' in publi.keys(): - return (stz[publi['status']][lang], '', '', '', '', set()) + return (stz[publi['status']][lang], publi['status'], '', '', '', set()) return ('', '', '', '', '', set()) # phdthesis or mscthesis venue = publi['venue'] if short and 'venueshort' in publi.keys():