publist

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

commit e367b5ed0efb586cd09687f17c5a3272fe36b447
parent 00e04c2c977f03e94eda4944fff563c4f1ec6906
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 19 Nov 2025 09:31:18 +0100

no none urls

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

diff --git a/make_talks_html.py b/make_talks_html.py @@ -324,7 +324,8 @@ if __name__ == '__main__': file=ftext) print(publi['title'], file=ftext) if 'status' in publi.keys() and publi['status'] == 'submitted': - print('Preprint', file=ftext) + if 'url' in publi.keys() and publi['url'] != "none": + print('Preprint', file=ftext) else: print(makevenue(publi, lang, links=False), file=ftext, end="") if not reviewed: @@ -335,7 +336,7 @@ if __name__ == '__main__': print(' (non relu par les pairs)', file=ftext) else: print("", file=ftext) - if 'url' in publi.keys(): + if 'url' in publi.keys() and publi['url'] != "none": print(prefix + publi['url'] if isurlrel(publi['url']) else publi['url'], file=ftext) print("", file=ftext) diff --git a/maketex.py b/maketex.py @@ -166,7 +166,8 @@ def publitobib(publi, lang, venuesz, authorsz): if typ == "draft": assert (not did_note) did_note = True - s += ' note = {Preprint: \\url{%s}},\n' % (absurl(publi['url'], SITEURL, LOCALURL)) + if 'url' in publi.keys() and publi['url'] != "none": + s += ' note = {Preprint: \\url{%s}},\n' % (absurl(publi['url'], SITEURL, LOCALURL)) elif typ in ["phdthesis", "mscthesis", "habilitationthesis"]: s += ' school = {%s},\n' % (mklinktex(publi['school'], publi['schoolurl']))