PDFファイルの奇数ページと偶数ページを置き換えますか?

PDFファイルの奇数ページと偶数ページを置き換えますか?

PDFファイルに偶数ページがあると仮定すると、PDFファイルの奇数ページと偶数ページ(たとえば、1ページと2ページ、3ページと4ページ、...)を交換できますか?

pdftkやLaTeXなどの一部のソフトウェアを使用して実行できますか?

ベストアンサー1

pdftkの機能がこれができるようですshuffle。からman pdftk

      shuffle [<page ranges>]
             Collates pages from input PDFs to create a new PDF.  Works
             like the cat operation except that it takes one page at a
             time from each page range to assemble the output PDF.


aの一般的な形式[<page range>]は次のとおりです。

<input PDF handle>[<begin page number>[-<end page number>[<qualifier>]]][<page rotation>]

または、すべてのページが使用されるまで、同じ文書から偶数ページと奇数ページを交互にインポートするには、指定子を省略します。qualifierevenodd<input PDF handle><begin page number>-<end page number>

pdftk infile.pdf shuffle even odd output outfile.pdf

infile.pdfページを交換するファイルはどこにあり、outfile.pdf出力名はどこにありますか?

おすすめ記事