ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Quizz
@ 2020-03-15  9:34 Fabrice Couvreur
  2020-03-15  9:46 ` Quizz Henning Hraban Ramm
  2020-03-16 10:14 ` Quizz Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Fabrice Couvreur @ 2020-03-15  9:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 272 bytes --]

Hi,
With the Coronavirus pandemic, my school will close like all the others. We
chose to work with Microsoft Teams. I know how to file Math exercises
written with ConteXt and export to pdf format. Is it possible with ConteXt
to create interactive Quizz?
Thank you
Fabrice

[-- Attachment #1.2: Type: text/html, Size: 616 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-15  9:34 Quizz Fabrice Couvreur
@ 2020-03-15  9:46 ` Henning Hraban Ramm
  2020-03-16  9:25   ` Quizz Hans Hagen
  2020-03-16 10:14 ` Quizz Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Henning Hraban Ramm @ 2020-03-15  9:46 UTC (permalink / raw)
  To: ntg-context

Am 15.03.20 um 10:34 schrieb Fabrice Couvreur:
> Hi,
> With the Coronavirus pandemic, my school will close like all the others. 
> We chose to work with Microsoft Teams. I know how to file Math exercises 
> written with ConteXt and export to pdf format. Is it possible with 
> ConteXt to create interactive Quizz?

You can create forms that work in Adobe Reader, but Radiobuttons are 
broken in ConTeXt, and if you want to add validation, then good luck 
getting JavaScript functions to work.

See https://wiki.contextgarden.net/Widgets

It much easier to use web technology (HTML forms).

Best, Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-15  9:46 ` Quizz Henning Hraban Ramm
@ 2020-03-16  9:25   ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2020-03-16  9:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Henning Hraban Ramm

On 3/15/2020 10:46 AM, Henning Hraban Ramm wrote:
> Am 15.03.20 um 10:34 schrieb Fabrice Couvreur:
>> Hi,
>> With the Coronavirus pandemic, my school will close like all the 
>> others. We chose to work with Microsoft Teams. I know how to file Math 
>> exercises written with ConteXt and export to pdf format. Is it 
>> possible with ConteXt to create interactive Quizz?
> 
> You can create forms that work in Adobe Reader, but Radiobuttons are 
> broken in ConTeXt, and if you want to add validation, then good luck 
> getting JavaScript functions to work.
radiobuttons are broken by design: initialization, default rendering, 
synchronization over pages (we have a parent child model for which 
support seem to differ per viewer/version) ... it's hard to support all 
the features (default rendering + appearances and such)

maybe i should implement it from scratch and only support the real 
minimal set of options (so that what is not supported can also not fail)

i really spent a lot of time on this and once you get 'this' working, 
some side effect 'there' pops up (i probably made a remark in the source 
someplace but for instance some widgets have the build in default 
appeances that then depend on for instance dingbats overload user 
appeances) .. i think in the end one should maybe not implement any 
owhat the 'standard' permits and just emulate what acrobat does, and 
exactly that (it's the only browser that does them anyway)

(the static part of pdf is ok, in the dynamic part is there is much 
crap, and i'm not even talking of dependencies on javascript or flash)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-15  9:34 Quizz Fabrice Couvreur
  2020-03-15  9:46 ` Quizz Henning Hraban Ramm
@ 2020-03-16 10:14 ` Hans Hagen
  2020-03-16 10:32   ` Quizz luigi scarso
  2020-03-16 18:46   ` Quizz Otared Kavian
  1 sibling, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2020-03-16 10:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur

On 3/15/2020 10:34 AM, Fabrice Couvreur wrote:
> Hi,
> With the Coronavirus pandemic, my school will close like all the others. 
> We chose to work with Microsoft Teams. I know how to file Math exercises 
> written with ConteXt and export to pdf format. Is it possible with 
> ConteXt to create interactive Quizz?
it should be doable (in the past we've made those with choice, fill in 
etc questions) but one problem with pdf is that there has been 
introduced some restrictions, for instance one cannot save in the reader 
so one then need to run a server that picks up the filled in stuff and 
regenerates a pdf file ... no big deal but i must admit that i don't 
have that code (if at all) around in loadable module form

there are some examples of form stuff in the test suite (widgets)

i'll send you a file from 2000 that does some mpc magic (including 
feedback and score calculations) but it's mkii (so you need to run 
pdftex). Maybe I should check it with mkiv too.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-16 10:14 ` Quizz Hans Hagen
@ 2020-03-16 10:32   ` luigi scarso
  2020-03-16 15:26     ` Quizz Fabrice Couvreur
  2020-03-16 18:46   ` Quizz Otared Kavian
  1 sibling, 1 reply; 10+ messages in thread
From: luigi scarso @ 2020-03-16 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1009 bytes --]

