[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: stexi->shtml: Add support for @i, @math, @tie and
From: |
Mark H. Weaver |
Subject: |
[Guile-commits] 01/01: stexi->shtml: Add support for @i, @math, @tie and @dots. |
Date: |
Tue, 18 Jun 2019 10:10:35 -0400 (EDT) |
mhw pushed a commit to branch stable-2.2
in repository guile.
commit 4c1901b90ff457c274bec7bfca27568de3930c17
Author: Christopher Baines <address@hidden>
Date: Sun Jun 16 15:36:24 2019 +0100
stexi->shtml: Add support for @i, @math, @tie and @dots.
* 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 6a07cff..d505d7f 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)