Re: [chem] more on bonds and arrows

Norwid Behrnd <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <20251209233121.050111a2@debian>
Dear Branden, Dear Hans

attached to this email is a patch to correct file atp.chem for the molecular
composition of the molecule, i.e. the missing nitrogen atom.  As suggested by
Branden, as a basis for discussion.  After January, once Hans' additional bond
types enter chem, an additional revision to yield a more contemporary
depiction could be sensible.

Regards,
Norwid
0001-chem-correct-molecular-composition-of-ATP.patch (text/x-patch, 1.6 KB)
From d0a6b7d58fd37e233f5d13f887dd32c73609e0d8 Mon Sep 17 00:00:00 2001
From: Norwid Behrnd <[email protected]>
Date: Tue, 9 Dec 2025 22:21:47 +0100
Subject: [PATCH] [chem]: correct molecular composition of ATP

The previous depiction of the ATP molecule omitted a nitrogen atom
in the pyrimidine moiety.  This commit aims to close bug #67792.

https://savannah.gnu.org/bugs/index.php?67792

Signed-off-by: Norwid Behrnd <[email protected]>
---
 contrib/chem/examples/atp.chem | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/contrib/chem/examples/atp.chem b/contrib/chem/examples/atp.chem
index 738c4da3c..546a37555 100644
--- a/contrib/chem/examples/atp.chem
+++ b/contrib/chem/examples/atp.chem
@@ -9,7 +9,8 @@ atp.chem:
 # Found at http://www.chemindustry.com/apps/chemicals.
 
 # Copyright (C) 2006-2020 Free Software Foundation, Inc.
-# Written by Bernd Warken <[email protected]>.
+# Written by Bernd Warken <[email protected]>,
+# corrected missing nitrogen atom by Norwid Behrnd <[email protected]>.
 
 # This file is part of 'chem', which is part of 'groff'.
 
@@ -25,8 +26,9 @@ atp.chem:
 # The GPL2 license text is available in the internet at
 # <http://www.gnu.org/licenses/gpl-2.0.html>.
 
-R1:	ring5 pointing left double 1,2 3,4 put N at 2 put N at 5
-B:	benzene put N at 2 with .V6 at R1.V3 with .V5 at R1.V4
+R1:	ring5 pointing left double 1,2 put N at 2 put N at 5
+B:	ring6 put N at 2 put N at 4 double 1,2 3,4 5,6 \
+		with .V6 at R1.V3 with .V5 at R1.V4
 	bond up ; NH2
 	backbond 170 length .7 from R1.V5
 R2:	ring5 pointing down with .V2 put O at 1
-- 
2.51.0
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHQEARYKAB0WIQRZkSHu8As6fMVf16KNxGccaSbfUwUCaTijOQAKCRCNxGccaSbf
U1FnAPd3PTYQYwElamR9MmFVNx5uJYyAq9NUGnYRh1PK0AgGAP9JFGaEenFFSc6t
1Z4SRITbSaHez/lv4SfJXahamnDJDA==
=uOVp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.