TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to have a bookmark with a link to open the attachments pane? If you carefully read hyperref packege you'll see that the \Acrobatmenu alows you to have links that enables you to open and show a lot of menus and options in Adobe Acrobat. But I don't see any attachments pane option.

Is it possible? Is there any workaround or way to achieve this?

I've also looked with javascript but I can't find any info regarding this :(

From this excelent site you can see the available options for \Acrobatmenu:

enter image description here

Thanks for the help

share|improve this question
up vote 10 down vote accepted

Officially the PDF format (specification) only supports four named actions: NextPage, PrevPage, FirstPage, LastPage.

It depends on the PDF viewer, which other non-standard actions might be supported.

The JavaScript API reference lists names in the description of method execMenuItem of object app. There the name ShowHideFileAttachment can be found. It does open the attachment tab, if it was closed, and closes it, if it was opened.


% \hypersetup{pdfpagemode=UseAttachments}
\Acrobatmenu{ShowHideFileAttachment}{Show/hide file attachments}
]{Show/hide file attachments}  

An alternative to open the attachment tab is the PageMode setting that is only used, when the document is opened:


Combinations with other tabs (bookmarks/thumbs/...) are not defined in the PDF specification.

share|improve this answer
It is not possible to use a \Acrobatmenu 'button' from your hyperref package then to open/close the Attachment pane? – Christian Hupfer May 14 '14 at 18:23
@ChristianHupfer: It's pretty much the same. I have added it to the example. – Heiko Oberdiek May 14 '14 at 18:30
I have to praise you Heiko!! You always have the (correct) answer! Amazing! You truly are the PDF guru! That worked like a charm! – Pedro May 14 '14 at 18:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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