From 68cdfbfa8b98675900e588f06389fe00f2a8d365 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 17 Feb 2024 19:40:45 +0100 Subject: [PATCH] fix a template bug in classic theme --- rendercv/themes/classic/Preamble.j2.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rendercv/themes/classic/Preamble.j2.tex b/rendercv/themes/classic/Preamble.j2.tex index e946206..bd603d6 100644 --- a/rendercv/themes/classic/Preamble.j2.tex +++ b/rendercv/themes/classic/Preamble.j2.tex @@ -40,7 +40,7 @@ ((* endif *)) ((* set page_numbering_style_placeholders = { "NAME": cv.name, - "PAGE_NUMBER": "\thepage", + "PAGE_NUMBER": "\\thepage{}", "TOTAL_PAGES": "\pageref*{LastPage}" } *)) \makeatletter @@ -122,7 +122,7 @@ % save the original href command in a new command: \let\hrefWithoutArrow\href % new command for external links: -\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{}{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}} +\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\mbox{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}} \let\originalTabularx\tabularx \let\originalEndTabularx\endtabularx