PATCH Libgpg-error] yat2m: Parse @dots{} to show ellipsis in HTML mode.

Ben Kibbey bjk at luxsci.net
Mon Nov 6 01:03:07 CET 2023


Hello,

I wasn't sure if pushing this patch would be alright or not because of
the UTF-8 character embedded in it and whether it is acceptable or not.


>From 9b378b684a760a27031a05f0ba60fe3a6e8b3b90 Mon Sep 17 00:00:00 2001
From: Ben Kibbey <bjk at luxsci.net>
Date: Sun, 5 Nov 2023 15:53:19 -0800
Subject: [PATCH Libgpg-error] yat2m: Parse @dots{} to show ellipsis in HTML
 mode.

* doc/yat2m.c (proc_texi_cmd): Add "dots" to comamnd table and output
  "..." in manpages and ellipsis in HTML mode.

Signed-off-by: Ben Kibbey <bjk at luxsci.net>
---
 doc/yat2m.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/yat2m.c b/doc/yat2m.c
index b5978e4..103e5ce 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -1314,6 +1314,7 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
     { "end",     4 },
     { "quotation",1, ".RS\n\\fB" },
     { "value", 8 },
+    { "dots", 0, "...", NULL, "…" },
     { NULL }
   };
   size_t n;
-- 
2.42.0


-- 
Ben Kibbey



More information about the Gnupg-devel mailing list