From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oFgUDIyOOGJjWgEAgWs5BA (envelope-from ) for ; Mon, 21 Mar 2022 15:41:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GKWTCYyOOGJGWQEA9RJhRA (envelope-from ) for ; Mon, 21 Mar 2022 15:41:16 +0100 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 AAD3710AB6 for ; Mon, 21 Mar 2022 15:41:15 +0100 (CET) Received: from localhost ([::1]:36420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWJDe-0006Mx-Ew for larch@yhetil.org; Mon, 21 Mar 2022 10:41:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWJDA-0006Mk-ND for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 10:40:44 -0400 Received: from ciao.gmane.io ([116.202.254.214]:46316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWJD9-0000Yb-1K for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 10:40:44 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nWJD5-0003zu-Mi for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 15:40:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: citations: org-cite vs org-ref 3.0 Date: Mon, 21 Mar 2022 21:40:31 +0700 Message-ID: References: <87wngosqvm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US In-Reply-To: <87wngosqvm.fsf@nicolasgoaziou.fr> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647873675; 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; bh=bK4KH/HCsi6a+OBd+3hvN5jaCPTjpn+NIhNEilMqQNY=; b=XyzQGu9xLpTcW+oAyWBoYLYWAaXwiGDdo7Y7gkl5wQf1QaanDYf60Wy+5gBWeEE5S1ge1P YNbullkkHIX4YIFqQpWmW3W23SluYzmxE4PeXg3uudfi8yWlqByE286aZ7RqG0yGaiWM17 nAaFWrysCIP5ThBlCYXzS8api0f7XdlU+urzn1UO8uIEPRR3YlGzpTlayHRjPp9LBsmqiu 7G9cRHuSRYe8iazxiDwL+7ftZf3dkOsCR18QFE3jpBxDMO8JgVLrTvHv8zHXxNG8XMGXaa VNScbMxuHOSIN6OV7X54h/rzSFTHhNlaJ82Y5gVsnijed3xwTk1WEiGi20W0uA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647873675; a=rsa-sha256; cv=none; b=RmJNydBmpWE/LVaS6Pe8dmy0EPpKaI62PTGpiQnHou3Hb1WWfk6Q7WMtaeKzH5OHPXBAce HUEL5IEj/nln2SkSKQJS270hs4EmxZEWXQBSit6bQhBrhXSjdoazEBIDwMzCEkbRF6u1nN oOg9qrl3QrDiE8sVU6dkrrWLwoexn4kp9kZqTU8vClnCIU5yXpTV/v9/YNBbpNw8znQxQv kqOFENpkebccGAcEBxr3tDUlZA/eP0Afj1SlHS6FLs9zgg+sVcT8mQU3cWV7Y/HCBVGV4M B1ZSUFVEy7sQnB5+dbEqj+faQOBiMU/0QD9fGxSnh0seCgGkqQ0lvaeLezE6zA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AAD3710AB6 X-Spam-Score: 2.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y3khw0FVAK6R Disclaimer: I am neither org-cite no org-ref user. In the past I used LaTeX and BibTeX directly though, and it is a reason why I am reading the discussions. On 20/03/2022 20:19, Nicolas Goaziou wrote: > Vikas Rawal writes: > >> This obviously creates many problems including that two people using >> different citation systems cannot share org files. > > Indeed. >> >> What is the general view of the community about this? > > I don't know about the general view of the community, but, as a data > point, I find it very sad. Nicolas, I think, a part of problem is that you are not an org-cite user. The packages require some *polishing*, but it have to be *user-driven*. Even if the feature were perfect, it would face some tension from people who already have a working solution. A bit of routine work will alleviate some user issues: - add missed styles - improve documentation, e.g. to make backend choice more conscious. Another point is more serious. Besides citations there are internal cross-references. Org supports them but only in a rudimentary form. Actually cross-references are similar to citations in the sense that they can have style, prefixes and suffixes, and their appearance depends on target properties. Another feature is grouping. However cross-references should not be handled by citation backends, they require different handlers. Unfortunately there is no way to define custom "citation" type e.g. "[ref:...]" in addition to "[cite:...]". I can not judge if uniform UI issues are really severe and if it would be convenient if depending on prefix argument either org-cite or org-ref command would be called for a citation or for a reference. Actually "[cite:...]" construct is a kind of link with additional flexibility missed for regular links. Anything besides target and description requires some workarounds. Usual approach is proliferation of link types. E.g. inline source blocks allows almost arbitrary extra parameters. Citation syntax is rather domain specific, it allows more than regular links, but for convenience the set of properties is fixed: style, prefixes, locators, suffixes. It is impossible to add extra one. To assign additional properties, info "(org) Links in HTML export" https://orgmode.org/manual/Links-in-HTML-export.html recommends usage of "#+ATTR_HTML", but such technique has several issues: - attributes becomes specific to the export backend - the same attributes are added to the enclosing paragraph https://linevi.ch/en/org-link-extra-attrs.html - a paragraph may have more than one link. It is possible to use link target similar to form values encoded into URI, but it hardly can be considered as convenient for editing. Custom citation types may alleviate the issue with cross-references. It would be great to have more flexible links with arbitrary properties (and it would allow to consider citations and cross-references as special cases of links), but it does not fit into the Org syntax. P.S. John has a valid complain but it hardly relates to the "cite vs. cross-reference" topic. When some package is not loaded and link type is undefined then the link becomes a fuzzy one leading to user confusion.