Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4795 > unrolled thread
| Started by | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| First post | 2011-09-06 08:09 +0000 |
| Last post | 2011-09-06 08:09 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Assembling PDFs into a PDF document? Themis Matsoukas <tmatsoukas@me.com> - 2011-09-06 08:09 +0000
| From | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| Date | 2011-09-06 08:09 +0000 |
| Subject | Re: Assembling PDFs into a PDF document? |
| Message-ID | <j44kfk$97e$1@smc.vnet.net> |
> Thanks very much -- but here's an even simpler way,
> using just Plain
> TeX and TeXShop, without needing to bring Mathematica
> into the picture
> at all.
I thought that the whole point of the challenge was to use Mathematica! :-)
>
> % To insert a centered PDF image in TeXShop
>
> \pageinsert
> \null \vfill
> \centerline{
> \pdfximage
> width xx in {my_pdf_file_name.pdf}
> \pdfrefximage
> \pdflastximage }
> \vfill
> \endinsert
>
> where xx is the width in inches you want the PDF
> image to occupy on
> the page.
>
> Just write a TeX preamble that sets the various pdf
> page size,shape
> and margin parameters, then insert a bunch of these
> \pageinserts, one
> per file.
>
But don't you have to code the list of files manually? The notebook I posted produces a latex file in which the list of files, however long, is processed by mathematica (see example below). You can probably adapt it to the plain TeX version.
\documentclass[11pt]{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-]{pdf_files/fig2_ex_BWR.pdf}
\includepdf[pages=-]{pdf_files/fig2_interpolation.pdf}
\includepdf[pages=-]{pdf_files/mathematica.pdf}
\includepdf[pages=-]{pdf_files/solution.pdf}
\end{document}
As a side comment, pdfpages allows you to include pdf files with multiple pages and even to choose which pages to include. My example includes all pages.
> TeXShop and complete installation of TeX Live of
> course available as
> MacTeX from TUG; be sure to join TUG to support this.
>
There is also a support group dedicated to TeX on Mac: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
Themis
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web