emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Marcel van der Boom <marcel@hsdev.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Add author and title to exported PDF properties
Date: Wed, 14 May 2014 14:48:03 +0200	[thread overview]
Message-ID: <87y4y4le64.fsf@gmail.com> (raw)
In-Reply-To: <20140514142408.29f5225b@hsdev.com> (Marcel van der Boom's message of "Wed, 14 May 2014 14:24:08 +0200")

Marcel van der Boom <marcel@hsdev.com> 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. OTOH, TITLE and AUTHOR keywords have their
contents parsed and, as such, can contain parsed objects. E.g.,

  | keyword     | value       | property value             |
  |-------------+-------------+----------------------------|
  | DESCRIPTION | some *text* | "some *text*"              |
  | TITLE       | some *text* | ("some" (bold ... "text")) |

See also `org-element-document-properties'.

> Was this the reason they are not included by default in the PDF info?

They are not included by default in Org 8 because they were not included
in Org 7 either. I don't know the historical reason, though.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-05-14 12:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 21:40 [PATCH] Add author and title to exported PDF properties Marcel van der Boom
2014-05-14  7:05 ` Nicolas Goaziou
2014-05-14 12:24   ` Marcel van der Boom
2014-05-14 12:48     ` Nicolas Goaziou [this message]
2014-05-14 15:48       ` Marcel van der Boom
2014-05-15 12:14         ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4y4le64.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=marcel@hsdev.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).