=pod

=head1 NAME

impressive-gettransitions - Generate Impressive info scripts for LaTeX presentations

=head1 SYNOPSIS

B<impressive-gettransitions> I<FILE.tex>

=head1 DESCRIPTION

A simple script to produce a .info file for use with Impressive, using
special comments in a LaTeX/Beamer file. I<FILE.tex> is a file to be parsed
into .info file. For each /fullpath/blah.tex /fullpath/blah.pdf.info
gets produced.

=head1 SYNTAX

In the LaTeX document, B<impressive-gettransitions> counts the pages to
determine the PDF slide number of each one.

The simpler page changes are automatically detected, that is:
    \begin{frame}
and:
    \pause

Other, more elaborated page changes must be noted with a C<%O> comment:
    \item<1-> Foo
    \item<2-> Bar %O

The transition to apply can be specified in a C<%O> comment:
    \begin{frame} %O SlideUp

=head1 OPERATION

When the .info file corresponding to the LaTeX document already exist,
B<impressive-gettransitions> does not clear it, but only adds the transitions
if finds to it.

Thus, if you modified your document in a way that requires to completely
replace the transitions, manually clear the I<PageProps> section of the .info
file. This can be done by running the following B<sed> command:
    sed -i -e "/^PageProps = {/,/^}/d" I<FILE.info>

=head1 SEE ALSO

impressive(1)

=head1 AUTHOR

impressive-gettransitions (originally gettransitions) has been written
by Rob Reid.

This manpage has been originally written by Yaroslav Halchenko <debian@onerussian.com>.

=cut
