From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iFSwDnEfh2DPgAAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 22:15:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OJVzCnEfh2BmBQAA1q6Kng (envelope-from ) for ; Mon, 26 Apr 2021 20:15:45 +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 BC83A226B2 for ; Mon, 26 Apr 2021 22:15:44 +0200 (CEST) Received: from localhost ([::1]:34196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb7dv-0004tc-VE for larch@yhetil.org; Mon, 26 Apr 2021 16:15:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb7d2-0004t6-LN for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 16:14:49 -0400 Received: from mout-p-202.mailbox.org ([2001:67c:2050::465:202]:30656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lb7cy-0006Xm-6n for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 16:14:48 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4FTbhy081xzQjXt; Mon, 26 Apr 2021 22:14:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1619468080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XRwFriyQFDt/veet/eeRySKeqIBl1g5Cj8diGucJsrw=; b=LILEa+d/xMzqSZTYIyXWYHQcD/Oxuy2vEgYG4wSvMmbp6AkUDSQYGwSB/0SAlfKm6DHs5e edPBoHjUODoRd74PybPmAKRboFr6lgGbfcPktwAyMRoF8cmLmeOQj7kmDeEHP1EJN7Hcti iq/ojYIyk1hPBktKD6dyAwoo1jQ9QM1F7hLJ6UsDtMRfutg6uZ4yhWLUOCvldHB95MQhIP VzmYjg1/9iwn4UjcJ5l4H89XQzOs4fpJiROYFDaVVVa7e3shiHuMvIoGF1F8+yN5SJQii7 R1WdL6Zque+eYxUK3DD0I4WtCM6RnWAEnzLu9soHntaF7er2lohA5d80T+cFvw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:date:date:message-id:from:from:references:subject :subject:received; s=mail20150812; t=1619468079; bh=CAVZIooMS57f ES4xrQeidmpWoM2j47n0dAOAHfrAZz8=; b=x2UIQpdbNlhq2mFEuAuEIKX+r4eK DO7GCcyMe3xyuvsqHXqODqXaQU9EN6SzhLLMdAnAYpTMJaNkt2Y3c4KpiCvOWmSx kA6Y7gd+ML2gGC2YW50K+Bv3HgTzScyWK0h4TkunvKhWLl+JlcfBhOZXHx8D0931 coGJmlQWlGXWU7VbwcKtI59kzslQeCafGR9Yu0Xi0oW4roA8xOUEO6kOZ1R0kbiz ZZmqfMJKQgiATVLFuhPvKYi4yl82vGROnkP32CUufKrOA2W0cEIp8Kz2r9ddhcAI E7QrJ+W+HQ1W9k47qovIw9pbK8PqYAzZV0X/LKA34CerSxwt6F98gBK/vQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id pJbg2MHEBBkx; Mon, 26 Apr 2021 22:14:39 +0200 (CEST) Subject: Re: (Not so) Short note about citations in Org To: Bruce D'Arcus , Denis Maier , Org Mode List , mail@nicolasgoaziou.fr References: <87pmyn5i1g.fsf@nicolasgoaziou.fr> <6e209667-7dc6-ca71-2888-dabf178a73e1@mailbox.org> <87czugx19f.fsf@nicolasgoaziou.fr> From: Denis Maier Message-ID: <0c30791b-7506-dd23-1668-fae0afb55115@mailbox.org> Date: Mon, 26 Apr 2021 22:14:41 +0200 MIME-Version: 1.0 In-Reply-To: <87czugx19f.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-SPAM-Probability: X-Rspamd-Score: -4.00 / 15.00 / 15.00 X-Rspamd-Queue-Id: 22C8B1809 X-Rspamd-UID: eac511 Received-SPF: pass client-ip=2001:67c:2050::465:202; envelope-from=denismaier@mailbox.org; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: , 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=1619468144; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XRwFriyQFDt/veet/eeRySKeqIBl1g5Cj8diGucJsrw=; b=H96+sLk2o3FRNdEXjvmmxcB0xrM13oBezTcIZ5qpcoFf3ukmTPT1UcwKkPKCmGHX2PZ71p Cuk5cc0XzSD9xpcYBUUfQ3IWNt/iNvIuC38tEUYmmGmDaEOULkpD9pLHofXlrN0Nabtrxi x6Ll87mQVt59Cjd/4OVVpSpT2mZ1JYR5jS/otBcI1Wyp2tIdj9wFklCDnnVBF+AhdSTbOC KLNMotpFLpWFLQzzOPHnvupWvPIp37rBTpv65oIv2d4BZXPuuvW9MGkimnSM87hqDEXczw YvPRuVfHyFEe/qVy6ewyXAi43C7Tjd6+oIQZonZ54F+MxAmcxReUoDvskOuQGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619468144; a=rsa-sha256; cv=none; b=E0SKmS2JazjloY+WGbzQnyQg9jW+mILjKOC+sHzPFPmpde9hhIfdLYQhDR9BzHPUMLOBkT 6qAtn22tf4nlYhKgsD2KC+omiSodoQpB/XBrphU3ShvK4BMUgAcZegdLx7xszYd4ACGBwi yMBQ7074O5eId37gzzcEsW5n3DRuW+nXicSIoTQdY5d729qc1NrQU1ocwanhG7x5e34EzH 2cIdnS+A85X61/+gMLDYOsRf6IpDxiSvmU7vnUbLKFaKm1Ne5CMpCQ1KELRqVH4sIkrRzR dEuEZvViG6SBZGdyrPPJzz4UD0tXbsilOOJB0t7MSH3AYKKVo9ylpV0h050rIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b="LILEa+d/"; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=x2UIQpdb; dmarc=pass (policy=reject) header.from=mailbox.org; 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: -3.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b="LILEa+d/"; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=x2UIQpdb; dmarc=pass (policy=reject) header.from=mailbox.org; 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: BC83A226B2 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: JqXuFCc4GKPi Oh, and what do you think regarding the multiple bibliographies question? Denis Am 26.04.2021 um 22:02 schrieb Nicolas Goaziou: > Hello, > > "Bruce D'Arcus" writes: > >> On this, on the other (big) wip-cite thread, Nicolas said the following: >> >> "A drawback with allowing emphasis there is that prefix and suffix become >> parsed data and not plain string anymore. As a consequence, searching >> through them, e.g., when looking for locator names, requires an >> additional level of indirection, since you need to first transform >> parsed data back into plain text." >> >> Nicolas: I get that you need more code to do this, but are there other >> practical consequences of allowing more than plain-text? > > The code I need to write does not count, really. It is 10 locs at most, > without the tests. > > My concern is the additional burden for processor developers. They will > need to shift from one representation to the other, this is not > convenient. Also some tasks then become an order of magnitude harder. > > For example, let's consider the suffix: " p.32 and following" If it is > plain text, I can recognize p.32 as a locator, and replace it with "page > 32" using something like `replace-regexp-in-string'. > > Now, if it is a somewhat opaque parsed string, I need to first expand > it, for example with `org-element-interpret-data', modify the output as > above, and then parse it again to get a new parsed string. > > I can no longer (concat "(" prefix author "," year suffix ")") either, > because prefix and suffix are not strings anymore. I need to > > (format "(%s%s, %s%s)" > (org-export-data prefix info) > (org-export-data author info) > year ;I assume year cannot contain problematic characters > (org-export-data suffix info)) > > So, nothing impossible, but still slightly inconvenient. > > Regards, >