[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support for PostScript %%For, %%Title?
From: |
Ludovic Courtès |
Subject: |
Re: Support for PostScript %%For, %%Title? |
Date: |
Wed, 20 Aug 2008 11:20:48 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hi,
Robert Riebisch <address@hidden> writes:
> Can you please add support for PostScript tags (?) %%For and %%Title?
> Maybe in a similar way to PDF backend's __author and __title?
> Or maybe @Document could be extended to allow setting via @Author and
> @Title?
One way to do that is to produce a `DOCINFO pdfmark' PostScript command,
using Lout's address@hidden'; when converted to PDF, that will produce PDF
meta-data. See (gratuitous plug ;-)) Skribilo's Lout back-end for an
example:
http://git.savannah.gnu.org/gitweb/?p=skribilo.git;a=blob;f=src/guile/skribilo/engine/lout.scm#l861
The result looks like this:
{ @BackEnd @Case {
PostScript @Yield {
[ "/"Title "("The Title")"
"/"Author "("The Author")"
"/"Keywords "("Lout, PostScript, PDF")"
"/"DOCINFO pdfmark
}
} } @Graphic { }
I'm not sure whether/how Lout could do that by default.
Thanks,
Ludovic.