emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [Exporter] Why is :author a list in the communication channel?
Date: Mon, 04 Nov 2013 19:42:33 +0100	[thread overview]
Message-ID: <871u2wj9eu.fsf@gmail.com> (raw)
In-Reply-To: 87sivcc9lk.fsf@gmail.com


Hello,

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Aaron Ecay <aaronecay@gmail.com> writes:
>>
>> Hi Aaron,
>>
>>> I would have expected multiple author lines to have this effect, so that
>>> your desired list of two authors would be generated by:
>>> ,----
>>> | #+author: Thorsten Jolitz
>>> | #+author: Thomas Mueller
>>> `----
>>>
>>> But it seems that only the last #+author line is used; previous ones are
>>> discarded.  Maybe the :author plist entry should just be converted into
>>> a string.  But if it remains a list to somehow support multiply-authored
>>> documents, I think the most natural way to specify the entries is with
>>> multiple lines as above.
>>
>> I can confirm that behaviour ... I'm not sure if I really get the idea
>> of a 'typeless secondary' string as mentioned by Nicolas, but in daily
>> practice 
>>
>> ,-----------------------
>> | (plist-get info :author)
>> `-----------------------
>>
>> returns a list with one string in it for me ...
>
> Try
>
>   #+AUTHOR: This is *Me*!
>
> The point is that you can have Org objects within AUTHOR (or TITLE, or
> DATE). See "secondary string" definition in org-element.el header.
>
> This is orthogonal to the fact that multiple lines are not allowed. For
> that, see BEHAVIOUR item in `org-export-options-alist'. In particular,
> you can compare "TITLE" and "AUTHOR" entries.

Ok, I understand, so this is all working fine just as intended. For
multiple authors one could use a workaround/convention like 

 ,------------------------------------------
 | #+author: Thorsten_Jolitz Thomas_Mueller
 `------------------------------------------

and then split the string two times (first blanks, then underscores). 

-- 
cheers,
Thorsten

  reply	other threads:[~2013-11-04 18:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-02 20:40 [Exporter] Why is :author a list in the communication channel? Thorsten Jolitz
2013-11-02 21:33 ` Nicolas Goaziou
2013-11-02 21:48   ` Thorsten Jolitz
2013-11-02 22:30 ` Aaron Ecay
2013-11-04 18:10   ` Thorsten Jolitz
2013-11-04 18:20     ` Nicolas Goaziou
2013-11-04 18:42       ` Thorsten Jolitz [this message]
2013-11-04 19:30         ` Nicolas Goaziou
2013-11-04 20:07           ` Marcin Borkowski
2013-11-04 19:45         ` Nick Dokos

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=871u2wj9eu.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).