Hi Lorraine,
I assume you mean "how does one get the pop-up options to show in the hardcopy." I see a [?] box in the hardcopy, but there isn't any indication what the options the user is selecting from actually are.
My guess is that this is a design decision that isn't easy to work around; it might be that one could modify the macro to show a list of options in hardcopy. Another work around would be to put something in the text of the problem that shows the options when the problem is printed in hardcopy, e.g., something like the following.
$popup = PopUp(['?', 'option1', 'option2', 'option3'], 'option2'); $optionlist = MODES(TeX=>'(options are: ?, option1, option2, option3)', HTML=>""); BEGIN_PGML The answer to the problem is [____]{$popup} $optionlist END_PGML
(One caveat: I didn't actually test this, but I think it should work. There may be better workarounds or solutions.)
Gavin
The
parserPopUp.pl
was updated in December 2014 so that it actually prints the options rather than just the question mark (thanks to Goeff Goehle). So you may have an older version than that. If you update your copy (you should be able to just put a current version in your course's templates/macros
directory if you don't manage the server yourself), that should do what you want. You can get a copy from the PG github page. An even newer version is in the templates/macros
directory of the PREP2015 course. I will be making a pull request to make the updated copy be part of the next release of PG soon.