[texhax] How to set pdf's title produced by dvips -> ps2pdf?
Yue Wu
vanopen at gmail.com
Mon Oct 3 04:14:18 CEST 2011
On Sun, Oct 02, 2011 at 06:50:27PM +0200, Heiko Oberdiek wrote:
> 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
> \catcode`\{=1
> \catcode`\}=2
> \special{ps:%
> SDict begin [
> /Producer (My Producer)
> /Title (My Title)
> /Subject (My Subject)
> /Creator (My Creator)
> /Author (My Author)
> /Keywords (My Keywords)
> /DOCINFO pdfmark
> end
> }
> \end
>
> The title and other entries are provided as PostScript strings,
> see the PostScript reference, how strings are specified.
>
Thank you very much! It's the exactly way that I want, perfect!
--
Regards,
Yue Wu
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University(中國藥科大學)
No.24, Tongjia Xiang Street, Nanjing 210009, China
More information about the texhax
mailing list