From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YA2dJ7br8GE/rgAAgWs5BA (envelope-from ) for ; Wed, 26 Jan 2022 07:35:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KDhdJLbr8GEcTgAAauVa8A (envelope-from ) for ; Wed, 26 Jan 2022 07:35:34 +0100 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 55D0C27826 for ; Wed, 26 Jan 2022 07:35:34 +0100 (CET) Received: from localhost ([::1]:40570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCbu1-0001dw-Gu for larch@yhetil.org; Wed, 26 Jan 2022 01:35:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCbsO-0001TW-EK for emacs-orgmode@gnu.org; Wed, 26 Jan 2022 01:33:52 -0500 Received: from [2a00:1450:4864:20::32d] (port=45653 helo=mail-wm1-x32d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCbsM-0000rd-Oz for emacs-orgmode@gnu.org; Wed, 26 Jan 2022 01:33:52 -0500 Received: by mail-wm1-x32d.google.com with SMTP id j5-20020a05600c1c0500b0034d2e956aadso3499683wms.4 for ; Tue, 25 Jan 2022 22:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=i5YJ5m+uGtU4rZKD0h2jgO8i9Xxeu5Mfuxc1f4xbcv8=; b=K80rUHAtgvrsIOVC/hkvpah0KvIXj5/6AhybTCa08npMvULfsqL1rkDs3oFu8x+/kE +VIh2/Vse3AIBowYlW51jbtX5hSbXfuXz/QAU2fq2+3dB/q/KTUNJPFZpc+izWZTTp3C NC5/MonHLKfrULGFtShL++P13/azQ1spX5SRoA9u54pMug0k/w5nv0AXPCn1wxshWT8r AG5RyA5ux2Pfk0ufdfYos7y31ZJL8+KyWs0RoE902mJkJyUKKSKzZs6cah2FTxEUP+pl gwN4YzDpwLL0yA0kp+e6SugJhKeoWJB1MHXGRewoaarUESAeyYU0mxiEMYSk0COGTVFR rdhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=i5YJ5m+uGtU4rZKD0h2jgO8i9Xxeu5Mfuxc1f4xbcv8=; b=HoS34LdX5Tht1c7yRKJWK2K1wwJ72TV8EinDhaCe1tNpHKQvmsFoQZ8RSII1FDfCme fJmqCmumQAEJEqrd7AFwewjkpN/BUZtX0gm+kZHPkQllOD7Oze/gr0CZl7xfcXjH0j3p QhC7qiZJi90BbC4eP6iJzxgijC5FxxjKOqULWZqasmTtwp18/bwrmAy1K7ZJSwDMi9Gk uo48uobgX8xrZnUlOLfXGwlSMeQg8VRlnxv1Aj6UEMvzAXrizkNyI29aoMu8w9gnb0Xs NimV1TjMNMzlNwrmxozTJKxxAZN9lYZxIGrByKywMRmq8PSJysP9D5qHoScR6ixxMsU8 9ogg== X-Gm-Message-State: AOAM531nCg3hIggNaKmqeYYPrgGbCM7KYUPJF0kei27rDRlqXgv4i983 bujFt1jDpTa/0+Z+nxycin6KFAwucj4g94eG4mLRJgh5jY4= X-Google-Smtp-Source: ABdhPJxMp2nkKR3uIDiDILIXAq5PxzjXvqaB1WmKUL+ouX1nrpeI9ZJVSzNKTTcbirO+n5GntVp1XSYm/76RvVX8ksI= X-Received: by 2002:a05:600c:4e4f:: with SMTP id e15mr6023010wmq.53.1643178828295; Tue, 25 Jan 2022 22:33:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Tom Gillespie Date: Wed, 26 Jan 2022 01:33:36 -0500 Message-ID: Subject: =?UTF-8?Q?Re=3A_=5BPATCH=5D_Add_support_for_=24=E2=80=A6=24_latex_fragments_fo?= =?UTF-8?Q?llowed_by_a_dash?= To: emacs-orgmode Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=tgbugs@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643178934; 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: 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=i5YJ5m+uGtU4rZKD0h2jgO8i9Xxeu5Mfuxc1f4xbcv8=; b=NZcUCPraooAmxzRm4mNv+7qtuVrh6vNsU89dImCM0fuiLcgY9M7YUXHY76jtj/Xppy9g9P O+YfdRGSB8uyAjXKmSToOrukOPW7NfsHD8P0QfYzxK3XnAO6iSYFKQ1vLGaAthpEcd3X1r ktwA6t3HU+EP2PDlak+d5Zq/U6k8yRNT+Uh/64rE4wqCEDDQRHwgtT9eJWzfVK/trk7f6X 7GAqxUkNHJ/Cf5VqXtLV1fQB4qA6XNscXKMt9w4BPWg9ooCveCVZifm1h/Mbi0wfts8X/s rmW+tAXtHvD66/8cbRKnIQ95wmwNuOCQaHj2xn2PkurtwLCW8iYdOwpv+H90zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643178934; a=rsa-sha256; cv=none; b=Uu+LUO0t7GHUCu1JwmJmgi46pme9ISIPEapw3UGR0rny31OW+bnEFGPSHwvNkgpPuHk38o slK8ieYdU+MaEb8ioXSEn8EYHoWQBlEOmeBi+d/ATcUbp37Dtb2y4ljR3VUttVBM/8rwan s6c8JFmJr84W0MhzyUaCt4OwZgj79be2EPpUtBa71xklLNho5cIwe/kkPWsfW+UVVaIrJ2 pA3A8HmyKml9m2lWnathAkeClrvvSBdmopDLtJ8rWbAH8vawLMszm5e1MF5RZnLZ/y7HVT XRc+R06h91T30aepGpXSgSB2fI5zm7KeJWpFBC6N66emN2XhfjysLT9jviUTgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K80rUHAt; 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" X-Migadu-Spam-Score: -3.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K80rUHAt; 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" X-Migadu-Queue-Id: 55D0C27826 X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: Bo1ZzfiW6itF > The attached patch adds support for $=E2=80=A6$ latex fragments followed = by a > dash, such as $n$-th. Unfortunately this falls into the realm of changes to syntax. The current behavior is not a bug and is working as specified because hyphen minus (U+002D) does not count as punctuation for the purposes of org syntax. We should specify which chars count as punctuation in the syntax doc. As noted by Eric \(\) has no such restrictions. >From https://orgmode.org/worg/dev/org-syntax.html#Entities_and_LaTeX_Fragme= nts > POST is any punctuation (including parentheses and quotes) or space chara= cter, or the end of line. Best, Tom