From dc7f05dae74fa73a7223bdd0a254e400c9beab0b Mon Sep 17 00:00:00 2001 From: Joris van der Hoeven Date: Thu, 9 May 2019 13:40:10 +0000 Subject: [PATCH] Extra possibilities to customize the HTML export --- main/convert/html/man-html.en.tm | 34 ++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/main/convert/html/man-html.en.tm b/main/convert/html/man-html.en.tm index 2d597de..f38572e 100644 --- a/main/convert/html/man-html.en.tm +++ b/main/convert/html/man-html.en.tm @@ -1,4 +1,4 @@ - + > @@ -57,12 +57,22 @@ You may also use the following macros: <\indent> - <\explain|> - Associate a CSS class to the content . + <\explain> + + + + <|explain> + Associate a CSS class to the content , optionally inside + a separate tag. - <\explain|> - Associate a CSS style to the content . + <\explain> + + + + <|explain> + Associate a CSS style to the content , optionally inside + a separate tag. <\explain|> @@ -74,6 +84,18 @@ + In addition, given a macro , you may customize the rendering + of the tag when exporting to by defining a macro + with the same number of arguments. For instance, by + putting the declaration + + <\tm-fragment> + >>>> + + + inside your style file, all strong text will be exported to + using a bold red font. + also contains a rudimentary input converter for in @@ -93,7 +115,7 @@ In the binary distributions, we have included . - +