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 uP+9NNUlE2G5KgAAgWs5BA (envelope-from ) for ; Wed, 11 Aug 2021 03:20:21 +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 eCk4MNUlE2E7SwAA1q6Kng (envelope-from ) for ; Wed, 11 Aug 2021 01:20:21 +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 F3936E306 for ; Wed, 11 Aug 2021 03:20:20 +0200 (CEST) Received: from localhost ([::1]:55904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDcup-0000kc-5h for larch@yhetil.org; Tue, 10 Aug 2021 21:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDcuS-0000kR-9o for emacs-orgmode@gnu.org; Tue, 10 Aug 2021 21:19:56 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:44819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDcuQ-0000Is-Jq for emacs-orgmode@gnu.org; Tue, 10 Aug 2021 21:19:56 -0400 Received: by mail-wm1-x32a.google.com with SMTP id d131-20020a1c1d890000b02902516717f562so772054wmd.3 for ; Tue, 10 Aug 2021 18:19:53 -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:content-transfer-encoding; bh=eIissPcoY+XHvwCCLkykKV/kYsF59wd9JYKbFUR4BcQ=; b=DyeU10vRRDMVuCX9c0jUUZfkmXBt+pyffKDafPlWHifdu/AzEf/aN4Q50b/Yw+xirC l3PYa0+ZU1ekhzTVfZ5ii6xn9eTezkzGDZN42M3jpG0GbKrP7m7w+ejE1jfCOw09ruSJ rgAXTzeX77sr2Y5fOdwpfYJttH8PM0rRj8PJPVx5BO5J8aZiZ9omK/gbYB4p9EG5QKIx 3hWfTNT8ZPqGJQeUI7iqd+dKerFV9rbW9XNW7M537Sb803ufv8W9ADG34kDU8PAGvNNS 34DHuYvr0mryFp4EiDqa5qdX51fz7diCPKCPY1ybwAC9OTPDinMbX7HMRZChfvcV9g/P rxEw== 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:content-transfer-encoding; bh=eIissPcoY+XHvwCCLkykKV/kYsF59wd9JYKbFUR4BcQ=; b=Fxux2ZBj2H3xQfmLEeurmnmWo/yPeOdI2SYCTT6neBoEd3Rg1+nFWM3C1lfHSYTd98 SY8gjYqG+EjKhh0pFzZR/aa9nXXINLmnmJjuGtusuqF1HKDnhUJ+rQL7rlL+dj4b1LDe xN/LM5dfKH5urqkEtGtJYLI2A+8I635goErclLqJ/cV3TkxQQsgBPWXCSIYthKfdnYo7 mgrmk3Hlxj5TyksiiOLBQ6Bv2HlSZyLl7etshcG/NM/TkyGGKjJz8EyW7f+iPox14fZ9 giLkcrpkPRQ7kHd8OGDn8oU9gcbMffRQIwwI2e9DdqGX645qfVJzSTeZ3JPZtSWw9Az4 WLow== X-Gm-Message-State: AOAM531oJQj8U/aWmR+rzVv5BNIE843KaeLwAXUtBXFvZ7vXqxQkaMFy RPkMOJdERk4y6ufM+JdFePPgkuv+mnqvNpYB9Bk= X-Google-Smtp-Source: ABdhPJznYS8ac82Z/TE8C5rdqrwExm4+4IuZcIG8YVLhmedJBILib7a5rvRcbgKAngNg4/xA8ie/tqA+3JT1HejCXD8= X-Received: by 2002:a05:600c:4f4d:: with SMTP id m13mr25227415wmq.32.1628644792203; Tue, 10 Aug 2021 18:19:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Bruce D'Arcus" Date: Tue, 10 Aug 2021 21:19:45 -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" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x32a.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: 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=1628644821; 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: 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=eIissPcoY+XHvwCCLkykKV/kYsF59wd9JYKbFUR4BcQ=; b=RPMFiBkYp9X5IR5EOqUj1ztuw1iKCSCWJwGT47m6gNyoSPrB/E+5sqvZzHQooGkpzvkMcZ ti983JNCIrbWCq1mtcHjHXoolGFXiB7JGiZqZoojnCukW/EaNrzQh1LhQFfDzw4Nes+AhX 3ouUnpafYtTyJh9Jw/jE0olcIPSeKWv/vzYl/Bv/cUxVLI1MfeyzZMZv0mu6jhefmd2FI/ 53eeGSxAfWBa8gSXCR1z1S1Pgn8grfnUkot2iH+GYIjOSB9kqWshhng+r9lxlXfibh6mc/ FznGydTSBrNVOz5TgS/2czi4GxFLeiczVyYhqt413wv6d5Twt08k5Zkx0yY8mA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628644821; a=rsa-sha256; cv=none; b=AiYSb7U1do0AVZLbLDrPZYAvbZafwHXvn4ikQzb8+6uQ/GD3MbzElNWKl6Sf8OrzxrHKxJ Jy6sa1FlpfmFwA5uFwR7+XeIqJD/Upg2CuNVbkhQfAHWFX8BsBx2Iq3bLsAOeZ3XIt/9aE KlD9gnOu51bUZ5C7NYN9oCO1XMUG3eym1iD1o0U+656gWkv7Jh89iMUUdrcMAvNzaox8h6 9b2Dhnk89UIIStH6VBIeiG6VpfF0mTL2d5V3gjk0ymM+kR5o8fVpBO+gp3+ajveGxVIMvT /YavWTISSlNM5g8hvbhJ9Tn4VPNYJx3ozHHGTWlYaHtsAadh2X2uFWmEJpGT4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=DyeU10vR; 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=DyeU10vR; 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: F3936E306 X-Spam-Score: -2.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: KQGUDbQjU41i Hi John, On Tue, Aug 10, 2021 at 8:58 PM John Kitchin wrot= e: > ... I would like what I call an orthogonal approach for cross-references,= orthogonal in the sense that it can coexist with org-ref, but not require = org-ref if you don't use it. The built in internal links like [[label]] lac= k the flexibility I need (I think), e.g. to differentiate a typical referen= ce from an equation reference (these map to \ref{label} and \eqref{label} i= n latex for example), and there are other references that are relevant in l= atex also like \pageref{label}, \cref{label} etc. Granting the current "lack of flexibility" of internal links, what about extending them to allow an optional type; like: [[eq:label]] [[table:label]] ... etc? It could work based on similar logic as citation styles, namely that content preceding some delimiter (in the examples above, the hyphen) would be an optional link type. As you say, it could even have a similar style/variant structure as citations. Perhaps a handful such link types could be reserved, for obvious org link targets (like tables, equations, figures, etc), but it would be flexible beyond that. Would that not work? Because if it could, that would seem to be a better solution, both for cross-references, and for citations. I do grant there may be a challenge with legacy documents adding such an optional type, but perhaps there's a solution to that problem? Bruce