Forum archive 2000-2006

Bill Ziemer - Missing problem numbers with hard copy

Bill Ziemer - Missing problem numbers with hard copy

by Arnold Pizer -
Number of replies: 0
inactiveTopicMissing problem numbers with hard copy topic started 8/29/2001; 6:56:51 PM
last post 8/30/2001; 1:21:32 PM
userBill Ziemer - Missing problem numbers with hard copy  blueArrow
8/29/2001; 6:56:51 PM (reads: 1395, responses: 4)
When printing out hard copy problems many problems will not have the problem label printed out; the tex file is missing the line similar to

\medskip\hrule\smallskip\par{\bf 1.{\footnotesize (1 pt) set2\-/sw1_5_3.pg}}\newline

that divides the problems. This is happening on all 3 implementations of webwork that I have. Any ideas on what is happening?

<| Post or View Comments |>


userMichael Gage - Re: Missing problem numbers with hard copy  blueArrow
8/29/2001; 7:08:22 PM (reads: 1605, responses: 0)
Hi

This message is printed by the macro beginproblem(). Most problems have

TEXT(beginproblem());

near the top of the problem template, right after the loadMacros() command. This prints out the problem number for both the screen and for the hard copy and also prints out the name of the file containing the problem template if your user name has been entered in

$PG_environment{'PRINT_FILE_NAMES_FOR'} = ['gage','apizer'];

which is defined in the webworkCourse.ph file.

The most likely explanation is that one or more of these problems is missing the call to beginproblem(). beginproblem() is defined in PGbasicmacros.pl.

Let us know if the problem turns out to more complicated than this.

--Mike

<| Post or View Comments |>


userBill Ziemer - Re: Missing problem numbers with hard copy  blueArrow
8/30/2001; 1:04:40 PM (reads: 1606, responses: 0)
Ahh! The problems effected only use the

BEGIN_TEXT . . . END_TEXT

style. Thanks.

<| Post or View Comments |>


userBill Ziemer - Re: Missing problem numbers with hard copy  blueArrow
8/30/2001; 1:05:11 PM (reads: 1606, responses: 0)

<| Post or View Comments |>


userMichael Gage - Re: Missing problem numbers with hard copy  blueArrow
8/30/2001; 1:21:32 PM (reads: 1642, responses: 0)
BEGIN_TEXT
\{beginproblem()\}
END_TEXT
should also work, but it's overkill since no evaluation is needed.

(Recall that the top construction is equivalent to:

TEXT(EV3(<<'END_TEXT'));
\{ beginproblem()\}



END_TEXT
)

-- Mike

<| Post or View Comments |>