From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6IkLMp7fE2GSegEAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 16:33:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WK0hLp7fE2EyfgAA1q6Kng (envelope-from ) for ; Wed, 11 Aug 2021 14:33:02 +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 0B6106869 for ; Wed, 11 Aug 2021 16:33:02 +0200 (CEST) Received: from localhost ([::1]:52558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDpHv-0008Ed-Ns for larch@yhetil.org; Wed, 11 Aug 2021 10:32:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDpHX-0008EU-Jf for emacs-orgmode@gnu.org; Wed, 11 Aug 2021 10:32:35 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:55036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDpHW-0003vk-1P for emacs-orgmode@gnu.org; Wed, 11 Aug 2021 10:32:35 -0400 Received: by mail-wm1-x336.google.com with SMTP id g138so2092951wmg.4 for ; Wed, 11 Aug 2021 07:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tdcEWDIeBlbrFoKu8mATGk+BnkfLUonik0KOaS4cJJw=; b=XpeB7z3dt5UstRl2Z2whBo0FOYlMmQ/s/XxPW6d+lwQYrG9fdlMClfmdJ2io+4scWg 0Ar9zo9ttxbeiI9JhUSS9CBrC4OjbWZa11/triCx9VD1ye2UlyT0As5sHfh1cg9Y2ATo 8vl+L/0Sd/6Q7zUNqD4wl8shiJ6rJo+F7qcnF3pxSOgZexfcvI3i+aXbfA9C480V8LFG /1NIGm3K1WVUyEpnnbFbJkRpi5VRNBMDkBNwJrghzV0wPmMG56cWHrF3eMe1JM3XszWD C3bv1F56bGbYx2IxFUXzsQ1mWkQsiUjB9GQeYFYXxZbb8+bnXKwNxsSlk/arFJ3BHT0B RvSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tdcEWDIeBlbrFoKu8mATGk+BnkfLUonik0KOaS4cJJw=; b=Y+7PLAdJjre7rmqz45G1QjnCCtLbNEYYhzwbRej6/JunRvwDbwbnOvS6Gtj1pZ55Gp J785QD/DaPi2NayO59z9T4agX1KojilmN0arrDZebwxoqu3rFeSDUlgYQGJXRQpC38TN 4113ZTODvj3gtFr6SWq3Auia+5uBxJ75CQCj3+uJPnN2ClzhtOh6w14IP0jR91IG0ect KuFfDSDa+YFe9RAQQNldND9NR7PXEcYnARIA/GA0pflQ0gtLBqggitom0Frf4FV/+hOn gsq+Mp7rCTnngL4Mumn7IHTUB4WAtSttUER9bwzDWOlX1skWKANIZVjqtPZQBvHDzdPr 6s1A== X-Gm-Message-State: AOAM532v2A8/fZuROXZ/l8+jEAjTWqNcsxTI6e4co2VUAWsXksqVZBKz GbGVT6iNaCoot1T+NwHZ1ftlqSu6pq6uzzyRNjo= X-Google-Smtp-Source: ABdhPJxbSwC3236laApzA9U/FrLsYh21OF/Ui9luuV8ZCljwb8r441uG1BPKiwqkISDGwrlJBGsHjtDBD54HHva8JXM= X-Received: by 2002:a1c:7e43:: with SMTP id z64mr6894211wmc.66.1628692352274; Wed, 11 Aug 2021 07:32:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Bruce D'Arcus" Date: Wed, 11 Aug 2021 10:32:25 -0400 Message-ID: Subject: Re: Expanding how the new cite syntax is used to include cross-references - thoughts? To: John Kitchin Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: Tom Gillespie , org-mode-email 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=1628692382; 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=tdcEWDIeBlbrFoKu8mATGk+BnkfLUonik0KOaS4cJJw=; b=TRPPSf53kjuQTk4Ymupkqrb7ckbPCHE0zYcyWcHt59dQou6gorwwqE/d4mZTGRNTkxcSvv NF9CY7PjCLjIx2AzIZJMc5dPqlCmjkZw0XeEIwZYdbGFQvLhRJFPbQ1WR3JIauBYUNQ8f+ htfVR/3hXsYwYgjfjVYU26hqJlAjuYK44BF5286HQw+4Af2qWEudGhPgI2FTdrcg3nAxW0 Gv9p/1lMN9TvrObeRGcUSdLfLF+/X6Np1dmHK3aCxIsQ4dLhDsC/kVlPs8A5InH8JBbIi9 h/H07QtfNG844Szvxo55Q4eQVzAN6LDJBIUJeX2cCGJ33t68zU+LAJh2CI25OQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628692382; a=rsa-sha256; cv=none; b=bxUEKUK30JIdfna6ueSy89zFgcOwB5dqJ8HJbQq92K5DUnP5F5w+YFz2NCIh/0WfFvnKHZ rq+lM6lba4TKts9aASu4XJgcBeYy9ChlgF+hlvXugo5dFl2VzvpB/EoRdmVp8FvDueuaAj hYsE9ykBwIin+X/5uXt8cxpQzohon1IFARWdSMqTRCfC/A3iTcmYVGu/hXRjJBy0Xh/1O9 cShC/xFSUkl+lQS9LmJ3oTIICJndTj98Oc0ROqxQc+DL4eQ2izDttBNIopVYBQ1ckAMhx2 YWVBh5OSYN0ErSyc0hHGiq9sZuO7ODUCxIv7gztvhh7a4wmfsxY4phhAo4pmhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XpeB7z3d; dmarc=pass (policy=none) header.from=gmail.com; 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.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XpeB7z3d; dmarc=pass (policy=none) header.from=gmail.com; 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: 0B6106869 X-Spam-Score: -2.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: rrtcXNRf0UME On Wed, Aug 11, 2021 at 9:53 AM John Kitchin wrote: > > #+CAPTION: This is the caption for the next figure link (or table) > > #+NAME: fig:SED-HR4049 > > > > [[./img/a.jpg]] > > > > Or some other metadata on the target? > > I don't think metadata on the target helps with the cases described > above, you can reference a label in different ways at different times to > get different meanings. OK, this clarifies a key piece then. I agree then: target metadata alone isn't enough. So I see two options: 1. per my original response, allow optional typed internal links; e.g.: [[fig/foo:file]] To be clear, with this idea, I'm suggesting an alignment between external links (which already have similar types) and internal (which do not). IUC, org-ref is using *external* link types (not internal links) to make these distinctions? 2. extend citations, per your idea here, which to me means the org-cite code would need to be revised and expanded to handle both cross-references and citations, but do so distinctly. E.g. an export processor like oc-csl would need to handle these cross-references in that code, but pass the citations per se to the citeproc-el backend, which should not need to worry about cross-references. Likewise, as a front-end developer, I don't want to deal with cross-references at all, so I should be able to ignore them in my insert and follow processors, in the same way you would need to be able to include support for them. And activate processors would need to be updated to distinguish them somehow. Right? It seems to me 1 is the easier path, both practically and conceptually, unless I'm still missing something (which is certainly possible). Bruce