ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: Re: Quizz
Date: Mon, 16 Mar 2020 10:25:21 +0100	[thread overview]
Message-ID: <991d87df-30b4-4fcd-0774-da959583f727@xs4all.nl> (raw)
In-Reply-To: <3afc49c6-f279-49a7-2ef4-f13dacf295cf@fiee.net>

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
___________________________________________________________________________________

  reply	other threads:[~2020-03-16  9:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15  9:34 Quizz Fabrice Couvreur
2020-03-15  9:46 ` Quizz Henning Hraban Ramm
2020-03-16  9:25   ` Hans Hagen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=991d87df-30b4-4fcd-0774-da959583f727@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).