ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tooltip in a buffer (beta)
@ 2011-01-28 15:20 Peter Rolf
  2011-01-28 17:58 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2011-01-28 15:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

Hi Hans,

I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
donno what this is... it's no skip nor a simple spurious space (as I use
\removeunwantedspaces in front of that macro).
A minimal example is attached. No urgent case...

Best wishes,  Peter

[-- Attachment #2: tooltip.tex --]
[-- Type: text/plain, Size: 380 bytes --]

\setupinteraction[state=start]

\definelayer[foo][width=300pt,height=300pt]
\setlayerframed[foo][width=300pt,height=300pt]{foo}


\starttext

\startbuffer[test]
\framed[offset=overlay]{\tooltip{\CONTEXT}{a \TEX\ macropackage}}
\stopbuffer

\setlayerframed[foo][x=0pt,y=0pt][offset=overlay]{\getbuffer[test]} % big skip in front of text
\flushlayer[foo]

\stoptext

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tooltip in a buffer (beta)
  2011-01-28 15:20 tooltip in a buffer (beta) Peter Rolf
@ 2011-01-28 17:58 ` Hans Hagen
  2011-01-28 19:02   ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-01-28 17:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 28-1-2011 4:20, Peter Rolf wrote:
> Hi Hans,
>
> I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
> donno what this is... it's no skip nor a simple spurious space (as I use
> \removeunwantedspaces in front of that macro).
> A minimal example is attached. No urgent case...

if you're bored and have enough time you can run with \tracinglal and 
see where a blank space is inserted


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tooltip in a buffer (beta)
  2011-01-28 17:58 ` Hans Hagen
@ 2011-01-28 19:02   ` Wolfgang Schuster
  2011-01-28 19:16     ` Peter Rolf
  2011-01-28 19:55     ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-01-28 19:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.01.2011 um 18:58 schrieb Hans Hagen:

> On 28-1-2011 4:20, Peter Rolf wrote:
>> Hi Hans,
>> 
>> I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
>> donno what this is... it's no skip nor a simple spurious space (as I use
>> \removeunwantedspaces in front of that macro).
>> A minimal example is attached. No urgent case...
> 
> if you're bored and have enough time you can run with \tracinglal and see where a blank space is inserted

The spaces come from java-imp-fld.mkiv, you can get rid of them by modifying
the “javascripts.usescripts” function in java-ini.lua (end of the file):

function javascripts.usescripts(name)
    if name ~= variables.reset then
        commands.uselibrary(name,patterns,function(name,foundname)
            context.startnointerference()
            context.startreadingfile()
            context.input(foundname)
            context.showcolormessage("javascript",1,name)
            context.stopreadingfile()
            context.stopnointerference()
        end)
    end
end

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tooltip in a buffer (beta)
  2011-01-28 19:02   ` Wolfgang Schuster
@ 2011-01-28 19:16     ` Peter Rolf
  2011-01-28 19:55     ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Rolf @ 2011-01-28 19:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 28.01.2011 20:02, schrieb Wolfgang Schuster:
> 
> Am 28.01.2011 um 18:58 schrieb Hans Hagen:
> 
>> On 28-1-2011 4:20, Peter Rolf wrote:
>>> Hi Hans,
>>>
>>> I have overseen an unwanted horizontal skip in my menu test graphic. Mh,
>>> donno what this is... it's no skip nor a simple spurious space (as I use
>>> \removeunwantedspaces in front of that macro).
>>> A minimal example is attached. No urgent case...
>>
>> if you're bored and have enough time you can run with \tracinglal and see where a blank space is inserted
>
\tracingall is information overkill for me :-D


> The spaces come from java-imp-fld.mkiv, you can get rid of them by modifying
> the “javascripts.usescripts” function in java-ini.lua (end of the file):
> 
> function javascripts.usescripts(name)
>     if name ~= variables.reset then
>         commands.uselibrary(name,patterns,function(name,foundname)
>             context.startnointerference()
>             context.startreadingfile()
>             context.input(foundname)
>             context.showcolormessage("javascript",1,name)
>             context.stopreadingfile()
>             context.stopnointerference()
>         end)
>     end
> end
>

Many thanks Wolfgang!


> Wolfgang
> 
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tooltip in a buffer (beta)
  2011-01-28 19:02   ` Wolfgang Schuster
  2011-01-28 19:16     ` Peter Rolf
@ 2011-01-28 19:55     ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-01-28 19:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 28-1-2011 8:02, Wolfgang Schuster wrote:

>              context.startnointerference()

ok, patched


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-28 19:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 15:20 tooltip in a buffer (beta) Peter Rolf
2011-01-28 17:58 ` Hans Hagen
2011-01-28 19:02   ` Wolfgang Schuster
2011-01-28 19:16     ` Peter Rolf
2011-01-28 19:55     ` Hans Hagen

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).