From 8b241c9684fe295ffd4a1d3f085fbd996d4bb992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20L=C3=A4ufer?= Date: Tue, 7 May 2024 13:35:08 -0500 Subject: [PATCH] updated/fixed Python tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Konstantin Läufer --- tools/github-commits.py | 2 +- tools/scholarly-metrics.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/github-commits.py b/tools/github-commits.py index 6eb26b3..343737a 100755 --- a/tools/github-commits.py +++ b/tools/github-commits.py @@ -8,7 +8,7 @@ from functools import reduce -CVLINE='\cvline{GitHub}{%(commits)s contributions during %(first_year)s--%(last_year)s at \href{https://github.com/%(username)s}{klaeufer}}\n' +CVLINE='\\cvline{GitHub}{%(commits)s contributions during %(first_year)s--%(last_year)s at \\href{https://github.com/%(username)s}{klaeufer}}\n' def get_argparse(): parser = argparse.ArgumentParser() diff --git a/tools/scholarly-metrics.py b/tools/scholarly-metrics.py index cf4d015..42086af 100755 --- a/tools/scholarly-metrics.py +++ b/tools/scholarly-metrics.py @@ -2,9 +2,9 @@ BIBLIOMETRICS_TEX = """ -\cvline{Citations}{%(citedby)s on \href{%(scholar_url)s}{Google Scholar}} -\cvline{h-index}{%(hindex)s} -\cvline{i10-index}{%(i10index)s} +\\cvline{Citations}{%(citedby)s on \\href{%(scholar_url)s}{Google Scholar}} +\\cvline{h-index}{%(hindex)s} +\\cvline{i10-index}{%(i10index)s} """ SCHOLAR_URL="https://scholar.google.com/citations?hl=en\\&user=%(scholar_id)s"