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 ms5.migadu.com with LMTPS id vVNNHhhBnWPUdgAAbAwnHQ (envelope-from ) for ; Sat, 17 Dec 2022 05:10:00 +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 MHN2HRhBnWNYZgEA9RJhRA (envelope-from ) for ; Sat, 17 Dec 2022 05:10:00 +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 2B5613D38F for ; Sat, 17 Dec 2022 05:10:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6OVS-0007nk-MV; Fri, 16 Dec 2022 23:09:02 -0500 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 1p6OVR-0007nD-77 for emacs-orgmode@gnu.org; Fri, 16 Dec 2022 23:09:01 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6OVP-0001UQ-E0 for emacs-orgmode@gnu.org; Fri, 16 Dec 2022 23:09:00 -0500 Received: by mail-pj1-x1030.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso8035142pjt.0 for ; Fri, 16 Dec 2022 20:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=O1dspZnvTs5vf9ai5mp1NXSaQqgFseMAt+ynVfVyt9s=; b=n4UcP0cvsTkCdEhNawFNRLrf5moG1ZNKpvtgpL/uvOsEMSRjriLno62c89zXRcTX0E gNjsJ3ODCeT10lSIVwdwruO+xB1umKtgTbXhwEZNt2EEN6nTjwMwx9/AS/evY8mf2EU1 gq82Krua8rTAS/2RIwi3KdgmK8Mts7dCzEx8goiLG4wmGxNYo56679/qUH2VQXxT/odu jB6+g9b9evbwq/+/Y3WL7QGumiK6VIvJnkn0DUolzHDlEcUIM4TrrTj3trhPJlEeLmy6 tpyIKrceKB61BLiRQ2ZmtdcusvUqyuJhqybumkTj7b2fhFAic8y7vz/XM7ht+aEloZm1 tr/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O1dspZnvTs5vf9ai5mp1NXSaQqgFseMAt+ynVfVyt9s=; b=jsz5RriwRgmNROmbMKervLznsir9jyj36KHheBGC+wC41+TgVAhUHoVM5RJ8x642Fh pK+xu+FSb09reAM6J5yEm4hWZwk+zfYIwi5FfWYkHNS5YSooN8r1+qeY/bSpkAZJ+bAm wMn6N4S+BCwzS++1oJ7m2GtK2tJn9NRH1P84IS5dUxAkFpfS2vKKr0nUIZsuAbxANGNY p8qVEjV1pqBFNOC2nUVtYpe8yaveIQeQq67Le7ptqXSX+F2j7k//mjzqM5yl7Ntmukhi iH2dnemrwxfVX2cuw59As9FKEMlRXW0SmpFBnk9IfoT3jGR2i75+6uK2LW3jvtqwZYYV vQww== X-Gm-Message-State: ANoB5pkgwcpnATmxmc1HW7sowavveGE2ii0MObaczP1X/kQdS8zfmmYP h9Fmuw04+TeDn5ldET7sUq0JYy9emZI= X-Google-Smtp-Source: AA0mqf5NsMycAlgqBLLk4NNBhe/oVNqiFiCeQOzsHbVcH+J5f4kH77gbuS8F34J3xH3h3l7UfEh0zA== X-Received: by 2002:a05:6a20:9f05:b0:a2:17a6:44cd with SMTP id mk5-20020a056a209f0500b000a217a644cdmr39078580pzb.58.1671250137088; Fri, 16 Dec 2022 20:08:57 -0800 (PST) Received: from [192.168.1.130] (222-154-27-123-vdsl.sparkbb.co.nz. [222.154.27.123]) by smtp.gmail.com with ESMTPSA id k186-20020a6324c3000000b00478a3079b7esm2193232pgk.19.2022.12.16.20.08.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 20:08:56 -0800 (PST) Message-ID: Date: Sat, 17 Dec 2022 17:08:52 +1300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [BUG] exporting links with underscores Content-Language: en-US To: emacs-orgmode@gnu.org References: <87359fx9mg.fsf@t14.reltub.ca> From: Mike Gauland In-Reply-To: <87359fx9mg.fsf@t14.reltub.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=mikelygee@gmail.com; helo=mail-pj1-x1030.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: 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671250200; 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=O1dspZnvTs5vf9ai5mp1NXSaQqgFseMAt+ynVfVyt9s=; b=BUJIQfqe1DnppTrlhh730wIqrFkbtYzoLnVFgBFAmaGHgnh1c4CQ+kE7TDJYdhvw7OLVPn QSFuQT3wFRbuW9l97TCyqx93MGDampS1jcnoZLF5iduy4L38ONNjfYwPoI7Nn1PXPQX1wO E5waG+DiHWtu0d0tB4iOVheyhqUAFJ2vE0GqQqRTt2yE0kqwZLrhIT1CVVvAwGox7Sl/Ed NCuTf0sQO2oKfTe3BEAEccx4xJ/l3nXmVqOzwZZSBiQHoQh0xsJY/ON5ylI71OUIrldNKy 9P12aRZfcug9x2wIswqp1orbuFHKMo+xIjdPVF4TC6iAkQDz7gSSb4tgk5S6Rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n4UcP0cv; 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=1671250200; a=rsa-sha256; cv=none; b=SwoBed8eKhVA+aD40oHK7Mwu7gFu0elEjAIrMPlG2vhNT3ryx8MUxmy1sMz3h2T7ktMOTI pQwYxvW9CFvgxkIInijO/m5DfiQHfQ4kMpqG3h6zgXsiJ4KfMDcrgc19W0SyQBKRixlk/f /dPbEKvBnbnWp06lXbihdaIUtKDuBTrcYY3uLyP2wi1z4LE8EHhl5nkTimXFFJ1HRmomMT uPw9SSMgIMx6E5ztSWciIzsmschG28XZS3Nsg92ekF4Dp8U2dlGcG1uaySNnmorFQWjuZ9 TCAE3enoVCNh+ZbbxvbHDaws32tIgc6zKNVrzLi6h/eTe9qCEhAuu90xj7vzvQ== X-Migadu-Spam-Score: -5.98 X-Spam-Score: -5.98 X-Migadu-Queue-Id: 2B5613D38F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n4UcP0cv; 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: lisH7K+lMYn6 On 17/12/22 11:32, Leo Butler wrote: > Org version is 9.5.2; emacs version is 27.1. > > The manual does not indicate that underscores need to be escaped in > links (and they can't be, as far as I can tell). The latex and html > exporters interpret them as the start of a subscript. > > Leo > By default underscore is treated that way--see the "Subscripts and Superscripts" section of the manual (https://orgmode.org/manual/Subscripts-and-Superscripts.html). Set the '^' option to 'nil' to get the behaviour you're after: #+OPTIONS: toc:nil num:nil ^:nil If you want a subscript anywhere, you can get that by using curly braces (e.g., ex_{ample}).