Skip to content

Commit

Permalink
Updated templates for pandoc 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Dec 23, 2024
1 parent f1c01b0 commit b033aa1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
3 changes: 0 additions & 3 deletions common.latex
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,6 @@ $for(bibliography)$
\addbibresource{$bibliography$}
$endfor$
$endif$
$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
$--
$-- csquotes
$--
Expand Down
6 changes: 6 additions & 0 deletions default.beamer
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ $else$
$endif$
$endif$
\begin{frame}[allowframebreaks]{$biblio-title$}
$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
\bibliographytrue
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
\end{frame}
Expand All @@ -186,6 +189,9 @@ $endif$
$endif$
$if(biblatex)$
\begin{frame}[allowframebreaks]{$biblio-title$}
$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
\bibliographytrue
\printbibliography[heading=none]
\end{frame}
Expand Down
3 changes: 3 additions & 0 deletions default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ $body$
$if(has-frontmatter)$
\backmatter
$endif$
$if(nocite-ids)$
\nocite{$for(nocite-ids)$$it$$sep$, $endfor$}
$endif$
$if(natbib)$
$if(bibliography)$
$if(biblio-title)$
Expand Down
16 changes: 10 additions & 6 deletions default.openxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@
$if(title)$
<w:p>
<w:pPr>
<w:pStyle w:val="Title" />
<w:pStyle w:val="$title-style-id$" />
</w:pPr>
$title$
</w:p>
$endif$
$if(subtitle)$
<w:p>
<w:pPr>
<w:pStyle w:val="Subtitle" />
<w:pStyle w:val="$subtitle-style-id$" />
</w:pPr>
$subtitle$
</w:p>
$endif$
$for(author)$
<w:p>
<w:pPr>
<w:pStyle w:val="Author" />
<w:pStyle w:val="$author-style-id$" />
</w:pPr>
$author$
</w:p>
$endfor$
$if(date)$
<w:p>
<w:pPr>
<w:pStyle w:val="Date" />
<w:pStyle w:val="$date-style-id$" />
</w:pPr>
$date$
</w:p>
Expand All @@ -37,7 +37,7 @@ $if(abstract)$
$if(abstract-title)$
<w:p>
<w:pPr>
<w:pStyle w:val="AbstractTitle" />
<w:pStyle w:val="$abstract-title-style-id$" />
</w:pPr>
<w:r><w:t xml:space="preserve">$abstract-title$</w:t></w:r>
</w:p>
Expand All @@ -64,7 +64,11 @@ $-- sectpr will be set to the last sectpr in a reference.docx, if present
$if(sectpr)$
$sectpr$
$else$
<w:sectPr />
<w:sectPr>
<w:footnotePr>
<w:numRestart w:val="eachSect" />
</w:footnotePr>
</w:sectPr>
$endif$
</w:body>
</w:document>

0 comments on commit b033aa1

Please sign in to comment.