publist

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

commit 71109974f7416243c90cba5e1d0bbb4a68140a5e
parent 2408fd16a29265b5a3553b1b3f0e1ebfa21e78df
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed,  8 Jan 2025 16:28:14 +0100

fix bad escapes

Diffstat:
maketex.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/maketex.py b/maketex.py @@ -51,7 +51,7 @@ def mklinktex(text, url, sep=""): global SITEURL, LOCALURL if not url or url.lower() == "none": return (text) - url = url.replace("_", "\\_").replace("%", "\%") # naive escaping + url = url.replace("_", "\\_").replace("%", "\\%") # naive escaping return ('\\href{%s}%s{%s}' % (absurl(url, SITEURL, LOCALURL), sep, text)) def authortotex(author, withurl=False, sepnames=False): @@ -184,7 +184,7 @@ def publitobib(publi, lang, venuesz, authorsz): if related in publi.keys(): assert (not did_note) did_note = True - s += (' note = {%s~\cite{%s}},\n' % + s += (' note = {%s~\\cite{%s}},\n' % (stz[related+"_explain"][lang], publi[related])) if 'doi' in publi.keys() and publi['doi'].lower() != 'none': s += ' doi = {%s},\n' % publi['doi']