On Mon, Mar 16, 2020 at 11:14 AM Hans Hagen <j.hagen@xs4all.nl> wrote:

> On 3/15/2020 10:34 AM, Fabrice Couvreur wrote:
> > Hi,
> > With the Coronavirus pandemic, my school will close like all the others.
> > We chose to work with Microsoft Teams. I know how to file Math exercises
> > written with ConteXt and export to pdf format. Is it possible with
> > ConteXt to create interactive Quizz?
> it should be doable (in the past we've made those with choice, fill in
> etc questions) but one problem with pdf is that there has been
> introduced some restrictions, for instance one cannot save in the reader
> so one then need to run a server that picks up the filled in stuff and
> regenerates a pdf file ... no big deal but i must admit that i don't
> have that code (if at all) around in loadable module form
>

In google chrome this seems to work, apart the choice fields (the choice
selected has the red frame but  it has  no mark inside):
https://martin-thoma.com/images/2012/02/pdf-form.pdf

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1559 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-16 10:32   ` Quizz luigi scarso
@ 2020-03-16 15:26     ` Fabrice Couvreur
  2020-03-16 17:43       ` Quizz Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Fabrice Couvreur @ 2020-03-16 15:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1749 bytes --]

Hi Hans,
Thank you, I will try to use your file.
Fabrice

Le lun. 16 mars 2020 à 11:32, luigi scarso <luigi.scarso@gmail.com> a
écrit :

>
>
> On Mon, Mar 16, 2020 at 11:14 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
>
>> On 3/15/2020 10:34 AM, Fabrice Couvreur wrote:
>> > Hi,
>> > With the Coronavirus pandemic, my school will close like all the
>> others.
>> > We chose to work with Microsoft Teams. I know how to file Math
>> exercises
>> > written with ConteXt and export to pdf format. Is it possible with
>> > ConteXt to create interactive Quizz?
>> it should be doable (in the past we've made those with choice, fill in
>> etc questions) but one problem with pdf is that there has been
>> introduced some restrictions, for instance one cannot save in the reader
>> so one then need to run a server that picks up the filled in stuff and
>> regenerates a pdf file ... no big deal but i must admit that i don't
>> have that code (if at all) around in loadable module form
>>
>
> In google chrome this seems to work, apart the choice fields (the choice
> selected has the red frame but  it has  no mark inside):
> https://martin-thoma.com/images/2012/02/pdf-form.pdf
>
> --
> luigi
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-16 15:26     ` Quizz Fabrice Couvreur
@ 2020-03-16 17:43       ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2020-03-16 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/16/2020 4:26 PM, Fabrice Couvreur wrote:

