stexi->shtml: Add support for @i, @math, @tie and @dots.
authorChristopher Baines <mail@cbaines.net>
Sun, 16 Jun 2019 14:36:24 +0000 (15:36 +0100)
committerMark H Weaver <mhw@netris.org>
Tue, 18 Jun 2019 14:05:55 +0000 (10:05 -0400)
* module/texinfo/html.scm (tag-replacements): Add support for @i
and @math.  The tags used come from the texinfo documentation.
(rules): Convert @tie and @dots to the appropriate HTML entities.

module/texinfo/html.scm

index 6a07cffcecf32b237ea163a9f77cff69f2ad5588..d505d7f126d22708dcbeb89772c8b233d7336361 100644 (file)
@@ -203,9 +203,11 @@ name, @code{#}, and the node name."
 
     (asis         span)
     (bold         b)
+    (i            i)
     (sample       samp)
     (samp         samp)
     (code         code)
+    (math         em)
     (kbd          kbd)
     (key          code (@ (class "key")))
     (var          var)
@@ -241,6 +243,8 @@ name, @code{#}, and the node name."
                                           (cons tag body)))))))
     (copyright . ,(lambda args '(*ENTITY* "copy")))
     (result    . ,(lambda args '(*ENTITY* "rArr")))
+    (tie       . ,(lambda args '(*ENTITY* "nbsp")))
+    (dots      . ,(lambda args '(*ENTITY* "hellip")))
     (xref . ,ref) (ref . ,ref) (pxref . ,ref)
     (uref . ,uref)
     (node . ,node) (anchor . ,node)