From 84a4817e1d0536360a31ed01f41b4f33ca1a3c6f Mon Sep 17 00:00:00 2001 From: "W. Joel Schneider" Date: Sun, 25 Aug 2024 12:22:49 -0400 Subject: [PATCH] fix after-caption-space --- _extensions/apaquarto/apafloatlatex.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_extensions/apaquarto/apafloatlatex.lua b/_extensions/apaquarto/apafloatlatex.lua index 1ce3615..3855b5c 100644 --- a/_extensions/apaquarto/apafloatlatex.lua +++ b/_extensions/apaquarto/apafloatlatex.lua @@ -43,7 +43,6 @@ local processfloat = function(float) local beforenote = "" if manuscriptmode then beforenote = "\\vspace{-20pt}\n" - quarto.log.output(float.attributes) if float.attributes["beforenotespace"] then beforenote = "\\vspace{" .. float.attributes["beforenotespace"] .. "}\n" @@ -89,8 +88,8 @@ local processfloat = function(float) local aftercaption = "" if manuscriptmode then aftercaption = "\n\\vspace{-20pt}" - if float.attributes["aftercaptionspace"] then - aftercaption = "\\vspace{" .. float.attributes["aftercaptionspace"] .. "}\n" + if float.attributes["after-caption-space"] then + aftercaption = "\\vspace{" .. float.attributes["after-caption-space"] .. "}\n" end end