From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [Exporter] Why is :author a list in the communication channel? Date: Mon, 04 Nov 2013 19:42:33 +0100 Message-ID: <871u2wj9eu.fsf@gmail.com> References: <87wqkqczb0.fsf@gmail.com> <87li16qw4m.fsf@gmail.com> <8761s8javx.fsf@gmail.com> <87sivcc9lk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdP70-0007dz-7U for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 13:43:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdP6s-0002ye-2p for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 13:42:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:46013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdP6r-0002yG-SE for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 13:42:46 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdP6q-0001aF-Pw for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 19:42:44 +0100 Received: from e178061197.adsl.alicedsl.de ([85.178.61.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 19:42:44 +0100 Received: from tjolitz by e178061197.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 19:42:44 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, Nicolas Goaziou writes: > Thorsten Jolitz writes: > >> Aaron Ecay 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