Re: Are there no newer recommendations for generating a "camera ready" pdf from plain TeX?
Paulo Ney de Souza <[email protected]> Mon, 29 Dec 2025 08:56:59 -0300
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <CAFVhNZP=taAvYWqB-u9mzx9gvJ+orEbEH6p=33kDNjQ0WQ92sA@mail.gmail.com> |
These instructions set certain metadata elements in a PDF, including PDF version, etc...in fact, despite what TeX may be doing inside that file. They do not do anything to prepare a file for PoD. Paulo Ney On Sun, Dec 28, 2025, 8:31 PM Suresh Govindachar via texhax <[email protected]> wrote: > The following are some over twenty year old instructions for creating a > pdf from plain TeX for print on demand systems. These instructions do > seem to work with pdfTeX (but not luaTeX). > > Are there no newer recommendations for generating a "camera ready" pdf > from plain TeX? > > > % > \edef\pdfdate{% > \the\year > \ifnum \month < 10 0\the\month \else \the\month \fi > \ifnum \day < 10 0\the\day \else \the\day \fi} > % > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > % Configuring pdfTeX > %-------------------------------------------------- > % > \pdfpagewidth=8truein > \pdfpageheight=10truein > % > \pdfinfo{ > /Title (The Title and Subtitle) > /Author (Author Lastname) > /Subject (Subject) > /Keywords (some key words) > %not needed: /ModDate (D:\pdfdate) > %not needed: /Trapped/False > /GTS_PDFXVersion (PDF/X-1a:2003) > } > \pdfpageattr{/MediaBox [0 0 576 720] > /TrimBox [0 0 576 720]} > %%not needed: %/CropBox [] /BleedBox [] %%% not necessary to set > %%not needed: \pdfoptionpdfminorversion=3 % depends on pdftex > version > \pdfcatalog{ > /OutputIntents [ << > /Info (U.S. Web Coated (SWOP) v2) > /Type /OutputIntent > /S /GTS_PDFX > /OutputCondition (U.S. Web Coated (SWOP) v2) > /OutputConditionIdentifier (CGATS TR 001) > /RegistryName (http://www.color.org/) > >> ] > } > % > %pdftex.cfg: page_height 10 true in > %pdftex.cfg: %pdf_minorversion 4 > %pdftex.cfg: %pk_resolution 600 > % > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > >