Because of Werner's answer I now found the comp.text.tex
post
https://groups.google.com/d/msg/comp.text.tex/kYnAVKbuq50/vZZFuBK1mlMJ
which provides the following code. It uses PDF low-level commands to loop after the last page. This is basically the same as the viewer setting in Werner's answer, but part of the PDF. It works for me under Ubuntu Linux 11.04 with Adobe Reader 9.4.2. No idea if this is viewer dependent. At the very least the viewer must support some basic javascript.
Put the following in the preamble of the beamer
document:
\hypersetup{pdfstartpage=1}
\pdfcatalog{
/AA <<
/WC <<
/S/JavaScript/JS (app.fs.loop=false;)
>>
>>
}
\pdfpageattr{
/AA <<
/O <<
/S/JavaScript/JS (app.fs.loop=true;)
>>
>>
}
An alterntive solution I figured by browsing other beamer
questions is to use
impressive
to show the PDF file. Using the -w
option the PDF is repeated and the transient time can be set using -a 5
. However, this tool converts the PDF to an image which adds some small but ugly white frame at the lower and right site. Also I really prefer to stay with only PDF to keep things simple.
\transduration
is a wrapper around thehyperref
keypdfpageduration
(which does not seem to be documented). I suspect what you need here is a PDF special.evince
opening (in the background,&
) an
th page with--page-index=<n>
,sleep <m>
seconds then going to next page, ad nauseam. I'm very curious on a possible TeX solution.