[FFmpeg-devel] [PATCH 06/19] Make texi2pod.pl use by default the symbol "*" for @itemized list.

Stefano Sabatini stefano.sabatini-lala
Tue Jun 1 16:01:09 CEST 2010


On date Tuesday 2010-05-04 19:52:05 +0200, Stefano Sabatini encoded:
> This is consistent with texinfo docs:
> "If you don't specify a mark command, the default is `@bullet'."
> ---
>  doc/texi2pod.pl |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
> index c414ffc..62719f3 100755
> --- a/doc/texi2pod.pl
> +++ b/doc/texi2pod.pl
> @@ -241,10 +241,10 @@ while(<$inf>) {
>          and $_ = "\n=head3 $1\n";
>  
>      # Block command handlers:
> -    /^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
> +    /^\@itemize(\s+(\@[a-z]+|\*|-))?/ and do {
>          push @endwstack, $endw;
>          push @icstack, $ic;
> -        $ic = $1;
> +        $ic = $2 ? $2 : "*";
>          $_ = "\n=over 4\n";
>          $endw = "itemize";
>      };

Applied a simpler variant.
-- 
FFmpeg = Fast and Funny Mere Powerful EnGraver



More information about the ffmpeg-devel mailing list