Re: Multiline Subject as PDF metadata

2022-01-31 Thread Deri
On Monday, 31 January 2022 08:15:55 GMT Dave Kemper wrote: > On 1/28/22, Deri wrote: > > If you are using -T pdf you > > don't need to include -mpdfmark, this is documented in the gropdf man page > > and the pdfmark.pdf is referenced. > > True, but just barely. It's mentioned in one entry in the

Re: Multiline Subject as PDF metadata

2022-01-31 Thread Dave Kemper
On 1/28/22, Deri wrote: > If you are using -T pdf you > don't need to include -mpdfmark, this is documented in the gropdf man page > and the pdfmark.pdf is referenced. True, but just barely. It's mentioned in one entry in the list of \X escapes. This is down in a level of detail that a lot of g

Re: Multiline Subject as PDF metadata

2022-01-28 Thread Deri
On Friday, 28 January 2022 21:29:35 GMT Dave Kemper wrote: > As a side issue, it looks like the .pdfinfo macro mentioned in this > thread is un(der)documented. > > It's documented in the pdfmark documentation > (contrib/pdfmark/pdfmark.ms), but it seems to apply to any document > rendered with gro

Re: Multiline Subject as PDF metadata

2022-01-28 Thread Dave Kemper
As a side issue, it looks like the .pdfinfo macro mentioned in this thread is un(der)documented. It's documented in the pdfmark documentation (contrib/pdfmark/pdfmark.ms), but it seems to apply to any document rendered with groff's -Tpdf option, not just ones using the pdfmark package, as the macr

Re: Multiline Subject as PDF metadata

2022-01-26 Thread Heinz-Jürgen Oertel
Hi Deri, Am Mittwoch, 26. Januar 2022, 00:31:57 CET schrieb Deri: > . > > This works:- > > .sp 1i > .pdfinfo /Title "\[u000a]My\[u000a]multiline\[u000a]document\[u000a]title\ > [u000a]" > .pdfinfo /Synopsis "A short description of the document content." > Hello, world! > > BUT, you will nee

Re: Multiline Subject as PDF metadata

2022-01-25 Thread Deri
On Tuesday, 25 January 2022 19:18:58 GMT Tadziu Hoffmann wrote: > > This metadata is held in the "document information dictionary" > > of the pdf. In the pdf 1.4 standard the items > > Title/Author/Keywords/Subject are all defined as text strings, > > so I believe that precludes them from being mul

Re: Multiline Subject as PDF metadata

2022-01-25 Thread Tadziu Hoffmann
> .pdfinfo /Subject line 1\\nline\\n line 2 > does not work It seems the argument is reprocessed several times, so you need escape the backslashes accordingly. This appears to work: .pdfinfo /Subject line 1nline 2nline 3

Re: Multiline Subject as PDF metadata

2022-01-25 Thread Heinz-Jürgen Oertel
Am Dienstag, 25. Januar 2022, 20:18:58 CET schrieb Tadziu Hoffmann: > You can embed \n into the strings, but not all programs will > display this as a newline -- pdfinfo does, but my version of > acroread displays a boxed "000A" instead. > > \X'ps: exec mark \ > /Title (\\nMy\\nmultiline\\ndoc

Re: Multiline Subject as PDF metadata

2022-01-25 Thread Tadziu Hoffmann
> This metadata is held in the "document information dictionary" > of the pdf. In the pdf 1.4 standard the items > Title/Author/Keywords/Subject are all defined as text strings, > so I believe that precludes them from being multiline. You can embed \n into the strings, but not all programs will