[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix texinfo->html for @i, @math, @tie and @dots
From: |
Christopher Baines |
Subject: |
[PATCH] Fix texinfo->html for @i, @math, @tie and @dots |
Date: |
Sun, 16 Jun 2019 15:36:24 +0100 |
* 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 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/module/texinfo/html.scm b/module/texinfo/html.scm
index 6a07cffce..d505d7f12 100644
--- a/module/texinfo/html.scm
+++ b/module/texinfo/html.scm
@@ -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)
--
2.21.0