From 18b0a4c08c72b3753704a90daee9a59daf491ac3 Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Thu, 13 Jul 2023 14:56:52 +0200 Subject: [PATCH] Fixed test suite --- src/snipper/fix_cite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snipper/fix_cite.py b/src/snipper/fix_cite.py index 45c6aa1..ee4dd38 100644 --- a/src/snipper/fix_cite.py +++ b/src/snipper/fix_cite.py @@ -24,7 +24,7 @@ def fix_citations(lines, references, strict=True, file=None): return lines -def fix_aux_special(lines, aux, command='\\nref', output='\cite[%s]{my_bibtex_entry}'): +def fix_aux_special(lines, aux, command='\\nref', output='\\cite[%s]{my_bibtex_entry}'): # out = output % daux = {name: {'nicelabel': output % v['nicelabel'] } for name, v in aux.items()} l2 = fix_single_reference(lines, aux=daux, cmd=command, strict=True) -- GitLab