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

                 Summary: [mm] ML list item vertical space not suppressed when
third ML argument is given
                   Group: GNU roff
               Submitter: afh
               Submitted: Tue 17 Feb 2026 08:28:01 PM UTC
                Category: Macro package mm
                Severity: 3 - Normal
              Item Group: Rendering/Cosmetics
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 17 Feb 2026 08:28:01 PM UTC By: Alexis <afh>
According to groff_mm(7) the ML macro supports a third argument with which the
vertical space before included list items can be suppressed.

While this works as expected in groff 1.23.0:

groff -Tutf8 -P-cbou -mm mwe-ml-svs.mm | cat -s

       

       This  is  an  mm  document with nested ML marked lists using
       vertical space suppression.

       Saturday

            □ Morning
            □ Noon
            □ Evening

       Sunday

            □ Morning
            □ Noon
            □ Evening



 the output of the same document produced with groff 1.24.0-rc3 differs  in
the following:

* the pre-item space is still present
* the list items are not indented

groff -Tutf8 -P-cbou -mm mwe-ml-svs.mm | cat -s 

       

       This  is  an  mm  document with nested ML marked lists using
       vertical space suppression.

       Saturday

        □ Morning

        □ Noon

        □ Evening

       Sunday

        □ Morning

        □ Noon

        □ Evening


Possibly I misunderstand documentation, yet I'd expect that passing 0 as a
third argument to ML would omit the vertical space suppression, which does not
seem to be the case for neither groff 1.23.0 nor groff 1.24.0-rc3. I'm
mentioning this here as it is somewhat related, if I misread the docs or a
separate bug report is preferred, please let me know.






    _______________________________________________________
File Attachments:

Name: mwe-ml-svs.mm                  Size: 258B
    <https://file.savannah.gnu.org/file/mwe-ml-svs.mm?file_id=58256>



    AGPL NOTICE

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

    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to