Fix PDF image rendering with Pandoc 3.7

This commit is contained in:
Rsclub2_2 committed 2026-11-20 12:55:37 +01:00
1 parent 1dd0139e10
commit 8b8010b5be
1 file changed
+2
+2
View File
@@ -59,6 +59,8 @@ $endif$
\def\maxheight{\ifdim\Gin@nat@height>0.65\textheight 0.65\textheight\else\Gin@nat@height\fi}
\makeatother
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Newer Pandoc versions wrap images in this command. Graphicx already bounds them above.
\providecommand{\pandocbounded}[1]{#1}
%% ─── Tables ───────────────────────────────────────────────────────────────
\usepackage{longtable}