diff --git a/build.lua b/build.lua index 0898581..780af9c 100644 --- a/build.lua +++ b/build.lua @@ -23,13 +23,13 @@ end tagfiles = {"*.dtx","presenter.tex"} function update_tag(file, content, tagname, tagdate) local iso = "%d%d%d%d%-%d%d%-%d%d" - local ver = "v%d.%d.%d" + local ver = "%d.%d.%d" if string.match(file, "%.dtx$") then return string.gsub(content, "{" .. iso .. "}{" .. ver .. "}", "{" .. tagdate .. "}{" .. tagname .. "}") elseif string.match(file, "%.tex$") then - return string.gsub(content, "\\date{" .. iso .. " \\quad " .. ver .. "}", - "\\date{" .. tagdate .. " \\quad " .. tagname .. "}") + return string.gsub(content, "\\date{" .. iso .. " \\quad v" .. ver .. "}", + "\\date{" .. tagdate .. " \\quad v" .. tagname .. "}") end return content end \ No newline at end of file diff --git a/source/presenter.dtx b/source/presenter.dtx index 688037d..2276ab8 100644 --- a/source/presenter.dtx +++ b/source/presenter.dtx @@ -24,7 +24,7 @@ %\ProvidesExplClass %\ProvidesExplPackage {presenter} - {2023-07-03}{v0.4.0} + {2023-07-03}{0.4.0} % {A LaTeX presentation framework with seamless migration (class)} % {A LaTeX presentation framework with seamless migration (package)} % diff --git a/source/pretbg.dtx b/source/pretbg.dtx index 1b9eda5..c70eb4a 100644 --- a/source/pretbg.dtx +++ b/source/pretbg.dtx @@ -23,7 +23,7 @@ % {pretbg-default} % {pretbg-block} % {pretbg-iiiblock} - {2023-07-03}{v0.4.0} + {2023-07-03}{0.4.0} % {default background style for presenter} % {block background style for presenter} % {block background style for presenter implemented in l3draw} diff --git a/source/pretfg.dtx b/source/pretfg.dtx index 41a71b6..cf0746b 100644 --- a/source/pretfg.dtx +++ b/source/pretfg.dtx @@ -23,7 +23,7 @@ % {pretfg-default} % {pretfg-dual} % {pretfg-cascade} - {2023-07-03}{v0.4.0} + {2023-07-03}{0.4.0} % {default foreground style for presenter} % {dual foreground style for presenter} % {cascade foreground style for presenter} diff --git a/source/pretsec.dtx b/source/pretsec.dtx index c0b2d74..3815aa7 100644 --- a/source/pretsec.dtx +++ b/source/pretsec.dtx @@ -21,7 +21,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{pretsec}{2023-07-03}{v0.4.0} +\ProvidesExplPackage{pretsec}{2023-07-03}{0.4.0} {sectioning support pack for presenter} % % \fi