Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • OK, it's not really a "native" solution either, but if you've got a tex distribution (say "teTeX") kicking around on the system there's a similarly nice solution via:

    texexec --pdfarrange --result all.pdf file*.pdf

    (or even using ghostscript

    gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf
      *.pdf

    )

    If you want more control over importing certain pages you can use the pdfpages package in latex; just run the following file (call it all.tex or whatever) through latex:

    \documentclass[letter]{article}
    \usepackage{pdfpages}
    \begin{document}
    \includepdf[pages=5]{me.pdf}
    \includepdf[pages={12-14}]{you.pdf}
    \includepdf[pages=4-8,12-14]{dog.pdf}
    \includepdf[pages=1-]{boo.pdf}
    \end{document}

    That'll give you a pdf file all.pdf containing the obvious pages from the four constituents: page 5 only from me.pdf, pages 12-14 from you.pdf, pages 4-8 and 12-14 from dog.pdf and all pages from boo.pdf.

    Cheers,
    Paul