File:  [LON-CAPA] / loncom / homework / templates / SelectFromOptions-4ConceptGoups.problem
Revision 1.4: download - view: text, annotated - select for diffs
Mon Jul 6 17:12:47 2009 UTC (14 years, 10 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_99_0, version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Consistent problem templates:
- New line after each tag (not for texts in foils)
- One empty row after each end tag and before new start tag for second level tags
- No indentation for second level tags, e.g. <script>
- Four white spaces as indentation for each further sub level
    Exceptions:
        -Content (mostly text) in separate line(s): no indentation
        - Concept groups: same indentation as foilgroup
          (allows to insert code from problems without concept groups without changing the indentation and vice versa)
- No new line at end of template
- Removed new lines from within the middle of default texts
- Added one blank each after "<m>$" and before "$</m>" to ensure no misinterpretation neither by human nor by machine (e.g. "<m>$x" is not "<m>$ $x")
- Replaced deprecated font tag in <instructorcomment> by CSS
- Removed dos line endings
- dos2unix conversion
  (ClickImageExample.problem, RandomLabelExample.problem, SimpleMatching.problem)

    1: <problem>
    2: 
    3: <startouttext />
    4: Type Question Here.
    5: <endouttext />
    6: 
    7: <optionresponse max="10">
    8:     <foilgroup options="('Green','Red')">
    9:     <conceptgroup concept="One">
   10:         <foil name="OneA" value="Green">
   11:             <startouttext />This is statement OneA of concept One.  Green<endouttext />
   12:         </foil>
   13:         <foil name="OneB" value="Red">
   14:             <startouttext />This is statement OneB of concept One.  Red<endouttext />
   15:         </foil>
   16:         <foil name="OneC" value="Green">
   17:             <startouttext />This is statement OneC of concept One.  Green<endouttext />
   18:         </foil>
   19:     </conceptgroup>
   20: 
   21:     <conceptgroup concept="Two">
   22:         <foil name="TwoA" value="Green">
   23:                 <startouttext />This is statement TwoA of concept Two.  Green<endouttext />
   24:         </foil>
   25:         <foil name="TwoB" value="Red">
   26:             <startouttext />This is statement TwoB of concept Two.  Red<endouttext />
   27:         </foil>
   28:     </conceptgroup>
   29: 
   30:     <conceptgroup concept="Three">
   31:         <foil name="ThreeA" value="Green">
   32:             <startouttext />This is statement ThreeA of concept Three.  Green<endouttext />
   33:         </foil>
   34:         <foil name="ThreeB" value="Red">
   35:             <startouttext />This is statement ThreeB of concept Three.  Red<endouttext />
   36:         </foil>
   37:     </conceptgroup>
   38: 
   39:     <conceptgroup concept="Four">
   40:         <foil name="FourA" value="Green">
   41:             <startouttext />This is statement FourA of concept Four.  Green<endouttext />
   42:         </foil>
   43:         <foil name="FourB" value="Red">
   44:             <startouttext />This is statement FourB of concept Four.  Red<endouttext />
   45:         </foil>
   46:     </conceptgroup>
   47:     </foilgroup>
   48:     <hintgroup><startouttext />Add hint text here.<endouttext />
   49:     </hintgroup>
   50: </optionresponse>
   51: 
   52: </problem>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>