From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KLKKJ5KFQWN8HAEAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 16:13:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4BurJpKFQWPIIwAAG6o9tA (envelope-from ) for ; Sat, 08 Oct 2022 16:13:38 +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 462123DAB3 for ; Sat, 8 Oct 2022 16:13:38 +0200 (CEST) Received: from localhost ([::1]:54768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohAa9-0008Pn-EI for larch@yhetil.org; Sat, 08 Oct 2022 10:13:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohAYt-0008PX-DH for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 10:12:19 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:39921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohAYo-00010R-V7 for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 10:12:19 -0400 Received: by mail-pl1-x631.google.com with SMTP id f23so6868062plr.6 for ; Sat, 08 Oct 2022 07:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=NcjYqeKm9Xlup0Tw+gvTEQK5re4rAYXhKIXAM+FXbFk=; b=m8R6/0JDNTN7iw6dSSuaZMrcEapWIscl/09hgO5PXGyDU/E8xQ28w7TdVYG9Ya536x 2wh2VNpQ0J02sMdthhcMuXN7VO6czlyQ+RcX8D2Be7MHQrqt9evYYNUCkfwfycICy99S FMLMYyMzGG68xBzpr45MzP9/nKuxhJLgyVBjIcz1uycVpgN8aGkQIXlk+36HKqmIy4Sc njA2ZENlpRKvKbdQ7TEaZ7EGLcLrQY5igsi0fO39vQ1RNj/qSwMLgkQFhZGH74QJ9BRc akTSBmpLZDLkahgiUbXvbFZOLp14lsDk/Bnhq8jIaN1yX8yJODBtBOB6BV1sQAg1/0Yi RpOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NcjYqeKm9Xlup0Tw+gvTEQK5re4rAYXhKIXAM+FXbFk=; b=fFKw/qklQtA5w6Cmp6H1ck+kGX8XgzXloDjM92V9ygvKkumRh0AFbt2lpMq0Sr0jzq jJek3lCZMZtoKgFxTYDIPJLAqcJJP1CNz65/HqvUyO01gw+T28VAdmHc6cJCf35R/yQp lkXOv9gRzBg5IRVXWEQa8T+YjZpliPf9i7De+CxuOe4y+s7r5wAjG7iVdFiQkYZGs+6x UfQI6Z57iPKmHd7gGD5bSUWnyIpAJMpcOjDaPO9fClVr1A6TAvKEJm6LW5uI+CZ4gbJa erPP1mzwa7zVH4JeYZ2/0VQCAqNOb3jMd4WBcu1pIjwyKBxGRxTCxDV6Ckrm2LN/BG/T iPPg== X-Gm-Message-State: ACrzQf3qPVXdqU9CRYhjdVYBwdG+gjyjUtULDMSaULenY+YF5M18cFqp pQ4DFihSMyRCyJqQPl6hrLc= X-Google-Smtp-Source: AMsMyM7pJYu/sZUQqhE5l6uI3ep6RfPRYA2xzA60sVKd8/5jj522IhmWSSZeaL9Z4QNHGfZHzjhr3g== X-Received: by 2002:a17:902:aa83:b0:178:9818:dff with SMTP id d3-20020a170902aa8300b0017898180dffmr10240657plr.1.1665238333462; Sat, 08 Oct 2022 07:12:13 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id u15-20020a1709026e0f00b001750b31faabsm3344118plk.262.2022.10.08.07.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Oct 2022 07:12:12 -0700 (PDT) From: Ihor Radchenko To: Luca Ferrari Cc: emacs-org list Subject: Re: prevent underscores to be translates in subscript when exporting to latex In-Reply-To: References: Date: Sat, 08 Oct 2022 22:13:03 +0800 Message-ID: <87r0ziflow.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=yantar92@gmail.com; helo=mail-pl1-x631.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-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=1665238418; 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=NcjYqeKm9Xlup0Tw+gvTEQK5re4rAYXhKIXAM+FXbFk=; b=kDeTGP669h7xNfFhKqgVy2RmpYPk6eM0PO3HvFP/Wmuku/FdeDtVJFAdo3SWxoAKr6GSYd c7C9eZPOCvtyqM2RckuA+88cOGbdql/d2lUoHQQ63bxKvnbSkuH9zS0vIjjhRUm/6pdq7D rlz8g/cZEcDBZlUEOsAEtzzViqax9sWzbKORSy+tNgliY5RTF/7ncsBPtlFCc7xp03g1yJ Nf9UVHv0MzqXre4/rWaZB7pBldTJ2xed1psebc3oqDNr00vprG88U1wsM20zvVVOzxyheV uPLVnqIqDJOMbUXEIUglmBFYL1Mfimr6P8nm7wCKiSk9VfQhbTQPRzhCeYQA/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665238418; a=rsa-sha256; cv=none; b=UBcyTUmZGxzci7Zmrisy6IGjaN9+oLZXkk0d5oAUF012hydbZTS1/2YHmefJGxKPA9z+I5 AWoE3oxPovhzmWGJFZceMW2sKbGzUl5fga7Imc2H50e6H+t3EU3jsRHFM207BPwbysMfqE wgGJxglZnTDTneE5o1sRjrdh7Le4XbzJmEjOFCGlZKEj/OYAOxAXB5vI1crYnti/uhLzlT QiBSdjRVzxChFLBMqSwfw9No7nQHi3MhNusyj/J5usSMPuuUhiMRyogYVb8Z9Hl1jzyUjt N2uVK/cesdJnLP9MF2aXPxFPVZG4RMH3gzl5jtuxEoDhq1vJQmXj5Qq9h+boHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="m8R6/0JD"; 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.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="m8R6/0JD"; 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: 462123DAB3 X-Spam-Score: -3.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: qoDR8JW/nHbN Luca Ferrari writes: > 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? Description part of the link can contain markup, including underscore. Just as if you write bar_baz in paragraph, =_= is interpreted as subscript. As usual, to prevent Org markup from being interpreted, you can use verbatim environment: [[https://foo.com/bar_baz.html][=https://foo.com/bar_baz.html=]] or entity [[https://foo.com/bar_baz.html][https://foo.com/bar\under{}baz.html]] or you can drop the description part of the link altogether: [[https://foo.com/bar_baz.html]] -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at