-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pg.sty #863
pg.sty #863
Conversation
This all works well. As mentioned earlier, I would recommend having the default be an empty box instead of a line. If we do that, we should switch the essay_box over to a box as well. |
I don't think an outlined box is good for print when you consider someone
trying to hand write something like a rational expression.
…On Sat, Jun 24, 2023, 4:46 AM Peter Staab ***@***.***> wrote:
This all works well. As mentioned earlier, I would recommend having the
default be an empty box instead of a line. If we do that, we should switch
the essay_box over to a box as well.
—
Reply to this email directly, view it on GitHub
<https://protect2.fireeye.com/v1/url?k=31323334-501cfaeb-3132feb7-454455535732-40f7eb386e930084&q=1&e=5a963b62-b982-46cb-9d00-a7a0979d85ae&u=https%3A%2F%2Fgithub.com%2Fopenwebwork%2Fpg%2Fpull%2F863%23issuecomment-1605423224>,
or unsubscribe
<https://protect2.fireeye.com/v1/url?k=31323334-501cfaeb-3132feb7-454455535732-1728803f83926a38&q=1&e=5a963b62-b982-46cb-9d00-a7a0979d85ae&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABEDOABPBWJ5YKOA4U7KVD3XM3HPTANCNFSM6AAAAAAZRFQZIA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is there any way to label these answer rules without affecting the output? I'm thinking of ways to post-process the output (once the answers are processed) to insert the correct answers... in HTML the inputs are labeled with an ID, can we do something similar here? |
If it's within the scope of a single problem then you could tag it with the
answer name. Like \answerRule[AnSwEr0001]{10} or something. And the macro
could give you whatever marker you need in the .tex for that.
…On Sat, Jun 24, 2023, 12:15 PM K. Andrew Parker ***@***.***> wrote:
Is there any way to label these answer rules without affecting the output?
I'm thinking of ways to post-process the output (once the answers are
processed) to insert the correct answers... in HTML the inputs are labeled
with an ID, can we do something similar here?
—
Reply to this email directly, view it on GitHub
<https://protect2.fireeye.com/v1/url?k=31323334-501d2dca-3132feb7-454455534531-63807a681cfe0944&q=1&e=7ee528aa-368a-449d-98b5-c2d54ce776d2&u=https%3A%2F%2Fgithub.com%2Fopenwebwork%2Fpg%2Fpull%2F863%23issuecomment-1605692985>,
or unsubscribe
<https://protect2.fireeye.com/v1/url?k=31323334-501d2dca-3132feb7-454455534531-2fb3e051fe56679a&q=1&e=7ee528aa-368a-449d-98b5-c2d54ce776d2&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABEDOAGALXVMXXLHAEE5M5TXM44FXANCNFSM6AAAAAAZRFQZIA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I changed it so that the .tex file has like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Just a question on the \ProvidesFile
usage.
By the way, here is more information on the |
After doing some more testing, I included a problem with a Here's one of the tex errors:
|
The problem with this and the |
I made that change and pushed, but I still get a compilation error. I'm looking into it. |
Eh, I just didn't have the corresponding webwork2 branch going. Working for me now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now. @drgrice1 do you want to look at this anymore or else we can merge.
This is good. |
This introduces a latex sty file for PG macros. For getting started, it has one macro,
\answerRule{}
which takes a numerical argument and makes a rule so many ex wide. I sunk it 3pt lower from what answer rules have always been inPGbasicmacros.pl
.This pairs with openwebwork/webwork2#2081.
To test, get on both branches. Have a problem with answer rules, preferably that includes an answer rule array. First visit the problem editor. Test that you can build the PDF (and see if the sunken underline is in effect.) Then test that you can download the tex and build it locally.
Then put the problem in a set. See if you can generate the PDF hardcopy. And see if you download the tex bundle if you can build the set.