Skip to content

Commit

Permalink
Updated templates for pandoc 3.1.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 18, 2024
1 parent 2021932 commit 5f0c7f8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion default.html4
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $for(header-includes)$
$endfor$
$if(math)$
$if(mathjax)$
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
$endif$
$math$
$endif$
Expand Down
2 changes: 1 addition & 1 deletion default.html5
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $for(header-includes)$
$endfor$
$if(math)$
$if(mathjax)$
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
$endif$
$math$
$endif$
Expand Down
18 changes: 16 additions & 2 deletions default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -354,14 +354,28 @@ $if(beamer)$
$else$
$if(block-headings)$
% Make \paragraph and \subparagraph free-standing
\makeatletter
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\renewcommand{\paragraph}{
\@ifstar
\xxxParagraphStar
\xxxParagraphNoStar
}
\newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
\newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\renewcommand{\subparagraph}{
\@ifstar
\xxxSubParagraphStar
\xxxSubParagraphNoStar
}
\newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
\newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
\makeatother
$endif$
$endif$
$if(pagestyle)$
Expand Down
4 changes: 4 additions & 0 deletions default.typst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ $definitions.typst()$
.join()
}

#set table(
inset: 6pt
)

$if(template)$
#import "$template$": conf
$else$
Expand Down

0 comments on commit 5f0c7f8

Please sign in to comment.