summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-17 14:35:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-17 14:35:42 (GMT)
commitf88225f6fb8117aa9462dc7975e9babf2dcf60c9 (patch)
treebc1938cc590a2f5f45ccf35f72c71b571e5878c4 /tools
parent32e54c35045cd5fccf41c90ecee81be122e750a0 (diff)
downloadtcl-f88225f6fb8117aa9462dc7975e9babf2dcf60c9.zip
tcl-f88225f6fb8117aa9462dc7975e9babf2dcf60c9.tar.gz
tcl-f88225f6fb8117aa9462dc7975e9babf2dcf60c9.tar.bz2
Extend tcltk-man2html-utils.tcl a little more: Allow original AT&T syntax for more accented characters, and add support for some ligatures. Use this in re_syntax.n
Diffstat (limited to 'tools')
-rw-r--r--tools/tcltk-man2html-utils.tcl13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/tcltk-man2html-utils.tcl b/tools/tcltk-man2html-utils.tcl
index e207434..5b2a831 100644
--- a/tools/tcltk-man2html-utils.tcl
+++ b/tools/tcltk-man2html-utils.tcl
@@ -188,17 +188,26 @@ proc process-text {text} {
{\(bu} "&bull;" \
{\(fm} "&prime;" \
{\(mi} "&minus;" \
+ {\(.i} "&imath;" \
+ {\(.j} "&jmath;" \
+ {\(Fn} "&fnof;" \
+ {\(OE} "&OElig;" \
+ {\(oe} "&oelig;" \
+ {\(IJ} "&IJlig;" \
+ {\(ij} "&ijlig;" \
+ {\(<-} "<font size=\"+1\">&larr;</font>" \
{\(->} "<font size=\"+1\">&rarr;</font>" \
{\(eu} "&euro;" \
{\fP} {\fR} \
{\.} . \
]
# This might make a few invalid mappings, but we don't use them
- foreach c {a c e i n o u y A C E I N O U Y} {
+ foreach c {a c e g i l n o s t u y z A C E G I L N O S T U Y Z} {
foreach {prefix suffix} {
- o ring / slash : uml ' acute ^ circ ` grave ~ tilde , cedil
+ o ring / slash : uml ' acute ^ circ ` grave ~ tilde , cedil v caron
} {
lappend charmap "\\\[${prefix}${c}\]" "&${c}${suffix};"
+ lappend charmap "\\(${prefix}${c}" "&${c}${suffix};"
}
}
lappend charmap {\-\|\-} -- ; # two hyphens