diff --git a/ChangeLog b/ChangeLog index d903ee0..ca5bb11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2026-04-29 Dirk Eddelbuettel + + * inst/rmarkdown/templates/metropolis/resources/template.tex: Add a + new counter variable as needed by newer pandoc + +2026-04-06 Rob J Hyndman + + * DESCRIPTION: Correct typo in two of the three 'aut' tags + 2025-11-27 Dirk Eddelbuettel * .github/workflows/ci.yaml: Switch to actions/checkout@v6 diff --git a/inst/rmarkdown/templates/iqss/resources/template.tex b/inst/rmarkdown/templates/iqss/resources/template.tex index bcbc693..ed8b951 100644 --- a/inst/rmarkdown/templates/iqss/resources/template.tex +++ b/inst/rmarkdown/templates/iqss/resources/template.tex @@ -169,6 +169,8 @@ \makeatletter \def\fnum@table{\tablename~\thetable} \makeatother + % Borrowed from beamer_presentation for newer pandoc per issue #32 + \newcounter{none} % for unnumbered tables $endif$ $if(graphics)$ diff --git a/inst/rmarkdown/templates/metropolis/resources/template.tex b/inst/rmarkdown/templates/metropolis/resources/template.tex index 0f7f672..a640ef2 100644 --- a/inst/rmarkdown/templates/metropolis/resources/template.tex +++ b/inst/rmarkdown/templates/metropolis/resources/template.tex @@ -168,6 +168,8 @@ \makeatletter \def\fnum@table{\tablename~\thetable} \makeatother + % Borrowed from beamer_presentation for newer pandoc per issue #32 + \newcounter{none} % for unnumbered tables $endif$ $if(graphics)$ diff --git a/inst/rmarkdown/templates/monash/resources/template.tex b/inst/rmarkdown/templates/monash/resources/template.tex index 130163d..e4dd937 100644 --- a/inst/rmarkdown/templates/monash/resources/template.tex +++ b/inst/rmarkdown/templates/monash/resources/template.tex @@ -184,6 +184,8 @@ \makeatletter \def\fnum@table{\tablename~\thetable} \makeatother + % Borrowed from beamer_presentation for newer pandoc per issue #32 + \newcounter{none} % for unnumbered tables $endif$ $if(graphics)$ diff --git a/inst/rmarkdown/templates/presento/resources/template.tex b/inst/rmarkdown/templates/presento/resources/template.tex index 26aabe7..d0e3bf3 100644 --- a/inst/rmarkdown/templates/presento/resources/template.tex +++ b/inst/rmarkdown/templates/presento/resources/template.tex @@ -129,8 +129,10 @@ $endif$ $if(tables)$ \usepackage{longtable,booktabs} +% Borrowed from beamer_presentation for newer pandoc per issue #32 +\newcounter{none} % for unnumbered tables % Fix footnotes in tables (requires footnote package) -\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{} +%\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{} $endif$ $if(graphics)$ \usepackage{graphicx,grffile} @@ -268,6 +270,8 @@ %% presento end +\providecommand{\pandocbounded}[1]{#1} + \begin{document} %% DEdd Commented-out for presento %$if(title)$