Skip to content

Commit 283c520

Browse files
committed
Update to pandoc 3.6.3
1 parent 92554be commit 283c520

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Released 2024-05-11
2-
FROM pandoc/latex:3.2.0-alpine
1+
# Released 2025-02-10
2+
FROM pandoc/latex:3.6.3-alpine
33

44
RUN apk add --no-cache ttf-hack
55

test/expected-draft/paper.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,9 @@ \subsection{Inline markup}\label{inline-markup}
484484
below gives a small example.
485485

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

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

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

911911
\begin{longtable}[]{@{}
912-
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1493}}
913-
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2537}}
914-
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2836}}
915-
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1791}}
916-
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1343}}@{}}
912+
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1493}}
913+
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2537}}
914+
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2836}}
915+
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1791}}
916+
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1343}}@{}}
917917
\caption{Comparison of programming languages used in the publishing
918918
tool. {}}\tabularnewline
919919
\toprule\noalign{}

test/expected-pub/paper.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,9 @@ \subsection{Inline markup}\label{inline-markup}
482482
below gives a small example.
483483

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

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

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

909909
\begin{longtable}[]{@{}
910-
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1493}}
911-
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2537}}
912-
>{\centering\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.2836}}
913-
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1791}}
914-
>{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.1343}}@{}}
910+
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1493}}
911+
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2537}}
912+
>{\centering\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.2836}}
913+
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1791}}
914+
>{\raggedright\arraybackslash}p{(\linewidth - 8\tabcolsep) * \real{0.1343}}@{}}
915915
\caption{Comparison of programming languages used in the publishing
916916
tool. {}}\tabularnewline
917917
\toprule\noalign{}

0 commit comments

Comments
 (0)