1
# Copyright (C) 2000-2003 Peter Selinger.
2
# This file is part of ccrypt. It is free software and it is covered
3
# by the GNU general public license. See the file COPYING for details.
5
s/^\.TH \([^ ]*\) \([^ ]*\) "\([^"]*\)" .*$/<html><body bgcolor=#ffffff><title>Man page for \1(\2)<\/title><h1>Man page for \1(\2)<\/h1>/
6
s/^\.SH \(.*\)$/<h3>\1<\/h3>/
9
s/^\.TP \([0-9]*\)/<dl><dt>__sed_gaga__/
10
s/^\.TP$/<p><dt>__sed_gaga__/
13
s/^\.IP$/<table border=0><tr><td width=30><\/td><td>/
14
s/^\.LP$/<\/td><\/tr><\/table>/
15
s/^\.B \(.*\)$/<b>\1<\/b>/
16
s/__sed_gaga__\n\.B \(.*\)$/<b>\1<\/b><dd>/
17
s/__sed_gaga__/<!oops>/
18
s/^\.I \(.*\)$/<i>\1<\/i>/
19
s/^\.\\" \(.*\)/<!--\1-->/
22
s/\\fI\([^\\]*\)\\fP/<i>\1<\/i>/g
23
s/\\fB\([^\\]*\)\\fP/<b>\1<\/b>/g