From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iN6HEVi8J2GceAEAgWs5BA (envelope-from ) for ; Thu, 26 Aug 2021 18:07:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wEAfDVi8J2GFJwAAB5/wlQ (envelope-from ) for ; Thu, 26 Aug 2021 16:07:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C9A0D20D63 for ; Thu, 26 Aug 2021 18:07:51 +0200 (CEST) Received: from localhost ([::1]:51492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJHuw-0006xX-RJ for larch@yhetil.org; Thu, 26 Aug 2021 12:07:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJHsU-00043m-7i for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 12:05:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJHsR-0001fG-IG for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 12:05:17 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E6F5A240104 for ; Thu, 26 Aug 2021 18:05:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1629993910; bh=du+NJH1aj1eXSC8J3GR7Io/6n4WtVFMhJOgT7G7m2Js=; h=From:To:Cc:Subject:Date:From; b=Ld+WbtiunMyclZRtmjZB7cAXoVNR0+pQO2DqIWCncHDRYBnLhO3iEBVpQnOy5c7k1 EuChw4n4AY02jN+MJmfU7iNyOzXgOipHSelbQsIzYZAzpsRe3tJVbMBUP9te1muYoY MKKgsRGtF4ZpfQ7M5iDUj06A2Hu9lnWnPKph7oQp7uOyNqnWoOPfOhDwzLypnzXH5M M5vZTXCzHLNS/5/BzjW0mF8UVOeev/2Hyqhme/OOkn4f+jpRSE5bykKCPrRJayIq4Q fXZROxjY8rn9hNr47Rk7sS9lh1dXZURRnqrEuYYT9qq8N0ygBXk98tzlX81yYt3hGo dN83rVHA/u6EA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GwSNk1n9Xz6tmF; Thu, 26 Aug 2021 18:05:10 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Eric S Fraga Subject: Re: how to get multi-line author in ODT export? References: <87bl5k48z1.fsf@ucl.ac.uk> <877dg8473k.fsf@ucl.ac.uk> Date: Thu, 26 Aug 2021 16:05:09 +0000 In-Reply-To: <877dg8473k.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 26 Aug 2021 15:24:15 +0100") Message-ID: <87k0k82nuy.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629994071; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LVmTq9ogfLIGKWYNDC97uj6UFGSuh3uwCaTRY7B+z/4=; b=D48qGmz+GYShfKk4rVGAVI2zP1EL3ycYxpp1/8pYvMJ8+xvFJWz1F735j9CryfCqBl4cxm RKFyGsbPg3DgHXYWXqotv0nkGRRnvJ9Bxcg8qseWRUfC5jT4l5RYWRneJuR/wz3hw3Pkci AMG59fXMUuzyu+w3kr1XxXzjbOtcVK4Id2IsFcu2tr7XBoU63jZHu2YFW+VA/gnwEepLIp cdWHhoTKDXoVjQMgcNXbKritO9I7rr2auHuXM6CjrDIYv7C0HiEvBs2PN4Elpsk9BNUGop /L+1PWdYf0U+emDmYTVSY8o4sgqCcSjJeVKmvWlU0IfppsB7j2dHR2+VsnpG5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629994071; a=rsa-sha256; cv=none; b=G4af02PsQ5hLqVOb3L4z/fQX96dmwP+dzUlpU+fa2Qfht3UbFmgJIaJdnYPGVDYaTQYKUk r+L1/BSrxYVXL+rvIEPtuQLZhmlSdWy9OjR4kghyxfbMTirH2sCvbE7Q93SpETm/g97/o/ ssKHVTABUiCdnqaIG2EI7sjp/O4vmuZy50sbfkWYCTsbPlUg6v8M70kr4NWrjR74YT2d86 ESQ+Xni4DkFnx05Flo4Z8LBf7m7FS4TdcDEurOwSnJzCwTbmV7RMv527gj6NHJMIrikBYu 2LQK2j3sPy3q1VdXR56MKdYj8RLRzffS4UPOGsPnvrkf0DxS2mzgpOj5/DVRWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ld+Wbtiu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ld+Wbtiu; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C9A0D20D63 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: F3F8UD4z2oOe Hi Eric, I think the problem is in this two lines of `org-odt-template', that creates the meta.xml file inside the odt file: (format "%s\n" author) (format "%s\n" author) Perhaps, modifying them like this: (format "\n" (replace-regexp-in-string "\\\\\\\\" "\n" author)) (format "\n" (replace-regexp-in-string "\\\\\\\\" "\n" author)) We could do this in our documents: #+AUTHOR: Han Solo \\ Chewbacca (little tested) Best regards, Juan Manuel Eric S Fraga writes: > So, as usual, I answer my own question, sort of. > > The problem is that org exports the author text enclosed within a > special directives, specifically: > > (format "%s" author)) > > New line directives are not allowed within this declaration, it > seems. Removing (manually) the initial-creator directive then works. > > So, my question would be: is this text:initial-creator tagging > necessary? If not, can we remove it? The OpenDocument schema is vague > about whether this is necessary. If we cannot remove it, i.e if > initial-creator is required in the document, could it be put in > separately (as a meta:initial-creator tag) so that the author field can > be more general? > > I am *not* an ODT expert of any sort. But it is my route to Word > documents when the need arises (which is luckily seldom). > > Anyway, no panic: I can simply manually edit the odt file just before > the final processing... > > Thank you, > eric