![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
Hans, sorry for insisting in this issue. Here is the sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext \startbuffer[abc] hola μαριόλα \stopbuffer This PDF document contains a visible attachment.\attachment[name=hidden.txt, title={χαλεπὰ τὰ καλά}, author=ConTeXt, subtitle=χαλεπὰ τὰ καλά, method=hidden, buffer=abc] This PDF document should contain the same hidden attachment (under a different name\attachment[name=visible.txt, title={χαλεπὰ τὰ καλά}, author=ConTeXt, subtitle=χαλεπὰ τὰ καλά, method=visible, buffer=abc]. \stoptext I attach the patch. With the previous sample, it is clear that the buffer keyword is needed in method=hidden. Many thanks for your help, Pablo On 05/29/2017 08:29 PM, Pablo Rodriguez wrote:
Hans,
the following sample shows an issue with attachments:
\setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext \input knuth\attachment[file=e.pdf, title=Attachment \letterhash1, author=ConTeXt, subtitle=χαλεπὰ τὰ καλά, method=hidden] \stoptext
method=hidden (http://pdf.ousia.tk/attachment-hidden.pdf) doesn’t actually attach the file (http://pdf.ousia.tk/attachment-hidden.png).
But method=visible (http://pdf.ousia.tk/attachment-visible.pdf) attachs the file (http://pdf.ousia.tk/attachment-visible.png)
I’m afraid that method=hidden was missing subtitle, file and name. I would say that buffer is also missing there, but I don’t know what it is used for.
The attached .diff file fixes the issue. I have tested it and it works fine.
I hope it helps,
Pablo