From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EKX1J+4cEGSRIwEASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 08:06:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YIDyJ+4cEGSo4QAAauVa8A (envelope-from ) for ; Tue, 14 Mar 2023 08:06:22 +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 4E46BD223 for ; Tue, 14 Mar 2023 08:06:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbyjM-0004lL-Uo; Tue, 14 Mar 2023 03:05:57 -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 1pbyjF-0004kJ-4R for emacs-orgmode@gnu.org; Tue, 14 Mar 2023 03:05:49 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbyjD-00066r-Fn for emacs-orgmode@gnu.org; Tue, 14 Mar 2023 03:05:48 -0400 Received: by mail-ed1-x534.google.com with SMTP id o12so57936148edb.9 for ; Tue, 14 Mar 2023 00:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678777543; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=g0NuZ1FQaDxxds7KDRu3bJKUZlr2Q1mH9Cjj2z0oFU8=; b=AIfCVAAT49nX6jB69iUrPZaqWp5eXKc7RZLxQG2xz5Ia/O7NkBEiGkKHzXE7S5WRRU eMcxB90h86qtIOPdiDQWP8Ep+GfcozA6y9K8hkOLhmsml4Ifo3vI7m82oYwqOvjI36hv ZHa0ouxkky6KwvDzjkf5UliL7T3Ys3AwV31hwsZuzItaEvYx04pyKzTYUXGZxk6+WCLz yveP83sSDRx3ZsZh0XNxnUlUPmSzXjZL+/ESBJO1vVrRIT9COerTFiNe//4Go2r0pZK3 aW+4QRTQioKI9pK52Vk6DwAnLhi7EwkhapU/hf/jkUryJiIHoNrdrlKUfzzKyByV6mkw d13w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678777543; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=g0NuZ1FQaDxxds7KDRu3bJKUZlr2Q1mH9Cjj2z0oFU8=; b=qv9gLG3lko3ey6lqQn+79FGmslIhZZVK5pMRoGeS+F+Pd/UghV1KgqHwS/LyN5vMEX uRrpnWxtcg9O7KLJUzlh3VB1KSagSP5eSNvY7jWvz/Dwa0PDTKX512CNkjO6Y9dMNzZA UbRHT6H+egMc0r82w2+aE+nGpFaNOlAoqhADKtTXrH3jIOzW29whw/4zNmhKe5M566TD 7XVM8pH/oa6zIuJF2WZ28eHZstZae2GvZGaFj41Lhpl0av+56Vu76GmtjCyqTD6am+we BsHKIIY8qbo5v3zxPTN0Y+6/gjD+iE/6LOGZEeCoSwERLGzWuretjgOtlfP6zUe3b6pG o2uw== X-Gm-Message-State: AO0yUKW87KLbt4vHXYc/Z8g7waHBGfJVutgfT7cvbBptitLbN+FnnOZ5 XKcaWcwNLdYtKlbYo/REnA== X-Google-Smtp-Source: AK7set9GnQRENWI7Utu4Sqs8zBcgosNjvm/Zpq4E+wr4/RwCG+LrD2PfmjknqIFZz8j9ggaz7auPSg== X-Received: by 2002:a17:906:eda6:b0:8f7:51e5:9994 with SMTP id sa6-20020a170906eda600b008f751e59994mr1165715ejb.27.1678777543358; Tue, 14 Mar 2023 00:05:43 -0700 (PDT) Received: from localhost (070-207.dynamic.dsl.fonira.net. [178.251.70.207]) by smtp.gmail.com with ESMTPSA id wt10-20020a170906ee8a00b0092ce8344078sm298898ejb.33.2023.03.14.00.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 00:05:43 -0700 (PDT) References: <861qlr4xyq.fsf@lan> User-agent: mu4e 1.8.14; emacs 28.2 From: Dominik Schrempf To: Yuchen Guo Cc: emacs-orgmode@gnu.org Subject: Re: Hyphen after LaTeX fragments Date: Tue, 14 Mar 2023 08:04:27 +0100 In-reply-to: <861qlr4xyq.fsf@lan> Message-ID: <87pm9b95iy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=dominik.schrempf@gmail.com; helo=mail-ed1-x534.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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AIfCVAAT; 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=1678777582; a=rsa-sha256; cv=none; b=RqUrE2ZlmgGM8gigSk39Wu05h3dyplo5CCXSX0ae2jvHsgnEZsw6PSVdWLzw3K5AUMhHeh pKgRdL/RkpAV2uo2WIFyUu9bKdYJWQsA1HcOVJmQLs/a7m07BaMtnVygip26NOYAACHEd3 VY4vQTrWysXtP5QRn06BxE4AQJw1VF8ZjcGBJ5CcCuSLqAVq37LJX/NddY+NcqYwRrjoey NTNK7B0VFvxye2OYJRTE9lccB12AAqtb42O1f3tBEY2CSckT2rSdvmCqUTvuPPQ05MiAaM v+gnNnGZelfop3NtgJt2IsKKQnni7G2zot8mK0gU4UKm3rN88/QV8zl92BNRKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678777582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=g0NuZ1FQaDxxds7KDRu3bJKUZlr2Q1mH9Cjj2z0oFU8=; b=ot//gySn9zRSCPo+00Mx6W12muKHaeh/TPCEuqTAwOMaciDHvadzdstbrweXXMS3d/Xihs VK4uwmpvMgvxcHTUS40kX/I6vDQA51RJKIhefkim8RWzopUplWws9+GRW6mbnz5PQyVwup V23Ky2LZq9BSirF8rMIEn7enOPNCAI4L313Xki0eL3XPYOvvVjmaPgrgdkOXTHAVsrXuVw /wje71MOCYFWWjhaN4TgsZHSARZl7meOOhIl6RdOcAF5aBLf15xaexAWTQa5Xkq+7hjQG0 uyrNqn4Opa3TjcD8U6lFpgdGg5etZ+4EoggfeFSsUrSJ/hjLc3noBrxy4m++fA== X-Migadu-Spam-Score: -6.45 X-Spam-Score: -6.45 X-Migadu-Queue-Id: 4E46BD223 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AIfCVAAT; 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 X-TUID: CvBj5FMG4JTA Hi! I think we had this discussion quite some times already. Org Mode supports $...$ syntax wherever possible but not in all places and encourages the use of \(...\). I switched from using $...$ to \(...\) everywhere, and have not had any problems since. Dominik Yuchen Guo writes: > [[PGP Signed Part:Undecided]] > 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 > > 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?