From 4c1901b90ff457c274bec7bfca27568de3930c17 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 16 Jun 2019 15:36:24 +0100 Subject: 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(+) (limited to 'module') 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) -- cgit v1.2.3