[tex-live] Supplied a custom PDF trailer ID with XeLaTeX/xdvipdfmx
shunsaku.hirata74 at gmail.com
Mon Dec 17 06:34:15 CET 2018
> 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". 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.
More information about the tex-live