gbranden pushed a commit to branch master
in repository groff.

commit 8762547275918a307338d6f98ecbc989e772a422
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Dec 27 14:43:36 2023 -0600

    [mm]: Support pic(1) pictures when formatting HTML.
    
    * contrib/mm/m.tmac (PS): Call `HTML-IMAGE` at end of macro definition.
    * contrib/mm/m.tmac (PY): Call `HTML-IMAGE-END` at end of macro
      definition.  (`PE` calls `PY`, and so is also handled.)
    
    Fixes https://savannah.gnu.org/bugs/?65047> (1/2).  Thanks to Hans
    Bezemer and Dave Kemper for the report.
    
    ANNOUNCE: Acknowledge Hans.
---
 ANNOUNCE             |  1 +
 contrib/mm/ChangeLog | 11 +++++++++++
 contrib/mm/m.tmac    |  2 ++
 3 files changed, 14 insertions(+)

diff --git a/ANNOUNCE b/ANNOUNCE
index 54ecab5b9..97a835ccb 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -169,6 +169,7 @@ Doug McIlroy
 Eloi Montañés
 Frederic Chartier
 Gavin Smith
+Hans Bezemer
 Heinz-Jürgen Oertel
 Ingo Schwarze
 Lennart Jablonka
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 0d9bacdcb..95a32776d 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,14 @@
+2023-12-27  G. Branden Robinson <[email protected]>
+
+       Support pic(1) pictures when formatting HTML.
+
+       * m.tmac (PS): Call `HTML-IMAGE` at end of macro definition.
+       * m.tmac (PY): Call `HTML-IMAGE-END` at end of macro definition.
+       {`PE` calls `PY`, and so is also handled.}
+
+       Fixes https://savannah.gnu.org/bugs/?65047> (1/2).  Thanks to
+       Hans Bezemer and Dave Kemper for the report.
+
 2023-08-31  G. Branden Robinson <[email protected]>
 
        Rename test scripts for consistency.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 0e1e94ffa..f4b5c36de 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -2509,9 +2509,11 @@ exceeds depth of nested lists (\\n[li*lvl])
 .br
 .SP .5
 .if r ds*format .if !\\n[ds*lvl] .ne (u;\\$1)+1v
+.HTML-IMAGE
 ..
 .de PY
 .init@reset
+.HTML-IMAGE-END
 ..
 .de PE
 .PY

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to