ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: two issues with inmargin attachments
Date: Wed, 20 Nov 2019 18:38:42 +0100	[thread overview]
Message-ID: <7c55393c-32f2-9088-6af8-53474843fc4c@gmx.es> (raw)

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
___________________________________________________________________________________

                 reply	other threads:[~2019-11-20 17:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7c55393c-32f2-9088-6af8-53474843fc4c@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).