Opened 12 years ago

Closed 12 years ago

#1610 closed defect (fixed)

texi2pod removes backslashes

Reported by: Clément Bœsch Owned by: stefano
Priority: normal Component: documentation
Version: unspecified Keywords: manpages texi2pod pod texi
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

While HTML FFmpeg documentation output is OK, the manpage has some backslashes issues:

[~/src/ffmpeg]☭ grep "select='" doc/filters.texi
select='eq(pict_type\,I)'
select='not(mod(n\,100))'
select='gte(t\,10)*lte(t\,20)'
select='gte(t\,10)*lte(t\,20)*eq(pict_type\,I)'
select='isnan(prev_selected_t)+gte(t-prev_selected_t\,10)'
ffmpeg -i video.avi -vf select='gt(scene\,0.4)',scale=160:120,tile -frames:v 1 preview.png
[~/src/ffmpeg]☭ ./doc/texi2pod.pl -Idoc doc/ffmpeg.texi doc/ffmpeg.pod
[~/src/ffmpeg]☭ grep "select='" doc/ffmpeg.pod
	select='eq(pict_type,I)'
	select='not(mod(n,100))'
	select='gte(t,10)*lte(t,20)'
	select='gte(t,10)*lte(t,20)*eq(pict_type,I)'
	select='isnan(prev_selected_t)+gte(t-prev_selected_t,10)'
	ffmpeg -i video.avi -vf select='gt(scene,0.4)',scale=160:120,tile -frames:v 1 preview.png

The backslashes disappeared and thus are not displayed in the manpage.

Change History (4)

comment:1 by Clément Bœsch, 12 years ago

Component: undetermineddocumentation
Owner: set to stefano
Summary: texi2pod removes backslahestexi2pod removes backslashes

comment:2 by Stefano Sabatini, 12 years ago

Reproduced by developer: set
Status: newopen

comment:3 by Stefano Sabatini, 12 years ago

Should be fixed in:

commit ce875a613a16b06b0a561774955111f7a24d12bb
Author: Stefano Sabatini <stefasab@gmail.com>
Date:   Wed Oct 24 16:39:32 2012 +0200

    doc/texi2pod.pl: drop unnecessary rule, which was converting "\," to ","
    
    I cannot find a reason for such a rule, which was resulting in badly
    escaped filtergraph snippets.
    
    Fix trac ticket #1610.

comment:4 by Stefano Sabatini, 12 years ago

Analyzed by developer: set
Keywords: texi2pod pod texi added
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.