Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

beamer loop after last page

87 views
Skip to first unread message

Jean-Jacques Rétorré

unread,
Sep 8, 2007, 4:58:24 AM9/8/07
to

How can I set the Acrobat Reader "loop after last page" option from
within my beamer source document ?

Alexander Grahn

unread,
Sep 19, 2007, 10:40:13 AM9/19/07
to
On Sep 8, 10:58 am, Jean-Jacques Rétorré <jj.reto...@ouanadoulp.fr>
wrote:

> How can I set the Acrobat Reader "loop after last page" option from
> within my beamer source document ?

Put the following code to the preamble:

LaTeX (dvips):

\special{!
mark {Catalog} <<
/OpenAction <<
/S/JavaScript/JS (app.fs.loop=true;)
>>
/AA <<
/WC <<
/S/JavaScript/JS (app.fs.loop=false;)
>>
>>
>> /PUT pdfmark
}

pdfLaTeX:

\pdfcatalog{
/OpenAction <<
/S/JavaScript/JS (app.fs.loop=true;)
>>
/AA <<
/WC <<
/S/JavaScript/JS (app.fs.loop=false;)
>>
>>
}

Alexander

Alexander Grahn

unread,
Sep 20, 2007, 6:29:02 AM9/20/07
to
The previously suggested code didn't work. Here is a modified version:

pdfLaTeX:
\hypersetup{pdfstartpage=1}
\pdfcatalog{


/AA <<
/WC <<
/S/JavaScript/JS (app.fs.loop=false;)
>>
>>
}

\pdfpageattr{
/AA <<
/O <<
/S/JavaScript/JS (app.fs.loop=true;)
>>
>>
}

LaTeX (DVI):
\hypersetup{pdfstartpage=1}
\special{!
mark {Catalog} <<


/AA <<
/WC <<
/S/JavaScript/JS (app.fs.loop=false;)
>>
>>
>> /PUT pdfmark

mark {Page1} <<
/AA <<
/O <<
/S/JavaScript/JS (app.fs.loop=true;)
>>
>>
>> /PUT pdfmark
}

Alexander

Jean-Jacques Rétorré

unread,
Sep 20, 2007, 8:26:05 AM9/20/07
to
Alexander Grahn <a.g...@fz-rossendorf.de> disait le 09/20/07 que :

Great !
Thank you really much.

0 new messages