From sali at vsb.bc.ca Sun Mar 4 16:03:49 2018 From: sali at vsb.bc.ca (Seema Ali) Date: Sun, 4 Mar 2018 21:03:49 +0000 Subject: [LON-CAPA-users] Math formulas are messy in MC choices Message-ID: I have a question that has an image (of a graph) and multiple-choice options that contain Math equations to represent the graph. The equations are displaying really poorly in the Tex print out. Issues were: - it would do a word wrap of each option so I entered {} around the equation to prevent it from breaking the equation into more than 1 line. - It places the Math equation on a different line than the option A, B, C, .... So it looks strange. - It looks like it is not taking advantage of the full space of the page (1 column mode) I would like the Math equation to be on the same line as the option (A,B,C,...) , not have an automatic word wrap and be able to have it look good in either horizontal mode or vertical mode. Below you can see that I didn't place the curly brackets around the first option and how it automatically breaks the line, even though there is space on the line . Any help is greatly appreciated. [cid:634bc771-8515-401a-8a98-429b3afb9fb9] Below is the problem.
What is the equation for the relation shown above? $\Large C = \frac{1}{2} N + 400\ \ \ $ $\Large {C = N + 400}\ \ \ $ $\Large {C = \frac{1}{2} N}\ \ \ $ $\Large {C = \frac{9}{10} N}\ \ \ $ $\Large {C = \frac{9}{10} N + 400}\ \ \ $ $\Large {C = 2N + 400}\ \ \ $
-------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pastedImage.png Type: image/png Size: 49257 bytes Desc: pastedImage.png URL: From jgray at math.sfu.ca Mon Mar 5 14:18:51 2018 From: jgray at math.sfu.ca (Justin Gray) Date: Mon, 5 Mar 2018 11:18:51 -0800 Subject: [LON-CAPA-users] Math formulas are messy in MC choices In-Reply-To: References: Message-ID: While this does not address your specific question adequately, you may find the following help page to be relevant here: https://loncapa.msu.edu/adm/help/Print_Tricks.hlp Justin Justin Gray | Senior Lecturer Department of Mathematics | Simon Fraser University 8888 University Drive, Burnaby | V5A 1S6 | Canada Tel: +1 778.782.4237 On Sun, Mar 4, 2018 at 1:03 PM, Seema Ali wrote: > I have a question that has an image (of a graph) and multiple-choice > options that contain Math equations to represent the graph. The equations > are displaying really poorly in the Tex print out. Issues were: > > > - it would do a word wrap of each option so I entered {} around the > equation to prevent it from breaking the equation into more than 1 line. > > > - It places the Math equation on a different line than the option A, B, C, > .... So it looks strange. > > > - It looks like it is not taking advantage of the full space of the page > (1 column mode) > > > I would like the Math equation to be on the same line as the option > (A,B,C,...) , not have an automatic word wrap and be able to have it look > good in either horizontal mode or vertical mode. > > > > > Below you can see that I didn't place the curly brackets around the first > option and how it automatically breaks the line, even though there is space > on the line . > > > Any help is greatly appreciated. > > > > > > Below is the problem. > > > encrypturl="yes" /> > > > > >
What is the equation for the relation shown above? > > > randomize="yes"> > > > $\Large C = \frac{1}{2} N + 400\ > \ \ $ > > > $\Large {C = N + 400}\ \ \ $ /> > > > $\Large {C = \frac{1}{2} N}\ \ \ > $ > > > $\Large {C = \frac{9}{10} N}\ \ \ > $ > > > $\Large {C = \frac{9}{10} N + 400}\ \ \ > $ > > > > $\Large {C = 2N + 400}\ \ \ $ > > > > > /> >
> > > > > > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pastedImage.png Type: image/png Size: 49257 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SFU_2012_email_sig.jpg Type: image/jpeg Size: 8910 bytes Desc: not available URL: From itayf at nospammail.net Mon Mar 5 15:34:05 2018 From: itayf at nospammail.net (Itay) Date: Mon, 05 Mar 2018 22:34:05 +0200 Subject: [LON-CAPA-users] How to automatically display solution for a problem? Message-ID: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> Hi I failed to find a solution to this seemingly simple and universal issue.Conditional sequences might be the mechanism I am looking for, but I could not find enough details and examples of implementation. Assume I prepared and published a problem 'some.problem', and a corresponding solution 'solution.pdf'.I imported the problem into a course and set the parameters duedate and answerdate. I am looking for a mechanism that will allow me (1) to include a reference to the 'solution.pdf' inside 'some.problem'; and(2) will display 'solution.pdf' to the students only when 'answerdate' is reached and the answer for 'some.problem' is displayed.And I would like to achieve this for every problem inside a folder and/or a course. I would appreciate any hints on how to achieve that. Thanks in advance, Itay -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmills at illinois.edu Mon Mar 5 16:03:14 2018 From: dmills at illinois.edu (Mills, Douglas G) Date: Mon, 5 Mar 2018 21:03:14 +0000 Subject: [LON-CAPA-users] How to automatically display solution for a problem? In-Reply-To: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> References: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> Message-ID: HI Itay, There these very handy "Blocks" you can insert in your problem code and I think the "postanswerdate" block will do what you want, but I'm including all four that can be found from the Insert menu on the "colorful" editor. I would describe these as predefined conditionals so the postanswerdate pair, for example, will only display what is within the opening and closing tags after the answer has become available. If you put your link to a solution PDF inside a pair of postanswerdate tags, that should do what you're looking for. The others work analogously I believe. Doug Douglas Mills Director of Instructional Technology Department of Chemistry University of Illinois From: LON-CAPA-users on behalf of Itay Reply-To: Discussion list for LON-CAPA users Date: Monday, March 5, 2018 at 2:34 PM To: Discussion list for LON-CAPA users Subject: [LON-CAPA-users] How to automatically display solution for a problem? Hi I failed to find a solution to this seemingly simple and universal issue. Conditional sequences might be the mechanism I am looking for, but I could not find enough details and examples of implementation. Assume I prepared and published a problem 'some.problem', and a corresponding solution 'solution.pdf'. I imported the problem into a course and set the parameters duedate and answerdate. I am looking for a mechanism that will allow me (1) to include a reference to the 'solution.pdf' inside 'some.problem'; and (2) will display 'solution.pdf' to the students only when 'answerdate' is reached and the answer for 'some.problem' is displayed. And I would like to achieve this for every problem inside a folder and/or a course. I would appreciate any hints on how to achieve that. Thanks in advance, Itay -------------- next part -------------- An HTML attachment was scrubbed... URL: From lucasm at ohio.edu Mon Mar 5 16:06:10 2018 From: lucasm at ohio.edu (Lucas, Mark) Date: Mon, 5 Mar 2018 21:06:10 +0000 Subject: [LON-CAPA-users] How to automatically display solution for a problem? In-Reply-To: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> References: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> Message-ID: Itay, If you are coding these problems new or have control over the code, the following might work: Publish the pdf file solutions as resources. Within the problem you can place a postanswerdate block with a relative link to the pdf file. I have a really simple example at: /res/ohiou/physicslib/ZZZ_testing ground/lucas/examples/PDFSolutions/Sample1.problem

