Skip to content

Commit

Permalink
Update to pandoc 3.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Feb 10, 2025
1 parent 92554be commit 283c520
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Released 2024-05-11
FROM pandoc/latex:3.2.0-alpine
# Released 2025-02-10
FROM pandoc/latex:3.6.3-alpine

RUN apk add --no-cache ttf-hack

Expand Down
22 changes: 11 additions & 11 deletions test/expected-draft/paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ \subsection{Inline markup}\label{inline-markup}
below gives a small example.

\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3014}}
>{\centering\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3562}}
>{\centering\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3288}}@{}}
>{\raggedright\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.3014}}
>{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.3562}}
>{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.3288}}@{}}
\caption{Basic inline markup and examples.}\tabularnewline
\toprule\noalign{}
\begin{minipage}[b]{\linewidth}\raggedright
Expand Down Expand Up @@ -567,12 +567,12 @@ \subsubsection{Images}\label{images}
e.g.~when adding an image as part of a paragraph. The Markdown
\texttt{!{[}Nyan\ cat{]}(nyan-cat.png)\{height="9pt"\}} includes the
image ``nyan-cat.png''
\includegraphics[width=\textwidth,height=0.125in]{images/nyan-cat.png}
\includegraphics[width=\linewidth,height=0.125in,keepaspectratio]{images/nyan-cat.png}
while scaling it to a height of 9\,pt.

\begin{figure}
\centering
\includegraphics{images/mandrill.jpg}
\pandocbounded{\includegraphics[keepaspectratio]{images/mandrill.jpg}}
\caption{The ``Mandrill'' standard test image, sometimes erroneously
called ``Baboon'', is a popular sample photo and used in image
processing research.}\label{fig:mandrill}
Expand Down Expand Up @@ -885,7 +885,7 @@ \section{Internal references}\label{internal-references}

\begin{figure}
\centering
\includegraphics[width=1\textwidth,height=\textheight]{images/sylt.jpg}
\includegraphics[width=1\linewidth,height=\textheight,keepaspectratio]{images/sylt.jpg}
\caption{View of coastal dunes in a nature reserve on Sylt, an island in
the North Sea. Sylt (Danish: \emph{Slid}) is Germany's northernmost
island.}\label{sylt}
Expand All @@ -909,11 +909,11 @@ \subsection{Tables and figures}\label{tables-and-figures}
gives ``\ref{proglangs}''.

\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1493}}
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2537}}
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2836}}
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1791}}
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1343}}@{}}
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1493}}
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2537}}
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2836}}
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1791}}
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1343}}@{}}
\caption{Comparison of programming languages used in the publishing
tool. {}}\tabularnewline
\toprule\noalign{}
Expand Down
22 changes: 11 additions & 11 deletions test/expected-pub/paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,9 @@ \subsection{Inline markup}\label{inline-markup}
below gives a small example.

\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3014}}
>{\centering\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3562}}
>{\centering\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3288}}@{}}
>{\raggedright\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.3014}}
>{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.3562}}
>{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.3288}}@{}}
\caption{Basic inline markup and examples.}\tabularnewline
\toprule\noalign{}
\begin{minipage}[b]{\linewidth}\raggedright
Expand Down Expand Up @@ -565,12 +565,12 @@ \subsubsection{Images}\label{images}
e.g.~when adding an image as part of a paragraph. The Markdown
\texttt{!{[}Nyan\ cat{]}(nyan-cat.png)\{height="9pt"\}} includes the
image ``nyan-cat.png''
\includegraphics[width=\textwidth,height=0.125in]{images/nyan-cat.png}
\includegraphics[width=\linewidth,height=0.125in,keepaspectratio]{images/nyan-cat.png}
while scaling it to a height of 9\,pt.

\begin{figure}
\centering
\includegraphics{images/mandrill.jpg}
\pandocbounded{\includegraphics[keepaspectratio]{images/mandrill.jpg}}
\caption{The ``Mandrill'' standard test image, sometimes erroneously
called ``Baboon'', is a popular sample photo and used in image
processing research.}\label{fig:mandrill}
Expand Down Expand Up @@ -883,7 +883,7 @@ \section{Internal references}\label{internal-references}

\begin{figure}
\centering
\includegraphics[width=1\textwidth,height=\textheight]{images/sylt.jpg}
\includegraphics[width=1\linewidth,height=\textheight,keepaspectratio]{images/sylt.jpg}
\caption{View of coastal dunes in a nature reserve on Sylt, an island in
the North Sea. Sylt (Danish: \emph{Slid}) is Germany's northernmost
island.}\label{sylt}
Expand All @@ -907,11 +907,11 @@ \subsection{Tables and figures}\label{tables-and-figures}
gives ``\ref{proglangs}''.

\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1493}}
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2537}}
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2836}}
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1791}}
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1343}}@{}}
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1493}}
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2537}}
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2836}}
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1791}}
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1343}}@{}}
\caption{Comparison of programming languages used in the publishing
tool. {}}\tabularnewline
\toprule\noalign{}
Expand Down

0 comments on commit 283c520

Please sign in to comment.