[NTG-context] JavaScript controlled button appearance

2021-08-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start] \setupbodyfont[heros] \startJSpreamble varia used now function SwitchFS() { app.fs.isFullScreen = !app.fs.isFullScreen; } \stopJSpreamble \starttext \startTEXpage[offset=10pt]

Re: [NTG-context] Bug in interaction and button?

2018-01-27 Thread Hans Hagen
On 1/27/2018 11:09 AM, Otared Kavian wrote: Hi Hans, While experimenting with \button according to your suggestions, I noticed that there might be a bug somewhere between interaction and the button command: the following code (sent by you some years ago…) works fine as expected in mkii

[NTG-context] Bug in interaction and button?

2018-01-27 Thread Otared Kavian
Hi Hans, While experimenting with \button according to your suggestions, I noticed that there might be a bug somewhere between interaction and the button command: the following code (sent by you some years ago…) works fine as expected in mkii but does not work in mkiv (neither the most recent

Re: [NTG-context] How to control the placement of a button

2018-01-26 Thread Hans Hagen
I copy below. So my question is: how can one control the placement of a button created by the commands \startbut[GoToDestination] NameOfTheButton \stopbut For instance if one wishes to put a button on the bottom, or even somewhere on a page? Is it possible to give coordinates, like when

[NTG-context] How to control the placement of a button

2018-01-25 Thread Otared Kavian
control the placement of a button created by the commands \startbut[GoToDestination] NameOfTheButton \stopbut For instance if one wishes to put a button on the bottom, or even somewhere on a page? Is it possible to give coordinates, like when one places a layer? In the example below

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
G-context] Interactionmenu not creating a button for > the final page > Message-ID: <570bd963.4050...@wxs.nl> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 4/11/2016 9:47 AM, Brian Ballsun-Stanton wrote: > > > it seems that the interactionmenu doesn

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Hans Hagen
On 4/11/2016 9:47 AM, Brian Ballsun-Stanton wrote: it seems that the interactionmenu doesn't have a button for the final page. I'm assuming I did something wrong, but I'm not quite sure what it is. it's a bug in subpages (reference needs page offset) ... fixed in next upload Hans

[NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
nput knuth > \stoptext (used in a real presentation: http://context.fedarch.org/Context/presentation.pdf with environment at https://github.com/FAIMS/EGU2016-Presentation/blob/master/envpresentation.tex ) it seems that the interactionmenu doesn't have a button for the final page. I'm assum

[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] 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=2em

[NTG-context] Changing the colors of a button

2011-07-05 Thread Cecil Westerhof
I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I change the background and text color of the button? Also

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Wolfgang Schuster
Am 05.07.2011 um 14:11 schrieb Cecil Westerhof: I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread luigi scarso
On Tue, Jul 5, 2011 at 2:11 PM, Cecil Westerhof cldwester...@gmail.com wrote: I am trying the following:   \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Cecil Westerhof
2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Wolfgang Schuster
Am 05.07.2011 um 14:47 schrieb Cecil Westerhof: One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Wolfgang ___ If your question

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Cecil Westerhof
2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now added. But did not solve my problem. What I mend is that when I click on the button

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Cecil Westerhof
2011/7/5 luigi scarso luigi.sca...@gmail.com Search for \setupinteraction for the color of the link I know I want a lot ;-} but would it be possible to have another color for the highlighting as 'normal' links? At the moment 'normal' links are blue and I do not mind that in the buttons they

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Willi Egger
You might set click off: \setupinteraction[click=no] Willi On 5 Jul 2011, at 15:09, Cecil Westerhof wrote: 2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Wolfgang Schuster
Am 05.07.2011 um 15:09 schrieb Cecil Westerhof: 2011/7/5 Wolfgang Schuster schuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now added. But did not solve my problem

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Wolfgang Schuster
Am 05.07.2011 um 15:23 schrieb Cecil Westerhof: 2011/7/5 luigi scarso luigi.sca...@gmail.com Search for \setupinteraction for the color of the link I know I want a lot ;-} but would it be possible to have another color for the highlighting as 'normal' links? \setupinteraction

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Cecil Westerhof
2011/7/5 Willi Egger w.eg...@boede.nl You might set click off: \setupinteraction[click=no] But then I would loose the visual feed back. I have to decide what I find worse. -- Cecil Westerhof ___ If your question

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Willi Egger
Probably you will have to group the buttons in order to be able to use \setupinteraction[color=yourcolor] You could think about using setups: \startsetups XX \bgroup \setupinteraction[color=yourcolor] \button ... \egroup \stopsetups I used this recently. Okay I used a layer

