ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: issue with symbol in attachments
Date: Mon, 25 Mar 2019 22:22:38 +0100	[thread overview]
Message-ID: <adf96c89-8ddc-eab0-8b7c-6a299373a73f@gmx.es> (raw)
In-Reply-To: <8e76ee2d-9f75-2d7c-dace-4623dc3cb7c8@xs4all.nl>

On 3/25/19 10:48 AM, Hans Hagen wrote:
> On 3/24/2019 6:47 PM, Pablo Rodriguez wrote:
>
>> Can anyone confirm that all attachment symbols are distorted, except the
>> first one?
> hard to say ... support for these symbols / icons in viewers has been an
> inconsistent mess right from the start and one has to keep adapting ...
> (scaling, positioning, decoupled representations, colors) ... a bit of a
> gamble

Many thanks for your reply, Hans.

I find suprising that /Rect entriess aren’t calculated the same way when
no dimension is specified. The following sample shows it:

    \setupinteraction[state=start]
    \setuppapersize[A9]
    \starttext
    \attachment[xml-mkiv.pdf]\\
    \attachment[xml-mkiv.pdf]
        [symbol=Pushpin]\\
    \attachment[xml-mkiv.pdf]
        [symbol=Default]\\
    \stoptext

  /Rect [ 12.48609 117.54327 18.46039 123.51757 ]
  /Rect [ 12.48609 100.805667 54.306196 111.41602 ]
  /Rect [ 12.48609 88.58463 50.351209 97.11594 ]

Could it be possible that all /Rect entries for attachments are
calculated the same way (with a square of about 6×6), no matter which
symbol is used? At least, when no dimension is specified.

BTW, only one attachment is shown in each margin. It seems to be the
last one. I have just discovered it accidentally:

    \setupinteraction[state=start]
    \starttext
    one\attachment[file=onandon, location=inmargin]

    two (actually)\attachment[file=notnow, location=inmargin]%
        \attachment[file=about, location=rightmargin]%
        \attachment[file=onandon, location=leftmargin]%

    three\attachment[file=notnow, location=rightmargin]%
        \attachment[file=about, location=rightmargin]%
        \attachment[file=onandon, location=rightmargin]%

    four\attachment[file=about]\attachment[file=about]%
        \attachment[file=about]\attachment[file=about]
    \stoptext

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-03-25 21:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 17:47 Pablo Rodriguez
2019-03-25  9:48 ` Hans Hagen
2019-03-25 21:22   ` Pablo Rodriguez [this message]

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=adf96c89-8ddc-eab0-8b7c-6a299373a73f@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).