[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
ayer Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest

Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-09 Thread Ramkumar KB via ntg-context
; https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf > > > > This supports ConTeXt markup and for any Lua code (within \startluacode & > \stopluacode) it re-directs to the Lua Language Server (from Sumneko - > https://github.com/sumneko/lua-language-server ) &

Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-09 Thread Ramkumar KB via ntg-context
d for any Lua code (within > > \startluacode & \stopluacode) it re-directs to the Lua Language Server > > (from Sumneko - https://github.com/sumneko/lua-language-server > > <https://github.com/sumneko/lua-language-server> ) > > > > To Do - > > >

Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-09 Thread Denis Maier via ntg-context
artluacode & \stopluacode) it re-directs to the Lua Language Server (from Sumneko - https://github.com/sumneko/lua-language-server ) To Do - 1. Make the source code open-source 2. Add new features (like Hover & Tooltip) 3. Work with Taco to add MetaPost Language Server (this could b

Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-08 Thread Floris van Manen via ntg-context
r any Lua code (within \startluacode & \stopluacode) it re-directs to the Lua Language Server (from Sumneko - https://github.com/sumneko/lua-language-server <https://github.com/sumneko/lua-language-server> ) To Do - 1. Make the source code open-source 2. Add new features (like Hov

[NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-08 Thread Ramkumar KB via ntg-context
2. Add new features (like Hover & Tooltip) 3. Work with Taco to add MetaPost Language Server (this could be challenging and interesting) Do give this a try and give your feedback. Note that this does not contain *all* the macros but covers the vast majority of the ConTeXt commands.

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Henning Hraban Ramm
secondargument >> \dorecurse{#1}{% >> \tooltip{\clip[ >> height=\textheight, >> voffset=\dimexpr((\recurselevel - 1)\textheight),]{% > > voffset=\numexpr(\recurselevel -1)\textheight]{% Aha, numexpr. Danke! Am 2017-09-10 um 10:09 schrieb Herbert Voss : &

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Herbert Voss
Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm: My current code actually looks like % split in #1 page size parts \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \ifsecondargument \dorecurse{#1}{% \tooltip{\clip[ height=\textheight, voffset=\dimexpr

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Henning Hraban Ramm
. My current code actually looks like % split in #1 page size parts \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \ifsecondargument \dorecurse{#1}{% \tooltip{\clip[ height=\textheight, voffset=\dimexpr((\recurselevel - 1)\textheight),]{% \externalfigure[#2]}}{#2

Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-19 Thread Ursula Hermann
ing, that shows in the Text the text from the > > footnote, when I click on the number from the footnote. > > > > > > Maybe with a tooltip? Or what is the right way? Which command? > > tooltips are widgets and not part of the document text stream .. so i > think

Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-18 Thread Alan BRASLAU
the PDF/A tagged PDF, in a text? > > > > What I mean something, that shows in the Text the text from the > > footnote, when I click on the number from the footnote. > > > > > > Maybe with a tooltip? Or what is the right way? Which command? > > tooltips a

Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-18 Thread Hans Hagen
tooltip? Or what is the right way? Which command? tooltips are widgets and not part of the document text stream .. so i think they don't count as accessibility feature (but i might be wrong) maybe someone else on the list knows i wonder, as you use tex you can consider generating an addit

[NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-18 Thread Ursula Hermann
question to this discussion, it is nessesary to know: How can footnotes be shown in the PDF/A tagged PDF, in a text? What I mean something, that shows in the Text the text from the footnote, when I click on the number from the footnote. Maybe with a tooltip? Or what is the right way? Which command

[NTG-context] tooltip and buttom for footnotes?

2016-01-14 Thread Ursula Hermann
Hello Wolfgang or Hans? Can one of you help me please. Iwant something like this: \setuppapersize[S6][S6] \setupinteraction[state=start] \setupcolors[state=start] \starttext Here is an example: by saying \type{\tooltip[left]{Example}{Is it nice}}, we get \blank \midaligned

Re: [NTG-context] Break links into items in the itemize list

2012-04-13 Thread Jaroslav Hajtmar
to this issue. Lukas confirmed me that really links do not work. Where is error when links into items in the itemize list are not working. Links are active but not working... It is interesting that the chapter on the links when hovering tooltip will appear with the page number where the link leads

Re: [NTG-context] Break links into items in the itemize list

2012-04-13 Thread Hans Hagen
when hovering tooltip will appear with the page number where the link leads, not the case for the line item. Here is Lukas example (my example is bottom ) \setupinteraction[state=start] \starttext Go to \in[sec:1] -- \about[sec:1] or \in[it:a] -- \about[it:a]. \page \section[sec:1]{Sec

[NTG-context] Break links into items in the itemize list

2012-04-13 Thread Jaroslav Hajtmar
Hello all Once again I return to this issue. Lukas confirmed me that really links do not work. Where is error when links into items in the itemize list are not working. Links are active but not working... It is interesting that the chapter on the links when hovering tooltip will appear with

Re: [NTG-context] Translate tooltip on button in pdf

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 19:08 schrieb Jan Heinen: > Hello > > how to change the tooltipps from english "First page" to german "Erste > Seite"? > > \setupinteraction[state=start] > \starttext > \button {\scale[height=2em] {\symbol[navigation 1][nextpage]}} [NextPage] > \page > \button {\scale[height

[NTG-context] Translate tooltip on button in pdf

2012-03-18 Thread Jan Heinen
Hello how to change the tooltipps from english "First page" to german "Erste Seite"? \setupinteraction[state=start] \starttext \button {\scale[height=2em] {\symbol[navigation 1][nextpage]}} [NextPage] \page \button {\scale[height=2em] {\symbol[navigation 1][previouspage]}} [PreviousPage]

Re: [NTG-context] \setupfields needs linefeed

2011-08-25 Thread Hans Hagen
On 24-8-2011 16:39, Peter Rolf wrote: Hi, I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation. [..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. \par <*> ./tooltip

[NTG-context] \setupfields needs linefeed

2011-08-24 Thread Peter Rolf
Hi, I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation. [..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. \par <*> ./tooltip \stoptext ? ! Emergency stop.

Re: [NTG-context] HTML-like "title" attribute

2011-02-16 Thread Khaled Hosny
attribute that shows like a > tooltip, but I don't seem to find a way to do similar trick in ConTeXt, > any ideas? \tooltip seems to be the closest but it requires JS which > means AR only, also seems one have to click for the tooltip ti show > which is not exactly

[NTG-context] HTML-like "title" attribute

2011-02-16 Thread Khaled Hosny
I'm playing with some lua markdown parser[1], already added ConTeXt output support except for two minor features. HTML links and images can have a "title" attribute that shows like a tooltip, but I don't seem to find a way to do similar trick in ConTeXt, any ideas? \too

Re: [NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread Hans Hagen
On 28-1-2011 8:02, Wolfgang Schuster wrote: context.startnointerference() ok, patched - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherl

Re: [NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread Peter Rolf
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

Re: [NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread 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

Re: [NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread 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

[NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread Peter Rolf
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 ski

[NTG-context] tooltips broken (beta)

2011-01-27 Thread Peter Rolf
\edef \currentfieldname {#... } \dotooltip ...fitfield [\currentsystemfield :txt]} }\dimen 0=\ifdim \wd 0=\ze... l.5 \tooltip{\CONTEXT}{a \TEX\ macropackage} ? mkii works, but I get black text on black background for t

Re: [NTG-context] "Please fill out the following form"

2010-06-04 Thread Taco Hoekwater
Michael Saunders wrote: more acrobat and initialization and so ... some of these things change per version; which version of acrobat? test file? I have Adobe Reader 9.3.2, which I think is the latest. The following test: \starttext \dorecurse{1000}{\tooltip[middle]{test}{test}} \stoptext

Re: [NTG-context] "Please fill out the following form"

2010-06-04 Thread Michael Saunders
> more acrobat and initialization and so ... some of these things change > per version; which version of acrobat? test file? I have Adobe Reader 9.3.2, which I think is the latest. The following test: \starttext \dorecurse{1000}{\tooltip[middle]{test}{test}} \stoptext produces a pdf

Re: [NTG-context] ntg-context Digest, Vol 72, Issue 9

2010-06-04 Thread Michael Saunders
> more acrobat and initialization and so ... some of these things change > per version; which version of acrobat? test file? I have Adobe Reader 9.3.2, which I think is the latest. The following test: \starttext \dorecurse{1000}{\tooltip[middle]{test}{test}} \stoptext produces a pdf

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread Michael Saunders
nnect headwords to entries \definesynonyms[gloss][glosses][\tttext][\ttkey] %to make short glosses available for tooltips \def\gldef#1#2#3{\gloss{#1}{#2}\gentry{#1}{#3 {(p.\at[g:#1])}}} \def\hint#1{\tooltip[middle]{#1}{\tttext{#1}}} \def\glref#1{\reference[g:#1]{}} %to place at a substantive reference i

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread luigi scarso
es][\infull][\inshort]%to make short > glosses available for tooltips > \definesynonyms[gentry][gentries][\infull][\inshort]%to connect > headwords to entries > \def\gdef#1#2#3{\gloss{#1}{#2}\gentry{#1}{#3}} > \def\hint#1{\tooltip[middle]{#1}{\infull{#1}}} > > > %then you ha

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread Taco Hoekwater
mechanismes te combineren. Veel mechanismes hebben een 'command hook' en het is niet zo lastig om bijvoorbeeld het synoniem mechanisme op die manier uit te breiden met een tooltip. Because every user, however, what differently wants, it is impossible everything build in without it degene

Re: [NTG-context] tooltips and glossary

2010-05-06 Thread Hans Hagen
astig om bijvoorbeeld het synoniem mechanisme op die manier uit te breiden met een tooltip. Er zijn inmiddels verschillende suggesties gedaan en ik ga daar niets aan toevoegen. Het is niet mijn probleem als een gebruiker gebrek heeft aan fantasie danwel suggesties niet gebruikt cq. zijn mails z

Re: [NTG-context] tooltips and glossary

2010-05-05 Thread Philipp Gesang
change the formatting. > There probably is some advantage in using the lua script for this, but > I don't know what it is. No advantage other than time saving … > About tooltips: > \tooltip surprised me, and I was impressed that it appears to typeset > the tooltip text with Con

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Michael Saunders
ct headwords to entries \def\gdef#1#2#3{\gloss{#1}{#2}\gentry{#1}{#3}} \def\hint#1{\tooltip[middle]{#1}{\infull{#1}}} %then you have a file of definitions like this one: \gdef{vibrato}{a periodic fluctuation in pitch}{A periodic fluctuation of pitch, typically in the range 6--12~Hz.} %within

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Corsair
ewrite most part of it in the summer. And BTW, that document is *supposed* to be an extraction of some particular pieces of info in the official doc. Because I find the official doc too heavy for both my PDF viewer and me. And about the background, I just grabbed some random Asymptote file of m

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Marius
there is no mechanism to build this into, but I'm still > interested in doing it.  The idea is, I could write something like: > > \gloss{strange word}{short definition} > > The text would read "strange word".  When you hover over it with the > cursor, a tooltip woul

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Willi Egger
onyms[Gloss][Glosses][\infull][\inshort] \Gloss{cooltip}{HEI! This is a longer text in a tooltip} \def\Hint#1{\tooltip[middle]{#1}{\infull{#1}}} \starttext This is a text. This sentence contains a \tooltip[middle]{cooltip}{HEI! This is a longer text in a tooltip} \blank This is a text. This sen

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Philipp Gesang
still > interested in doing it. The idea is, I could write something like: > > \gloss{strange word}{short definition} > > The text would read "strange word". When you hover over it with the > cursor, a tooltip would appear saying "short definition". It would be

Re: [NTG-context] tooltips and glossary

2010-05-04 Thread Michael Saunders
The idea is, I could write something like: \gloss{strange word}{short definition} The text would read "strange word". When you hover over it with the cursor, a tooltip would appear saying "short definition". It would be great if this were linked to a glossary mechanism so I wou

Re: [NTG-context] beta: \dopresetsymbol

2009-08-11 Thread Peter Rolf
] \starttext A simple \tooltip{tooltip}{tooltip}. \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

[NTG-context] beta (14.05.2009,16:44): PDF layer

2009-05-15 Thread Peter Rolf
title={layer_A},state=start] \starttext \startproperty[layerA] text %\framed[width=160mm,height=120mm]{\tooltip{A text with...{a tooltip}}% \stopproperty \stoptext Peter ___ If your question is of interest to othe

Re: [NTG-context] beta (11.05.2009): js interaction

2009-05-11 Thread Hans Hagen
Peter Rolf wrote: Hi, some problems with js interaction stuff. I get ! Undefined control sequence. \dopresetfieldsymbol #1->\checkobjectreferences for nearly all interaction fields in mkiv. Mkii compiles, but the pop-up tooltip is only a black box (not the text 'tooltip'). I

[NTG-context] beta (11.05.2009): js interaction

2009-05-11 Thread Peter Rolf
Hi, some problems with js interaction stuff. I get ! Undefined control sequence. \dopresetfieldsymbol #1->\checkobjectreferences for nearly all interaction fields in mkiv. Mkii compiles, but the pop-up tooltip is only a black box (not the text 'tooltip'). I also had some prob

[NTG-context] \pdfannot and \tooltip won't work with Chinese

2008-07-29 Thread Suman_Tripathy
Can I get the .tex file? I am not expert in Latex and not understanding what exactly is the solution. Where is \doPDFinsertcomment defined? -Suman DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
e] \synchronizationbar[name][alternative=page|local][settings] \synchronize \synonym[text]{text}{text} \tab{text} text # \tbox \tex{text} \textreference[reference]{text} \textrule[top|bottom]{text} \textvariable[name] \thinrule \thinrules[settings] # \tightlayer \title[references]{text} # \to

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Zhichu Chen
Hi, Hans It may be useless, but I really hope I can pass some options to the comment. e.g., use \comment[color=blue][title]{some contents} will make "some contents" blue. So I think we can use /RC instead of /Contents. On 4/17/07, Hans Hagen <[EMAIL PROTECTED]> wrote: Zhichu Chen wrote: > Tha

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Zhichu Chen
Thanks Hans, It works. But only the /Contents part was converted correctly, the /T part is still not so good. So I redefined your \doPDFinsertcomment macro and changed the third line from \doifelsenothing{#1} {\let\PDFidentifier\empty} {\def\PDFidentifier{/T (#1

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Hans Hagen
Zhichu Chen wrote: > Thanks Hans, > > It works. But only the /Contents part was converted correctly, the /T > part > is still not so good. So I redefined your \doPDFinsertcomment macro and > changed the third line from > > \doifelsenothing{#1} > {\let\PDFidentifier\e

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Hans Hagen
Zhichu Chen wrote: > Hi > > I've been looking at some core codes and the PDF reference, still have no > idea. > > Somehow, I was told that LaTeX can do such things using "hyperref" > package > and \pdfstringdef\temp{???}, then \pdfannot{... /Contents(\temp) ...} > should > be OK. > can you try

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-12 Thread Zhichu Chen
"lookaheaduchar 73" and something. Then I turned to \tooltip, and this time it showed nothing. Can anybody help me? -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No.

[NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-10 Thread Zhichu Chen
r 73" and something. Then I turned to \tooltip, and this time it showed nothing. Can anybody help me? -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | J

Re: [NTG-context] beta: bug with transparent colors in fields

2006-11-14 Thread Peter Rolf
t;> ConTeXt Live. >> >> \definecolor >> [notebackgroundcolor] >> % [s=.85] >> [s=1,a=1,t=.9] >> >> There is another problem with field activation (not in this example). >> When the doc opens, the fields (region in/out) are kind of inactive.

Re: [NTG-context] beta: bug with transparent colors in fields

2006-11-14 Thread Hans Hagen
> [notebackgroundcolor] > % [s=.85] > [s=1,a=1,t=.9] > > There is another problem with field activation (not in this example). > When the doc opens, the fields (region in/out) are kind of inactive. > Normally a tooltip note is shown/hidden, if the area is entered/left. > O

[NTG-context] beta: bug with transparent colors in fields

2006-11-13 Thread Peter Rolf
is another problem with field activation (not in this example). When the doc opens, the fields (region in/out) are kind of inactive. Normally a tooltip note is shown/hidden, if the area is entered/left. Only after "activating" the fields by pressing "R" and "H" in Acr

[NTG-context] widgets in layers (property)

2006-01-04 Thread Peter Rolf
New year, old problem... Hi all, I want to use widgets (tooltip, buttons,..) in some stacked pdf layers. My problem is, that the widgets are somehow not bound to the state of their layer. They are still active, even if the surrounding layer is deactivated. I add a mimimal example (it's be

[NTG-context] widgets in layers (property)

2005-12-30 Thread Peter Rolf
Hi all, I want to use widgets (tooltip, buttons,..) in some stacked pdf layers. My problem is, that the widgets are somehow not bound to the state of their layer. They are still active, even if the surrounding layer is deactivated. I add a mimimal example (it's best to open the 'Laye