Re: [NTG-context] Changing the colors of a button

2011-07-05 Thread Hans Hagen
On 5-7-2011 3:28, Wolfgang Schuster wrote: Am 05.07.2011 um 15:09 schrieb Cecil Westerhof: 2011/7/5 Wolfgang Schusterschuster.wolfg...@googlemail.com One slight problem. The backgroundcolor is a rectangle en goes out of the rounded button. Add “backgroundcorner=round”. Overlooked it. Now

Re: [NTG-context] FR: Wiki: Button to include code area

2010-12-17 Thread Patrick Gundlach
Am 17.12.2010 um 06:38 schrieb Jonas Stein: My Featurerequest for the Wiki: in some wikis its possible to enhance the buttons in the edit window with own tags. I would suggest to add context source=yes $text /context that should work like the link button that creates [[$text

[NTG-context] FR: Wiki: Button to include code area

2010-12-16 Thread Jonas Stein
My Featurerequest for the Wiki: in some wikis its possible to enhance the buttons in the edit window with own tags. I would suggest to add context source=yes $text /context that should work like the link button that creates [[$text]] That would be fantastic! Thank you. -- Jonas Stein n

[NTG-context] Interaction: Save-Button

2010-12-06 Thread Daniel Grycman
Hi list, how can I put a save button (with fdf functionality) in the pdf using interaction? I didn't find anything about it in the documentation. And I am still searching for a functional solution for sending pdf data via mail using the submit button. Daniel

Re: [NTG-context] Howto add a # sign to a \button URL?

2009-05-13 Thread Oliver Heins
Hans Hagen pra...@wxs.nl writes: Oliver Heins wrote: Hallo, I try to send a message from a pdf to a webserver. This works fine, unless the URL has a `#' in it. Then TeX throws an error: does \# work? No, this leads to the following error (which is the same I get when doing a

Re: [NTG-context] Howto add a # sign to a \button URL?

2009-05-13 Thread Wolfgang Schuster
Am 13.05.2009 um 19:40 schrieb Oliver Heins: Hans Hagen pra...@wxs.nl writes: Oliver Heins wrote: Hallo, I try to send a message from a pdf to a webserver. This works fine, unless the URL has a `#' in it. Then TeX throws an error: does \# work? No, this leads to the following error

Re: [NTG-context] Howto add a # sign to a \button URL?

2009-05-13 Thread luigi scarso
On Wed, May 13, 2009 at 9:02 PM, Oliver Heins o...@sopos.org wrote: Hallo Wolfgang, Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Oliver Heins wrote: Hallo, I try to send a message from a pdf to a webserver. This works fine, unless the URL has a `#' in it. Then TeX

[NTG-context] Howto add a # sign to a \button URL?

2009-05-12 Thread Oliver Heins
[shorttext] [line] [ShortLine] [] [] \setupfield [ShortLine] [label,frame,horizontal] [frame=off] [height=18pt,width=15em,align=middle,frame=off] [height=18pt,width=20em,align=right,style=\tfx,,frame=on] \field[shorttext][Bitte geben Sie einen Text ein:] \blank \button[]{Abschicken}[SubmitForm{http

Re: [NTG-context] Howto add a # sign to a \button URL?

2009-05-12 Thread Hans Hagen
Oliver Heins wrote: Hallo, I try to send a message from a pdf to a webserver. This works fine, unless the URL has a `#' in it. Then TeX throws an error: does \# work? - Hans Hagen |

Re: [NTG-context] button alignment question

2009-04-16 Thread Hans Hagen
Alan Stone wrote: Hi, How do you keep the footer buttons between the footer's top and bottom ? \showframe \def\myHeaderButton{\interactionbuttons[width=2cm,height=\headerheight][OK]} \def\myFooterButton{\interactionbuttons[width=2cm,height=\footerheight][OK]} \setupinteraction[state=start]

[NTG-context] button alignment question

2009-04-14 Thread Alan Stone
Hi, How do you keep the footer buttons between the footer's top and bottom ? \showframe \def\myHeaderButton{\interactionbuttons[width=2cm,height=\headerheight][OK]} \def\myFooterButton{\interactionbuttons[width=2cm,height=\footerheight][OK]} \setupinteraction[state=start]

Re: [NTG-context] button question

2008-09-08 Thread Alan Stone
, 2008 at 9:20 AM, Alan Stone [EMAIL PROTECTED] wrote: Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons ) allows to jump to the previous/next chapter ? Is this (currently) possible ? not available currently -- Best, Alan * using ConTeXt ver: 2008.08.18 14:00 MKIV fmt

Re: [NTG-context] button question

2008-09-08 Thread Hans Hagen
Alan Stone wrote: On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone [EMAIL PROTECTED] wrote: Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons ) allows to jump to the previous/next chapter ? Is this (currently) possible ? not available currently

