From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wFBKNrVdD2D9SgAA0tVLHw (envelope-from ) for ; Tue, 26 Jan 2021 00:09:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cIojMrVdD2AIHAAAB5/wlQ (envelope-from ) for ; Tue, 26 Jan 2021 00:09:25 +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 598EA9402C8 for ; Tue, 26 Jan 2021 00:09:25 +0000 (UTC) Received: from localhost ([::1]:41792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4BvA-0006Za-5o for larch@yhetil.org; Mon, 25 Jan 2021 19:09:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4BuX-0006ZO-MZ for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 19:08:45 -0500 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:38593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4BuS-0005gu-SE for emacs-orgmode@gnu.org; Mon, 25 Jan 2021 19:08:45 -0500 Received: by mail-pl1-x62f.google.com with SMTP id d4so8687381plh.5 for ; Mon, 25 Jan 2021 16:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=CM5j3Z7f/44sSIaD53kco8Ox1UhVYAvqCm6GMNbepCw=; b=UoeSSTtUUFsivnXQySyn55EU8vY5QXIT4SPKDhYa+x9MFfj9roNlIvU+S4m6FE8jiL TYb3wXAT32TnNM8gC1KivC6nqDVyyF3Yf71Kxp1MHIlolzEwUCnY+rP2Y5cn0ASx3Oz3 dJfwC6BCYzIqE4qsw3Yq2SY8nD7vdqqcqzPzNYYBStZ0OmZfplp7hb51Dp6iTQIRk+ZG xkve5hob0kDue8Vbw7TJHtpRVq3QAszZjjaDk+6LWD6s7YqVNLLNSzeUqhJgYSuwPA8+ 83wUnSokcMD8QMuZYjY44XOmbhrLPoRZiJy3SRqyqpKp/y8h+aAq2bv8uz3Hg8ZArXLD rDNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=CM5j3Z7f/44sSIaD53kco8Ox1UhVYAvqCm6GMNbepCw=; b=iByOrcuy0g2xZpSjStcpqDA+N89tAGEk5dGUf/w0narFi8WV2Y3IAC/twyY5zb80Q/ BeFDOx0UJqbsx9AgKWv6sF6mo4wUWRlVCaEkMGKUk5pvJUiwKpRCEkQRaG3fQC7iuOZ2 autn4sLKSrIOQP2xgEr0kU3Ned5XgaC+YXdCUPVXABykfM9LEWYWM+FdlH/u9lE8R7rC 4kRyC20F9WDUmzRFbsi5YGgCB1hJfAPk2Oq9S4378XHo+Yt0KHfhvNaqxpYpsUnoHCL1 IqhuYk7QLlmrUMPW0hdWQlCddj9eUysp5Y46Yy+Cf21XCdT7ASiX8DCm0/I1oxdrx/d/ 1ufw== X-Gm-Message-State: AOAM532z+p98ifXtOMIBaELT7NRVVdzssSw17PUMZqx27AZ4HLld38nQ NtCEO0OFd2lq5Izj6eyqjTitVZKEyGc7rw== X-Google-Smtp-Source: ABdhPJyAC3GYhkDvqFr8/Gy5/P9WnuHehUct0q9W2qX97y4OG6Uf5kMyQDJrANfw30uJV+tVkR1z+w== X-Received: by 2002:a17:90a:cc0f:: with SMTP id b15mr2888551pju.68.1611619713287; Mon, 25 Jan 2021 16:08:33 -0800 (PST) Received: from [192.168.1.125] (c-71-59-145-34.hsd1.or.comcast.net. [71.59.145.34]) by smtp.gmail.com with ESMTPSA id ep13sm439482pjb.27.2021.01.25.16.08.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jan 2021 16:08:32 -0800 (PST) X-Mozilla-News-Host: news://news.yhetil.org:119 From: Jason Ross Subject: Inconsistent numbering of verse, example, source blocks To: emacs-orgmode@gnu.org Message-ID: <55ec0cbb-eebf-0d49-b182-372407c8c84c@gmail.com> Date: Mon, 25 Jan 2021 16:08:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=jasonross1024@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=UoeSSTtU; 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: 598EA9402C8 X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: /pnM0vfXRhsL Hello, I'm working on an exporter for ConTeXt and I'm trying to handle references to paragraph elements in a consistent way. However, there seems to be some inconsistencies in how such elements are numbered in the existing exporters. Here's a MWE: ====================================================================== #+TITLE: Numbering Collision #+NAME: NamedVerse1 #+CAPTION: Named Verse 1 #+BEGIN_VERSE Mauris ac felis vel velit tristique imperdiet. #+END_VERSE Here's a link to verse [[NamedVerse1]] #+NAME: UnnamedVerse1 #+BEGIN_VERSE Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. #+END_VERSE Here's a link to [[UnnamedVerse1]] #+NAME: NamedVerse2 #+CAPTION: Named Verse 2 #+BEGIN_VERSE Aliquam posuere. #+END_VERSE Here's a link to verse [[NamedVerse2]] #+NAME: UnnamedVerse2 #+BEGIN_VERSE Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi. #+END_VERSE Here's a link to [[UnnamedVerse2]] #+NAME: NamedEx1 #+CAPTION: Named Example 1 #+BEGIN_EXAMPLE Mauris ac felis vel velit tristique imperdiet. #+END_EXAMPLE Here's a link to Example [[NamedEx1]] #+NAME: UnnamedEx1 #+BEGIN_EXAMPLE Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. #+END_EXAMPLE Here's a link to [[UnnamedEx1]] #+NAME: NamedEx2 #+CAPTION: Named Example 2 #+BEGIN_EXAMPLE Aliquam posuere. #+END_EXAMPLE Here's a link to Example [[NamedEx2]] #+NAME: UnnamedEx2 #+BEGIN_EXAMPLE Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi. #+END_EXAMPLE Here's a link to [[UnnamedEx2]] #+NAME: NamedSrc1 #+CAPTION: Named Source 1 #+BEGIN_SRC Mauris ac felis vel velit tristique imperdiet. #+END_SRC Here's a link to Source [[NamedSrc1]] #+NAME: UnnamedSrc1 #+BEGIN_SRC Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. #+END_SRC Here's a link to [[UnnamedSrc1]] #+NAME: NamedSrc2 #+CAPTION: Named Source 2 #+BEGIN_SRC Aliquam posuere. #+END_SRC Here's a link to Source [[NamedSrc2]] #+NAME: UnnamedSrc2 #+BEGIN_SRC Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi. #+END_SRC Here's a link to [[UnnamedSrc2]] ====================================================================== I'm not sure what the "Canonical" numbering ought to be but what I see is as follows: For the HTML exporter: Here’s a link to verse 1 Here’s a link to 2 Here’s a link to verse 2 Here’s a link to 3 Here’s a link to Example 1 Here’s a link to 2 Here’s a link to Example 2 Here’s a link to 3 Here’s a link to Source 1 Here’s a link to 2 Here’s a link to Source 2 Here’s a link to 3 For the LaTeX exporter: (no links to verses or examples) Here's a link to Source 1 Here's a link to ?? Here's a link to Source 2 Here's a link to ?? For the markdown and, plain text exporters: Here’s a link to verse 1 Here’s a link to 2 Here’s a link to verse 3 Here’s a link to 4 Here’s a link to Example 1 Here’s a link to 2 Here’s a link to Example 3 Here’s a link to 4 Here’s a link to Source 1 Here’s a link to 2 Here’s a link to Source 3 Here’s a link to 4 So, my question is twofold: 1. Is this a bug? 2. What is the most desired numbering for these elements in the future? Thanks, Jason