> Thank you, I will try to use your file.
i'll add a mkiv variant to the distribution (a few minor tweaks)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-16 10:14 ` Quizz Hans Hagen
  2020-03-16 10:32   ` Quizz luigi scarso
@ 2020-03-16 18:46   ` Otared Kavian
  2020-03-17  8:40     ` Quizz Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Otared Kavian @ 2020-03-16 18:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 16 Mar 2020, at 11:14, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 3/15/2020 10:34 AM, Fabrice Couvreur wrote:
>> […]
> 
> there are some examples of form stuff in the test suite (widgets)
> 
> i'll send you a file from 2000 that does some mpc magic (including feedback and score calculations) but it's mkii (so you need to run pdftex). Maybe I should check it with mkiv too.

Could you please tell us where to find that file, even if it is only with mkii? (I need to prepare some material for my students, for the same reason as Fabrice…).

Thanks in advance: Otared K.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-16 18:46   ` Quizz Otared Kavian
@ 2020-03-17  8:40     ` Hans Hagen
  2020-03-17  9:18       ` Quizz luigi scarso
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2020-03-17  8:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Otared Kavian

On 3/16/2020 7:46 PM, Otared Kavian wrote:
> 
>> On 16 Mar 2020, at 11:14, Hans Hagen <j.hagen@xs4all.nl> wrote:
>>
>> On 3/15/2020 10:34 AM, Fabrice Couvreur wrote:
>>> […]
>>
>> there are some examples of form stuff in the test suite (widgets)
>>
>> i'll send you a file from 2000 that does some mpc magic (including feedback and score calculations) but it's mkii (so you need to run pdftex). Maybe I should check it with mkiv too.
> 
> Could you please tell us where to find that file, even if it is only with mkii? (I need to prepare some material for my students, for the same reason as Fabrice…).
Where? On my machine, in various places. The problem with such things 
has always been that publishers are not really interested in it (or not 
ready, or whatever) so experiments end up as orphan files. Take for 
instance

http://www.pragma-ade.com/itdemos/external/ex-files/ex-files.pdf

We have all the examns from the mid 90's that way. That version doesn't 
have the selection part (choose examns and questions and generate 
remotely a set of examn files). Lack of interest in these matters made 
is drop all kind of support files for that.

Other experiments involve testing based on pdf documents, and/or student 
progress reports using pdf files (basically forms but not that 
recognizable as such) where after a click the student got an updated 
document that (s)he could store and expand later on. Again, we have 
basically all the building blocks in context (the sql database as well 
as the service itself were controlled by luatex).

Currently we're playing with yet another technology where a complete 
(already around for a while, free) math school method is available as 
pdf ad well as web but again, not something for publishers so hard to 
even break even (most of this, also tex related, stuff is kind of a 
bottomless drain of time and therefore money, so doing it is mostly 
hobyism).

Anyway, I'll mail a few files (no upload yes, maybe later).

I have no problem coming up with additional styles of code for remote 
learning and student support but it has to have some 'direction' and not 
be too random.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quizz
  2020-03-17  8:40     ` Quizz Hans Hagen
@ 2020-03-17  9:18       ` luigi scarso
  0 siblings, 0 replies; 10+ messages in thread
From: luigi scarso @ 2020-03-17  9:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 457 bytes --]

On Tue, Mar 17, 2020 at 9:40 AM Hans Hagen <j.hagen@xs4all.nl> wrote:

>
> I have no problem coming up with additional styles of code for remote
> learning and student support but it has to have some 'direction' and not
> be too random.
>
>
one constrain could be "it works under google chrome > Version
79.0.3945.130"
At least some it's some  grade of cross platforms, as  chrome seems to be
quite ubiquitous .
Kind of least common denominator.

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 932 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-03-17  9:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15  9:34 Quizz Fabrice Couvreur
2020-03-15  9:46 ` Quizz Henning Hraban Ramm
2020-03-16  9:25   ` Quizz Hans Hagen
2020-03-16 10:14 ` Quizz Hans Hagen
2020-03-16 10:32   ` Quizz luigi scarso
2020-03-16 15:26     ` Quizz Fabrice Couvreur
2020-03-16 17:43       ` Quizz Hans Hagen
2020-03-16 18:46   ` Quizz Otared Kavian
2020-03-17  8:40     ` Quizz Hans Hagen
2020-03-17  9:18       ` Quizz luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).