URL:
  <https://savannah.gnu.org/bugs/?67922>

                 Summary: [chem]: revision of morphine.chem
                   Group: GNU roff
               Submitter: nbehrnd
               Submitted: Fri 16 Jan 2026 11:25:01 PM UTC
                Category: Macro package - others/general
                Severity: 3 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 16 Jan 2026 11:25:01 PM UTC By: Norwid Behrnd <nbehrnd>
The structure the example file morphine.chem depicts does not match what one
expects by the name of the file.  Prior to file a patch here, I would get in
touch with the maintainers here to identify what is best approach for chem.

1) In the depiction in current morphine.chem, two nitrogen atoms are partially
stroke-through; though this can be corrected (correction.chem, attached below)
it would be better to pick up the code block about the molecule's structure
(according to git blame by Werner Lemberg) with an extension of the structure.
 To keep the lineage and git history, I could imagine to run a `git mv
morphine.chem mepacrine.chem` followed by an additional step to adjust the
code block about the structure.

The intended structure would be the one as in file redraw_mepacrine.chem
attached.  As mepacrine.chem (and a structure amended by an atom of chlorine),
the interested could more easily relate to this one than structure currently
depicted "as morphine" in morphine.chem because there is for instance a
dedicated article on Wikipedia (https://en.wikipedia.org/wiki/Mepacrine).

2) Since the file name of morphine.chem already is introduced, it  equally is
possible to indeed provide this as an example (see real_morphine.chem).  Which
would be a somewhat more advanced example of how to use chem for instance for
the construction of some of two of the rings (lines 15-16; 18-22).  Naturally,
this would fit best into a file morphine.chem

At present, I think the mepacrine.chem file (option 1) should not  be on
expense of morphine.chem (option 2).  Instead, I could see chem to ship with
both example files as part of the documentation.  However, what do you
consider most suitable for chem within groff?








    _______________________________________________________
File Attachments:

Name: correction.chem                Size: 635B
    <https://file.savannah.gnu.org/file/correction.chem?file_id=58121>

Name: redraw_mepacrine.chem          Size: 671B
    <https://file.savannah.gnu.org/file/redraw_mepacrine.chem?file_id=58122>

Name: real_morphine.chem             Size: 593B
    <https://file.savannah.gnu.org/file/real_morphine.chem?file_id=58123>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c0e7328b0919e9b907c12a3a42c8f9bea29fbc0e.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67922>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to