From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AEmdCqOMQWNdwgAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 16:43:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iDKkCqOMQWORXQEA9RJhRA (envelope-from ) for ; Sat, 08 Oct 2022 16:43:47 +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 B6C513C573 for ; Sat, 8 Oct 2022 16:43:46 +0200 (CEST) Received: from localhost ([::1]:48926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohB3J-0002P1-FH for larch@yhetil.org; Sat, 08 Oct 2022 10:43:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohB2s-0002Os-St for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 10:43:18 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:41883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohB2r-0006YP-7S for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 10:43:18 -0400 Received: by mail-pl1-x62e.google.com with SMTP id l4so6898573plb.8 for ; Sat, 08 Oct 2022 07:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=PoMDUyIVtmePaAS0oW5l947L6pCKKZ0VhFoe7seNkis=; b=J5rcehOXmMG7P0V26dkmGXFaeEK3Sg4El1+CqpAXuRcD0jXxVqXg8KHDfblNnpSsuq J8CGAl8H446x0tIFw9HQoksGGcccnISQFyLCR7q09H4tBKDuTwT6bmUMNsKHkxG826D4 W8mKO8aKplXTj2kUJI64tw94afGiPYzi9DI+wcj8gkmnFMKyf5o42BejTukG2n8XS70s IPS532aMpDCKaygKu7ChT8tphNCtX840YRkFY7yAvanpfgctV4S5iFa7Q9X/NuYTNMQ4 nbZcy97LN/+LWqixuYKtofrCXcsurrp/WrR+cNFprED5tr/v3uhsGqnd3FgSezDr1den mkeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PoMDUyIVtmePaAS0oW5l947L6pCKKZ0VhFoe7seNkis=; b=r01tp6g6tb7UNx7mx2y/F2Xj64hLaUf6qdfFYvQvppJLOKV0Ema5iko+PXutQ5eMrR mxpRwnZL90+8EmbqAM6jUURmI07IMe7kR3I1gm+nKYjbv/pOUoYFQ2OcDZz4RHwJ8Db8 U0Mfxh6gSYrehg+UJdRk4WBjGZNgd/o9sft9wI8titQvt8utCDPgArOrqXETQs4OmoBJ KgkJIQrt2fr4qDYFjSu5+5wd2VdsoCylZMkZ/iFLeRGYT5ZPSwxwEZZKzri7j7kwVwWA MMubZN3mkDYPNjHAajMazsvhdmdP813H8d/1cap5549YatVC2wQR5MwQ1JBsUuGTna16 SbnA== X-Gm-Message-State: ACrzQf1ahgNkkv1xFoCSoXT8HP3UgrUM7cjKr3ql7ncK9Qz7/MERuJC9 7R0dQKofkqtFd60IRbHh1qw= X-Google-Smtp-Source: AMsMyM7iHdCl4+J2m3YdkTrfscWpj4o3qyFeDpgDSVUrtqvWGlVxE+T5BgFNDjZK/EBwOGNEl9aA5w== X-Received: by 2002:a17:903:1249:b0:178:639a:1ab1 with SMTP id u9-20020a170903124900b00178639a1ab1mr10354193plh.64.1665240194416; Sat, 08 Oct 2022 07:43:14 -0700 (PDT) Received: from smtpclient.apple (2603-8001-7a00-01a0-b431-d91f-eda0-d3ff.res6.spectrum.com. [2603:8001:7a00:1a0:b431:d91f:eda0:d3ff]) by smtp.gmail.com with ESMTPSA id z7-20020a170903018700b0016c9e5f290esm3469870plg.10.2022.10.08.07.43.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Oct 2022 07:43:14 -0700 (PDT) From: Mark Barton Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_965B0BFF-8EC3-46E7-BC6A-78BA2E216813" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: prevent underscores to be translates in subscript when exporting to latex Date: Sat, 8 Oct 2022 07:43:12 -0700 In-Reply-To: Cc: emacs-org list To: Luca Ferrari References: X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=mbarton98@gmail.com; helo=mail-pl1-x62e.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, HTML_MESSAGE=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" 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=1665240226; 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=PoMDUyIVtmePaAS0oW5l947L6pCKKZ0VhFoe7seNkis=; b=SjIftH5IAJu9FFo1hKIFtiHrwrihNT4v+3iafyaa6eCK8BjwmMXGUoP+mjfGhC0zvtJq6y qL9D1+Uq0qu01W0BtE+mjsnPZ2npvlYA6KDzTLnqsh4o9Z0BGF8uJDd3sEBTF7Fd2zMPEI 2RvZg8oLR6V+/cst9EmTE8jbyFRPBkya8302vokrB8jLvnO3l/K8aZW463xpayrDZeDGZk eRV9IDBfqYloWM3sOUWgFajd+w9ZtJwDI0DzqN5YtE6bqt7raBbgWR4GoGMomqMMOIJ206 qVT4zMQwERjptNjNOm0nbFSY4SVXBSAXBt3SZ2gfw8BuyNIDsoWaHEHTorsN/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665240226; a=rsa-sha256; cv=none; b=KOfZrxtGJxGrkjIHBu1KmsMrgorZGzXormd/yk22Uq7S20QUOk72bVwj8/ZrVuiWj8vrSi Azqsu6d5fvaERkMO6zhsRq4N36AZwPd1qbCrggXFZDuZpgYcOmPQikOC53iwcrX0Qd1uWz 3RNkivh486OCLYBLNcIuwY0C/0dpTd7JxLwxHXf95VxqnAFjiXBsH16PFT/RYjk7uVLJkZ rO9fwSZcT3kgTFXHhiS7Y5lEARKp7D4UTZjLbuZO3bnntJ2oIJ0kt3Vn74xQqYZUMMKdHI I9NPM0ixpfMvkFz4LDN5NhkS9tX6nVgg1XpQfQgPT7jQgNkVYn/oPz21M77sQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=J5rcehOX; 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.68 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=J5rcehOX; 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: B6C513C573 X-Spam-Score: -3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: KKXyT3TAc1qV --Apple-Mail=_965B0BFF-8EC3-46E7-BC6A-78BA2E216813 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 8, 2022, at 6:58 AM, Luca Ferrari wrote: >=20 > Hi all, > I've a link like > [[https://foo.com/bar_baz.html][https://foo.com/bar_baz.html] = ] that, > once rendered in LaTeX, is converted to a subscript like > bar\textsubscript{baz}. > Is there a way to prevent this? I settled on adding an OPTION line to my org file to disable this = behavior, since the documents I'm working on rarely need subscripts and = I can use the LaTeX form when I do need to specify them. #+OPTIONS: toc:nil H:3 num:nil ^:nil The last part forces the export to recognize just the LaTeX form of = specifying subscripts. [[info:org#Export Settings][org#Export Settings]] =E2=80=98^=E2=80=99 Toggle TeX-like syntax for sub- and superscripts. If you write =E2=80=98^:{}=E2=80=99, =E2=80=98a_{b}=E2=80=99 is interpreted, but = the simple =E2=80=98a_b=E2=80=99 is left as it is (=E2=80=98org-export-with-sub-superscripts=E2=80=99). Mark= --Apple-Mail=_965B0BFF-8EC3-46E7-BC6A-78BA2E216813 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Oct 8, 2022, at 6:58 AM, Luca Ferrari <fluca1978@gmail.com>= wrote:

Hi all,
I've a link like
[[https://foo.com/bar_baz.html][https://foo.com/bar_baz.html]= ] = that,
once rendered = in LaTeX, is converted to a subscript like
bar\textsubscript{baz}.
Is there a way to prevent = this?

I = settled on adding an OPTION line to my org file to disable this = behavior, since the documents I'm working on rarely need subscripts and = I can use the LaTeX form when I do need to specify them.

#+OPTIONS:= toc:nil H:3 num:nil ^:nil

The last part forces the export to = recognize just the LaTeX form of specifying subscripts.

[[info:org#Export = Settings][org#Export Settings]]
=E2=80=98^=E2=80=99
    =  Toggle TeX-like syntax for sub- and superscripts.  If you = write
     =E2=80=98^:{}=E2=80=99, = =E2=80=98a_{b}=E2=80=99 is interpreted, but the simple =E2=80=98a_b=E2=80=99= is left as it
     is = (=E2=80=98org-export-with-sub-superscripts=E2=80=99).

Mark
= --Apple-Mail=_965B0BFF-8EC3-46E7-BC6A-78BA2E216813--