From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: Bug: org-mime-htmlize generates unwanted equations numbers in mail [9.2.5 (release_9.2.5-521-gdea0c7 @ /home/oub/emacs/site-lisp/packages/org/)] Date: Sat, 02 Nov 2019 10:38:04 +0100 Message-ID: <87ftj6r537.fsf@mat.ucm.es> References: <87tv7o6nki.fsf@mat.ucm.es> <87imo37lay.fsf@mat.ucm.es> <87pniapzk9.fsf@dell-desktop.WORKGROUP> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35997) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQpzM-0004Ol-7j for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 05:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQprU-0007n8-4o for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 05:38:26 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:36944 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iQprT-0007Pn-Ry for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 05:38:24 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1iQprK-000Agp-2E for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 10:38:14 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>> "TM" =3D=3D Thibault Marin writes: > Hi, > I think I wrote some of that code, I was not trying to support > "unnumbered" environments. If I understand correctly, this is what you > are trying to get. > The attached patch attempts to solve this. Currently, `displaymath' a= nd > `*' environments do not get numbers, I am not sure if there are other > environments that should not get numbers; please let me know if you ha= ve > others in mind. Thanks very much, I pulled the latest master, applied your patch, compiled and installed, and everything works *now* as expected. The only environments without numbers which I use regularly are. align* and sometimes eqnarray* but these are all covered > If you (and others) could test and/or review the patch, we could > probably get it merged at some point. That would be great, thanks again @Eric, I wonder why you did not get these numbers without the patch! Uwe=20 --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEPEw ggXYMIIDwKADAgECAhBMqvnK22Nv4B/3TthbA4adMA0GCSqGSIb3DQEBDAUAMIGFMQswCQYDVQQG EwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYD VQQKExFDT01PRE8gQ0EgTGltaXRlZDErMCkGA1UEAxMiQ09NT0RPIFJTQSBDZXJ0aWZpY2F0aW9u IEF1dGhvcml0eTAeFw0xMDAxMTkwMDAwMDBaFw0zODAxMTgyMzU5NTlaMIGFMQswCQYDVQQGEwJH QjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQK ExFDT01PRE8gQ0EgTGltaXRlZDErMCkGA1UEAxMiQ09NT0RPIFJTQSBDZXJ0aWZpY2F0aW9uIEF1 dGhvcml0eTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJHoVJLSClaxrA0k3cXPRGd0 mSs3o30jcABxvFPfxPoqEo9LfxBWvZ9wcrdhf8lLDxenPeOwBGHu/xGXx/SGPgr6Plz5k+Y0etkU a+ecs4Wggnp2r3GQ1+z9DfqcbPrfsIL0FH75vsSmL09/mX+1/GdDcr0MANaJ62ss0+2PmBwUq37l 42782Kjk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