[LON-CAPA-users] fixing an ordered list
Stefan Bisitz
lon-capa-users@mail.lon-capa.org
Fri, 23 Apr 2010 12:17:07 +0200
Hi James,
To be sure to have matching roman numbers in the list and in the answer
options, I suggest to just directly type them. In this case, you are
independent from any not supported display or printing options, e.g.
<ul>
<li>(I) the current</li>
<li>(II) the potential difference across it</li>
<li>(III) the cross-sectional area</li>
<li>(IV) the length of the resistor</li>
</ul>
Stefan Bisitz
On 23.04.2010 05:27, James Mueller wrote:
> How do I fix the following problem. When displayed in a browser, the
> ordered list is displayed numbered with roman numerals. However, when I
> prepare a pdf of this problem, the list is numbered with arabic
> numerals. This makes the foils wrong. I assume that this happens
> because the xml to latex just turns the <OL> into an enumerate
> environment and ignores the TYPE argument. For this problem I could,
> by trial and error, figure out what the generated LaTeX has in it and
> adjust the xml to match, but I worry that depending on the how whether
> this problem is included in a homework, or exam folder, it might print
> differently. Any advice would be appreciated.
>
> -Jim Mueller
>
> <problem>
> <parameter name="maxtries" id="11" type="int_pos" default="2"
> description="Maximum Number of Tries" />
> <startouttext />The resistance of a cylindrical ohmic resistor at a
> fixed temperature depends on
> <OL TYPE="I">
> <LI>the current</LI>
> <LI>the potential difference across it</LI>
> <LI>the cross-sectional area</LI>
> <LI>the length of the resistor</LI>
> </OL><endouttext />
>
> <radiobuttonresponse direction="vertical" max="10" id="12" randomize="yes">
>
> <foilgroup>
>
> <foil location="random" value="false" name="foil1">
> <startouttext />(I) and (II) only
> <endouttext />
> </foil>
>
> <foil location="random" value="true" name="foil2">
> <startouttext />(III) and (IV) only
> <endouttext />
> </foil>
>
> <foil location="random" value="false" name="foil3">
> <startouttext />(I), (II) and (III) only
> <endouttext />
> </foil>
>
> <foil location="random" value="false" name="foil4">
> <startouttext />(I), (II) and (IV) only
> <endouttext />
> </foil>
>
> <foil location="bottom" value="false" name="foil5">
> <startouttext />all of the above
> <endouttext />
> </foil>
>
> </foilgroup>
>
> </radiobuttonresponse>
> </problem>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users