Re: [O] [PATCH] Add author and title to exported PDF properties

2014-05-15 Thread Sebastien Vauban
Marcel van der Boom wrote: > On wo 14-mei-2014 14:48 > Nicolas Goaziou wrote: > >> [...] >>> How do they differ from, say 'subject'? >> >> "subject", which refers to :description property, only contains a >> single string, no Org syntax. OTOH, TITLE and AUTHOR keywords have >> their contents pa

Re: [O] [PATCH] Add author and title to exported PDF properties

2014-05-14 Thread Marcel van der Boom
On wo 14-mei-2014 14:48 Nicolas Goaziou wrote: > [...] >> How do they differ from, say 'subject'? > > "subject", which refers to :description property, only contains a > single string, no Org syntax. OTOH, TITLE and AUTHOR keywords have > their contents parsed and, as such, can contain parse

Re: [O] [PATCH] Add author and title to exported PDF properties

2014-05-14 Thread Nicolas Goaziou
Marcel van der Boom writes: > Are you saying 'author' and 'title' are problematic? I am saying that they need to be treated differently, and with more care. > How do they differ from, say 'subject'? "subject", which refers to :description property, only contains a single string, no Org syntax

Re: [O] [PATCH] Add author and title to exported PDF properties

2014-05-14 Thread Marcel van der Boom
On wo 14-mei-2014 09:05 Nicolas Goaziou wrote: > [...] >> + ?a (or (first (plist-get info :author)) "") >> + ?t (or (first (plist-get info :title)) "") > > The usual way to achieve this is to create an anonymous export > back-end, derived from `latex', with `org-

Re: [O] [PATCH] Add author and title to exported PDF properties

2014-05-14 Thread Nicolas Goaziou
Hello, Marcel van der Boom writes: Thanks for your patch. A few comments follow. > * lisp/ox-latex.el (org-latex-template): add pdfauthor and pdftitle > (org-latex-hyperref-template): add placeholders for author and title > (org-latex-template): adjust default template with author and title Yo

[O] [PATCH] Add author and title to exported PDF properties

2014-05-12 Thread Marcel van der Boom
* lisp/ox-latex.el (org-latex-template): add pdfauthor and pdftitle (org-latex-hyperref-template): add placeholders for author and title (org-latex-template): adjust default template with author and title This adds author and title to the pdf properties of the exported PDF file when using the LaTe