From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kIe9JYiRXmK6KgEAbAwnHQ (envelope-from ) for ; Tue, 19 Apr 2022 12:40:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0MLiJYiRXmK20AAA9RJhRA (envelope-from ) for ; Tue, 19 Apr 2022 12:40:08 +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 1294D2C10C for ; Tue, 19 Apr 2022 12:40:08 +0200 (CEST) Received: from localhost ([::1]:44620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nglHC-00041A-PY for larch@yhetil.org; Tue, 19 Apr 2022 06:40:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglCr-0002WK-Tb for emacs-orgmode@gnu.org; Tue, 19 Apr 2022 06:35:38 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglCp-0004xU-Tn for emacs-orgmode@gnu.org; Tue, 19 Apr 2022 06:35:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0E5B9240108 for ; Tue, 19 Apr 2022 12:35:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1650364533; bh=Q4nK57e/RlFcN1mZBcx+Az07/gRafzVZxXbUUQspFoM=; h=From:To:Subject:Autocrypt:Date:From; b=NEOCJeh6xYXEYNTTeh+/Yc5QK+rQZj1GIeaueCmgReBSOHhxJ2NVLpS8m1ZBvDghQ 5cCK5zSHM2OTSyi9Mt05uXs0LDGyouER83KDNoxr4TsqkEeNbA20IxD7ajr5vAiROG 0kWVV8cED9VIAyo1+3HptqODqC0VzF9IxqIdD0YvpjBjqSu3HkuXdu5XcDHf71pPzP GaZSAh9fAVGrjmva+ZyzA9nI1f4hlPmXrUl6IUhKsJlABFOxz+9U4Rvk7K+5N20+fQ cs9bj3G338HzkFZ9bXBncPkow6dMq+YyUC/vR6ElqQyAIhpY1JpeDhj/lcHloxOWge 3ExCEES/9hydw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KjKvS3Xkqz9rxV for ; Tue, 19 Apr 2022 12:35:32 +0200 (CEST) From: Philip Kaludercic To: emacs-orgmode@gnu.org Subject: Fixing the automatic generation of Tex info node names Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Tue, 19 Apr 2022 10:35:26 +0000 Message-ID: <878rs1tl75.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650364808; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=BMddnS0ZWTNku2g9gJozD9lvp6HBQphGSYfKCoL8GtY=; b=AHXudsMTc6NxfkVJyCgj/DmB132M+rhqdr0rrOLserngfkeTgFK6ohGlVRy1bhcJ0nurJQ oI3k97V3IS4+qvPCX/mBYAONp6VlXAgRyakWXIAqb2HuF3PMAxOxjBWsUsOAg7nNwapth9 xwmBbWgrhESvrYxaMpsDkK/9OKU4s9PzWt6lApNuwm4qffXUMq7sLWlthJ/k2LLS/+1gY3 FxP9w6Qm2cPQoGaf4WfXdX93b7HgtafsqdWfJOQlTPSSwQW6q7IJWRN0BqMWESzuOBlFnU YtmFtu4D9DuTD+n4oSrkPVX5elLt/QBy/zHjut6umTZxXacwn2/bIuZSdcjT1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650364808; a=rsa-sha256; cv=none; b=UQC9JsFCTFdwYAkQklkEo0BsQuD87rsovwvzm/sTdf0qd1oh8yRpHmE6d1vzAERjX6GZtP JIHcNhB8hMs+SLTwi++JA4VOMyZsWONB6QrCuq4jHfoJtYKi7ZkJTyVngx9YEW+hif5xTk FAX1I/Ngi8xcky9aSHijBSiSZXcCwGSOchPkj9Lsj511i+ALkAQ6vEXkovRLAg9hjxRUMp 8UGjSeJsoMpqj/YUJ62uOj3ts1kFK13qIW67YaWa7IV4rVSJmBVjsNKr/LfhizZRsrYNPr b6wF9786QXK4WwznI3M6ykZUH1lfyRWw2xu02aWZRkLEimV83d2JydeG8ldWEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NEOCJeh6; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.24 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NEOCJeh6; dmarc=pass (policy=none) header.from=posteo.net; 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: 1294D2C10C X-Spam-Score: -4.24 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9EJPux7KFv08 --=-=-= Content-Type: text/plain For some reason ox-texinfo removes periods from node names. It seems this is not necessary as info can render these files without any issues, and in certain cases not intended (e.g. I had a node named "Emacs 28.1" and it was abbreviated to "Emacs 281"). This patch should resolve the issue: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-ox-texinfo-Allow-for-periods-in-node-names.patch >From f9a8d9738cb118939a8307bf13f63ec5950bd59b Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Tue, 19 Apr 2022 12:17:40 +0200 Subject: [PATCH] ox-texinfo: Allow for periods in node names * ox-texinfo.el (org-texinfo--sanitize-node): Don't remove periods from node names. --- 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 a01bb268c..3a2c4791b 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -555,7 +555,7 @@ periods, commas and colons." (replace-regexp-in-string "[ \t]+" " " (replace-regexp-in-string - "[:,.]" "" + "[:,]" "" (replace-regexp-in-string "\\`(\\(.*?)\\)" "[\\1" title))))) (defun org-texinfo--sanitize-title (title info) -- 2.30.2 --=-=-= Content-Type: text/plain -- Philip Kaludercic --=-=-=--