Opened 7 years ago

Closed 7 years ago

#1610 closed defect (fixed)

texi2pod removes backslashes

Reported by: ubitux 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 Changed 7 years ago by ubitux

  • Component changed from undetermined to documentation
  • Owner set to stefano
  • Summary changed from texi2pod removes backslahes to texi2pod removes backslashes

comment:2 Changed 7 years ago by saste

  • Reproduced by developer set
  • Status changed from new to open

comment:3 Changed 7 years ago by saste

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 Changed 7 years ago by saste

  • Analyzed by developer set
  • Keywords texi2pod pod texi added
  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.