[NTG-context] issue with symbol in attachments
Pablo Rodriguez
oinos at gmx.es
Mon Mar 25 22:22:38 CET 2019
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
More information about the ntg-context
mailing list