[NTG-context] Re: digital signing in ConTeXt

2024-06-17 Thread Hans Hagen via ntg-context
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

[NTG-context] digital signing in ConTeXt

2024-06-17 Thread Pablo Rodriguez via ntg-context
/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

[NTG-context] issue with signing

2024-06-03 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Hans Hagen via ntg-context
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:

[NTG-context] Re: checkbox in fields show the word yes

2023-10-05 Thread juh via ntg-context
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

[NTG-context] digitally sign fields with MuPDF-GL

2023-07-13 Thread Pablo Rodriguez
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

[NTG-context] Radiobuttons again...

2022-06-25 Thread Henning Hraban Ramm via ntg-context
\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

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
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

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Pablo Rodriguez via ntg-context
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

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
[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

Re: [NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Jan-Erik Hägglöf via ntg-context
]% \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

Re: [NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Jan-Erik Hägglöf via ntg-context
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

Re: [NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Pablo Rodriguez via ntg-context
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 ___

[NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Jan-Erik Hägglöf via ntg-context
[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

Re: [NTG-context] Interactive checkbox in ConTeXt

2022-05-22 Thread Jan-Erik Hägglöf via ntg-context
] [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

Re: [NTG-context] Interactive checkbox in ConTeXt

2022-05-22 Thread Jan-Erik Hägglöf via ntg-context
] \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

[NTG-context] issue with signature fields in Acrobat

2021-08-03 Thread Pablo Rodriguez via ntg-context
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

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Leonard Janis Robert König
;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=

Re: [NTG-context] PDF forms not creating proper children

2021-06-09 Thread Pablo Rodriguez
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

Re: [NTG-context] PDF forms not creating proper children

2021-06-07 Thread Leonard Janis Robert König
; 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

Re: [NTG-context] PDF forms not creating proper children

2021-05-01 Thread Adam Reviczky
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

Re: [NTG-context] checkbox in fields show the word yes

2020-12-11 Thread Hans Hagen
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

Re: [NTG-context] checkbox in fields show the word yes

2020-12-11 Thread Andres Conrado Montoya
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

Re: [NTG-context] checkbox in fields show the word yes

2020-12-11 Thread Jan U. Hasecke
=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

[NTG-context] checkbox in fields show the word yes

2020-11-17 Thread Jan U. Hasecke
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

[NTG-context] problems with signature fields

2020-11-11 Thread Pablo Rodriguez
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

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-18 Thread Hans Hagen
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]

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-18 Thread Henning Hraban Ramm
ight=2pc,rulethickness=1pt,framecolor=lightgrey] > > \setupfield[totalField][reset,horizontal] >[ >height=2pc, >rulethickness=1pt, >framecolor=lightgrey, >option=readonly, >calcula

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-18 Thread Hans Hagen
) ; 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

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-17 Thread Paul Mazaitis
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

Re: [NTG-context] radiobuttons

2019-08-15 Thread Hans Hagen
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

Re: [NTG-context] radiobuttons

2019-08-14 Thread Hans Hagen
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

Re: [NTG-context] radiobuttons

2019-08-13 Thread Henning Hraban Ramm
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,

Re: [NTG-context] radiobuttons and other widgets

2019-08-05 Thread Henning Hraban Ramm
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

Re: [NTG-context] radiobuttons

2019-08-05 Thread Henning Hraban Ramm
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,

[NTG-context] radiobuttons

2019-08-05 Thread Henning Hraban Ramm
, 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

Re: [NTG-context] full expansion in widgets

2017-06-22 Thread Henri Menke
\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]

[NTG-context] full expansion in widgets

2017-06-22 Thread Pablo Rodriguez
={\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

Re: [NTG-context] issue with signature field

2017-05-25 Thread Pablo Rodriguez
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 >>

Re: [NTG-context] issue with signature field

2017-05-25 Thread Pablo Rodriguez
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

Re: [NTG-context] issue with signature field

2017-05-24 Thread luigi scarso
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

Re: [NTG-context] issue with signature field

2017-05-24 Thread Hans Hagen
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

[NTG-context] issue with signature field

2017-05-21 Thread Pablo Rodriguez
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

[NTG-context] expansion in widgets

2017-05-04 Thread Pablo Rodriguez
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

Re: [NTG-context] Multiple Choice Quiz with self marking funciton

2016-10-25 Thread B.A.Lee
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

Re: [NTG-context] PDF Signature Fields

2016-03-14 Thread Andreas Schneider
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

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Hans Hagen
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

Re: [NTG-context] Forms and JavaScript

2015-04-02 Thread Rik Kabel
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

[NTG-context] Forms and JavaScript

2015-04-02 Thread Henning Hraban Ramm
;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

Re: [NTG-context] Resizing multi-line fill-in field

2014-07-01 Thread Hans Hagen
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]

[NTG-context] Resizing multi-line fill-in field

2014-07-01 Thread Michael Guravage
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

[NTG-context] PDF Forms - expanding multi-line text fields

2014-06-17 Thread Michael Guravage
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

Re: [NTG-context] Widgets getting check marks instead of colors when the next one is clicked.

2012-03-23 Thread Mikael P. Sundqvist
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

[NTG-context] Widgets getting check marks instead of colors when the next one is clicked.

2012-03-23 Thread Mikael P. Sundqvist
,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

[NTG-context] more "missing or ungrouped '=' after"

2011-03-20 Thread Reviczky, Adam
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

[NTG-context] JS in widgets still not working with mkiv

2011-02-02 Thread Reviczky, Adam
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

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-28 Thread Reviczky, Adam
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]

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-26 Thread Hans Hagen
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

