summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/config/pdftexconfig.tex
blob: cca13327ab031a6dd4565b9a79735b3637f6d1ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% $Id$
% Set pdfTeX parameters for pdf mode (replacing pdftex.cfg file).
% Thomas Esser, 2004. public domain.
\pdfoutput=1
%
% In 2015, a new luatex replaced \pdfpage{width,height} with just
% \page{width,height}.  So set any that's defined.
\ifx\pdfpagewidth\undefined\else \pdfpagewidth=210 true mm \fi
\ifx\pagewidth\undefined\else \pagewidth=210 true mm \fi
%
\ifx\pdfpageheight\undefined\else \pdfpageheight=297 true mm \fi
\ifx\pageheight\undefined\else \pageheight=297 true mm \fi
%
% Other settings.
\pdfcompresslevel=9
\pdfdecimaldigits=3
\pdfhorigin=1 true in
\pdfvorigin=1 true in
\pdfpkresolution=600
% 
% As of TeX Live 2010, we output PDF 1.5 by default, so we can enable
% more compression.  To change this for the installation, comment out or
% delete these lines and remake the formats.  To change it for a
% particular LaTeX document, \RequirePackage{pdf14} early.
% 
\pdfminorversion=5
\pdfobjcompresslevel=2
\endinput