Re: [NTG-context] button question

2008-09-08 Thread Alan Stone
not available currently Another feature request. Best, Alan On Mon, Sep 8, 2008 at 1:37 PM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone [EMAIL PROTECTED] wrote: Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons ) allows

Re: [NTG-context] button question

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 2:39 PM, Alan Stone [EMAIL PROTECTED] wrote: From setup-en.pdf ... What is \nextSECTION ? Nothing for users, use \setupheadnumber instead. \starttext \section{One} \getvalue{nextsection-3} \section{Three} \stoptext \starttext \section{One} \setupheadnumber[section][+1]

Re: [NTG-context] button question

2008-09-08 Thread Alan Stone
On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone [EMAIL PROTECTED] wrote: Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons ) allows to jump to the previous/next chapter ? Is this (currently) possible ? -- Best, Alan * using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int

[NTG-context] button question

2008-09-06 Thread Alan Stone
Which ref in \button{text}[ref,ref,...] allows to jump to the previous/next chapter ? -- Best, Alan * using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int: english/english (on Windows XP) ___ If your question

[NTG-context] button for Fullscreen

2007-05-27 Thread Héctor Palacios
Hi context'users Please, i need a button for FullScreen mode. \but [FullScreen] Pantalla-completa but this not works. Thanks in avance. -- Héctor ___ If your question is of interest to others as well

Re: [NTG-context] Problem with \button

2005-01-14 Thread h h extern
François Fasoli wrote: I have found the following somewhere in the documentation. \button{...}[the chapter on whatever] \button{...}[otherdoc::some topic] \button{...}[previouspage] \button{...}[PreviousJump] I have tried them : all run very well except \button{...}[otherdoc::some topic] How can

[NTG-context] Problem with \button

2005-01-13 Thread François Fasoli
I have found the following somewhere in the documentation. \button{...}[the chapter on whatever]\button{...}[otherdoc::some topic]\button{...}[previouspage]\button{...}[PreviousJump] I have tried them : all run very well except \button{...}[otherdoc::some topic] How can I replace some topic

Re: [NTG-context] Re: minimal button width

2003-09-29 Thread Hans Hagen
At 13:09 28/09/2003 +0200, you wrote: Patrick Gundlach wrote: Hello Peter, with your code + \button[width=2.5mm, height=2.5mm]{Please, print me!}[test] \button[width=2.5mm, height=2.5mm]{Not this time!}[test] one value should be 25mm for a better example I get two empty square buttons which

Re: [NTG-context] Re: minimal button width

2003-09-28 Thread Peter Rolf
Patrick Gundlach wrote: Hello Peter, with your code + \button[width=2.5mm, height=2.5mm]{Please, print me!}[test] \button[width=2.5mm, height=2.5mm]{Not this time!}[test] one value should be 25mm for a better example I get two empty square buttons which look about 2.5 mm wide and high. I

Re: [NTG-context] Re: minimal button width

2003-09-28 Thread Peter Rolf
Patrick Gundlach wrote: Just to confirm: in normal state I see a small button. When pressing the mouse button I see the area of the button inverted but with more width than actually used, but the height looks fine. +---+xxx+---+ | | becomes xxx|xxx|

[NTG-context] Re: minimal button width

2003-09-27 Thread Patrick Gundlach
Peter Rolf [EMAIL PROTECTED] writes: I want some small empty buttons with exact dimensions. Is there a way to do this with \button or must I use fields (ughh) instead? Hello Peter, with your code + \button[width=2.5mm, height=2.5mm]{Please, print me!}[test] \button[width=2.5mm, height=2.5mm