From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gISPAqUyZ2BUVAAAgWs5BA (envelope-from ) for ; Fri, 02 Apr 2021 17:05:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8LADOKQyZ2CwYAAAB5/wlQ (envelope-from ) for ; Fri, 02 Apr 2021 15:05:08 +0000 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 7600B169F2 for ; Fri, 2 Apr 2021 17:05:07 +0200 (CEST) Received: from localhost ([::1]:56676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSLMA-0007ba-9l for larch@yhetil.org; Fri, 02 Apr 2021 11:05:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSLLg-0007bU-Om for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 11:04:36 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:40583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSLLf-0006e6-BP for emacs-orgmode@gnu.org; Fri, 02 Apr 2021 11:04:36 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 6FB8910000A; Fri, 2 Apr 2021 15:04:31 +0000 (UTC) From: Nicolas Goaziou To: Timothy Subject: Re: [PATCH] ox-latex: Replace \verb instances in headings with \texttt References: <87mtujfj8k.fsf@tecosaur.com> <87blazfe6i.fsf@tecosaur.com> <878s63fb5m.fsf@tecosaur.com> Mail-Followup-To: Timothy , org-mode-email Date: Fri, 02 Apr 2021 17:04:30 +0200 In-Reply-To: <878s63fb5m.fsf@tecosaur.com> (Timothy's message of "Thu, 01 Apr 2021 02:09:09 +0800") Message-ID: <87zgygram9.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617375907; 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; bh=2TyHmXa+AclgvWpa0ZklpF0L73L38M4+hRynZ3tw7Ww=; b=l+nZhWqVVpdWiMOzu1KIRxfYtzZkUY1C4GbZ4eJ3fQK4mvc56+vYWZD+InIhbVxdAq6OFF TTPM+B6GDR9O1FCOQmqArZvpS1c9W+f0xfs0z2sWv0/qtmMT9V6AcSm49H2oCOdHexnW/b FRYiUl1Tc/yI9E3znUALq3dpe5dLEUhAYhhqAEC7k+isiuoL0zkm40/v1qIEK+B7QFNVMR jyqbYDh0nxDGz0KeKX0/iajy4DYrKmfY44xUd9XpIzqrhyYNYkt5oRj4gCmJ1TNINl4XaH QWCqMWy1lo3W7hW6lDcz/IHVtaaetAWkoub+M7FMZQwj+wsZG/cUZ9ydfJzZmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617375907; a=rsa-sha256; cv=none; b=W04ZN9ymWCwNHGcxm3I0rg9MslyDfOj1dDzbWVNW96NpcaNsklqZLwJOFYBPUSUSxxAuhB sra9ePfXQrE0E93olerTI6oVUfp04y4Ue/GTqfk5PLSBUG+ctLjxO83Oc4rKP2DIGte5Zf JOIQXMB5R5R24rMUDBq8vjsbNgB5jLBKL/490FIE8LCqKK4uvPmLuCXxFq1rdHIrLf/8IT 3HImeJv86UxDTuu74ONGjiA0M5T6y9Tk+WyTGBUkJLM3O/PwBFJXuxMeMor+5GI/JIViEU P1kBIwsK2oKIAzeAQdcRus6IRkFvnZgsNtyj6VBmCZgjlJ0OB2ZjSlmSo9AcFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7600B169F2 X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: EsDxpvA6clrs Hello, Timothy writes: > * lisp/ox-latex.el (org-latex-format-headline-default-function): Convert > any instances of \verb text with \texttt. This is required to work > around LaTeX peculiarities that would otherwise cause compilation to > fail (see the code comment for more information). This is not the appropriate location for the fix. In `section-back-end' variable within `org-latex-headline', you can extend the local export back-end to handle correctly verbatim markup. Regards, -- Nicolas Goaziou