From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cLDpCR9XMmVFYAEAauVa8A:P1 (envelope-from ) for ; Fri, 20 Oct 2023 12:31:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cLDpCR9XMmVFYAEAauVa8A (envelope-from ) for ; Fri, 20 Oct 2023 12:31:59 +0200 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 DD06B447F0 for ; Fri, 20 Oct 2023 12:31:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="jC17JEY/"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697797918; 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=W3bQiX2otIvS7/A1A9rZDCv3yoQPLaMHJAoyjcb2wZw=; b=GguJHYnKuaSoe/hodPkRykUJ2qcuNIIR2p/Grv+Q9NDMYfxTSYqnCPuCBzVK6mbYz7Pe5G Rqi4iQbrycYcZ/0LUk5lKRdu6uFnutuSD57A4PDNZPPmTaNge/4wRAc0r3jybQEJYCWHak 7Opo5TKTDYLo6F2UnHbyftQ3kiazlbJbQLpOzEqbzBZQaz8EkeL/GqFomD1BAXW0I1xW/N GjuB8ymGxxpY7F+rN8c8J6J7S7RJknIX/EC95Um1i5ORlHBwdRlYTWxFXTp0RjqYAJMAj9 LkPfWA30AoMMoWAVKxxoVi/utsAZl+L8JH9kUy1aoGrneIY8CTmfyt+CiJCePQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="jC17JEY/"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697797918; a=rsa-sha256; cv=none; b=TbGK82/l8XoOQnIhcIymV8/HOEpA7CH+2s/38vI5ln9w1wqQO+jgkoQB8fUjVBao8/FKxa s2vHYe1bbtiDkPMW3gSnvmZGXFiZMbxGHdrohwS1J0re9GWvvyDCixkXAf+kNQXt/VjhPc Hh5HP573XRSmqCmO2E36tSW15HoseN8DPJwHcAZKmd5AqZLMkiJIWi2UeH8m4mCWd7qHs8 kV7YaUhSozk26SS8FEAnffxYqhhmjOo0Gx8gtyZmSr/XSY9gh0+6q/c4xEIurPSQSawYaQ JouzLtJrCBCqTME+e4D1RSdwPxSu3sj8KvIV15BA3ea/REb5v2z46Nto82WSrg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtmmQ-0001fz-1e; Fri, 20 Oct 2023 06:30:58 -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 1qtTAt-0001Ta-2Y for emacs-orgmode@gnu.org; Thu, 19 Oct 2023 09:34:55 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtTAq-0000mo-Sx for emacs-orgmode@gnu.org; Thu, 19 Oct 2023 09:34:54 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-507d6622822so57289e87.0 for ; Thu, 19 Oct 2023 06:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697722489; x=1698327289; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=W3bQiX2otIvS7/A1A9rZDCv3yoQPLaMHJAoyjcb2wZw=; b=jC17JEY/DTMxbYoC7Wx6wbXRH3i48x1nT4YWOl8TNm8Vq6TNKI7XDpgkW26zfTHG3T CzItrtD7dI+KUyauG31I/+mWfKF/MPSAaVa0HEsjfZHtPkMr7Ckv2k0t5+M/3CU0nvuK o0OHwhShtLB+9F/bKV+RsdWJNqJN3vpSOe6fEd0xc/bkErYh7lNzNLHTgzcMVT6cKlHl jwAel8y4q2Q5VL66Ibmm93kyyg4/fH66y2i54ZQFCihIdhhhECY6w49OIQLZKSMhL1e8 znH7fN81FE2q/cDXhjoeywW3733NyalKmUuBtNtKFL/5b5l0pPG3IZ6H0MGs7VzGJAwQ tSzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697722489; x=1698327289; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=W3bQiX2otIvS7/A1A9rZDCv3yoQPLaMHJAoyjcb2wZw=; b=ruV/yoY2/jgQpzr7u2baAtmURkqkH/6IRrffxGyjdJDC3ndY5yeYsG0FaDj1p7Cr9C +q6WHc8BxDc/0IQEIdRbM8cGpLWjoFPF+FepPFIpAlD6vszeMvopyUdwpud2j09uU2/f EIfYktlepaYfjeYpSXqQLFRFIp9RwUw8rPLFTNO1Ty74xU9gpwhqX2cc0/8+0XFfDD2A Zy+g0paARqnmOrB1u8OytQeLqZO1oqRVtSSoVJcj6YEWHWd8bH+biIQjjOUCGxzKjw/w YtpJ4H5cGKdE4yh3ex5qoV25gjPR1tGeGBOGwuYq9EyE+W7GlRg3qt/wN94vG/Dgki5k lCSw== X-Gm-Message-State: AOJu0YzhMw77wZW3qZQZrJaLVN3UnEiNQkP/X8WIuseNUgJEO9mpASs0 aTmaA08WJKFXjDlrMjUJPdq75nImRcHqilPCFnNH/n4p5/M= X-Google-Smtp-Source: AGHT+IFYEvh2/vesqj+XWPS66GCgrbga2DV4eDbvNmru29EBYziEh1o8c0Yi0oEMHp9z5WkF+yHkx++KvCS5Bl233FU= X-Received: by 2002:a05:6512:282c:b0:502:9b86:7112 with SMTP id cf44-20020a056512282c00b005029b867112mr1274823lfb.2.1697722488486; Thu, 19 Oct 2023 06:34:48 -0700 (PDT) MIME-Version: 1.0 From: Stefano Ghirlanda Date: Thu, 19 Oct 2023 06:34:11 -0700 Message-ID: Subject: Colons in :var header arguments To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=sg19721222@gmail.com; helo=mail-lf1-x129.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-Mailman-Approved-At: Fri, 20 Oct 2023 06:30:50 -0400 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.21 X-Spam-Score: -8.21 X-Migadu-Queue-Id: DD06B447F0 X-Migadu-Scanner: mx2.migadu.com X-TUID: /JKvyX5pXxN8 Hi everyone, I have been using org-mode for reproducible research for many years now. This is my first message: thanks to everyone who is involved in org-mode development and maintenance! I have run into an inconvenience in that colons in :var header arguments to source blocks are invariably interpreted as referring to another file. However, I use cleveref in LaTeX export (via org-ref) to automatically format references using labels like tab:data, and in these cases :var data=tab:data gives a reference not found because tab is interpreted as a filename. I have found a workaround in that I can use #+name: data to name the table as well as \label{tab:data} in the table's #+caption: line, and this works. But I was wondering if it would be cleaner to change this behavior to interpreting tab:data as referring to a file only if #+name: tab:data is not found in the current file. I think this would break very few org files currently in the world, because presumably people using the external file mechanism have not been using the cleveref mechanism, otherwise this would have popped up already :) In org files that use external references only, the change would be invisible. I see the magic happens in org-ref-resolve in org-ref.el, but I don't feel confident enough to mess with that myself. Thanks again for one of the most useful pieces of software around. -- Stefano Ghirlanda CTO, DataWorks - https://dataworks.consulting Guest Professor - Stockholm University Centre for Cultural Evolution