From: Bruno Haible Date: Mon, 3 Apr 2006 11:25:06 +0000 (+0000) Subject: In HTML, use Unicode quotation marks. X-Git-Tag: v0.15~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc78252fabca4e6d2693b6a670692922d9fd622a;p=thirdparty%2Fgettext.git In HTML, use Unicode quotation marks. --- diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog index f4a357967..7d8d7048e 100644 --- a/gettext-runtime/libasprintf/ChangeLog +++ b/gettext-runtime/libasprintf/ChangeLog @@ -1,3 +1,9 @@ +2006-04-01 Bruno Haible + + * texi2html: Add option -expandtex. Expand @ifhtml by default, not + @ifinfo. Use Unicode quotation marks instead of grave and acute + accents. Emit charset=UTF-8 declaration. Bump version number to 1.52b. + 2006-01-22 Bruno Haible * vasnprintf.c (VASNPRINTF): In the computation of the size of the diff --git a/gettext-runtime/libasprintf/texi2html b/gettext-runtime/libasprintf/texi2html index e5e3d165e..9e7e82c01 100755 --- a/gettext-runtime/libasprintf/texi2html +++ b/gettext-runtime/libasprintf/texi2html @@ -9,9 +9,12 @@ # # #-############################################################################## -# @(#)texi2html 1.52a 01/05/98 Written (mainly) by Lionel Cons, Lionel.Cons@cern.ch +# @(#)texi2html 1.52b 01/05/98 Written (mainly) by Lionel Cons, Lionel.Cons@cern.ch # 1.52a: Use acute accent instead of apostrophe. Add support for ISO-8859-1 # characters with cedilla, circumflex etc. +# 1.52b: Add option -expandtex. Expand @ifhtml by default, not @ifinfo. +# Use Unicode quotation marks instead of grave and acute accents. +# Emit charset=UTF-8 declaration. # The man page for this program is included at the end of this file and can be # viewed using the command 'nroff -man texi2html'. @@ -39,7 +42,7 @@ $NODESRE = '[^@{}:\'`"]+'; # RE for a list of node names $XREFRE = '[^@{}]+'; # RE for a xref (should use NODERE) $ERROR = "***"; # prefix for errors and warnings -$THISPROG = "texi2html 1.52a"; # program name and version +$THISPROG = "texi2html 1.52b"; # program name and version $HOMEPAGE = "http://wwwinfo.cern.ch/dis/texi2html/"; # program home page $TODAY = &pretty_date; # like "20 September 1993" $SPLITTAG = "\n"; # tag to know where to split @@ -315,6 +318,7 @@ $debug = 0; $doctype = ''; $check = 0; $expandinfo = 0; +$expandtex = 0; $use_glossary = 0; $invisible_mark = ''; $use_iso = 0; @@ -329,7 +333,8 @@ $usage = < $header + $_ @@ -1906,7 +1936,7 @@ sub print_toplevel_footer { print FILE <texi2html -translator version 1.52a.

+translator version 1.52b.

EOT &print_footer; } @@ -1990,8 +2020,8 @@ The HTML files created by .I texi2html are closer to TeX than to Info, that's why .I texi2html -converts @iftex sections and not @ifinfo ones by default. You can reverse -this with the \-expandinfo option. +converts @ifhtml sections and not @ifinfo or @iftex ones by default. You can +change this with the \-expandinfo or \-expandtex options. .SH OPTIONS .TP 12 .B \-check @@ -2001,7 +2031,10 @@ This may be used to check the output of to find the Texinfo commands that have been left in the HTML file. .TP .B \-expandinfo -Expand @ifinfo sections, not @iftex ones. +Expand @ifinfo sections, not @ifhtml ones. +.TP +.B \-expandtex +Expand @iftex sections, not @ifhtml ones. .TP .B \-glossary Use the section named 'Glossary' to build a list of terms and put links in the HTML @@ -2079,7 +2112,7 @@ without any modification. .B @end ifhtml This indicates the end of an HTML section. .SH VERSION -This is \fItexi2html\fP version 1.52a, 01/05/98. +This is \fItexi2html\fP version 1.52b, 01/05/98. .PP The latest version of \fItexi2html\fP can be found in WWW, cf. URL http://wwwinfo.cern.ch/dis/texi2html/ @@ -2100,7 +2133,4 @@ HyperText Markup Language (HTML), World Wide Web (WWW). .SH BUGS This program does not understand all Texinfo commands (yet). -.PP -TeX specific commands (normally enclosed in @iftex) will be -passed unmodified. .ex