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 5: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 7: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
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 1:18
  • @crf Seems tdclock also works with Foxit Reader, but I did not test myself as I don't have windows: tex.stackexchange.com/questions/321075/… – user36296 Aug 14 '16 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.