2

I find some errors when using \usepackage[timeinterval=1]{tdclock}while opening the SumatraPDF.

As zeniko says

The tdclock package only works in PDF readers supporting JavaScript, which SumatraPDF currently doesn't and likely never will.

so I want to find the package like tdclock which can be used in SumatraPDF

Ps: tdclock is used in beamer to show the clock.

  • 2
    There won't be. – Ch'en Meng Oct 25 '13 at 05:16
  • 1
    You are looking in the wrong direction. No package can introduce Javascript into SumatraPDF. If you really need it, you have to use Acroread for a while. – percusse Oct 25 '13 at 07:53
  • 1
    @percusse So how about making time not using Javascript? I don't care about whether to use the Javascript. I only want to add the time in the beamer. Thanks – ytyyutianyun Oct 25 '13 at 14:06

1 Answers1

3

Your wish seems hardly possible. PDF is a static document which does not go very well along with displaying dynamic things like clocks.

However there are some possibilities:

  • Could you give an example of another viewer which supports Javascript? Especially useful would be something which works on platforms where Acroread is not (or no longer) supported. – cfr Aug 14 '16 at 01:18
  • @crf Seems tdclock also works with Foxit Reader, but I did not test myself as I don't have windows: http://tex.stackexchange.com/questions/321075/beamer-pdf-presentation-viewer-to-play-embedded-videos-and-show-elapsed-time – samcarter_is_at_topanswers.xyz Aug 14 '16 at 10:58