Re: [NTG-context] tooltip in a buffer (beta)
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 ___
Re: [NTG-context] tooltip in a buffer (beta)
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 ___
Re: [NTG-context] tooltip in a buffer (beta)
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 ___
Re: [NTG-context] tooltip in a buffer (beta)
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 ___
[NTG-context] tooltip in a buffer (beta)
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 \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 ___ 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 ___