From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wE/FJdZWEGSZJQAASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 12:13:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6O/FJdZWEGR1qwAA9RJhRA (envelope-from ) for ; Tue, 14 Mar 2023 12:13:26 +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 2E7C81289A for ; Tue, 14 Mar 2023 12:13:26 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="NCvu/6kJ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1678792406; 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=wmZYbemfr0q1a8XPMKA4l4fq2PHwTXkJJav+nfqVSRE=; b=gex0AhkfVNE1DU1Cc4tdf6CdtO9e81pZOrIE51M5Jm6DUVIQm3kpU01zjih5GqpJEO7unD 0M/GzPJcW0omnJioz+eI5M5PA+5uqJHDLRTn/ulWTsXwnTz1J1MWMJQQNpgr/oiyOrNf/n bJI/ttxZ8kPW1yG44wnIpyT6kFBn82pVfkY171Qj198kZ9C+6KatynwjcvwxDXZP2UY2oq /QlkOCnUiovWOcOVK5eBz21KP+z4Thly/Aa8MGzUMhEDfZAFxnPY/F51K+wP0t6KUHmwGo Za5LVW7LZpM6s2/i/lkqacy7R37AAOIJQsK3G56hsof6qOnrcQH3bRgYJ6hqJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="NCvu/6kJ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Seal: i=1; s=key1; d=yhetil.org; t=1678792406; a=rsa-sha256; cv=none; b=JF6Qhmed6vcBMLT2+Fy5Ob0DQLKQluyJDTqCLxbXSvWUyybejUpjUgR5Ny82CZuSCg69Uo fcHXV8amAtQGyRRS8x/eyh430ZzpTgxaRCkqw13GvYNUIDpI2Q6fsAocGqliN/cc9aiM8X urFbR9kJnxOhhor5slVDzgpWErWYPBuYhPWnUcaePZYYtCr5QZh/d+LAPc6Je8CwUsSQ+J tAI+ihIqEGgRM264JnVGlLM7GMXfGK1BqA5Tlf3BTjYUMPPW19RaSmRlJNLJjDqUdW3Q4b HbVVm6UGQeBAxAh1wNrIyanZHausUM5Oopgj0x1geRN8oUri5w8hJVreTX+aPg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pc2Zw-0006LP-Il; Tue, 14 Mar 2023 07:12:28 -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 1pc2Zv-0006HA-6c for emacs-orgmode@gnu.org; Tue, 14 Mar 2023 07:12:27 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pc2Zt-00076U-B8 for emacs-orgmode@gnu.org; Tue, 14 Mar 2023 07:12:26 -0400 Received: by mail-lf1-x12b.google.com with SMTP id g17so19503941lfv.4 for ; Tue, 14 Mar 2023 04:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678792343; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=wmZYbemfr0q1a8XPMKA4l4fq2PHwTXkJJav+nfqVSRE=; b=NCvu/6kJ45Dd3Oqdr8QGAQbEJOK/OjdSlEoZAB93Te9fExqDdjdRFtrbhGEAIFABnp L0YGpEWlu9d2a2QZIHyo9dYeHwFHdxc2biup4lcx9pDeYTZjmyFt4uuoIeB6KyBqQCgu ISPKCTPQueYcD4mBpKgFTEDLJtsrLqNdESE9ypyS43XtYrOKSMkSeJF3LmU2PJOAvR3g x9Wt/dGjow+ea97C2zLQTWjtzskbIWN+0hIyLshQcyee0JykTeCbq+KHST909DBhP0C0 yXLQYXJtla5wSmlH7DVagzxbzElO6uBRIOjy3lLJ6z7Q0bm6F6+B1GaY/vpppDk+gjc+ r2wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678792343; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wmZYbemfr0q1a8XPMKA4l4fq2PHwTXkJJav+nfqVSRE=; b=mhmpfhsXNV1/tnOpbUmYT2P/oFrNz0j6Dzf7C34rsdmZ4AsIsbwFXc+0XWjIPLBTk5 MUF7q9fO6gKpxb/rMCwWmIZYGSZEVh6LYEFrxxLKbOmHXlejs7fWX9V8/GmH1JkrucaG 9/c8a9aYQJ0ZYVzvMJ11DYnfp+JyJ3QNFl1qBnjqCFv0MiL7dS5+0aYzAvj9ik4L+Rh9 kiIgE9OO10zDOhS1V4ThmyxptFawHfDt4fCea4F4qeSqV/zWq2AvUQ0IRM06hGFn8MCT KjJt2CKfz9ZK0TQk0QuWz7AzavQLKkzETi9fWMs6QTf4ONUzGSegOAY70DQFZJGhSGRU ZI2A== X-Gm-Message-State: AO0yUKW+3ZHk2cWNvQq+/l57rqmQ1Z2XUY9XnuNHZoII+0Fn+Digg/OS LtmfTXhrhgugi7PLq8QKdQI= X-Google-Smtp-Source: AK7set/jdQsJd+ncc4YktGcafF2yXhLZyR92BPGrgypvTuGkeUnavm/2Ew4wM3jnB6Dxqz5BI8VpPQ== X-Received: by 2002:ac2:43ca:0:b0:4a4:68b9:66f3 with SMTP id u10-20020ac243ca000000b004a468b966f3mr592700lfl.62.1678792342529; Tue, 14 Mar 2023 04:12:22 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id u4-20020ac251c4000000b004db3e7dfb8csm357791lfm.189.2023.03.14.04.12.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Mar 2023 04:12:22 -0700 (PDT) Message-ID: <9a9f1d43-7d28-508e-1c75-7294fb4d8953@gmail.com> Date: Tue, 14 Mar 2023 18:12:20 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Hyphen after LaTeX fragments Content-Language: en-US To: Yuchen Guo , emacs-orgmode@gnu.org References: <861qlr4xyq.fsf@lan> From: Max Nikulin Mail-Followup-To: Yuchen Guo , emacs-orgmode@gnu.org In-Reply-To: <861qlr4xyq.fsf@lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12b.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, NICE_REPLY_A=-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: X-Migadu-Queue-Id: 2E7C81289A X-Spam-Score: -2.42 X-Migadu-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com 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-TUID: s2qCqZQuPVuK On 14/03/2023 14:02, Yuchen Guo wrote: > Sometimes I encounter such texts: > > One of the useful features of a basis $B$ in an $n$-dimensional space > > When entered as-is in Org mode and exported to LaTeX, the string > "$n$-dimensional" is exported as plain text, as > > One of the useful features of a basis \(B\) in an \$n\$-dimensional space I assume "\(n\)-dimensional". > In cases such as "$n$;" and "$n$.", they are correctly exported as > "\(n\);" and "\(n\).". > > So, are there any option that can be tweaked to export "$MATH$-text" > correctly? Consider "$M$" as deprecated. Balance of lightweight markup and heuristics to distinguish literal symbols and markup markers is quite subtle. Dash detection is broken for a long time despite the manual still says that it is supported: Max Nikulin to emacs-orgmode. Re: [PATCH] Add support for $…$ latex fragments followed by a dash. Tue, 1 Feb 2022 21:26:50 +0700. https://list.orgmode.org/stbfvc$3rs$1@ciao.gmane.io That thread contains examples what may be false positives, e.g. Max Nikulin to emacs-orgmode. Re: [PATCH] Add support for $…$ latex fragments followed by a dash. Sun, 30 Jan 2022 22:28:38 +0700. https://list.orgmode.org/st6ar8$tjk$1@ciao.gmane.io Another thread: Timothy to emacs-orgmode… Re: Depreciating TeX-style LaTeX fragments (was: Org Syntax Specification) Sun, 16 Jan 2022 00:36:35 +0800. https://list.orgmode.org/87lezgly20.fsf@gmail.com