From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id IAgpCQhWRmZCGQEAe85BDQ:P1 (envelope-from ) for ; Thu, 16 May 2024 20:52:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IAgpCQhWRmZCGQEAe85BDQ (envelope-from ) for ; Thu, 16 May 2024 20:52:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=KxGNEEqB; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715885575; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DXeyNxLR4FlQK5rOgOhvZaU9Ka8BqhI/oHl1EaR8oaE=; b=Feace9iEbQBeSwzFn5y/kgxrqzFu/2d4O7Bozl3P9Oi7mxhwWlkIV+xUKXLkx1wofQTiSB w64++/CL7uJluyT5wJ0tua0joreRqpLT6gKO4tq2DSegu3wiy6YZmVfMUtt1oKTtLE+Or5 W3Y29f3HTDg5C03g+IXycT5m4Yb0Z1vh/XVIwgQV+x1DFZIPrz4XwWwEsjEAhNAz5eeVE3 PvDpwC7No6ld2HH72gLpZiS6IA2Yp/Xj4FceI7QcLqJMr8aHr5IcvLRbajA7dNtlNux+8P P2zNR+I5wAYemQfKlw736jcgnDxAfGR7TMLrLW5jwfsvQtDqjaKQeb5BL7hE0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715885575; a=rsa-sha256; cv=none; b=FsfuhJQr6Z+vr4Z1ei9vDr9rRD1YjynA5UnJH+9Dmx91wxLuKSHLr4VcoHamGuP7Wp//ht w143YUBv4LtZLsOEUrRuJY+WsVLA9z4/hV+wkzA7EGB8VuXnmPR0lDxE8TgaPUv2UW54T5 ptVUkb8VvYqxSsg9RSAw3s6226WvNgTVMHhoeG1+ZdVUUiN4Qo2vr8zno0L3VadqEhw6is 9hDdzZtCOHqSY4Nv5bLxnDJ2Hh0qRwSql0tCoMvpuMSksmT5q7rDU1AmR12u/conzwPhYD x7rSlafjZbVq5OJnhiDijTeVoXjNW+os++Wp45KjH/SwIBbVTCNduH/LOTPENg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=KxGNEEqB; dmarc=pass (policy=none) header.from=gmail.com; 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" 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 C7F8F62878 for ; Thu, 16 May 2024 20:52:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7gCy-0004cc-Py; Thu, 16 May 2024 14:52:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7gCw-0004cH-NG for emacs-orgmode@gnu.org; Thu, 16 May 2024 14:52:02 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7gCu-0005uI-Uh for emacs-orgmode@gnu.org; Thu, 16 May 2024 14:52:02 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2e2a216758bso2205261fa.3 for ; Thu, 16 May 2024 11:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715885518; x=1716490318; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=DXeyNxLR4FlQK5rOgOhvZaU9Ka8BqhI/oHl1EaR8oaE=; b=KxGNEEqBf+eRGO7g/NjuYd8kjO9ihBsF87owEwBG1v2e3kXfmXGHcly8+phSnwXBES Zu3Wp1KiwHwTnDVpoK1tsmZts5gwwzUjfv7Wu/4GXSoaCFtT73byNzJl/Dw0Oc3gtm9X QI4CFWLJUHupklWyHBNzE1pj/SWAjb9RcOPS1vFONuhzqRVOQkDLBY87k7SJi24gV41A OI71BPicr836MUY7naDpJBbgkpBWxPHNsImHuYdXRDy+B+NC9+JUgbTXr6E9YiUigKI4 7qvssgKeIN5eQM47AXlB3a+CU/5RkWODNDYkEydE/GgQ+BjxA0Ox3XeHc/bhuZguMCqq Pwcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715885518; x=1716490318; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DXeyNxLR4FlQK5rOgOhvZaU9Ka8BqhI/oHl1EaR8oaE=; b=UV7KaQu5ANe4UzLq0aHDD2FcEQEn2hrWz7SulAhyKoxSeDFR8zi0ttAxiouGZec+SM lWfPdiFG+7XYL0xTp9Ylu1swL7owuf3NLVuvGooy6tD+PvBdRTyTDeI/vpTgjJaxwhC6 DXDUtPeniEdOtaNGYTmnJu22bQNZPtc7eji+GVwJqj8BbwAnJIKqbfQiR34CGQ5Gf44k cjCNOV3UAuwbhhh40jSSPRNAt+Hm3+GYbeB+EQXp80GzA+iYZ0udt/VZ3O53rlicZ1NG hfk6GLji0k8kHUls4TYFY3AvCVYsYP49YezM/b8Ij9sQfRgcpCj1mC++TifK+noYwQUh 3xgA== X-Gm-Message-State: AOJu0YzF+vVWvbqN0JX+aYncns3umHvWyaGsKUCm7RwbeRnMK1BuKulg Lnp63o3OqashFUgxU8TkTMzl9t0NYTbK2g1GfDV/lK146/FjNpcJauSe2k+AHKpBvhZWGmjzfIH DfbUbjwAgbaFWo5bkxvB7UCQQcHZV9mEs X-Google-Smtp-Source: AGHT+IEukyjKjiQHjGLGetz8lSNf7v9zuLz+1SSaJAYGW5Qa615cR4E8nGGktuf34ixobqfEdTbcigKIWl0MLmgOdiU= X-Received: by 2002:a2e:a1ca:0:b0:2e5:67a7:dda7 with SMTP id 38308e7fff4ca-2e567a7df67mr121570491fa.3.1715885517821; Thu, 16 May 2024 11:51:57 -0700 (PDT) MIME-Version: 1.0 From: Stefano Ghirlanda Date: Thu, 16 May 2024 11:51:21 -0700 Message-ID: Subject: Exporting user labels to non-latex backends To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=sg19721222@gmail.com; helo=mail-lj1-x22b.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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.19 X-Spam-Score: -5.19 X-Migadu-Queue-Id: C7F8F62878 X-Migadu-Scanner: mx11.migadu.com X-TUID: D3Wzkbm42OhX Hi everyone, There may be an issue with using #+name: labels when exporting to non-latex backends. For example: --- \begin{equation} \label{eq:x} x = 1 \end{equation} cref:eq:x --- Exports correctly to markdown, but: --- #+name: eq:x \begin{equation} x = 1 \end{equation} cref:eq:x --- exports with a mix of org labels and user labels: --- \begin{equation} \label{orgf29908c} x = 1 \end{equation} equation \ref{eq:x} --- This does not affect latex export because one can set org-latex-prefer-user-labels, but most other backends do not seem to have this setting. I think there is one for HTML but I could not find one for markdown. Would it be useful to have a global setting for all backends? Or, is there a way to fix this with the current code base? Best, Stefano -- Stefano Ghirlanda CTO, DataWorks - https://dataworks.consulting Guest Professor - Stockholm University Centre for Cultural Evolution