[texhax] How to set pdf's title produced by dvips -> ps2pdf?

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sun Oct 2 18:50:27 CEST 2011

On Sun, Oct 02, 2011 at 08:01:48AM +0800, Yue Wu wrote:

> I'm using plain TeX and like it, I produce pdf by dvips -> ps2pdf,
> recently I find that the produced pdf has the title ./file.dvi, I don't
> like it, but don't know how to set it to other value. Anyone could help
> me please? thank you!

% Example for iniTeX
  SDict begin [
    /Producer (My Producer)
    /Title (My Title)
    /Subject (My Subject)
    /Creator (My Creator)
    /Author (My Author)
    /Keywords (My Keywords)
    /DOCINFO pdfmark

The title and other entries are provided as PostScript strings,
see the PostScript reference, how strings are specified.

Yours sincerely
  Heiko Oberdiek

More information about the texhax mailing list