diff options
author | Christopher Baines <mail@cbaines.net> | 2019-06-16 15:36:24 +0100 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2019-06-18 10:05:55 -0400 |
commit | 4c1901b90ff457c274bec7bfca27568de3930c17 (patch) | |
tree | 6c65dc686317d1ee9b8eb2fa821ddee498e4000e /module | |
parent | 78b261d376520c02173ea4310efd61855acec9ed (diff) |
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.
Diffstat (limited to 'module')
-rw-r--r-- | module/texinfo/html.scm | 4 |
1 files changed, 4 insertions, 0 deletions
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) |