[NTG-context] Widgets color option not working with Mark IV

2011-01-25 Thread Reviczky, Adam
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

[NTG-context] field alignment bug in latest beta

2011-01-25 Thread Reviczky, Adam
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] \

[NTG-context] Widgets color option not working with Mark IV

2010-12-07 Thread Reviczky, Adam
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 _

Re: [NTG-context] SubmitForm interaction

2010-11-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
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

Re: [NTG-context] SubmitForm interaction

2010-11-29 Thread Daniel Grycman
=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

Re: [NTG-context] PDF fields

2010-08-31 Thread Andreas Harder
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] [] []} >

Re: [NTG-context] PDF fields

2010-08-31 Thread Lutz Haseloff
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

Re: [NTG-context] Change Font in PDF-fields

2010-02-20 Thread Andreas Harder
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

Re: [NTG-context] Change Font in PDF-fields

2010-02-19 Thread Hans Hagen
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]

[NTG-context] Change Font in PDF-fields

2010-02-19 Thread Andreas Harder
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

Re: [NTG-context] Fields and JS Calculations

2009-11-23 Thread Hans Hagen
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

Re: [NTG-context] Fields and JS Calculations

2009-11-22 Thread jeroen muskee
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

[NTG-context] Fields and JS Calculations

2009-11-21 Thread jeroen muskee
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

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

2009-05-12 Thread Oliver Heins
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

[NTG-context] MP color and interaction (alpha)

2009-01-08 Thread Peter Rolf
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

Re: [NTG-context] pdf forms

2008-05-30 Thread Lutz Haseloff
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

[NTG-context] pdf forms

2008-05-29 Thread Bernhard Boser
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

[NTG-context] Widgets with luatex

2008-04-08 Thread Lutz Haseloff
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

[NTG-context] JavaScript conflicts

2008-01-22 Thread Zhichu Chen
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]

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
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

Re: [NTG-context] Interactive slides---hidden field on every page

2007-09-17 Thread Peter Rolf
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. >

[NTG-context] Interactive slides---hidden field on every page

2007-09-16 Thread Michal Kvasnička
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] [

[NTG-context] Interactive slides---hidden field on every page

2007-09-12 Thread Michal Kvasnička
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}] % \

Re: [NTG-context] luatex and interaction

2007-08-07 Thread Peter Rolf
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

Re: [NTG-context] using of field failed when arrange subpages

2007-04-16 Thread Zhichu Chen
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

[NTG-context] using of field failed when arrange subpages

2007-04-15 Thread Zhichu Chen
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

Re: [NTG-context] Still have no idea about how to specify fonts in JavaScript fields.

2006-11-22 Thread Hans Hagen
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

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

2006-11-13 Thread Peter Rolf
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

Re: [NTG-context] goto & framed

2006-10-17 Thread Peter Rolf
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]

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-06 Thread Peter Rolf
s, Peter > >> ------ >> \setupinteraction[state=start] >> >> \startJSpreamble functions used now >> function do_digit(d) >> { Stack[Level] += String(d); >> do_refres

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Zhichu Chen
ngs, Peter > -- > \setupinteraction[state=start] > > \startJSpreamble functions used now > function do_digit(d) > { Stack[Level] += String(d); > do_refresh(Level) } > \stopJSpreamble >

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Zhichu Chen
ngs, Peter > -- > \setupinteraction[state=start] > > \startJSpreamble functions used now > function do_digit(d) > { Stack[Level] += String(d); > do_refresh(Level) } > \stopJSpreamble >

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Peter Rolf
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] >

[NTG-context] How to display JavaScript's values in ConTeXt

2006-09-04 Thread Zhichu Chen
{ 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

Re: [NTG-context] Fieldstack Walk

2006-04-22 Thread Peter Rolf
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

Re: [NTG-context] Fieldstack Walk

2006-04-22 Thread Peter Rolf
\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

Re: [NTG-context] Fieldstack Walk

2006-04-18 Thread Peter Rolf
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

Re: [NTG-context] Support for FormCalc ?

2006-04-11 Thread Hans Hagen
g/schema/xfa-locale-set/2.1/";>gennaiofebbraiomarzoaprilemaggiogiugnoluglioagostosettembreottobrenovembredicembregenfebmaraprmaggiulugagosetottnovdicdomenicalunedìmartedìmercoledìgiovedìvenerdìsabatodomlunmarmergiovensabAMPMaCdC D DD

Re: [NTG-context] Problem with \mainlanguage[fr] and javascript

2005-05-09 Thread Denis Pinsard
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

Re: [NTG-context] Problem with \mainlanguage[fr] and javascript

2005-05-08 Thread Hans Hagen
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

[NTG-context] Problem with \mainlanguage[fr] and javascript

2005-04-27 Thread Denis Pinsard
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

Re: [NTG-context] optional arguments, if(nth)argument

2005-01-07 Thread Taco Hoekwater
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   2   >