diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-01 16:15:29 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-01 16:15:29 -0700 |
commit | 64d83c2f6f774ff0810cea26ed28085d852c794e (patch) | |
tree | 070e3d70064f0452e6a9391dcd9ccdab26cbd9b0 /genman.txr | |
parent | 598998780af78b12363a815e08887d6df735b7cd (diff) | |
download | txr-64d83c2f6f774ff0810cea26ed28085d852c794e.tar.gz txr-64d83c2f6f774ff0810cea26ed28085d852c794e.tar.bz2 txr-64d83c2f6f774ff0810cea26ed28085d852c794e.zip |
* genman.txr: Use filter for mapping month digits to names.
Added comment about where to find the right man2html.
Diffstat (limited to 'genman.txr')
-rw-r--r-- | genman.txr | 47 |
1 files changed, 9 insertions, 38 deletions
@@ -1,3 +1,11 @@ +@# This requires the man2html which was originally known as vh-man2html +@# and is now part of manutils. +@# See here: http://primates.ximian.com/~flucifredi/man/ +@# It does not work with that other man2html written in Perl. +@(deffilter month_name + ("01" "Jan") ("02" "Feb") ("03" "Mar") ("04" "Apr") + ("05" "May") ("06" "Jun") ("07" "Jul") ("08" "Aug") + ("09" "Sep") ("10" "Oct") ("11" "Nov") ("12" "Dec")) Content-type: text/html @(skip 15) <H1>txr</H1> @@ -20,50 +28,13 @@ txr - text extractor @VERSION @(until) This document was created by @(end) -@(maybe) -@ (bind MONTH "01") -@ (bind MNAME "Jan") -@(or) -@ (bind MONTH "02") -@ (bind MNAME "Feb") -@(or) -@ (bind MONTH "03") -@ (bind MNAME "Mar") -@(or) -@ (bind MONTH "04") -@ (bind MNAME "Apr") -@(or) -@ (bind MONTH "05") -@ (bind MNAME "May") -@(or) -@ (bind MONTH "06") -@ (bind MNAME "Jun") -@(or) -@ (bind MONTH "07") -@ (bind MNAME "Jul") -@(or) -@ (bind MONTH "08") -@ (bind MNAME "Aug") -@(or) -@ (bind MONTH "09") -@ (bind MNAME "Sep") -@(or) -@ (bind MONTH "10") -@ (bind MNAME "Oct") -@(or) -@ (bind MONTH "11") -@ (bind MNAME "Nov") -@(or) -@ (bind MONTH "12") -@ (bind MNAME "Dec") -@(end) @(output) <HTML> <FONT FACE="courier"> <HEAD><TITLE>Manpage for txr @VERSION</TITLE> </HEAD><BODY> <H2>Manpage for <A HREF="#lbAB">Txr </a>@VERSION</H2> -<H2>@MNAME @DAY, @YEAR</H2> +<H2>@{MONTH :filter month_name} @DAY, @YEAR</H2> @(repeat) @TOC @(end) |