[LON-CAPA-users] Publishing Library file

lon-capa-users@mail.lon-capa.org lon-capa-users@mail.lon-capa.org
Mon, 23 Apr 2007 17:08:12 -0400


<div>Hmm, mine looks similar.<br><br>Do you have &lt;library&gt; tags surro=
unding it? The example you showed didn't. I would think LonCapa would be co=
nfused without the library tags.<br><br>brew<br></div><font color=3D"#99009=
9">-----lon-capa-users-admin@mail.lon-capa.org wrote: -----<br><br></font><=
blockquote style=3D"border-left: 2px solid rgb(0, 0, 0); padding-right: 0px=
; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To: lon-capa-use=
rs@mail.lon-capa.org<br>From: Todd Ruskell &lt;truskell@mines.edu&gt;<br>Se=
nt by: lon-capa-users-admin@mail.lon-capa.org<br>Date: 04/23/2007 03:45PM<b=
r>Subject: [LON-CAPA-users] Publishing Library file<br><br><font face=3D"mo=
nospace" size=3D"3">Hi,<br><br>So I'm creating a survey, and the answer to =
every question is<br>one of 6 options, so rather than coding this radiobutt=
on response into<br>every question, I've created a .library file. &nbsp;Pro=
blem is, I can't<br>publish it because LC complains that it has errors. &nb=
sp;The code is pretty<br>basic, and I've included it below. &nbsp;The error=
 LC gives is:<br><br>ERROR:Found a &lt;*response&gt; outside of a &lt;part&=
gt; in a &lt;part&gt;ed problem<br><br>This is clearly true, because this i=
s not designed to be an entire<br>problem. &nbsp;Although I don't have any =
&lt;part&gt; tags at all. &nbsp;What am I<br>missing that will allow me to =
do something like this?<br><br>Thanks,<br><br>Todd<br><br>-----------------=
---------<br>&lt;radiobuttonresponse direction=3D"horizontal" max=3D"6" ran=
domize=3D"no"&gt;<br><br> &nbsp; &nbsp;&lt;foilgroup&gt;<br>&lt;foil value=
=3D"true" name=3D"foil6"&gt;<br>&lt;startouttext /&gt;<br>No Response&lt;en=
douttext /&gt;<br>&lt;/foil&gt;<br><br>&lt;foil value=3D"false" name=3D"foi=
l1"&gt;<br>&lt;startouttext /&gt;Strongly Disagree&lt;endouttext /&gt;<br>&=
lt;/foil&gt;<br><br>&lt;foil value=3D"false" name=3D"foil2"&gt;<br>&lt;star=
touttext /&gt;Disagree&lt;endouttext /&gt;<br>&lt;/foil&gt;<br><br>&lt;foil=
 value=3D"false" name=3D"foil3"&gt;<br>&lt;startouttext /&gt;Neutral&lt;end=
outtext /&gt;<br>&lt;/foil&gt;<br><br>&lt;foil value=3D"false" name=3D"foil=
4"&gt;<br>&lt;startouttext /&gt;Agree&lt;endouttext /&gt;<br>&lt;/foil&gt;<=
br><br>&lt;foil value=3D"false" name=3D"foil5"&gt;<br>&lt;startouttext /&gt=
;Strongly Agree&lt;endouttext /&gt;<br>&lt;/foil&gt;<br><br> &nbsp; &nbsp;&=
lt;/foilgroup&gt;<br><br>&lt;/radiobuttonresponse&gt;<br>-- <br>Dr. Todd Ru=
skell<br>Senior Lecturer, Department of Physics &nbsp; &nbsp; &nbsp; Office=
: &nbsp;Meyer Hall 326<br>Colorado School of Mines &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Phone: 303-384-2080<br>1523 I=
llinois Street &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; Fax: 303-273-3919<br>Golden, CO 80401<br>=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>LON-CAPA-users=
 mailing list<br>LON-CAPA-users@mail.lon-capa.org<br><a href=3D"http://mail=
.lon-capa.org/mailman/listinfo/lon-capa-users">http://mail.lon-capa.org/mai=
lman/listinfo/lon-capa-users</a><br></font>
</blockquote><br>=