1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

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.
This commit is contained in:
Christopher Baines 2019-06-16 15:36:24 +01:00 committed by Mark H Weaver
parent 78b261d376
commit 4c1901b90f

View file

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