Convert wget.texi to UTF-8

* doc/wget.texi: convert to UTF-8 by adding @documentencoding
* doc/Makefile.am: Pass argument --utf8 to pod2man.
This commit is contained in:
Rohan Prinja 2015-03-17 00:00:53 +05:30 committed by Giuseppe Scrivano
parent d0f406a13f
commit 8d4bb928b9
3 changed files with 26 additions and 122 deletions

View File

@ -57,7 +57,7 @@ wget.pod: $(srcdir)/wget.texi version.texi
$(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@ $(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@
$(MAN): wget.pod $(MAN): wget.pod
$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@ $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" --utf8 $? > $@
#wget.cat: $(MAN) #wget.cat: $(MAN)
# nroff -man $? > $@ # nroff -man $? > $@

View File

@ -315,6 +315,8 @@ die "No filename or title\n" unless defined $fn && defined $tl;
$sects{NAME} = "$fn \- $tl\n"; $sects{NAME} = "$fn \- $tl\n";
$sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES}; $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
print "=encoding utf-8\n\n";
for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT EXITSTATUS for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT EXITSTATUS
FILES BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) { FILES BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) {
if(exists $sects{$sect}) { if(exists $sects{$sect}) {

View File

@ -2,6 +2,7 @@
@c %**start of header @c %**start of header
@setfilename wget.info @setfilename wget.info
@documentencoding UTF-8
@include version.texi @include version.texi
@settitle GNU Wget @value{VERSION} Manual @settitle GNU Wget @value{VERSION} Manual
@c Disable the monstrous rectangles beside overfull hbox-es. @c Disable the monstrous rectangles beside overfull hbox-es.
@ -59,11 +60,11 @@ Texts. A copy of the license is included in the section entitled
@title GNU Wget @value{VERSION} @title GNU Wget @value{VERSION}
@subtitle The non-interactive download utility @subtitle The non-interactive download utility
@subtitle Updated for Wget @value{VERSION}, @value{UPDATED} @subtitle Updated for Wget @value{VERSION}, @value{UPDATED}
@author by Hrvoje Nik@v{s}i@'{c} and others @author by Hrvoje Nikšić and others
@ignore @ignore
@c man begin AUTHOR @c man begin AUTHOR
Originally written by Hrvoje Niksic <hniksic@xemacs.org>. Originally written by Hrvoje Nikšić <hniksic@xemacs.org>.
@c man end @c man end
@c man begin SEEALSO @c man begin SEEALSO
This is @strong{not} the complete manual for GNU Wget. This is @strong{not} the complete manual for GNU Wget.
@ -4101,12 +4102,7 @@ me).
@section Contributors @section Contributors
@cindex contributors @cindex contributors
@iftex GNU Wget was written by Hrvoje Nikšić @email{hniksic@@xemacs.org},
GNU Wget was written by Hrvoje Nik@v{s}i@'{c} @email{hniksic@@xemacs.org},
@end iftex
@ifnottex
GNU Wget was written by Hrvoje Niksic @email{hniksic@@xemacs.org}.
@end ifnottex
However, the development of Wget could never have gone as far as it has, were However, the development of Wget could never have gone as far as it has, were
it not for the help of many people, either with bug reports, feature proposals, it not for the help of many people, either with bug reports, feature proposals,
@ -4146,14 +4142,8 @@ portability fixes.
Gordon Matzigkeit---@file{.netrc} support. Gordon Matzigkeit---@file{.netrc} support.
@item @item
@iftex Zlatko Čalušić, Tomislav Vujec and Dražen
Zlatko @v{C}alu@v{s}i@'{c}, Tomislav Vujec and Dra@v{z}en Kačar---feature suggestions and ``philosophical'' discussions.
Ka@v{c}ar---feature suggestions and ``philosophical'' discussions.
@end iftex
@ifnottex
Zlatko Calusic, Tomislav Vujec and Drazen Kacar---feature suggestions
and ``philosophical'' discussions.
@end ifnottex
@item @item
Darko Budor---initial port to Windows. Darko Budor---initial port to Windows.
@ -4163,21 +4153,11 @@ Antonio Rosella---help and suggestions, plus the initial Italian
translation. translation.
@item @item
@iftex Tomislav Petrović, Mario Mikočević---many bug reports and
Tomislav Petrovi@'{c}, Mario Miko@v{c}evi@'{c}---many bug reports and
suggestions. suggestions.
@end iftex
@ifnottex
Tomislav Petrovic, Mario Mikocevic---many bug reports and suggestions.
@end ifnottex
@item @item
@iftex François Pinard---many thorough bug reports and discussions.
Fran@,{c}ois Pinard---many thorough bug reports and discussions.
@end iftex
@ifnottex
Francois Pinard---many thorough bug reports and discussions.
@end ifnottex
@item @item
Karl Eichwalder---lots of help with internationalization, Makefile Karl Eichwalder---lots of help with internationalization, Makefile
@ -4240,12 +4220,7 @@ Wanderlei Cavassin,
Gilles Cedoc, Gilles Cedoc,
Tim Charron, Tim Charron,
Noel Cragg, Noel Cragg,
@iftex Kristijan Čonkaš,
Kristijan @v{C}onka@v{s},
@end iftex
@ifnottex
Kristijan Conkas,
@end ifnottex
John Daily, John Daily,
Andreas Damm, Andreas Damm,
Ahmon Dancy, Ahmon Dancy,
@ -4255,27 +4230,12 @@ Alexander Dergachev,
Andrew Deryabin, Andrew Deryabin,
Ulrich Drepper, Ulrich Drepper,
Marc Duponcheel, Marc Duponcheel,
@iftex Damir Džeko,
Damir D@v{z}eko,
@end iftex
@ifnottex
Damir Dzeko,
@end ifnottex
Alan Eldridge, Alan Eldridge,
Hans-Andreas Engel, Hans-Andreas Engel,
@iftex Aleksandar Erkalović,
Aleksandar Erkalovi@'{c},
@end iftex
@ifnottex
Aleksandar Erkalovic,
@end ifnottex
Andy Eskilsson, Andy Eskilsson,
@iftex João Ferreira,
Jo@~{a}o Ferreira,
@end iftex
@ifnottex
Joao Ferreira,
@end ifnottex
Christian Fraenkel, Christian Fraenkel,
David Fritz, David Fritz,
Mike Frysinger, Mike Frysinger,
@ -4300,25 +4260,10 @@ Richard Huveneers,
Jonas Jensen, Jonas Jensen,
Larry Jones, Larry Jones,
Simon Josefsson, Simon Josefsson,
@iftex Mario Jurić,
Mario Juri@'{c}, Hack Kampbjørn,
@end iftex
@ifnottex
Mario Juric,
@end ifnottex
@iftex
Hack Kampbj@o rn,
@end iftex
@ifnottex
Hack Kampbjorn,
@end ifnottex
Const Kaplinsky, Const Kaplinsky,
@iftex Goran Kezunović,
Goran Kezunovi@'{c},
@end iftex
@ifnottex
Goran Kezunovic,
@end ifnottex
Igor Khristophorov, Igor Khristophorov,
Robert Kleine, Robert Kleine,
KOJIMA Haime, KOJIMA Haime,
@ -4327,31 +4272,14 @@ Alexander Kourakos,
Martin Kraemer, Martin Kraemer,
Sami Krank, Sami Krank,
Jay Krell, Jay Krell,
@tex Σίμος Ξενιτέλλης (Simos KSenitellis),
$\Sigma\acute{\iota}\mu o\varsigma\;
\Xi\varepsilon\nu\iota\tau\acute{\epsilon}\lambda\lambda\eta\varsigma$
(Simos KSenitellis),
@end tex
@ifnottex
Simos KSenitellis,
@end ifnottex
Christian Lackas, Christian Lackas,
Hrvoje Lacko, Hrvoje Lacko,
Daniel S.@: Lewart, Daniel S.@: Lewart,
@iftex Nicolás Lichtmeier,
Nicol@'{a}s Lichtmeier,
@end iftex
@ifnottex
Nicolas Lichtmeier,
@end ifnottex
Dave Love, Dave Love,
Alexander V.@: Lukyanov, Alexander V.@: Lukyanov,
@iftex Thomas Lußnig,
Thomas Lu@ss{}nig,
@end iftex
@ifnottex
Thomas Lussnig,
@end ifnottex
Andre Majorel, Andre Majorel,
Aurelien Marchand, Aurelien Marchand,
Matthew J.@: Mellon, Matthew J.@: Mellon,
@ -4372,31 +4300,15 @@ Leonid Petrov,
Simone Piunno, Simone Piunno,
Andrew Pollock, Andrew Pollock,
Steve Pothier, Steve Pothier,
@iftex Jan Přikryl,
Jan P@v{r}ikryl,
@end iftex
@ifnottex
Jan Prikryl,
@end ifnottex
Marin Purgar, Marin Purgar,
@iftex Csaba Ráduly,
Csaba R@'{a}duly,
@end iftex
@ifnottex
Csaba Raduly,
@end ifnottex
Keith Refson, Keith Refson,
Bill Richardson, Bill Richardson,
Tyler Riddle, Tyler Riddle,
Tobias Ringstrom, Tobias Ringstrom,
Jochen Roderburg, Jochen Roderburg,
@c Texinfo doesn't grok @'{@i}, so we have to use TeX itself. Juan José Rodríguez,
@tex
Juan Jos\'{e} Rodr\'{\i}guez,
@end tex
@ifnottex
Juan Jose Rodriguez,
@end ifnottex
Maciej W.@: Rozycki, Maciej W.@: Rozycki,
Edward J.@: Sabol, Edward J.@: Sabol,
Heinz Salzmann, Heinz Salzmann,
@ -4423,12 +4335,7 @@ Dave Turner,
Gisle Vanem, Gisle Vanem,
Rabin Vincent, Rabin Vincent,
Russell Vincent, Russell Vincent,
@iftex Željko Vrba,
@v{Z}eljko Vrba,
@end iftex
@ifnottex
Zeljko Vrba,
@end ifnottex
Charles G Waldman, Charles G Waldman,
Douglas E.@: Wegscheid, Douglas E.@: Wegscheid,
Ralf Wildenhues, Ralf Wildenhues,
@ -4437,12 +4344,7 @@ Benjamin Wolsey,
Saint Xavier, Saint Xavier,
YAMAZAKI Makoto, YAMAZAKI Makoto,
Jasmin Zainul, Jasmin Zainul,
@iftex Bojan Ždrnja,
Bojan @v{Z}drnja,
@end iftex
@ifnottex
Bojan Zdrnja,
@end ifnottex
Kristijan Zimmer, Kristijan Zimmer,
Xin Zou. Xin Zou.