Tri Nguyen
Tri Nguyen

Intro

Last week I ordered a print copy of the ebook “Machine Learning Cơ Bản” of tiepvupsu https://github.com/tiepvupsu/ebookMLCB. I thought it should be simple because I already had a PDF copy. It just needs to be printed. However, the printing house has asked me for a PDF format of PDF/X-1a:2001. In this article, I will show you how to compile a PDF/X-1a:2001 file from a .tex file. The generated PDF file will have no bookmark, no image transparency.

Steps

\pdfminorversion=3
\usepackage[x-1a1]{pdfx}
brew install mactex
pdflatex book_ML.tex
bibtex book_ML
pdflatex book_ML.tex
pdflatex book_ML.tex
makeindex book_ML.idx
pdflatex book_ML.tex
Adobe PDF Reader Conformance
pdf2ps book_ML.pdf
ps2pdf13 -dPDFSETTINGS=/prepress book_ML.ps book_ML_2.pdf