Check out the following link: sample1.pdf for a solution to the problem.

Mark PS - I just saw that Doug posted something as well. > On Mar 5, 2018, at 3:34 PM, Itay wrote: > > Hi > > I failed to find a solution to this seemingly simple and universal issue. > Conditional sequences might be the mechanism I am looking for, but I could not find enough details and examples of implementation. > > Assume I prepared and published a problem 'some.problem', and a corresponding solution 'solution.pdf'. > I imported the problem into a course and set the parameters duedate and answerdate. > > I am looking for a mechanism that will allow me > (1) to include a reference to the 'solution.pdf' inside 'some.problem'; and > (2) will display 'solution.pdf' to the students only when 'answerdate' is reached and the answer for 'some.problem' is displayed. > And I would like to achieve this for every problem inside a folder and/or a course. > > I would appreciate any hints on how to achieve that. > > Thanks in advance, > Itay > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users -- Mark Lucas email: lucasm at ohiou.edu 252D Clippinger Lab phone: (740)597-2984 Department of Physics and Astronomy fax: (740)593-0433 Ohio University Athens, OH 45701 From jgray at math.sfu.ca Mon Mar 5 16:08:47 2018 From: jgray at math.sfu.ca (Justin Gray) Date: Mon, 5 Mar 2018 13:08:47 -0800 Subject: [LON-CAPA-users] How to automatically display solution for a problem? In-Reply-To: References: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> Message-ID: Here is a sample problem that uses a block for after solved: Enter the correct answer 42 to see the hidden text or image:

