[pdftex] option to suppress the /Info dictionary

Karl Berry karl at freefriends.org
Wed Nov 30 22:50:40 CET 2022


Hi Ulrike,

    \pdfomitinfodict=1 ... But the info dictionary itself is still there

Thanks for the report, as always.

Thanh made the patch below (pdftex r885, thanks Thanh!), which I
imported into TL (r65154).  Not sure if there's any good way for you to
get an updated binary now, but should be fixed for tl23 anyway ... -k

--- branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web	2022-11-14 21:05:34 UTC (rev 884)
+++ branches/stable/source/src/texk/web2c/pdftexdir/pdftex.web	2022-11-30 17:06:32 UTC (rev 885)
@@ -19862,7 +19862,7 @@
         @<Output name tree@>;
         @<Output article threads@>;
         @<Output the catalog object@>;
-        pdf_print_info; {last candidate for object stream}
+        if pdf_omit_info_dict = 0 then pdf_print_info; {last candidate for object stream}
         if pdf_os_enable then begin
             pdf_os_switch(true);
             pdf_os_write_objstream;


More information about the pdftex mailing list.