If you are making exams with This is for doing this on one of the Department Unix/Linux machines. [There may be difficulties if some of the steps below are done on non-unix/linux machines.dos2unix might
help.]
If you want to do most of the work on your own machines, see Making grtex exams with labels on your own computer | Table of variables
|
crsadmin
group. Check by executing cat /home/shapiro/amIcrsadmin
crsadmin
group.
1) To start, cd
to the directory in
which you intend to run grtex. Let's call it "makeexams" .
2) Download a copy of
grtexWLBL
.
[If you already have a "cover" file
you wish to preserve, rename it cover.sav and then rename it back to
cover after the tar.]
Then
tar xvf grtexWLBL.tar
cover.wscan
,
cover.noscan
,
lbltempl.tex
,
note2secy
,
sendprint
,
studlabel.tex
,
and a symbolic link pix
,
as well as a copy of these instructions
Instructions
.
3) You need to have a "cover" file and you must have
\input cover
in the header page of your grtex input file.
Your "cover" file must include the lines \input studlabel
\input lbltempl
cover.wscan
gives an example of doing so,
while cover.noscan
is an example using
the mark sense forms.ln -s cover.wscan cover
(or cover.noscan
).
You can make a "tail
" file with content
if you want, or else
touch tail
.grtex
and let us call the outputof this grtex command xxxExam.e
Then check that you can successfully latex it:latex
xxxExam.emakeIndivLtx
below it will be hard to get out.
4) Copy your rostercp
/home/sysmgmnt/registration/rosters/
crsnum.csv
crsnum.csv
./doSectOrder crsnum.csv new.csv
mv new.csv crsnum.csv
cover
,
lbltempl.tex
,
tail
,
xxx.csv
,
and a directory pix
(linked to pictures in
/home/sysmgmnt/registration/pictures/
)
5) If you are happy with the default 101 for the lowest numbered exam, skip
this step. But otherwise,
decide what is to be the lowest numbered exam and
add the number as one more argument to the
makestudlbl
command below.
6) Now it is time to execute a bunch of commands: breakgrtex
xxxExam.e
makestudlbl
xxx.csv homestud
numextrasmakestudlbl
xxx.csv homestud
numextras 51]
homestud
,
extracted from the roster file, containing one line per student,
with their ID, section, exam code, last name and first name.
numextras is the number of extra exams with exam numbers
to prepare without names. One additional one will be prepared without
an exam code as well.
homestud
,
(which you can all whatever you like) contains an ordered
list of students. You can reorder them if you like. latex
xxxExam.emakeIndivLtx
xxxExam
numver crsnum homestud
tests fgrep BoundingBox mc*.ps
(replace * with correct version) is 72 times the number inches in
the \epsfysize=...
line in
cover
.shell
group
(shell.physics.rutgers.edu
, physlinux* )
you should do so.
If a secretary is supervising your printing, once you have checked
everything out, tell your secretary you are ready
to have the exams printed, probably by sending email as described in
note2secy
.
She should then get back to you saying
she is ready for you to submit the exams which will be printed within
the next day, approximately, and telling you which printer to use,
either 7503 or 6503.
If you are handling the printing yourself, make sure you have
a subdirectory printnow
of your
home directory on a physics server, and make sure it
does not have a
file crsnum in it. And decide which printer to use, 7503 or 6503.
Now, when you are ready or when the secretary is, with you logged onto
shell.physics.rutgers.edu
, cd to
makeexams, and execute:
./sendprint
crsnum
homestud
tests secy printer plexduplex
or simplex
.
sendprint
must run until the exams are all printed.
The exams will not start printing until either you (in a separate terminal
window) or the secretary gives the goahead
by executingtouch
/home/
secy/printnow/
crsnum.touch
/home/
secy/printnow/
command must be done in a separate window from the one running
sendprint
.]
lpq -P PHYS-221-RMP7503
(or ...RMP6503) should list
all the exams not yet printed.
all files have been printed. Goodbye.
.
If you are handling the printing yourself, now is the time to delete the
goahead file :
rm ~/printnow/
crsnum.