Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/share/tmac Pull up following revision(s) (requested by uw...



details:   https://anonhg.NetBSD.org/src/rev/d6976226209a
branches:  netbsd-9
changeset: 843638:d6976226209a
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 09 12:46:32 2019 +0000

description:
Pull up following revision(s) (requested by uwe in ticket #519):

        share/tmac/doc2html: revision 1.69

Use groff -Tencoding argument to emit <meta charset="..."/>

diffstat:

 share/tmac/doc2html |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 5aeadfcd5886 -r d6976226209a share/tmac/doc2html
--- a/share/tmac/doc2html       Sun Dec 08 15:54:34 2019 +0000
+++ b/share/tmac/doc2html       Mon Dec 09 12:46:32 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.67.16.1 2019/11/26 08:56:51 martin Exp $
+.\" $NetBSD: doc2html,v 1.67.16.2 2019/12/09 12:46:32 martin Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -263,9 +263,17 @@
 .      fl
 ..
 .em end-macro
+.
+.\" map groff -Tencoding argument to the charset name
+.ie     '\*(.T'ascii'  .ds html-charset US-ASCII
+.el .ie '\*(.T'latin1' .ds html-charset ISO-8859-1
+.el .ie '\*(.T'utf8'   .ds html-charset UTF-8
+.el .ab unsupported encoding \*(.T
+.
 .de init-html
 <html>
 <head>
+       <meta charset="\\*[html-charset]"/>
        <title>
                \\*[document-title]\\$*
                \\*[title-section]



Home | Main Index | Thread Index | Old Index