Am 16.09.24 um 11:41 schrieb Hans van der Meer via ntg-context:
\button is defined to jump to a given reference. However, I would like
to place a button that can execute a macro to be defined by myself.
Thus for example pushing the button \executebutton{text}{macro} will
execute that macro
\button is defined to jump to a given reference. However, I would like to place
a button that can execute a macro to be defined by myself.
Thus for example pushing the button \executebutton{text}{macro} will execute
that macro.
Is this available somewhere in ConTeXT? If not, can it be provided
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]
\goto{fs}[JS(Sw
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 but
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
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
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 if
Awesome. Thanks!
On 12 April 2016 at 03:16, wrote:
>
>
> --
>
> Message: 4
> Date: Mon, 11 Apr 2016 19:05:39 +0200
> From: Hans Hagen
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Interactionmenu not creating a button for
>
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
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 a
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][nextp
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][previouspa
On 5-7-2011 3:28, Wolfgang Schuster wrote:
Am 05.07.2011 um 15:09 schrieb Cecil Westerhof:
2011/7/5 Wolfgang Schuster
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
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 for
2011/7/5 Willi Egger
> 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 is of interest
Am 05.07.2011 um 15:23 schrieb Cecil Westerhof:
> 2011/7/5 luigi scarso
> 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
[color=...,
constrastcol
Am 05.07.2011 um 15:09 schrieb Cecil Westerhof:
> 2011/7/5 Wolfgang Schuster
> > 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 p
You might set click off: \setupinteraction[click=no]
Willi
On 5 Jul 2011, at 15:09, Cecil Westerhof wrote:
> 2011/7/5 Wolfgang Schuster
> > One slight problem. The backgroundcolor is a rectangle en goes out of the
> > rounded button.
>
> Add “backgroundcorner=round”.
&g
2011/7/5 luigi scarso
> 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 are blue also, but when
2011/7/5 Wolfgang Schuster
> > 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, the inversi
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
2011/7/5 Wolfgang Schuster
> > 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 backgroundc
On Tue, Jul 5, 2011 at 2:11 PM, Cecil Westerhof 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, but backgr
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 background
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
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
>
>
> $text
>
>
>
> that should work like the link
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
$text
that should work like the link button that creates [[$text]]
That would be fantastic!
Thank you.
--
Jonas Stein
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.
D
On Wed, May 13, 2009 at 9:02 PM, Oliver Heins wrote:
> Hallo Wolfgang,
>
> Wolfgang Schuster 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:
>
>
d \letterhash work?
Yes, thank you. I tried to figure out where \letterhash is defined, but
couldn't find it out grepping through the sources.
> __
> If your question is of interest to others as well, please add an entry
&
Am 13.05.2009 um 19:40 schrieb Oliver Heins:
Hans Hagen 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 s
Hans Hagen 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 \noexpand\fooc
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 | PR
rttext
\definefield[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[]{Abschic
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]
\
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]
\setupheadertexts[tex
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
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 to jump to the previous/next chapter ?
&
> 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
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) possi
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: 2
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
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
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
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
the
activation area
(this is what I mean with size) of the button. For the default font (12pt)
the minimal wide of an *empty* button is about 4.15mm, if you use bigger
fonts
this value increases. Just push the buttons (not releasing the left
mouse button)
in my example and you see what I
Hans Hagen wrote:
\starttext
\setupinteraction[state=start]
\button[width=25mm, height=25mm]{Please, print me!}[firstpage]
\button[width=25mm, height=25mm]{Not this time!}[firstpage]
\stoptext
works ok here
Works ok here too. But this was not my example :)
% interface=en output=pdftex
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
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|
Peter Rolf <[EMAIL PROTECTED]> writes:
> Just press the buttons (not releasing the left mouse button) and you
> will see...
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 u
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
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
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?
% interface=en output=pdftex
%
\setupinteraction[state=start]
\setupcolors[state=start]
\starttext
\setupbuttons[strut=no, offset=overlay, framecolor=green, empty
53 matches
Mail list logo