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 yK2lKoh04WPCVAEAbAwnHQ (envelope-from ) for ; Mon, 06 Feb 2023 22:43:36 +0100 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 6PCSKoh04WO9HQAA9RJhRA (envelope-from ) for ; Mon, 06 Feb 2023 22:43:36 +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 5F4081990F for ; Mon, 6 Feb 2023 22:43:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP9GJ-0007ae-Dn; Mon, 06 Feb 2023 16:42:55 -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 1pP9GG-0007aU-QD for emacs-orgmode@gnu.org; Mon, 06 Feb 2023 16:42:53 -0500 Received: from mr85p00im-ztdg06021701.me.com ([17.58.23.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP9GB-000303-OR for emacs-orgmode@gnu.org; Mon, 06 Feb 2023 16:42:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1675719765; bh=51XNec2bFrVAq4atqRfS12sY2WDbANaE5osRAm5SplY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=MWMevhP7huZM0CYAWiwToA0f54bWKCUO69ohVjwks+zmNN7T1UPuHcJAHjC/sUHdd 3reQi37YbLbxzFm8TyDzGd77c8CfugaPWtSQWv4WA4TxgXQTNks8vsDkGm9RX74c4O 8Nl3KsReKKzP/V0MaokwIsjQ5LRgCuugL5Cg3j1UgP5ldCiemREvEOOnXYVlMxE8w3 WliZXyXDBejUySLh78ekeDpecqfzRxcqG/353xgSvLc58p5BMyFCa5QvUml47WwwUe vzSkyJtUkn0RjOHVR1PB+XpOI3vwkjaCQormlQCG7xb/g1u5JpiPj0W5blws32jxeL /mLtEKJZ1LY+A== Received: from localhost.localdomain (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021701.me.com (Postfix) with ESMTPSA id 8C7312633E92; Mon, 6 Feb 2023 21:42:44 +0000 (UTC) From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Cc: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Subject: [PATCH] ox-texinfo: Fix invalid syntax in Texinfo version detection code Date: Mon, 6 Feb 2023 22:42:16 +0100 Message-Id: <20230206214216.64841-1-salutis@me.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: CkYiAj-L6tXAV8mZIGZC6JvxBBAkxIl0 X-Proofpoint-ORIG-GUID: CkYiAj-L6tXAV8mZIGZC6JvxBBAkxIl0 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.572,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-14=5F01:2022-01-14=5F01,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 clxscore=1015 mlxscore=0 bulkscore=0 suspectscore=0 mlxlogscore=954 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2302060189 Received-SPF: pass client-ip=17.58.23.196; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06021701.me.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.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=1675719816; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=51XNec2bFrVAq4atqRfS12sY2WDbANaE5osRAm5SplY=; b=eSpH/7e/oqpfGUyfspr7xO9HM4TQ62OLHqfy1HABjey1Yi5iPFda2+2rwzatFtAeog9gjW kbPE+jL++6Kxz96aoZk3Ummp+BaAzClExXzkpoKQ6N/e6shdgqGGjLLEui4QxSO4vFUTZ+ 6VOTwcJMKosJp6XdcHs+zOR+q+9jcjyVp19TYaCLJxXzxIfwP7NplB4ddprk/7mGUVvufO kqMEQvE6ReQLAC523MOHQomi4oTnGC6l4o6aRQdi/3+rUeLyxb6nK9DCa766Li9T8h1Yhr 0VRy3kSYx71PWK7Eg6pXpoNx1ofyILJ/4wXEQpN8AI8q6SRuMM4vsOaZTVx7QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=MWMevhP7; 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=quarantine) header.from=me.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675719816; a=rsa-sha256; cv=none; b=DRne2hTT+s5+9tRfL4hoIJgiD8ZfElffZsMkIPDSeMiggALcVU/yDQp25MpmNxC4jBHKBW QwZ/3Cn///KEUhZieth3vfew2oRNKmBAWNFlJVp+0HHSZShImU+wH0Ccv3bzLQ6q8N3lDN wkayaMcTDNqz/Z7dtMxa9oEkN1IuacITo5jsYwl0y7v1o+uFhT281cd8RZXIDGaKgvYoNN eR+xCr3J0TqRu8r3GasB+1b9ys1UlfXMK5hvn/HRZSw0HdJYpnUIrkLQNWoL9Uk1KGKYK/ Wv0VP5U5KN57i4UUteW4xcYGKqpE9jUIJlLSV/tT3jOD2T9p0Jbg3QKDZcdAug== X-Migadu-Spam-Score: -5.97 X-Spam-Score: -5.97 X-Migadu-Queue-Id: 5F4081990F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=MWMevhP7; 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=quarantine) header.from=me.com X-TUID: HiPSMszsTSdd * lisp/ox-texinfo.el (org-texinfo-supports-math-p): Fix the incorrect syntax @displaymath{1 + 1 = 2} used to detect whether Texinfo supports TeX "math mode". Instead, use the correct syntax @math{1 + 1 = 2}. --- lisp/ox-texinfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 8e3a04562..7ee4bc533 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -2030,7 +2030,7 @@ Once computed, the results remain cached." (input-content (concat (format "@setfilename %s" input-file) "\n" "@node Top" "\n" - (format "@displaymath{%s}" math-example) "\n"))) + (format "@math{%s}" math-example) "\n"))) (with-temp-file input-file (insert input-content)) (let* ((output-file (org-texinfo-compile input-file)) -- 2.39.0