mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-08 23:58:51 +00:00
doc/texi2pod: fix encoding type
docs say: 'A document having more than one "=encoding" line should be considered an error. ' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
72d44f1583
commit
12ce58bebd
@ -327,10 +327,11 @@ die "No filename or title\n" unless defined $fn && defined $tl;
|
|||||||
$chapters{NAME} = "$fn \- $tl\n";
|
$chapters{NAME} = "$fn \- $tl\n";
|
||||||
$chapters{FOOTNOTES} .= "=back\n" if exists $chapters{FOOTNOTES};
|
$chapters{FOOTNOTES} .= "=back\n" if exists $chapters{FOOTNOTES};
|
||||||
|
|
||||||
|
# always use utf8
|
||||||
|
print "=encoding utf8\n\n";
|
||||||
|
|
||||||
unshift @chapters_sequence, "NAME";
|
unshift @chapters_sequence, "NAME";
|
||||||
for $chapter (@chapters_sequence) {
|
for $chapter (@chapters_sequence) {
|
||||||
# always use utf8
|
|
||||||
print "=encoding utf8\n";
|
|
||||||
if (exists $chapters{$chapter}) {
|
if (exists $chapters{$chapter}) {
|
||||||
$head = uc($chapter);
|
$head = uc($chapter);
|
||||||
print "=head1 $head\n\n";
|
print "=head1 $head\n\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user