Hooray!

Note that the solution could be, for example, a text/HTML block or an image. Justin Justin Gray | Senior Lecturer Department of Mathematics | Simon Fraser University 8888 University Drive, Burnaby | V5A 1S6 | Canada Tel: +1 778.782.4237 On Mon, Mar 5, 2018 at 1:03 PM, Mills, Douglas G wrote: > HI Itay, > > > > There these very handy "Blocks" you can insert in your problem code and I > think the "postanswerdate" block will do what you want, but I'm including > all four that can be found from the Insert menu on the "colorful" editor. > I would describe these as predefined conditionals so the postanswerdate > pair, for example, will only display what is within the opening and closing > tags after the answer has become available. If you put your link to a > solution PDF inside a pair of postanswerdate tags, that should do what > you're looking for. The others work analogously I believe. > > > > > > > > > > > > > > > > > > Doug > > > > Douglas Mills > > Director of Instructional Technology > > Department of Chemistry > > University of Illinois > > > > > > *From: *LON-CAPA-users on > behalf of Itay > *Reply-To: *Discussion list for LON-CAPA users < > lon-capa-users at mail.lon-capa.org> > *Date: *Monday, March 5, 2018 at 2:34 PM > *To: *Discussion list for LON-CAPA users > > *Subject: *[LON-CAPA-users] How to automatically display solution for a > problem? > > > > Hi > > > > I failed to find a solution to this seemingly simple and universal issue. > > Conditional sequences might be the mechanism I am looking for, but I could > not find enough details and examples of implementation. > > > > Assume I prepared and published a problem 'some.problem', and a > corresponding solution 'solution.pdf'. > > I imported the problem into a course and set the parameters duedate and > answerdate. > > > > I am looking for a mechanism that will allow me > > (1) to include a reference to the 'solution.pdf' inside 'some.problem'; and > > (2) will display 'solution.pdf' to the students only when 'answerdate' is > reached and the answer for 'some.problem' is displayed. > > And I would like to achieve this for every problem inside a folder and/or > a course. > > > > I would appreciate any hints on how to achieve that. > > > > Thanks in advance, > > Itay > > > > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SFU_2012_email_sig.jpg Type: image/jpeg Size: 8910 bytes Desc: not available URL: From itayf at nospammail.net Mon Mar 5 16:37:48 2018 From: itayf at nospammail.net (Itay) Date: Mon, 05 Mar 2018 23:37:48 +0200 Subject: [LON-CAPA-users] How to automatically display solution for a problem? In-Reply-To: References: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> Message-ID: <1520285868.2776218.1292539536.252B105B@webmail.messagingengine.com> Doug, Lucas, and Justin, Thank you very much for your reply. This is exactly what I wanted, and will employ, for problems that I code. What can be done for problems that others have authored? Thanks Itay On Mon, 5 Mar 2018, at 23:08, Justin Gray wrote: > Here is a sample problem that uses a block for after solved: > > Enter the correct answer 42 to see the hidden > text or image:> > > > > > > > > />

Hooray!

