https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/message/ECSXLVMT3TMQBIHA2UZJPWJN7OVV5334/attachment/2/mycert.pfx
(I sent it myself).
Here is a sample document (actually provided by Hans):
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my
/ECSXLVMT3TMQBIHA2UZJPWJN7OVV5334/attachment/2/mycert.pfx
(I sent it myself).
Here is a sample document (actually provided by Hans):
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on
Dear list,
I have the following sample
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed[background=signature,framecolor=darkred
rtificates themselves.
Basically one can sign (with some certificate) and then validate.
% sign-001.tex
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign:
x27;t show the "yes", nor Acrobat X, but SumatraPDF does. I
> > modified your definition as:
> >
> > \definefield[test][check][cbox][][]
> >
> > And now the "yes" doesn't appear. However, I don't know how this affects
> > the functiona
Dear list,
having the following sample code:
\setuppapersize[A4, landscape]
\setuplayout[page]
\setupinteraction[state=start]
\starttext
\setupfield[sl][horizontal]
[frame=off, width=\textwidth, height=\textheight]
\definefield[x][signature][sl]
\field[x]
I also attach a
\definesubfield, all subfields are
activated together, which is clearly wrong.
I hope that’s an easy fix.
Hraban
"""
\setupinteraction[state=start]
\setuppaper[a6,landscape]
\setupfield[CGradio][frame=off, height=1em, width=1em]
\definefield[CGjoin][radio][CGradio][CGPerson,CGCo
pinteraction[state=start]
>
> \definesymbol[yes][{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]
> \definesymbol[no][]
>
> \newcount\chk
> \def\checkmark{%
> \global\advance\chk by 1
> \setupfield[setup1][width=0.5cm, height=0.5cm,rulethickness=1pt,
> co
onversion=mp]}]
\definesymbol [no] [{\externalfigure[off.svg][conversion=mp]}]
\setupfield[setup3][width=2ex, height=2ex]
\dorecurse{3}
{\definefield [check-\recurselevel] [check] [setup3] [yes,no] [no]}
\setupbodyfont[sans, 30pt]
\starttext
\startTEXpage[offset=1em, foregroun
[setup1][width=0.5cm, height=0.5cm,rulethickness=1pt, corner=round,
framecolor=red]%
\definefield[checkme\the\chk][check][setup1][yes,no][no]%
\field[checkme\the\chk]%
}
\starttext
\checkmark\
\checkmark\
\checkmark\
\stoptext
Sorry to bother the list but maybe it is helpful for someone
]%
\definefield[checkme\the\chk][check][setup1][yes,no][no]%
\field[checkme\the\chk]%
}
\starttext
\chk
\chk
\chk
\stoptext
But it gives the error ” You can’t use \global after \advance”
But this example works fine
\setupinteraction[state=start]
\newcount\clozecount
\def\mycloze{%
\global
ist in an interactive document.
>>
>> The problem seems to be that all checks/uncecks in same click, not each
>> individually.
>>
>> Is there something wrong with my code?
>
> Hi Jan-Erik,
>
> you basically put the same field twice.
>
> Add
u basically put the same field twice.
Add something like:
\definefield [check-you] [check] [setup 3] [yes,no] [no]
\define\chka{\field[check-you]}
\chka
Checks will be different then.
I hope it helps,
Pablo
___
[yes] [{\externalfigure[check-mark-svgrepo-com.svg][conversion=mp]}]\definesymbol [no] []\setupfield[setup 3][width=0.5cm, height=0.5cm,rulethickness=1pt, corner=round, framecolor=red]\definefield [check-me] [check] [setup 3] [yes,no] [no]\define\chk{\field[check-me]}\starttext\chk\blank[3cm]\chk
]
[width=0.5cm, height=0.5cm,
rulethickness=1pt, corner=round, framecolor=red]
\definefield [check-me] [check] [setup 3] [yes,no] [no]
\define\chk{\field[check-me]}
\starttext
\chkgfgkfgfghjl
\chkdfdffdfff
\stoptext
> 22 maj 2022 kl. 10:47 skrev Jan-Erik Hägglöf :
>
> Than
]
\definesymbol [yes] [{\externalfigure[mp-cont.502]}]
\definesymbol [no] []
\setupfield
[setup 3]
[width=2cm, height=2cm,
rulethickness=3pt, corner=round, framecolor=red]
\definefield [check-me] [check] [setup 3] [yes,no] [no]
\starttext
\field[check-me]
\stoptext
> 20 maj 2022 kl. 12:28 skrev Henn
Hi Hans,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startTEXpage[offset=2em]
\setupfield[ShortLine][horizontal][width=5cm,height=5em]
\definefield [Email] [signature] [ShortLine]
\field [Email] [your email]
\stopTEXpage
\stoptext
If I sign it with
;s now ISO only(?)
>
> But you might check yourself with the following sample:
>
> \setuppapersize[A10, landscape]
> \setuplayout[page]
> \setupinteraction[state=start]
> \starttext
> \setupfield[sl][horizontal]
> [frame=on, width=\textwidth, height=
uppapersize[A10, landscape]
\setuplayout[page]
\setupinteraction[state=start]
\starttext
\setupfield[sl][horizontal]
[frame=on, width=\textwidth, height=\textheight]
\definefield[x][signature][sl]
\field[x]
\stoptext
The attached certificate has the password 123456.
Only mupdf-gl
;
signatures into one, however Okular doesn't.
I could, however, isolate the original issue I posted on the ML:
Actually forms still work, but they don't, if embedded into TABLEs.
Here's a MWE:
\setupinteraction[state=start]
\definefield[lineField][line][][][]
\starttex
Hi,
I cannot get the signature working either, but almost certain it did work
in February this year, as I have done some with MKIV.
>From the test suite:
fields-007.tex
\nopdfcompression
\setupinteraction[state=start]
\starttext
\definefield[x][signature]
\field[x]
\stoptext
Using the ht
On 12/11/2020 6:13 PM, Andres Conrado Montoya wrote:
Firefox doesn't show the "yes", nor Acrobat X, but SumatraPDF does. I
modified your definition as:
\definefield[test][check][cbox][][]
And now the "yes" doesn't appear. However, I don't know how this aff
Firefox doesn't show the "yes", nor Acrobat X, but SumatraPDF does. I
modified your definition as:
\definefield[test][check][cbox][][]
And now the "yes" doesn't appear. However, I don't know how this affects
the functionality of the form.
--
Andrés
=1em,height=1em,option=printable,frame=on,offset=0.5mm,frameoffset=1mm,type=radio,color=black]
> \definefield[test][check][cbox][yes][no]
>
> \starttext
> \field[test] \space Do you see the word »yes«?
> \stoptext
>
> Unfortunately in Firefox and some other PDF Viewer there
table,frame=on,offset=0.5mm,frameoffset=1mm,type=radio,color=black]
\definefield[test][check][cbox][yes][no]
\starttext
\field[test] \space Do you see the word »yes«?
\stoptext
Unfortunately in Firefox and some other PDF Viewer there is the word
"yes" written in the checkbox.
This
Hans,
I have the following sample:
\setupinteraction[state=start]
\starttext
\startTEXpage[offset=1em]
\definefield[x][signature]
\field[x]
\stopTEXpage
\stoptext
I can only use Acrobat to sign PDF documents with signature fields
generated by ConTeXt. Other tools sign
height=2pc,
rulethickness=1pt,
framecolor=lightgrey,
option=readonly,
calculate=JS(tallyUp),
]
\definefield[A][line][numField][]
\definefield[B][line][numField][]
\definefield[Total][line][totalField][]
A: \field[A]
B: \field[B]
ight=2pc,rulethickness=1pt,framecolor=lightgrey]
>
> \setupfield[totalField][reset,horizontal]
>[
>height=2pc,
>rulethickness=1pt,
>framecolor=lightgrey,
>option=readonly,
>calcula
) ;
this.dirty = true;
}
\stopJSpreamble
\setupfield
[numField]
[reset,horizontal]
[height=2pc,
rulethickness=1pt,
afterkey=JS(recalculate{}),
focusout=JS(recalculate{}),
framecolor=lightgrey]
\setupfield
[totalField]
[reset,horizontal]
[height=2pc,
rulethickn
set,horizontal]
[height=2pc,rulethickness=1pt,framecolor=lightgrey]
\setupfield[totalField][reset,horizontal]
[
height=2pc,
rulethickness=1pt,
framecolor=lightgrey,
option=readonly,
calculate=JS(tallyUp),
]
\definefield[A][line][numFiel
ight)
Hans
--- test file ---
\setupinteraction
[state=start]
\definesymbol[yes][1]
\definesymbol[nop][0]
\setupfield[whatever][width=20mm,height=20mm,frame=off]
\definefield[what][radio][whatever][whatone,whattwo][whatone]
\definesubfield[whatone][][yes,nop]
\definesubfield[whattwo][][yes,nop
opdfcompression
\setupinteraction
[state=start]
\definesymbol[yes][1]
\definesymbol[nop][0]
\setupfield[whatever][width=20mm,height=20mm,frame=off]
\definefield[what][radio][whatever][whatone,whattwo][whatone]
\definesubfield[whatone][][yes,nop]
\definesubfield[whattwo][][yes,nop]
\setup
le all
> other fields’ contents get copied, it doesn’t work for radiobuttons; my
> minimal example unfortunately can’t show that.
>
>
> \setupinteraction[state=start]
>
> \setupfield[MMradio][
> option=printable,
> frame=overlay, corner=round,
> height=1em,
This is a feature request or wish:
I would be glad to have a module (e.g. "fakefields") as a drop-in replacement
that overwrites the field commands (\setupfield, \definefield, \definesubfield,
\field) with a version that doesn’t create form fields but just \inframeds that
loo
imal example unfortunately can’t show that.
>
>
> \setupinteraction[state=start]
>
> \setupfield[MMradio][
> option=printable,
> frame=overlay, corner=round,
> height=1em, width=1em,
> align=bottom,
> ]
>
> \definefield[chooseTeX][radio][MMradio][rbContext,rbLatex,
,
frame=overlay, corner=round,
height=1em, width=1em,
align=bottom,
]
\definefield[chooseTeX][radio][MMradio][rbContext,rbLatex,rbOther][rbContext]
\definesubfield[rbContext][][]
\definesubfield[rbLatex][][]
\definesubfield[rbOther][][]
\starttext
I want to use \field[rbContext] \CONTEXT
\startbuffer[abc]
> buffer contents
> \stopbuffer
> Just an attachment.\attachment[name=buffer.txt, author={Me},
> title={\MyContent\ \input knuth}, buffer=abc]
>
> \setupfield [TextSetup][width=.5\textwidth, height=.5\textwidth,
> frame=off]
={\MyContent\ \input knuth}, buffer=abc]
\setupfield [TextSetup][width=.5\textwidth, height=.5\textwidth,
frame=off]
\definefield [SomeField] [text] [TextSetup] [\MyContent\ \input
knuth]
\field[SomeField]
\stoptext
Would it be possible to have full expansion in PDF
On 05/24/2017 11:57 AM, luigi scarso wrote:
> On Sun, May 21, 2017 at 9:17 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> some time ago, Hans implemented signature fields:
>>
>> \setupinteraction[state=start]
>> \starttext
>>
On 05/24/2017 11:00 AM, Hans Hagen wrote:
> On 5/21/2017 9:17 PM, Pablo Rodriguez wrote:
>> \setupinteraction[state=start]
>> \starttext
>> \definefield[x][signature]
>> \field[x]
>> \stoptext
>>
>> I’m afraid I’m not able
On Sun, May 21, 2017 at 9:17 PM, Pablo Rodriguez wrote:
> Dear list,
>
> some time ago, Hans implemented signature fields:
>
> \setupinteraction[state=start]
> \starttext
> \definefield[x][signature]
> \field[x]
> \stoptext
>
> I’m afraid I’m
On 5/21/2017 9:17 PM, Pablo Rodriguez wrote:
Dear list,
some time ago, Hans implemented signature fields:
\setupinteraction[state=start]
\starttext
\definefield[x][signature]
\field[x]
\stoptext
I’m afraid I’m not able to sign it using Acrobat 9.5.5, which is the
Dear list,
some time ago, Hans implemented signature fields:
\setupinteraction[state=start]
\starttext
\definefield[x][signature]
\field[x]
\stoptext
I’m afraid I’m not able to sign it using Acrobat 9.5.5, which is the
latest version released for Linux.
Acrobat Reader 9.5.5
Hans,
I have the following sample:
\setupinteraction[state=start]
\starttext
\setupfield [TextSetup]
[width=.5\textwidth,
height=.5\textwidth,
frame=off]
\definefield [SomeField] [text] [TextSetup] [\input knuth]
\field[SomeField]
\stoptext
Would it be
Thanks Wolfgang for pointing the direction.
My effort so far gave the following:
\setuppapersize[S4][S4]\setupinteraction[state=start,click=no]
\definefield
[Choice][radio][ChoiceSetup] [yes,no]
\definesymbol [YesS] [Y] %[\ding{52},color=red] %% Not successful in getting
the symbols I
Am 2016-03-10 16:56, schrieb Hans Hagen:
next beta:
\setupinteraction[state=start]
\starttext
\definefield[x][signature]
\field[x]
\stoptext
It's working; thank you very much :-)
___
If your que
T /Tx [...] /Subtype
/Widget [...] /T (Einrichter Name)
"Einrichters Unterschrift" is another Signature Field)
next beta:
\setupinteraction[state=start]
\starttext
\definefield[x][signature]
\field[x]
\stoptext
Am 2016-03-09 16:16, schrieb Hans Hagen:
On 3/9/2016 2
zontal][height=5mm, width=50mm, frame=off,
bottomframe=on]
\definefield[Datum][line][MMshortString][][JS(CurDate)] % JS(CurDate) ends up
verbatim in the field
Date: \field[Datum]
\stoptext
Greetlings, Hraban
Greetlings Hraban,
This appears to be a pdf reader problem. On Win 8.1, Windows R
;dd.mm.", d);
df.value = CurDate;
function toggleField(){
var f = this.getField("Datum");
f.display = ! f.display;
}
\stopJSpreamble
%\goto{toggle}[JS(toggleField)]
\blank
\setupfield[MMshortString][reset,horizontal][height=5mm, width=50mm, frame=off,
botto
itial height in 10em.
\usemodule[fields]
\setupinteraction[state=start]
\setupfield
[TextSetup]
[width=\textwidth, height=10em, background=screen,
backgroundscreen=.97, frame=off]
\definefield [Block] [text] [TextSetup] [] [What's on your mind?]
\starttext
\field [Block] [type here]
etupinteraction[state=start]
\setupfield
[TextSetup]
[width=\textwidth, height=10em, background=screen, backgroundscreen=.97,
frame=off]
\definefield [Block] [text] [TextSetup] [] [What's on your mind?]
\starttext
\field [Block] [type here]
\stoptext
I have a situation where the amoun
background=screen,backgroundscreen=.97,frame=off]
\definefield [Block] [text] [TextSetup]
\starttext
\field [Block]
\stoptext
In this example the height is 5em. The field will scroll lines up when the
height of the lines typed exceeds the height of the field. Click outside
the field and the fiel
ound=color,backgroundcolor=darkred]{
> }}]
> \definesymbol [wno] []
>
> \definefield [rcheckme][check] [setup 3] [ryes,rno] [rno]
> \definefield [wcheckme][check] [setup 3] [wyes,wno] [wno]
>
>
> \starttext
> \field[rcheckme] Germany is a country in Europe.
>
> \field[wc
,background=color,backgroundcolor=darkgreen]{
}}]
\definesymbol [rno] []
\definesymbol [wyes]
[{\framed[frame=off,width=2em,height=2em,background=color,backgroundcolor=darkred]{
}}]
\definesymbol [wno] []
\definefield [rcheckme][check] [setup 3] [ryes,rno] [rno]
\definefield [wcheckme][check] [setup 3
0pt,width=100pt,align=middle,background=screen,backgroundscreen=.90,frame=off]
[height=40pt,width=100pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off]
\setupfield[widget][]
\definefield [Emaila] [line] [widget] [] [pragma@wxs.nl]
\field [Emaila] [your em
reen,backgroundscreen=.90,frame=off]
[height=18pt,width=80pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off,regionin=JS(Initialize_TeX_Key),afterkey=JS(Convert_TeX_Key),validate=JS(Convert_TeX_String)]
\definefield [Email] [line] [ShortLine] [] [pr
pt,align=middle,background=screen,backgroundscreen=.90,frame=off]
>>[height=18pt,width=80pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off]
>>
>>\definefield [Email] [line] [ShortLine] [] [pragma at wxs.nl]
>>
>>\startalignment[middle]
creen,backgroundscreen=.90,frame=off]
\setupfield
[sizea]
[horizontal]
[style={\switchtobodyfont[20pt]}]
\setupfield
[sizeb]
[horizontal]
[style={\switchtobodyfont[28pt]}]
\setupfield
[sizec]
[horizontal]
[style={\switchtobodyfont[20pt]}]
\definefield [Emaila] [line] [sizea] [] [pra...@w
field
[sizea]
[horizontal]
[style={\switchtobodyfont[20pt]}]
\setupfield
[sizeb]
[horizontal]
[style={\switchtobodyfont[28pt]}]
\setupfield
[sizec]
[horizontal]
[style={\switchtobodyfont[20pt]}]
\definefield [Emaila] [line] [sizea] [] [pra...@wxs.nl]
\definefield [Emailb] [line] [sizeb] [] [pra...@w
18pt,width=80pt,align=middle,background=screen,backgroundscreen=.90,frame=off]
[height=18pt,width=80pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off]
\definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl]
\startalignment[middle]
\field [Email] [your email]
\
background=screen,backgroundscreen=.90,frame=off]
\definefield[email][line][shortline][][pra...@wxs.nl]
\field[Email][your email]
\stoptext
MarkII.pdf
Description: MarkII.pdf
MarkIV.pdf
Description: MarkIV.pdf
_
itialize_TeX_Key), afterkey=JS(Convert_TeX_key),
validate=JS(Convert_TeX_String)]
\definefield [Kommentar] [text] [TextSetup] [Ihr
Veranstaltungskommentar...]
\starttext
\bTABLE
\bTR \bTD Kommentar: \eTD \bTD \field [Kommentar] [Ihr Kommentar...] \eTD
\eTR
\eTABLE
\button{Absenden}[SubmitForm{mailto::d
=JS(Convert_TeX_String)]
\definefield [Kommentar] [text] [TextSetup] [Ihr
Veranstaltungskommentar...]
\starttext
\bTABLE
\bTR \bTD Kommentar: \eTD \bTD \field [Kommentar] [Ihr Kommentar...] \eTD
\eTR
\eTABLE
\button{Absenden}[SubmitForm{mailto::daniel.gryc...@rub.de,Kommentar}]
\stoptext
Am 31.08.2010 um 14:30 schrieb Lutz Haseloff:
>> 1) After I fill one field in the PDF-file all other fields inherit the text.
>> How can I prevent this?
>
> The fields are all the same. You can:
>
> \dorecurse{31}{\definefield [hours#1] [line] [setup] [] []}
>
2010/8/31 Andreas Harder :
> Hi all,
>
> please have a look at my attached example. I've two problems.
>
>
> 1) After I fill one field in the PDF-file all other fields inherit the text.
> How can I prevent this?
The fields are all the same. You can:
\dorecurse{31}{\d
Am 19.02.2010 um 14:20 schrieb Hans Hagen:
> On 19-2-2010 10:40, Andreas Harder wrote:
>> \setupfield
>> [ShortLine]
>> [label,frame,horizontal]
>> [height=fit,framecolor=green]
>> []
>> [height=18pt,style=rmtf] % <- still mono
>>
&g
On 19-2-2010 10:40, Andreas Harder wrote:
\setupfield
[ShortLine]
[label,frame,horizontal]
[height=fit,framecolor=green]
[]
[height=18pt,type=normal] %<- is mono
\definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl]
\starttext
\startTEXpage[offset=1ex]
\field [Email]
Hi all,
if I use the following setup
\setupfield
[ShortLine]
[label,frame,horizontal]
[height=fit,framecolor=green]
[]
[height=18pt,type=normal] % <- is mono
\definefield [Email] [line] [ShortLine] [] [pra...@wxs.nl]
\starttext
\startTEXpage[offset=1ex]
\field [Email] [E-M
frame,horizontal]
[frame=off]
[height=18pt,width=15em,align=middle,frame=off]
[height=18pt,width=20em,align=right,style=\tfx,frame=on]
\definefield[textA] [line] [lineABC] [] []
\definefield[textB] [line] [lineABC] [] []
\definefield[textC] [line] [lineABC] [] []
\starttext
Calcula
th=15em,align=middle,frame=off]
[height=18pt,width=20em,align=right,style=\tfx,,frame=on]
\definefield[textA] [line] [lineABC] [] []
\definefield[textB] [line] [lineABC] [] []
\definefield[textC] [line] [lineABC] [] []
\startJScode{Calculate}
AFSimple_Calculate("SUM", new
value to JS caluclation and show the result
into another field.
Thanks
Jeroen
\setupcolors[state=start]
\setupinteraction[state=start]
\starttext
\definefield[textdensity] [line] [linedensity] [] []
\definefield[textdepth] [line] [linedepth] [] []
\definefield[textpressure
is did not work. I also tried some extensive
use of \noexpand and \expandafter, but it failed, too. Obviously, there's
some \csname...\endcsname stuff going on when creating the URL.
TIA,
olli
Here's a minimal example:
\setupcolors[state=start]
\setupinteraction[state=start]
\sta
Hi,
seems that color support is also broken in case of interaction. I get no
red frame for the attached example.
Best wishes, Peter
\setupcolors[state=start]
\setupinteraction[state=start]
\starttext
\definesymbol[no][]
\definefield[check-me][check][setup3][yes,no][no]
\setupfield[setup3][n
t;
>
>
> Here's the tex code:
>
>
>
> % interface=en tex=pdfetex output=pdftex
>
> \starttext
>
> Field 1: \fillinfield[name]{text that defines field length}
>
> \definefield [Email] [line] [ShortLine] [] [EMAIL PROTECTED]
>
> Field
at defines field length}
\definefield [Email] [line] [ShortLine] [] [EMAIL PROTECTED]
Field 2: \field [Email] [your email]
\stoptext
Thanks!
Bernhard
___
If your question is of interest to others as well, ple
ine=luatex
\setupinteraction[state=start]
\starttext
\setupfield [UglySetup] [width=6em, height=1.2\lineheight, location=low]
\definefield [Ugly] [choice] [UglySetup] [ugly,awful,bad] [ugly]
Text text \field[Ugly] text text.
\stoptext
I use ConTeXt ver: 2008.03.24 23:24 MKIV fmt: 2008.4.2 int: english/e
this.getField("time.clock").textSize = 13 ;
this.getField("time.clock").textFont = font.Digital ;
this.dirty = false }
var timeout = app.setInterval("start_clock()",1000);
\stopJSpreamble
% Field of clock
\useJSscripts[fld]
\definefield [time.clock] [line]
p[name][colour model][colour values]
\definecombinedlist[name][list][settings]
\defineconversion[name][command]
\definedescription[name][settings]
# \definedfont
\defineenumeration[names][name][settings]
# \defineexternalfigure
\definefield[reference][widget type][setup name][names][initial content]
\de
nds): text, header, and bottom. I've got the navigation buttons
> in the bottom. Now I'd like to add one more button that would open a
> field on the current page---a field containing the list of content. I'd
> like it to go to the \Topic I want to discuss and disappear.
>
like to add one more button that would open a field on
the current page---a field containing the list of content. I'd like it to go
to the \Topic I want to discuss and disappear.
I tried this:
\definefield[Content][check][HelpSetup][content][content]
\setupfields[reset]
\setupfield[HelpSetup]
[
page---a field containing the list of content. I'd like it to go
to the \Topic I want to discuss and disappear.
I tried this:
\definefield[Content][check][HelpSetup][content][content]
\setupfields[reset]
\setupfield[HelpSetup]
[width=fit,height=fit,frame=off,option={readonly,hidden}] %
\
no]{\red\bf#1}}%
\definesymbol [empty] []
\definesymbol [one] [\FS{1}]
\definesymbol [two] [\FS{2}]
\definesymbol [three] [\FS{3}]
\definesymbol [four][\FS{4}]
\definesymbol [five][\FS{5}]
\setupfield[interaction]
[width=4cm,height=4cm,
% frame=off,
framecol
lds
[reset]
\setupfield
[HelpSetup]
[width=1.2em,height=fit,frame=off,option={readonly,hidden}]
\def\currenthelp{Help::\abc}
\definefield [\currenthelp] [check] [HelpSetup] [helpinfo\abc]
[helpinfo\abc]
\definesymbol [helpinfo\abc] [\SomeHelpText]
\def\SomeHelpText%
{\framed
[width=1.2em,hei
tupfield
[HelpSetup]
[width=1.2em,height=fit,frame=off,option={readonly,hidden}]
\def\currenthelp{Help::\abc}
\definefield [\currenthelp] [check] [HelpSetup] [helpinfo\abc]
[helpinfo\abc]
\definesymbol [helpinfo\abc] [\SomeHelpText]
\def\SomeHelpText%
{\framed
[width=1.2em,height=fit,align=middle
f (f) {
if (f.textFont == "Times-Roman") {
f.textFont = "LMRoman12-Regular";
} else {
f.textFont = "Times-Roman";
}
}
\stopJScode
\setupinteraction[state=start]
\pdfcompresslevel=0
\starttext
\definefield[TestField][t
username={Test!},
% clickin=JS(Hide_Note),
%clickout=JS(Hide_Note),
]
\definefield[note:\AnotherNote][check][notes][note:\AnotherNote:on,note:\AnotherNote:on][note:\AnotherNote:on]%
\doifreferencefoundelse{note:\AnotherNote}
{\setlayer[notes][page=\curren
efinesymbol [four][\FS{4}]
\definesymbol [five][\FS{5}]
\setupfield[interaction]
[width=4cm,height=4cm,
% frame=off,
framecolor=blue,
offset=none,% default offset causes different positioning of walk button and
fieldstack
clickin=JS(Walk_Field{sequence})]
\definefield[Walk]
s, Peter
>
>> ------
>> \setupinteraction[state=start]
>>
>> \startJSpreamble functions used now
>> function do_digit(d)
>> { Stack[Level] += String(d);
>> do_refres
ngs, Peter
> --
> \setupinteraction[state=start]
>
> \startJSpreamble functions used now
> function do_digit(d)
> { Stack[Level] += String(d);
> do_refresh(Level) }
> \stopJSpreamble
>
ngs, Peter
> --
> \setupinteraction[state=start]
>
> \startJSpreamble functions used now
> function do_digit(d)
> { Stack[Level] += String(d);
> do_refresh(Level) }
> \stopJSpreamble
>
functions used now
> function do_digit(d)
> { Stack[Level] += String(d);
> do_refresh(Level) }
> \stopJSpreamble
>
> \startJScode{digit}
> do_digit(JS_S_1);
> \stopJScode
>
> \definefield[Stack.1][line][Results][][
>
> \setupfield
> [Results]
>
{ Stack[Level] += String(d);
do_refresh(Level) }
\stopJSpreamble
\startJScode{digit}
do_digit(JS_S_1);
\stopJScode
\definefield[Stack.1][line][Results][][
\setupfield
[Results]
[horizontal,frame]
[width=fit,
height=2cm,
frame=on]
[height=18pt,width=80pt,align=middle,frame=off]
[he
efinesymbol [five] [\FS{5}]
>
>
> \setupfield[interaction]
> [width=4cm,height=4cm,
> % frame=off,
>framecolor=blue,
>offset=none,% default offset causes different positioning of walk button
> and fieldstack
>clickin=JS(Walk_Field{sequ
\FS{5}]
\setupfield[interaction]
[width=4cm,height=4cm,
% frame=off,
framecolor=blue,
offset=none,% default offset causes different positioning of walk button and
fieldstack
clickin=JS(Walk_Field{sequence})]
\definefield[Walk][check][interaction][empty][empty]
\definefieldstack[sequenc
e=start]
\setupcolors[state=start]
\starttext
\switchtobodyfont[ss,32pt]
\def\FS#1{\framed[width=4cm,height=4cm]{#1}}%
\definesymbol[empty][]
\definesymbol[sgolds1][\FS{A}]
\definesymbol[sgolds3a][\FS{B}]
\definesymbol[sgolds3b][\FS{C}]
\definesymbol[sgolds3c][\FS{D}]
\definesymbol[sgolds3][\FS
g/schema/xfa-locale-set/2.1/";>gennaiofebbraiomarzoaprilemaggiogiugnoluglioagostosettembreottobrenovembredicembregenfebmaraprmaggiulugagosetottnovdicdomenicalunedìmartedìmercoledìgiovedìvenerdìsabatodomlunmarmergiovensabAMPMaCdC D DD
in advance.
\mainlanguage[fr]
\setupinteraction[state=start]
\definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo]
\setupfields[reset]
\setupfield[HelpSetup][option={readonly,hidden}]
\definesymbol [helpinfo] [SomeHelpText]
\starttext
\fitfield[Help]
\goto {Help} [JS(Toggle_Hide{Help})].
\stoptext
th
Denis Pinsard wrote:
Hello,
The following code doesn't work with the fr option.
It seems that there is interferences with javascript features.
Any idea to solve this problem is welcome.
Thank you in advance.
\mainlanguage[fr]
\setupinteraction[state=start]
\definefield [Help] [check] [Help
Hello,
The following code doesn't work with the fr option.
It seems that there is interferences with javascript features.
Any idea to solve this problem is welcome.
Thank you in advance.
\mainlanguage[fr]
\setupinteraction[state=start]
\definefield [Help] [check] [HelpSetup] [helpinfo] [hel
s provided
\definefield[#2][line][Skill][#1]\field[#2]
\else % if no second optional arg
\definefield[#3][line][Skill][#3]\field[#3]
\fi
\eTD\eTR}
e.g.
\SkillField[+8][Aergern]{Ärgern} % works
\SkillField[+1]{Labern} % does nothing instead of "el
1 - 100 of 113 matches
Mail list logo