orthonym.rules.acid_salt_anions#

Note

Internal API. Names and behaviour may change between releases.

Partially ionized polycarboxylic acids on one monocyclic ring method (1)).

orthonym.rules.acid_salt_anions.name_ring_acid_salt_anion(mol, anion_site)#

method (1) (heading **** “Acid salts of polybasic organic acids are named in two ways”, the Blue Book) for a partially ionized polycarboxylic acid whose ionized carboxy groups stand on one monocyclic ring: “(1) by substitutive nomenclature in which the free acid is cited as a prefix to the name of the anion” (:31593), and “Method (1) generates preferred IUPAC names, except when the structure of the acid salt is unknown.” (:31596). The anion is senior to the acid, ‘4 Anions’ before ‘7 Acids’,:18167), so the ionized groups are the suffix and each un-ionized group is the ‘carboxy’ prefix: ‘2-carboxybenzoate’ for O=C([O-])c1ccccc1C(=O)O, ‘4-carboxybenzoate’ for the terephthalate, ‘3-carboxypyridine-2-carboxylate’. The retained ‘benzoic acid’ is the parent of a benzene ring with one ionized group,:29717, ‘C6H5-COOH benzoic acid (PIN)’); any other ring, or two or more ionized groups, takes the ‘-carboxylate’ / ‘-dicarboxylate’ suffix on the parent hydride.

ONE numbering for the whole name, the one the zwitterion builder uses: the ring heteroatoms, the indicated hydrogen, then the ionized groups (the suffix, (c)), then the prefixes (:3219; _charged_ring_locants with the ionized attachment atoms as the centres); every other substituent is cited in it by _p74_ring_substituent_prefix and the stem is the ring with every substituent deleted (_p74_bare_ring_stem). Declines (‘’) for a fused or bridged ring (no simple cycle), a ring system that is not the only ring, any charge outside the ionized groups, stereochemistry, a substituent the authoritative namer cannot spell, and a molecule that is not partially ionized. The name ships only when OPSIN reads it back to mol with the hydrons on the same atoms.

orthonym.rules.acid_salt_anions.name_acetate_acid_salt_anion(mol, anion_site)#

method (1) (the Blue Book) for the one carboxylate of a partially ionized acid that is the acetate of ‘X-CH2-COO(-)’ with X an oxygen, sulfur or nitrogen atom: the anion is the parent and every un-ionized acid group is the prefix ‘carboxy’ (‘[bis(carboxymethyl)amino]acetate’ for the nitrilotriacetic acid mono-anion, ‘(carboxymethoxy)acetate’, ‘[(carboxymethyl)sulfanyl]acetate’).

“Method (1) generates preferred IUPAC names, except when the structure of the acid salt is unknown.” (:31596); “(1) by substitutive nomenclature in which the free acid is cited as a prefix to the name of the anion” (:31593); the anion is senior to the acid, ‘4 Anions’ before ‘7 Acids’,:18167) and “Choice of an anionic parent structure” (:41261) takes the parent with the anionic centre first (:41265). The neutral acid names these molecules multiplicatively (‘2,2’,2’’-nitrilotriacetic acid,, a name whose suffixes are all the acid’s, so the name of the fully ionized anion has more charges than the input. Here the one anionic centre has no parent but the chain of two carbons, since the atom X ends the chain: acetic acid, retained as the PIN and substitutable,:29715), so ‘acetate’,:40955) with the group on X as its prefix, cited without a locant for the only position of the parent that can carry it. Declines (‘’) for any other shape: the group’s namer is the authoritative substituent namer, and the name ships only when OPSIN reads it back to mol with the hydrons on the same atoms.

The label is the PIN’s (the maintainers’ ruling of 2026-11-01): condition (3) (:23184) leaves multiplicative nomenclature out, since an ‘ate’ and an ‘ic acid’ are two parents, so method (1) (:31596) gives the PIN. The project’s PIN vocabulary flags a ‘carboxymethyl’ on an acetic ACID only (pin_vocabulary._CARBOXYMETHYL_ON_ACETIC).

orthonym.rules.acid_salt_anions.name_sulfonate_acid_salt_anion(mol)#

method (1) (the Blue Book) for an unbranched carbon chain with one -SO3H and one -SO3(-) on its two ends: “the free acid is cited as a prefix to the name of the anion”, ‘HO3S-CH2-CH2-SO3(-)’ ‘2-sulfoethane-1-sulfonate’, as ‘potassium 6-carboxyhexanoate (PIN)’ (:31602) for the carboxylic acids. The anion carbon takes locant 1 (the suffix). ‘’ outside that shape.

orthonym.rules.acid_salt_anions.name_dicarboxylate_acid_salt_anion(mol)#

method (1) (the Blue Book) for an unbranched carbon chain that ends in two -COO(-) groups and carries one -COOH on an inner carbon: the dianion is the parent and the free acid its ‘carboxy’ prefix, ‘2-carboxybutanedioate’. The structure is known from the drawing, so method (1) gives the PIN; method (2) (‘hydrogen…tricarboxylate’,:31612) is for a salt whose structure is unknown. ‘’ outside that shape.