>
>
> > Note that the solution could be, for example, a text/HTML block or > an image.> > Justin > > > Justin Gray | Senior Lecturer > Department of Mathematics | Simon Fraser University > 8888 University Drive, Burnaby | V5A 1S6 | Canada > Tel: +1 778.782.4237 > > > > On Mon, Mar 5, 2018 at 1:03 PM, Mills, Douglas G > wrote:>> HI Itay,____ >> __ __ >> There these very handy "Blocks" you can insert in your problem code >> and I think the "postanswerdate" block will do what you want, but I'm >> including all four that can be found from the Insert menu on the >> "colorful" editor. I would describe these as predefined conditionals >> so the postanswerdate pair, for example, will only display what is >> within the opening and closing tags after the answer has become >> available. If you put your link to a solution PDF inside a pair of >> postanswerdate tags, that should do what you're looking for. The >> others work analogously I believe.____>> __ __ >> ____ >> ____ >> ____ >> ____ >> __ __ >> __ __ >> __ __ >> Doug____ >> __ __ >> Douglas Mills____ >> Director of Instructional Technology____ >> Department of Chemistry____ >> University of Illinois____ >> __ __ >> __ __ >> *From: *LON-CAPA-users on >> behalf of Itay *Reply-To: *Discussion list for >> LON-CAPA users *Date: *Monday, >> March 5, 2018 at 2:34 PM *To: *Discussion list for LON-CAPA users > capa.org> *Subject: *[LON-CAPA-users] How to automatically display >> solution for a problem?____>> __ __ >> Hi____ >> __ __ >> I failed to find a solution to this seemingly simple and universal >> issue.____>> Conditional sequences might be the mechanism I am looking for, but I >> could not find enough details and examples of implementation.____>> __ __ >> Assume I prepared and published a problem 'some.problem', and a >> corresponding solution 'solution.pdf'.____>> I imported the problem into a course and set the parameters duedate >> and answerdate.____>> __ __ >> I am looking for a mechanism that will allow me____ >> (1) to include a reference to the 'solution.pdf' inside >> 'some.problem'; and____>> (2) will display 'solution.pdf' to the students only when >> 'answerdate' is reached and the answer for 'some.problem' is >> displayed.____>> And I would like to achieve this for every problem inside a folder >> and/or a course.____>> __ __ >> I would appreciate any hints on how to achieve that.____ >> __ __ >> Thanks in advance,____ >> Itay____ >> __ __ >> __ __ >> >> _______________________________________________ >> LON-CAPA-users mailing list >> LON-CAPA-users at mail.lon-capa.org >> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users >> > _________________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SFU_2012_email_sig.jpg Type: image/jpeg Size: 8910 bytes Desc: not available URL: From glhardin at purdue.edu Tue Mar 6 16:33:56 2018 From: glhardin at purdue.edu (Harding, Gene L) Date: Tue, 6 Mar 2018 21:33:56 +0000 Subject: [LON-CAPA-users] Hat Symbol Message-ID: <52da017ab1c348fdbd062cb54e518ca8@wppexc10.purdue.lcl> Hi, Does anyone know how to render the "hat" over a letter in LON-CAPA/XML to designate a unit vector? Thanks, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.ruskell at gmail.com Tue Mar 6 16:40:17 2018 From: todd.ruskell at gmail.com (Todd Ruskell) Date: Tue, 6 Mar 2018 14:40:17 -0700 Subject: [LON-CAPA-users] Hat Symbol In-Reply-To: <52da017ab1c348fdbd062cb54e518ca8@wppexc10.purdue.lcl> References: <52da017ab1c348fdbd062cb54e518ca8@wppexc10.purdue.lcl> Message-ID: Hi Gene, You better sit down for it: $\hat k$ For i-hat and j-hat, I prefer to use $\hat\imath$ and $\hat\jmath$ which removes the dots. Hope that helps, Todd On Tue, Mar 6, 2018 at 2:33 PM, Harding, Gene L wrote: > Hi, > > > > Does anyone know how to render the ?hat? over a letter in LON-CAPA/XML to > designate a unit vector? > > > > Thanks, > > > > Gene L. Harding, PE > > Associate Professor of ECET > > 574-520-4190 <(574)%20520-4190> > > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glhardin at purdue.edu Tue Mar 6 17:03:27 2018 From: glhardin at purdue.edu (Harding, Gene L) Date: Tue, 6 Mar 2018 22:03:27 +0000 Subject: [LON-CAPA-users] Hat Symbol In-Reply-To: References: <52da017ab1c348fdbd062cb54e518ca8@wppexc10.purdue.lcl> Message-ID: <7eca13dbf13d4961bf27871416032972@wppexc10.purdue.lcl> Hi Todd, Yes, that works great. I noticed that \overline also works for ?normal? vectors. Thanks! Best regards, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 From: LON-CAPA-users [mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Todd Ruskell Sent: Tuesday, March 6, 2018 4:40 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] Hat Symbol Hi Gene, You better sit down for it: $\hat k$ For i-hat and j-hat, I prefer to use $\hat\imath$ and $\hat\jmath$ which removes the dots. Hope that helps, Todd On Tue, Mar 6, 2018 at 2:33 PM, Harding, Gene L > wrote: Hi, Does anyone know how to render the ?hat? over a letter in LON-CAPA/XML to designate a unit vector? Thanks, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.ruskell at gmail.com Tue Mar 6 17:51:48 2018 From: todd.ruskell at gmail.com (Todd Ruskell) Date: Tue, 6 Mar 2018 15:51:48 -0700 Subject: [LON-CAPA-users] Hat Symbol In-Reply-To: <7eca13dbf13d4961bf27871416032972@wppexc10.purdue.lcl> References: <52da017ab1c348fdbd062cb54e518ca8@wppexc10.purdue.lcl> <7eca13dbf13d4961bf27871416032972@wppexc10.purdue.lcl> Message-ID: I usually use \vec rather than \overline for "normal" vectors. On Tue, Mar 6, 2018 at 3:03 PM, Harding, Gene L wrote: > Hi Todd, > > > > Yes, that works great. I noticed that \overline also works for ?normal? > vectors. Thanks! > > > > Best regards, > > > > Gene L. Harding, PE > > Associate Professor of ECET > > 574-520-4190 <(574)%20520-4190> > > > > *From:* LON-CAPA-users [mailto:lon-capa-users-bounces at mail.lon-capa.org] *On > Behalf Of *Todd Ruskell > *Sent:* Tuesday, March 6, 2018 4:40 PM > *To:* Discussion list for LON-CAPA users > > *Subject:* Re: [LON-CAPA-users] Hat Symbol > > > > Hi Gene, > > > > You better sit down for it: $\hat k$ For i-hat and j-hat, I > prefer to use $\hat\imath$ and $\hat\jmath$ which removes the > dots. > > > > Hope that helps, > > Todd > > > > On Tue, Mar 6, 2018 at 2:33 PM, Harding, Gene L > wrote: > > Hi, > > > > Does anyone know how to render the ?hat? over a letter in LON-CAPA/XML to > designate a unit vector? > > > > Thanks, > > > > Gene L. Harding, PE > > Associate Professor of ECET > > 574-520-4190 <(574)%20520-4190> > > > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users at mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmills at illinois.edu Tue Mar 6 18:02:14 2018 From: dmills at illinois.edu (Mills, Douglas G) Date: Tue, 6 Mar 2018 23:02:14 +0000 Subject: [LON-CAPA-users] How to automatically display solution for a problem? In-Reply-To: <1520285868.2776218.1292539536.252B105B@webmail.messagingengine.com> References: <1520282045.2745426.1292436696.16497B9E@webmail.messagingengine.com> <1520285868.2776218.1292539536.252B105B@webmail.messagingengine.com> Message-ID: <9B11C738-2000-4CDB-AE94-8437805B5B93@illinois.edu> Hi Itay, I may be wrong about this and there may be an easier way -- hopefully someone will point that out -- but back to your original question then, the way that occurs to me would be conditional sequences. I'll share an example here in case that will help you assess if this is the right approach for what you want to do and perhaps provide a bit of guidance on how this works. If you end up with specific instrucitons on how to do this perhaps you can reply to me off-list for more detail. We make extensive use of conditional sequences in our lab courses to prevent students from accessing the postlab if they have not correctly entered their data into the Lon-Capa lab. Below is a graphic representation of what that looks like for one of our prelab -- lab -- postlab sequences. This screenshot comes from the "advanced editor" interface for creating the sequence. The three "Res" blocks correspond to the prelab problem, the lab problem, and the postlab problem. The conditional references the lab problem (mapalias "inlab9") to see if all of the answers there have been answered correctly and if not, blocks access to the postlab problem. It looks like this: (((&EXT('user.resource.resource.210.11.awarddetail','inlab9') eq 'APPROX_ANS') || (&EXT('user.resource.resource.210.11.awarddetail','inlab9') eq 'EXACT_ANS')) && ((&EXT('user.resource.resource.220.21.awarddetail','inlab9') eq 'APPROX_ANS') || (&EXT('user.resource.resource.220.21.awarddetail','inlab9') eq 'EXACT_ANS')) && ((&EXT('user.resource.resource.220.22.awarddetail','inlab9') eq 'APPROX_ANS') || (&EXT('user.resource.resource.220.22.awarddetail','inlab9') eq 'EXACT_ANS')) && ((&EXT('user.resource.resource.220.23.awarddetail','inlab9') eq 'APPROX_ANS') || (&EXT('user.resource.resource.220.23.awarddetail','inlab9') eq 'EXACT_ANS')) && ((&EXT('user.resource.resource.220.24.awarddetail','inlab9') eq 'APPROX_ANS') || (&EXT('user.resource.resource.220.24.awarddetail','inlab9') eq 'EXACT_ANS'))) || (&EXT('user.resource.resource.210.solved','inlab9') eq 'excused') (The last line of the conditional provides a way for the instructor to allow access to the postlab for a student with an excused absence from the lab.) Your conditional may be quite a bit simpler being focused solely on whether or not the problem has its answer available. I have not done that in a sequence before, but I have referenced it within a problem and it looks like this: $external::datestatus eq 'SHOW_ANSWER' I am NOT sure how (or if it's possible) to use that type of reference with a mapalias and hope someone else can help with that? The one other thing I'll point out about my sequence below is the path from the lab directly to Finish. That provides a path so as to not conditionally hide everything else in the course (as I once did when I first started working with sequences). In your case, if I understand correctly, your sequence would contain two resources: the problem and the solution and the conditional would come between them and would verify that the answer was available for the problem before giving access to the solution. I imagine that you could have a string of problem and solution pairs if you provided also a direct path from problem to problem so that all the problems were unconditionally available while each solution had a conditional path from its respective problem. My very long .02. If that seems like a viable approach for what you want to do, I'll be happy to answer additional questions off-list. Doug [cid:image001.png at 01D3B56C.DFD6FB60] Douglas Mills Director of Instructional Technology Department of Chemistry University of Illinois From: LON-CAPA-users on behalf of Itay Reply-To: Discussion list for LON-CAPA users Date: Monday, March 5, 2018 at 3:37 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] How to automatically display solution for a problem? Doug, Lucas, and Justin, Thank you very much for your reply. This is exactly what I wanted, and will employ, for problems that I code. What can be done for problems that others have authored? Thanks Itay On Mon, 5 Mar 2018, at 23:08, Justin Gray wrote: Here is a sample problem that uses a block for after solved: Enter the correct answer 42 to see the hidden text or image:

