Tools for generating the Volumetric Regimes book https://volumetricregimes.xyz/ (wiki-to-print, using Paged.js)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.9 KiB
68 lines
1.9 KiB
% !TeX program = xelatex
|
|
% Command to run this tex file: xelatex xelatex-make-pdfx-3-2002.tex
|
|
\documentclass{book}
|
|
|
|
\special { pdf:docinfo << /Title (Volumetric Regimes) /Author (Possible Bodies)>> }
|
|
\usepackage[unicode,
|
|
pdfauthor={Possible Bodies},
|
|
pdftitle={Volumetric Regimes},
|
|
pdfdisplaydoctitle,
|
|
pdfsubject={Material cultures of quantified presence},
|
|
pdfkeywords={},
|
|
pdfproducer={Paged.js, Chromium, pdftk, LaTeX},
|
|
pdfcreator={xelatex}]{hyperref}
|
|
|
|
\usepackage{pdfpages}
|
|
|
|
% From: https://tex.stackexchange.com/questions/255480/producing-pdf-x-compliant-document-with-xelatex/275914#275914
|
|
|
|
%%%%%%%%% PDF-X stuff, IF USING xelatex %%%%%%%%%
|
|
%(mm size * 72)/25.4 = bp size
|
|
\usepackage{atbegshi}
|
|
\AtBeginShipout{% %A hook that is executed for every page (after first one)
|
|
\special{pdf: put @thispage
|
|
<<
|
|
/TrimBox [0 0 648 432] %put here other numbers = size of page in bp
|
|
>>
|
|
}
|
|
}
|
|
\special{pdf: put @thispage
|
|
<<
|
|
/TrimBox [0 0 648 432] %put here other numbers = size of page in bp
|
|
>>
|
|
}
|
|
\special{pdf:docinfo
|
|
<<
|
|
/GTS_PDFXVersion (PDF/X-3:2002)
|
|
/GTS_PDFXConformance (PDF/X-3:2002)
|
|
>>
|
|
}
|
|
|
|
\special{pdf:put @catalog
|
|
<<
|
|
/PageMode /UseNone
|
|
/OutputIntents [
|
|
<<
|
|
/Info (none)
|
|
/Type /OutputIntent
|
|
/S /GTS_PDFX
|
|
/OutputConditionIdentifier (Custom)
|
|
/RegistryName (http://www.color.org/)
|
|
>>
|
|
]
|
|
>>
|
|
}
|
|
|
|
\usepackage{datetime} % for \pdfdate command
|
|
\usepackage{hyperref} % for \hypersetup
|
|
\hypersetup{
|
|
pdftitle={DocTitle},% PDF/X document should have a title
|
|
pdfinfo={% Setting some more PDF/X stuff for xelatex
|
|
ModDate={D:\pdfdate},% PDF/X document should have a modification date
|
|
Trapped={False},% PDF/X document should have Trapped tag set
|
|
},
|
|
}
|
|
|
|
\begin{document}
|
|
\includepdf[pages=-,fitpaper=true]{XXX}
|
|
\end{document}
|
|
|