* issue with symbol in attachments
@ 2019-03-24 17:47 Pablo Rodriguez
2019-03-25 9:48 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2019-03-24 17:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
I have the following sample:
\setupinteraction[state=start]
\setuppapersize[A9]
\starttext
\attachment[xml-mkiv.pdf]\\
\attachment[xml-mkiv.pdf]
[symbol=Pushpin
width=fit,
width=fit,
depth=fit]\\
\attachment[xml-mkiv.pdf]
[symbol=Default]\\
\attachment[xml-mkiv.pdf]
[symbol=Paperclip]\\
\attachment[xml-mkiv.pdf]
[symbol=Graph]\\
\attachment[xml-mkiv.pdf]
[symbol=Pushpin]\\
\stoptext
Symbols aren’t distorted with comments, although option "Default"
doesn’t seem to work well.
\setupinteraction[state=start]
\setuppapersize[A9]
\starttext
\comment[xml-mkiv.pdf]\\
a\comment[xml-mkiv.pdf]
[symbol=Default]\\
b\comment[xml-mkiv.pdf]
[symbol=Newparagraph]\\
c\comment[xml-mkiv.pdf]
[symbol=Note]\\
d\comment[xml-mkiv.pdf]
[symbol=Insert]\\
e\comment[xml-mkiv.pdf]
[symbol=Help]\\
\stoptext
Can anyone confirm that all attachment symbols are distorted, except the
first one?
BTW, I’m using latest beta (2019.03.21 21:39).
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] 3+ messages in thread
* Re: issue with symbol in attachments
2019-03-24 17:47 issue with symbol in attachments Pablo Rodriguez
@ 2019-03-25 9:48 ` Hans Hagen
2019-03-25 21:22 ` Pablo Rodriguez
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-03-25 9:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread
* Re: issue with symbol in attachments
2019-03-25 9:48 ` Hans Hagen
@ 2019-03-25 21:22 ` Pablo Rodriguez
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2019-03-25 21:22 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-25 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-24 17:47 issue with symbol in attachments Pablo Rodriguez
2019-03-25 9:48 ` Hans Hagen
2019-03-25 21:22 ` 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).