File:  [LON-CAPA] / capa / capa51 / pProj / capa.config.structure
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Sep 28 21:26:21 1999 UTC (24 years, 7 months ago) by albertel
Branches: capa, MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_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, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, version_0_4, version5-1-2-first_release, start, stable_2002_spring, stable_2002_july, stable_2002_april, stable_2001_fall, release_5-1-3, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, conference_2003, bz6209-base, bz6209, STABLE, HEAD, GCI_3, GCI_2, GCI_1, CAPA_5-1-6, CAPA_5-1-5, CAPA_5-1-4_RC1, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Created directory structure

Part 1. General description

Generally comments begin with a hash mark (#) in the first column.

When specifying the value of a variable there must be a space before
the := or = . In all parts except for the capatools configuration use
an = to set a value. In the capatools section depending on the action
either a := or an = is required.

When specifying a value that has spaces in it surround it with double
quotes.

Example:

some_variable = "some value with spaces"


---
Part 2. class structure

The first two keywords are used by capalogin, capasbin/capahtml (WWW
programs) and capatools, the last two keywords are used only by
capatools.

exam_path = /usr/users/teacher/CAPA45/xns111f8

exam_path specifies the directory that the exams are in for this class.

quiz_path = /usr/users/teacher/CAPA45/qns111f8

quiz_path specifies the directory that the quizzes are in for this
class. 

supp_path   = /usr/users/teacher/CAPA45/sns111f8
others_path = /usr/users/teacher/CAPA45/fci111f8


---
Part 3. Command specifications

These 5 values specify where programs can be found, the settings are
used by Quizzer and capatools.

latex_command = latex

Specify how to run latex on your machine.

dvips_command = dvips

Specify how to run dvips on your machine.

mail_command = /usr/bin/mailx

Specify what mail program to use on your machine.

allcapaid_command = /usr/users/teacher/CAPA45/allcapaid

Specify where the allcapaid program has been installed

qzparse_command = /usr/users/teacher/CAPA45/qzparse

Specify where the qzparse program has been installed.


---
Part 4. Printing configuration

There are three keywords here which are used by capatools, Quizzer and
Grader to control how printing happens.

printer_option = postscript1
printer_option = postscript2

the first keyword may appear multiple times. It specifies all of the
printing queues you may select. When printing the list of thes queues
will be presented from which you can select the print queue you wish
to use.

lprOneSided_command = "/usr/bin/lpr -P$Printer_selected"
lprTwoSided_command = "/usr/bin/lpspr -K2 $PS_file | /usr/bin/lpr -P$Printer_selected"

The next two keywords lprOneSided_command and lprTwoSided_command
specify how to print one sided pieces of paper and two-sided sheets
respectively. As can seen by the above examples the needn't be a
single command, and can be a series of commands piped together. The
special variable $PS_file will be replaced with the name of the file
when this command is used, ad the special variable $Printer_selected
will be replaced with the name of the printer queue that is going to
be used.


---
Part 5. capalogin settings (telnet connection)

There are three values to be defined for capalogin. All have default
values if they are unspecified.

capalogin_goodby_delay = 10

The delay time in seconds that CAPA waits at goodbye screen before
closing the connection. The default time is 5 seconds.

capalogin_inactivity_delay = 35

The delay time in minutes before CAPA closes a connection that has
been inactive. If the student fails to press any key in 35 minutes the
connection will be automatically closed. The default value is 60
minutes. To disable this feature set the delay to be zero and the
student will never be timed out

capalogin_show_summary_score = none

This value will inhibit the show of the summary line in view previous
sets. If it is set to any value other than none it will show the total
score. By default this option is set such that the summary line will
be shown.


---
Part 6. Quizzer settings

There is on quizzer setting right now. It is what is outputed by
pressing the "Std. Header" button.

Everything taht appears between the keywords
BeginStandardQuizzerHeader
EnStandardQuizzerHeader
is entered into the current .qz file when this button is pressed.


---
Part 7. Units section

Three subsections seperated by special idetifiers.

--
Subsection 7.1 Base Units

Base Units are the units which are the basis of all of the other units
derived.

Special identifier:
<< Base Unit >>

3 columns, all are required

name  symbol comment

The name must be oneword. No spaces are allowed. 

The next column, symbol also cannot contain spaces. This is the name
that used in derived units to refer to this base unit.

The third column is a comment it begins with a hash mark (#) and ends
when a return is seen. It is required.


--
Subsection 7.2 Prefixes

Prefixes allow one to affix a single letter onto a base or Derived
unit to change it by a multiplicative offset. 
I.e mm is milli meters = 10^-3 * m

Special identifier:
<< Prefix >>

3 columns, all required

name  symbol  factor

The name must be one word. No spaces are allowed.

The symbol must be a single character.

The factor is the multiplicative shift this prefix is.  


--
Subsection 7.3 Derived Units

Units that are combinations of the base units, each base unit can
occur no more than once in the definition of a derived unit. This
restriction is not true when attempting to answer a question using
units, it only holds in defining new derived units.

Derived units can be specified in terms of other previously defined
derived units.

Special identifier:
<<Derived Unit>>

4 columns all required

first column is a name, it must not contain any spaces.

The next column is the symbol, it can be multiple characters but
cannot contain spaces.

The third column is the derivation of the unit, it contains an
optional multiplicative offset and then a specification in terms of
other base units and other previously defined derived units. 

The fourth column is a comment. It begins with a hash mark (#) and
ends with a return. It is required.


--
Subsection 8.4 Example

<< Base Unit >>

meter           m      # length
kilogram        kg     # mass
second          s      # time

<< Prefix >>

exa              E         10^{18}
hecto            h         10^2

deci             d         10^-1
centi            c         10^-2
pico             p         10^{-12}

<<Derived Unit>>
gram            g      0.001 kg      # mass
pound           lb     0.45359237 kg # mass
inch            in     2.54 cm       # length
foot            ft     12 in         # length
litre           L      10^3/cm^3     # volume
radian          rad    m /m            # plane angle
astroUnit       AU     1.49598E11 m  # mean distance earth to sun
newton          N      m*kg/s^2      # force
pascal          Pa     N/m^2           # pressure, stress
bar             bar    1E5 Pa          # pressure



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