From 172532b45545da22a6ebfbbfd2b8fcf52f58fd56 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Thu, 19 Jan 2023 23:14:39 +0100 Subject: [PATCH] allow mapentry to receive a ref --- layout.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout.sty b/layout.sty index 877ea8b8..0cb6fa92 100644 --- a/layout.sty +++ b/layout.sty @@ -861,9 +861,10 @@ Roll & Result \\ \newcommand{\mapentry}[1]{ \needspace{2em} - \addtocounter{list}{1} + \refstepcounter{list} \subsubsection[#1]{ - \arabic{list}: #1} + \arabic{list}: #1 + } } %%%%% Side Quests -- GitLab