Hooray!

Note that the solution could be, for example, a text/HTML block or an image. Justin Justin Gray | Senior Lecturer Department of Mathematics | Simon Fraser University 8888 University Drive, Burnaby | V5A 1S6 | Canada Tel: +1 778.782.4237 [cid:image002.png at 01D3B56C.DFD6FB60] On Mon, Mar 5, 2018 at 1:03 PM, Mills, Douglas G > wrote: HI Itay, There these very handy "Blocks" you can insert in your problem code and I think the "postanswerdate" block will do what you want, but I'm including all four that can be found from the Insert menu on the "colorful" editor. I would describe these as predefined conditionals so the postanswerdate pair, for example, will only display what is within the opening and closing tags after the answer has become available. If you put your link to a solution PDF inside a pair of postanswerdate tags, that should do what you're looking for. The others work analogously I believe. Doug Douglas Mills Director of Instructional Technology Department of Chemistry University of Illinois From: LON-CAPA-users > on behalf of Itay > Reply-To: Discussion list for LON-CAPA users > Date: Monday, March 5, 2018 at 2:34 PM To: Discussion list for LON-CAPA users > Subject: [LON-CAPA-users] How to automatically display solution for a problem? Hi I failed to find a solution to this seemingly simple and universal issue. Conditional sequences might be the mechanism I am looking for, but I could not find enough details and examples of implementation. Assume I prepared and published a problem 'some.problem', and a corresponding solution 'solution.pdf'. I imported the problem into a course and set the parameters duedate and answerdate. I am looking for a mechanism that will allow me (1) to include a reference to the 'solution.pdf' inside 'some.problem'; and (2) will display 'solution.pdf' to the students only when 'answerdate' is reached and the answer for 'some.problem' is displayed. And I would like to achieve this for every problem inside a folder and/or a course. I would appreciate any hints on how to achieve that. Thanks in advance, Itay _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 26865 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 8544 bytes Desc: image002.png URL: From glhardin at purdue.edu Tue Mar 6 18:19:54 2018 From: glhardin at purdue.edu (Harding, Gene L) Date: Tue, 6 Mar 2018 23:19:54 +0000 Subject: [LON-CAPA-users] Hat Symbol In-Reply-To: References: <52da017ab1c348fdbd062cb54e518ca8@wppexc10.purdue.lcl> <7eca13dbf13d4961bf27871416032972@wppexc10.purdue.lcl> Message-ID: <792328a5b19c410c873b30e15d598555@wppexc10.purdue.lcl> Even better?thanks! Gene L. Harding, PE Associate Professor of ECET 574-520-4190 From: LON-CAPA-users [mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Todd Ruskell Sent: Tuesday, March 6, 2018 5:52 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] Hat Symbol I usually use \vec rather than \overline for "normal" vectors. On Tue, Mar 6, 2018 at 3:03 PM, Harding, Gene L > wrote: Hi Todd, Yes, that works great. I noticed that \overline also works for ?normal? vectors. Thanks! Best regards, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 From: LON-CAPA-users [mailto:lon-capa-users-bounces at mail.lon-capa.org] On Behalf Of Todd Ruskell Sent: Tuesday, March 6, 2018 4:40 PM To: Discussion list for LON-CAPA users > Subject: Re: [LON-CAPA-users] Hat Symbol Hi Gene, You better sit down for it: $\hat k$ For i-hat and j-hat, I prefer to use $\hat\imath$ and $\hat\jmath$ which removes the dots. Hope that helps, Todd On Tue, Mar 6, 2018 at 2:33 PM, Harding, Gene L > wrote: Hi, Does anyone know how to render the ?hat? over a letter in LON-CAPA/XML to designate a unit vector? Thanks, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users at mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From kortemey at msu.edu Sun Mar 25 18:57:09 2018 From: kortemey at msu.edu (kortemey) Date: Sun, 25 Mar 2018 18:57:09 -0400 Subject: [LON-CAPA-users] Mark your Calendars: 2018 Conference and Workshop Message-ID: <973ADF9A-011F-46FB-B47E-1418E6D3341C@msu.edu> Dear Friends, Users, and Supporters, The 2018 LON-CAPA Conference and Workshop will be at Purdue University, May 31 - June 3, 2018. Registration details will be available on our website. Cheers, - Gerd. From raeburn at msu.edu Fri Mar 30 15:29:14 2018 From: raeburn at msu.edu (Stuart Raeburn) Date: Fri, 30 Mar 2018 15:29:14 -0400 Subject: [LON-CAPA-users] Order of Contents Different Between Course Coordinator/Students In-Reply-To: <024ad6d7d5ad4c469e0882130122f528@wppexc05.purdue.lcl> References: <024ad6d7d5ad4c469e0882130122f528@wppexc05.purdue.lcl> Message-ID: <20180330152914.16123l5odh9ticcq@mail.msu.edu> All, > > Any more ideas, please share and we?ll try them! We?re stumped. > If any list subscribers encounter similar intermittent disordering of resources in a folder, as reported for a single course in the purdue domain on January 29th (see: mail.lon-capa.org/pipermail/lon-capa-users/2018-January/005273.html ) I wanted to report back on the resolution of this issue. The cause of the problem was traced to the %randomorder package hash in lonuserstate.pm. To prevent this (rare) bug, domains running LON-CAPA 2.11.1 or 2.11.2 can patch their LON-CAPA instances with lonuserstate.pm rev.1.149.2.1, as follows: All on one line: wget -O /home/httpd/lib/perl/Apache/lonuserstate.pm 'http://source.loncapa.org/cgi-bin/cvsweb.cgi/~checkout~/rat/lonuserstate.pm?rev=1.149.2.1;content-type=text/plain' then, depending on Linux distro/version: service httpd reload or /etc/init.d/apache2 reload or /etc/init.d/httpd reload This code change will also be incorporated in the next LON-CAPA release. For details of the code change, see: mail.lon-capa.org/pipermail/lon-capa-cvs/Week-of-Mon-20180326/028076.html Stuart Raeburn LON-CAPA Academic Consortium > Thanks for the suggestion, Justin! I don?t believe that?s it, though. > I?m attaching screenshots of the differences. It?s at the folder level. > Any more ideas, please share and we?ll try them! We?re stumped. > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Thanks, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Joyce > > From: elt-dev-bounces at lists.purdue.edu > [mailto:elt-dev-bounces at lists.purdue.edu] On Behalf Of Justin Gray > Sent: Wednesday, January 31, 2018 12:54 PM > To: Discussion list for LON-CAPA users > Cc: elt-dev at lists.purdue.edu; Wilson, Patricia A. > Subject: Re: [Elt-dev] [LON-CAPA-users] Order of Contents Different > Between Course Coordinator/Students > > LON-CAPA gives students a few options for sorting their contents: > > ? ?*? ?Default > ? ?*? ?Title > ? ?*? ?Due Date > ? ?*? ?Has New Discussion > Have you verified that the affected students have used the default sorting? > > Regards, > Justin > > > Justin Gray | Senior Lecturer > Department of Mathematics | Simon Fraser University > 8888 University Drive, Burnaby | V5A 1S6 | Canada > Tel: +1 778.782.4237 > > On Mon, Jan 29, 2018 at 7:00 AM, Young, Joyce E > > wrote: > All, > ? ? ? ? ? ? ? ? ?We are having an issue where the Course Coordinator > of a course sets up the order of contents in a folder in the order > she wishes the students to access them. She has noticed that in the > student?s view, the order doesn?t always appear in that sequence, > however. > ? ? ? ? ? ? ? ? ?I?ve searched the Content Settings and there are no > special settings. I can?t recreate the issue by enrolling myself as a > student. The order appears correct for me. But she has provided a > screenshot of a student?s screen, where the 7 folders within the main > folder appear in a different order. She has noticed this different > view for 2 unique students. She has seen the different order appear > for the student on more than one device. She also witnessed this > happening last term. > ? ? ? ? ? ? ? ? ?Not a huge deal, but annoying for the instructor who > is trying to manage the order in which her student?s proceed through > the course. > ? ? ? ? ? ? ? ? ?Any ideas on what might be causing this? > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? > ? ? ? ? ? ?Thanks, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? > ? ? ? ? ? ? ? ? ? ? ? ? ? ?Joyce > > Joyce Young > Programmer/Analyst > ITAS - Student Systems Competency Center > Purdue University > 3495 Kent Avenue, Suite 100 > West Lafayette, IN 47906 > Phone: (765) 427-6340 > Fax: (765) 464-2233 > Campus Mail: ROSS > young257 at purdue.edu > > > _______________________________________________ > LON-CAPA-users mailing list >