ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* two issues with inmargin attachments
@ 2019-11-20 17:38 Pablo Rodriguez
  0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez @ 2019-11-20 17:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I have the following sample, using latest beta from 2019.11.14 17:07:

    \setuppapersize[A5]
    \showframe
    \setupinteraction[state=start]
    \setupinteractionscreen[option=attachment]
    \starttext
        a\attachment[file=xml-mkiv.pdf]
        b\attachment[file=mkiv-publications.pdf]
        c\attachment[file=onandon.pdf, location=inmargin]
        d\attachment[file=notnow.pdf, location=inmargin]
        e\attachment[file=about.pdf, location=text]
        f\attachment[file=i-context.pdf, location=text]
    \stoptext

The default location seems to be "text", but when specified as option it
prevents the attachment. The general configuration for location may be
different, but in that case it seems impossible to use "text" for a
single attachment.

"location=inmargin" seems to place all /FileAttachment annotations on
the same place (when from the same line, they have the same /Rect), as
shown in the excerpt:

    21 0 obj
    <<
      /Type /Annot
      /NM (attachment:3)
      /Subtype /FileAttachment
      /Rect [ 35.54572 493.13349 41.52002 499.1078 ]
    >>
    endobj

    22 0 obj
    <<
      /Type /Annot
      /NM (attachment:4)
      /Subtype /FileAttachment
      /Rect [ 35.54572 493.13349 41.52002 499.1078 ]
    >>
    endobj

Would it be possible that inmargin attachments allow more than one from
the same line?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-20 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 17:38 two issues with inmargin attachments Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).