Forum archive 2000-2006

Andrew J. Grall - Possible to force display mode?

Andrew J. Grall - Possible to force display mode?

by Arnold Pizer -
Number of replies: 0
inactiveTopicPossible to force display mode? topic started 4/22/2004; 10:30:20 AM
last post 4/22/2004; 1:36:46 PM
userAndrew J. Grall - Possible to force display mode?  blueArrow
4/22/2004; 10:30:20 AM (reads: 951, responses: 5)
Is there a way to force a particular problem to come up in a different display mode by default?  I would like a few problems I have written to come up as typeset2 instead of the normal formatted-text...

<| Post or View Comments |>


userMichael Gage - Re: Possible to force display mode?  blueArrow
4/22/2004; 10:53:58 AM (reads: 1146, responses: 0)
See http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$1965#1966 and responses.

(you can also search for displayMode which is the environment variable that controls this.)

The typeset2 mode is called "HTML_dpng" You can find the other modes in the PGbasicmacros.pl file in the MODES subroutine.

 

<| Post or View Comments |>


userAndrew J. Grall - Re: Possible to force display mode?  blueArrow
4/22/2004; 11:02:26 AM (reads: 1148, responses: 0)

$displayMode = "HTML_tth";

If this code is for formatted-text, what works for typeset2?

 

Thanks,

Andrew

-

Forget it...I see you answered my question.

<| Post or View Comments |>


userAndrew J. Grall - Re: Possible to force display mode?  blueArrow
4/22/2004; 11:14:09 AM (reads: 1124, responses: 0)

I get this error when going into this problem now:

 

        Problem23
ERROR caught by PGtranslator while processing problem file:Ch15/EquilComp1.pg
*
Can't call method "add" without a package or object reference at (eval 128) line 1222.

Any ideas?

<| Post or View Comments |>


userMichael Gage - Re: Possible to force display mode?  blueArrow
4/22/2004; 12:32:11 PM (reads: 1127, responses: 0)
I'll need to see the text of the problem Equilcomp1.pg to answer this.

<| Post or View Comments |>


userAndrew J. Grall - Re: Possible to force display mode?  blueArrow
4/22/2004; 1:36:46 PM (reads: 1116, responses: 0)
Would you like me to post it or e-mail it to you?

<| Post or View Comments |>