I want a clickable copy to clipboard feature in my PDF document. Ideally the macro also allows for graphical elements to be embedded inside them (say, a button that will automatically copy paste something).

EDIT: An acrobat only solution will work too.

  • Possibly related: tex.stackexchange.com/questions/117792/… – 1010011010 May 1 '14 at 10:48
  • 6
    There is the \Acrobatmenu command from hyperref package, but apart from printing, saving-as and open I did not manage to get other options working, although there are some of them, as written in the hyperref manual, amongst them Copy etc. Perhaps, H. Oberdiek knows more ;-) – user31729 May 1 '14 at 21:05
  • Which clipboard? And which PDF viewer? – cfr May 4 '14 at 19:34
  • 3
    That's already platform-specific. OS X doesn't use ctrl+c. (At least in Aqua - can't remember about X11 assuming it still supports that.) I guess Windows does. GNU/Linux may or may not depending on how it is set up. I'm guessing if this is possible, it will be viewer-specific and maybe only possible in acroread, maybe with javascript enabled. Like Christian Hupfer, I never had any luck getting this kind of thing working with hyperref but take a look - it is certainly a while since I tried it. – cfr May 4 '14 at 19:38
  • 1
    @Euryris: Here is the HTML version of the hyperref manual, for example: ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/latex/…, please take a look on section 5 Acrobat-specific behavior – user31729 May 6 '14 at 16:42

Your Answer

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

Browse other questions tagged or ask your own question.