1 个部分标题用于多个页面 pdfpages

1 个部分标题用于多个页面 pdfpages

我曾尝试在附录中为多页 pdfpages 添加章节标题。但是,我的尝试是错误的,因为它现在为包含的(多页)pdf 的每一页都创建了一个新的章节标题。

我想要实现的是,对于 1 个包含的 pdf,只使用一个标题作为章节标题,而不管页数有多少。

也许有人知道如何实现这一点?

\documentclass{scrreprt}
\usepackage[left=2.50cm, right=2.50cm, top=2.50cm, bottom=2.00cm]{geometry}
\usepackage[final]{pdfpages}
\usepackage[toc,page]{appendix}
\renewcommand\appendixtocname{Anhang}
\renewcommand\appendixpagename{Anhang}
\KOMAoptions{toc=chapterentrydotfill}
\renewcommand{\contentsname}{Inhaltsverzeichnis}
\begin{document}
\tableofcontents
    \setcounter{page}{2}
\begin{appendices}
\renewcommand{\thesection}{\Alph{section}} %A
\includepdf[pages=-,,scale=0.75,pagecommand=\thispagestyle{plain}\section{Testsektion}]{KoreanWeeklyNews.pdf}
\end{appendices}
\end{document}

参考图:参考

相关内容