commit bf7f1cf3f70d9be7446dfa03b08314d19f2ad8b6
parent 8550d0b3e6ae5b06222f1a199b63509b318560e7
Author: robert <robertrussell.72001@gmail.com>
Date: Thu, 27 Jan 2022 14:52:00 -0800
Add \pdfmajorversion and change \pdfinclusionerrorlevel
The change to \pdfinclusionerrorlevel seems to do nothing in my version
of luaTeX. If this isn't fixed in future version, a bug report should be
submitted.
Diffstat:
2 files changed, 36 insertions(+), 34 deletions(-)
diff --git a/param.tex b/param.tex
@@ -146,40 +146,41 @@
\displaywidowpenalties=0 % \parshape-like array of display widow penalties
%%% pdfTeX parameters:
-% \pdfpagewidth % see \pagewidth
-% \pdfpageheight % see \pageheight
-% \pdfadjustspacing % see \adjustspacing
-% \pdfprotrudechars % see \protrudechars
-% \pdfoutput % see \outputmode
-% \pdfdraftmode % see \draftmode
-% \pdfpxdimen % see \pxdimen
-% \pdftracingfonts % see \tracingfonts
-\pdfcompresslevel=9 % stream compression level: 0=none, 1=fastest, ..., 9=best
-\pdfobjcompresslevel=2 % non-stream compression level: 0=none, 1=paranoid, 2=all except /Info, 3=all
-\pdfdecimaldigits=3 % numeric accuracy of real coordinates in range 0..4
-\pdfgamma=1000 % device gamma, times 1000 <1000>
-\pdfimageresolution=0 % last resort bitmap resolution in units of DPI; 0 to ignore
-\pdfimageapplygamma=0 % 1 if applying gamma correction to PNG images
-\pdfimagegamma=2200 % default assumed gamma for PNG images, times 1000 <2200>
-\pdfimagehicolor=1 % 1 if embedding PNG images with 16 bit wide color channels at full color resolution
-\pdfpkresolution=600 % resolution of embedded PK fonts
-\pdfinclusioncopyfonts=0 % positive if embedding fonts from PDF images
-\pdfinclusionerrorlevel=0 % behaviour upon including PDF file newer than \pdfminorversion
-\pdfgentounicode=1 % 1 if /ToUnicode resource included in the output
-% \pdfomitcharset=0 % 1 if /CharSet entry in fonts is omitted in output (XXX doesn't work in my luaTeX)
-\pdfpagebox=0 % default PDF page box to use when including PDF images
-\pdfminorversion=5 % minor version number of PDF standard
-\pdfuniqueresname=0 % positive if PDF resource names made reasonably unique
-\pdfhorigin=0pt % horizontal offset of output box on page [1in]
-\pdfvorigin=0pt % vertical offset of output box on page [1in]
-\pdflinkmargin=0pt % margin of the box representing hyperlinks
-\pdfdestmargin=0pt % margin added to the rectangle around destinations
-\pdfthreadmargin=0pt % margin added to beads within article threads
-\pdfpagesattr={} % tokens to add to the root /Pages object
-\pdfpageattr={} % tokens to add to each /Page object (overrides \pdfpagesattr)
-\pdfpageresources={} % tokens to add to the /Resources dictionary of each page
-\pdfpkmode={} % METAFONT mode for pixel font generation
-% \tracingstacklevels % depth limit for macro expansion (XXX not in LuaTeX?)
+% \pdfpagewidth % see \pagewidth
+% \pdfpageheight % see \pageheight
+% \pdfadjustspacing % see \adjustspacing
+% \pdfprotrudechars % see \protrudechars
+% \pdfoutput % see \outputmode
+% \pdfdraftmode % see \draftmode
+% \pdfpxdimen % see \pxdimen
+% \pdftracingfonts % see \tracingfonts
+\pdfcompresslevel=9 % stream compression level: 0=none, 1=fastest, ..., 9=best
+\pdfobjcompresslevel=2 % non-stream compression level: 0=none, 1=paranoid, 2=all except /Info, 3=all
+\pdfdecimaldigits=3 % numeric accuracy of real coordinates in range 0..4
+\pdfgamma=1000 % device gamma, times 1000 <1000>
+\pdfimageresolution=0 % last resort bitmap resolution in units of DPI; 0 to ignore
+\pdfimageapplygamma=0 % 1 if applying gamma correction to PNG images
+\pdfimagegamma=2200 % default assumed gamma for PNG images, times 1000 <2200>
+\pdfimagehicolor=1 % 1 if embedding PNG images with 16 bit wide color channels at full color resolution
+\pdfpkresolution=600 % resolution of embedded PK fonts
+\pdfinclusioncopyfonts=0 % positive if embedding fonts from PDF images
+\pdfinclusionerrorlevel=-1 % behaviour upon including PDF file newer than \pdfminorversion [0] (XXX doesn't work in my luaTeX)
+\pdfgentounicode=1 % 1 if /ToUnicode resource included in the output
+% \pdfomitcharset=0 % 1 if /CharSet entry in fonts is omitted in output (XXX doesn't work in my luaTeX)
+\pdfpagebox=0 % default PDF page box to use when including PDF images
+\pdfmajorversion=1 % major version number of PDF standard to use
+\pdfminorversion=5 % minor version number of PDF standard to use <4>
+\pdfuniqueresname=0 % positive if PDF resource names made reasonably unique
+\pdfhorigin=0pt % horizontal offset of output box on page [1in]
+\pdfvorigin=0pt % vertical offset of output box on page [1in]
+\pdflinkmargin=0pt % margin of the box representing hyperlinks
+\pdfdestmargin=0pt % margin added to the rectangle around destinations
+\pdfthreadmargin=0pt % margin added to beads within article threads
+\pdfpagesattr={} % tokens to add to the root /Pages object
+\pdfpageattr={} % tokens to add to each /Page object (overrides \pdfpagesattr)
+\pdfpageresources={} % tokens to add to the /Resources dictionary of each page
+\pdfpkmode={} % METAFONT mode for pixel font generation
+% \tracingstacklevels % depth limit for macro expansion (XXX not in LuaTeX?)
%%% Aleph parameters:
% TODO where is the documentation on Aleph?
diff --git a/primitive.tex b/primitive.tex
@@ -107,6 +107,7 @@
\protected\edef\pdfomitcidset {\pdfvariable omitcidset } % XXX added by LuaTeX?
% \protected\edef\pdfomitcharset {\pdfvariable omitcharset } % XXX doesn't work in my luaTeX
\protected\edef\pdfpagebox {\pdfvariable pagebox }
+\protected\edef\pdfmajorversion {\pdfvariable majorversion }
\protected\edef\pdfminorversion {\pdfvariable minorversion }
\protected\edef\pdfuniqueresname {\pdfvariable uniqueresname }
\protected\edef\pdfhorigin {\pdfvariable horigin }