[tex-live] Supplied a custom PDF trailer ID with XeLaTeX/xdvipdfmx

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Mon Dec 17 06:34:15 CET 2018


Hi Michael,

> Looking at the source code of dvipdfm-x I see pdf_set_id(pdf_obj *),
> pdf_enc_id_array(), pdf_enc_compute_id_string(char *, char *, char *) as
> well as the static sec_data structure which contains "unsigned char
> ID[16]". That'd be perfect to write to.
>
> Is that feasible, if yes which route? via LaTeX source code or via cmd
> for the driver? One could of course modify dvipdfmx.c for a new param,
> but I don't know the system well enough to tell whether this is a smart
> approach or not.

Currently there are no way to directly specify IDs in PDF trailer.
However I think it is not difficult to add such feature to dvipdfmx.
I will consider implementing it.

Thanks,

Shunsaku Hirata


More information about the tex-live mailing list