我有一个如下所示的 XeTeX 代码,但是对于这个n16.pdf它会呈现空白页。我拥有的大多数 2000 年之前的 pdf 都是如此。
\documentclass[landscape,a4paper]{article}
\usepackage{pdfpages}
\usepackage{pgfmath}
%\usepackage[margin=1cm,showframe]{geometry}% MWE only
\pgfmathsetmacro{\scale}{(\paperheight-2cm)/(\paperwidth-3cm)}% 1cm margin
\pgfmathsetlengthmacro{\delta}{\paperwidth-2cm-2*\scale*(\paperheight-3cm)-4mm}% 4mm fudge factor
\usepackage[footwidth=paper]{scrlayer-scrpage}
\pagestyle{plain}
\usepackage{polyglossia}
\usepackage{fontspec}
\setotherlanguage{hebrew}
\newfontfamily\hebrewfont{Arial}
\robustify{\thepage}
\renewcommand{\thepage}{\arabic{page} \ \roman{page}\ \texthebrew{\hebrewnumeral{\value{page}}}}
%\addtocontents{toc}{\protect\renewcommand\thepage{\texthebrew{\protect\hebrewnumeral{1}}}}
%\addcontentsline{toc}{part}{Hebrew something}
\begin{document}
\includepdf[scale=\scale,noautoscale,nup=2x1,pages=1-,delta={\delta} 0pt,offset=0pt -3mm,% offset in reverse order
trim=2.5cm 2.5cm 0.0cm 5.0cm]{n16.pdf}
\end{document}