Mark,
LON-CAPA's <organicresponse> tag supports an options attribute, which could be
set to:
options="autoez".
However, to pass that option when the JSME molecular editor is loaded, you
would need to update /home/httpd/lib/perl/Apache/chemresponse.pm on your
LON-CAPA server(s) to include this one line change:
- jsmeApplet = new JSApplet.JSME("jme", "420px", "330px");
+ jsmeApplet = new JSApplet.JSME("jme", "420px", "330px", {"options" :
"$options"});
See: mail.lon-capa.org/pipermail/lon-capa-cvs/Week-of-Mon-20210405/029505.html
When the "Edit" button is used in Authoring Space to display the "colorful
editor" the "Response: Organic Chemical Structure" box includes checkboxes for
the following options:
Auto E,Z stereochemistry
Multipart Structures
No stereochemistry
Is a reaction
Able to number atoms
When those are checked the resulting XML will include a comma separated list of
value(s) for the "options" attribute.
If EditXML is used to edit the problem other JSME options can be included that
are not just from the set: autoez, multipart, nostereo, reaction, and number
(corresponding to the checkboxes in the colorful editor).
For the complete list of options that can be passed when loading JSME see:
jsme-editor.github.io/dist/doc.html#OPTIONS
Note: the version of JSME included with the LON-CAPA 2.11.1, 2.11.2 and 2.11.3
releases was: 2015-02-09. I will be including the 2020-12-26 release of JSME
with LON-CAPA 2.12.
Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-users <[email protected]> on behalf of
Mark Wall via LON-CAPA-users <[email protected]>
Sent: Wednesday, April 7, 2021 12:58 PM
To: [email protected]
Subject: [LON-CAPA-users] enabling autoez for JSME
Hi,
Is there a way to have the autoez function enabled for the built-in JSME so we
can do stereochemistry interpretations of alkenes in the organic response
questions? Perhaps as a parameter when setting up the problem (i.e.,
autoez="yes"). Currently students need to manually enable stereochemistry
interpretation for alkenes by clicking the wedge and clicking the double bond,
something I'd rather avoid.
Thanks,
Mark
Mark J Wall, Ph.D.
Department of Chemistry
Dalhousie University
Halifax, NS
Ph: (902) 494-7565<tel:%28902%29%20494-7565>
________________________________
From: LON-CAPA-users <[email protected]> on behalf of
[email protected]
<[email protected]>
Sent: March 18, 2021 11:58 AM
To: [email protected] <[email protected]>
Subject: LON-CAPA-users Digest, Vol 109, Issue 1
CAUTION: The Sender of this email is not from within Dalhousie.
Send LON-CAPA-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of LON-CAPA-users digest..."
Today's Topics:
1. Re: {Disarmed} {Disarmed} Re: Lon-Capa demo problems on
website (Lucas, Mark)
2. Re: {Disarmed} {Disarmed} Re: Lon-Capa demo problems on
website (Lucas, Mark)
3. Re: {Disarmed} {Disarmed} Re: Lon-Capa demo problems on
website (Itay)
4. Converter LON-CAPA problems to STACK questions out now
(Sprengel, Frauke)
----------------------------------------------------------------------
Message: 1
Date: Thu, 18 Feb 2021 21:06:27 +0000
From: "Lucas, Mark" <[email protected]>
To: "Lucas, Mark" <[email protected]>, Discussion list for LON-CAPA
users <[email protected]>
Subject: Re: [LON-CAPA-users] {Disarmed} {Disarmed} Re: Lon-Capa demo
problems on website
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Itay,
I?ve placed a few samples in:
/res/showandtell/SntPhysics/Favorites/Mark Lucas
Favorites/Sample_problems.sequence
There are several that use HTML5, so they are not a ?standard? problem.
When Java and Physlets ran into issues in browsers, I coded a minimal chunk of
HTML5 to
allow me to replicate some of my old physlet kinematics problems. I also took
Wolfgang?s
arrow code that he shared with the group at a conference, stripped it down to a
single arrow
(to wrap my head around it), and created several simple ?single arrow? practice
problems.
I?ve also included a simple gnuplot problem and random label problem.
Under the hood one of the nice features is the ability to code adaptive hints.
As well conceptgroups are a feature that allow on to produce more
sophisticated randomization
in a fairly simple manner.
Hope this helps,
Mark
--
Mark Lucas email:
[email protected]
252D Clippinger Lab phone:
(740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701
------------------------------
Message: 2
Date: Fri, 19 Feb 2021 15:54:07 +0000
From: "Lucas, Mark" <[email protected]>
To: Itay <[email protected]>
Cc: Discussion list for LON-CAPA users
<[email protected]>
Subject: Re: [LON-CAPA-users] {Disarmed} {Disarmed} Re: Lon-Capa demo
problems on website
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Itay,
I?m glad it is helpful.
Most of the problems coded locally at Ohio University have source available.
Later,
Mark
> On Feb 19, 2021, at 10:50 AM, Itay <[email protected]> wrote:
>
> Mark,
>
> This is very helpful. In particular, the fact that you made the source code
> available.
>
> Many Thanks
> Itay
>
> On Thu, 18 Feb 2021, at 23:06, Lucas, Mark wrote:
>> Itay,
>>
>> I?ve placed a few samples in:
>>
>> /res/showandtell/SntPhysics/Favorites/Mark Lucas
>> Favorites/Sample_problems.sequence
>>
>> There are several that use HTML5, so they are not a ?standard? problem.
>> When Java and Physlets ran into issues in browsers, I coded a minimal
>> chunk of HTML5 to
>> allow me to replicate some of my old physlet kinematics problems. I
>> also took Wolfgang?s
>> arrow code that he shared with the group at a conference, stripped it
>> down to a single arrow
>> (to wrap my head around it), and created several simple ?single arrow?
>> practice problems.
>>
>> I?ve also included a simple gnuplot problem and random label problem.
>>
>> Under the hood one of the nice features is the ability to code adaptive
>> hints.
>> As well conceptgroups are a feature that allow on to produce more
>> sophisticated randomization
>> in a fairly simple manner.
>>
>> Hope this helps,
>> Mark
>> --
>> Mark Lucas email:
>> [email protected]
>> 252D Clippinger Lab phone:
>> (740)597-2984
>> Department of Physics and Astronomy fax: (740)593-0433
>> Ohio University
>> Athens, OH 45701
>>
>>
--
Mark Lucas email:
[email protected]
252D Clippinger Lab phone:
(740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701
------------------------------
Message: 3
Date: Fri, 19 Feb 2021 17:50:34 +0200
From: Itay <[email protected]>
To: "Lucas, Mark" <[email protected]>, "Discussion list for LON-CAPA
users" <[email protected]>
Subject: Re: [LON-CAPA-users] {Disarmed} {Disarmed} Re: Lon-Capa demo
problems on website
Message-ID: <[email protected]>
Content-Type: text/plain;charset=utf-8
Mark,
This is very helpful. In particular, the fact that you made the source code
available.
Many Thanks
Itay
On Thu, 18 Feb 2021, at 23:06, Lucas, Mark wrote:
> Itay,
>
> I?ve placed a few samples in:
>
> /res/showandtell/SntPhysics/Favorites/Mark Lucas
> Favorites/Sample_problems.sequence
>
> There are several that use HTML5, so they are not a ?standard? problem.
> When Java and Physlets ran into issues in browsers, I coded a minimal
> chunk of HTML5 to
> allow me to replicate some of my old physlet kinematics problems. I
> also took Wolfgang?s
> arrow code that he shared with the group at a conference, stripped it
> down to a single arrow
> (to wrap my head around it), and created several simple ?single arrow?
> practice problems.
>
> I?ve also included a simple gnuplot problem and random label problem.
>
> Under the hood one of the nice features is the ability to code adaptive
> hints.
> As well conceptgroups are a feature that allow on to produce more
> sophisticated randomization
> in a fairly simple manner.
>
> Hope this helps,
> Mark
> --
> Mark Lucas email:
> [email protected]
> 252D Clippinger Lab phone:
> (740)597-2984
> Department of Physics and Astronomy fax: (740)593-0433
> Ohio University
> Athens, OH 45701
>
>
------------------------------
Message: 4
Date: Thu, 18 Mar 2021 15:58:37 +0100
From: "Sprengel, Frauke" <[email protected]>
To: Discussion list for LON-CAPA users
<[email protected]>
Subject: [LON-CAPA-users] Converter LON-CAPA problems to STACK
questions out now
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL:
<http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20210318/70e1d7c1/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
LON-CAPA-users mailing list
[email protected]
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
------------------------------
End of LON-CAPA-users Digest, Vol 109, Issue 1
**********************************************
_______________________________________________
LON-CAPA-users mailing list
[email protected]
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users