Janne Grunau
fc5cdc0d53
doc: escape left brace in texi2pod.pl regex
...
Unescaped literal left braces are deprecated and a warning was added in
Perl 5.22.
8 years ago
James Almer
e43ea1cbb2
doc/texi2pod: fix an unescaped left brace
...
This silences some deprecation warnings
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Timothy Gu
5faca08caf
texi2pod: Handle @verbatim
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Luca Barbato
94f084324e
texi2pod: Make it output a single encoding string
...
Intermixing =encoding utf-8 in the file can confuse some pod2man
implementations.
10 years ago
Luca Barbato
be59675add
doc: Change the multitable rendering in texi2pod
...
Makes it working better for our documentation purposes.
11 years ago
Michael Niedermayer
12ce58bebd
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>
11 years ago
Janne Grunau
5ea14d48a8
texi2pod: always declare the pod file as UTF-8 encoded
11 years ago
Timothy Gu
474db7a696
doc/texi2pod: make references bold
...
Inspired by GCC r86635.
This is more consistent with other man pages. For example in `man git`,
all the "git-help(1)" kind of cross refs are bold.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
7b05845b15
doc: Try to find nonstandard Perl path from the environment
11 years ago
Stefano Sabatini
c838701ce4
doc/texi2pod.pl: skip printing chapter names if they are disabled
12 years ago
Stefano Sabatini
9167db3829
doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
...
Fix potential spurious substitution.
12 years ago
Stefano Sabatini
c0c06c1bba
doc/texi2pod: fix warnings introduced in e7e14bc69a
...
The variable "$section" was replaced by "$chapter".
12 years ago
Luca Barbato
5ea5ffc9ce
doc: support multitable in texi2pod
12 years ago
Stefano Sabatini
c499d45c6b
doc/texipod: add rule to correctly interpret @ref{ANCHOR,XREF,SECTION_NAME,...}
...
This allows to name an internal reference in the POD/MAN output.
12 years ago
Stefano Sabatini
ca3d786227
doc/texi2pod: rework man inclusion logic
...
Ignore @c man begin ... @c man end comments, rely on @chapter for marking
the beginning of the various manual top level sections.
This allows us to write markup which is not dependent on the specific
texi2pod.pl implementation.
This change causes a few rendering issues, which will be fixed in further
patches.
12 years ago
Stefano Sabatini
1f9855dbc1
doc/texi2pod: correctly handle @url commands in the form @url{URL,...}
...
Ignore the other arguments, which have not to be processed by the POD
renderer.
12 years ago
Stefano Sabatini
f14e248783
doc/texi2pod: add support to @ifhtml and @ifnothtml directives
...
With these commands it is possible to add HTML and non-HTML snippets,
which will be useful for the "See Also" manual chapters.
12 years ago
Nicolas George
ee2d6fbc92
doc/texi2pod: recognize @table @command .
12 years ago
Stefano Sabatini
ce875a613a
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 .
12 years ago
Stefano Sabatini
3239382aef
doc/texi2pod: add "use warnings" directive
...
The script was previously run with perl -w through the shebang
command. Now that the script is executed through direct perl invocation
the -w in the shebang command is ignored. This patch re-enables "use
warnings" whatever way the script is invoked.
Idea-By: jamal <jamrial@gmail.com>
12 years ago
Mans Rullgard
b8b207e896
doc: texi2pod: add -I flag
...
This allows specifying additional directories to search for
@include files.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
4c98976124
doc: replace @pxref by @ref where appropriate
14 years ago
Justin Ruggles
7f0e747b8c
support @heading , @subheading , @subsubheading , and @subsubsection in
...
texi2pod.pl
14 years ago
Stefano Sabatini
60445a0995
Remove @anchor{} commands from the POD output.
...
This allows to use the @xref{} command for the HTML output.
Originally committed as revision 25854 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4db960650c
Make texi2pod.pl process @include texinfo directives wherever they are
...
placed, and not only if inside @c man begin/end sections.
Originally committed as revision 23544 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
22cb270ca5
Tweak texi2pod.pl to make it print the various sections in the
...
generated document following the same order as that used in the texi
file.
Also allow rendering of *all* the sections, not only a limited
predefined subset.
Originally committed as revision 23543 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
299b8be2ec
Remove a rule triggered by @man begin WORD WORDS. This rule only
...
outputs the section if WORDS has been defined in the list of options
flags.
The meaning of this rule is not clear, and not used by the FFmpeg
documentation system anyway.
Originally committed as revision 23542 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
19da45f22b
Make texi2pod.pl look for section "AUTHORS" rather than "AUTHOR", as
...
the corresponding sections in the man page have been renamed that way.
Originally committed as revision 23493 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
acbdbf815a
Make texi2pod.pl accept @itemize commands with no following character
...
or texinfo command for specifying how to generate @item marks, and
make it use by default the mark symbol "*".
This is consistent with texinfo docs:
"If you don't specify a mark command, the default is `@bullet'."
Originally committed as revision 23408 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Fabrice Bellard
e99c4e1037
added ffplay documentation - added automatic man page generation for ffmpeg, ffserver and ffplay
...
Originally committed as revision 2136 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago