scaffold.pl section titles #578
Replies: 7 comments 4 replies
-
What |
Beta Was this translation helpful? Give feedback.
-
I see. You are talking about the macro as it was in WeBWorK 2.15 and before. In WeBWorK 2.16 it is no longer an |
Beta Was this translation helpful? Give feedback.
-
The scaffold macro was not changed from ww 2.15 until recently. The pull request that changed it was just merged one week ago. |
Beta Was this translation helpful? Give feedback.
-
Note that you will not be able to change to an HTML ordered list in scaffolds. That would not work with either the jquery-ui accordion that was used before, or with the bootstrap accordion that is now used. |
Beta Was this translation helpful? Give feedback.
-
I don't like the idea of forcing numbering on the scaffold section title. I prefer having the freedom to put numbering on if I want it, and not to if I don't want numbering. |
Beta Was this translation helpful? Give feedback.
-
I am fine with it if it is optional. |
Beta Was this translation helpful? Give feedback.
-
See #579. |
Beta Was this translation helpful? Give feedback.
-
My understanding is that in a scaffold problem, you can provide a title for each section. And it may be common for the title to include some numbering. The first section title might be "1. Find the coefficients." and the second might be "2. Use the Quadratic Formula". Or something like that.
For upcoming PreTeXt work, I would like to give scaffold section actual numbering, separate from the title. Where we currently have an
h3
for each section title, I would (perhaps naively) change it to an HTML ordered list, and render any title in some stylized way inline with the part number. (Side note: I'm not sure theh3
is right in the first place for a few reasons.)Does this raise any flags? One is that problems that already have titles like "Part 1. Find the coefficients." would now be rendered like "1. Part 1. Find the coefficients." Personally I think that is a small thing and separating the numbering from the title would be worth it. But do people feel otherwise? Are there larger reasons not to automatically number the parts in a scaffolded problem?
Beta Was this translation helpful? Give feedback.
All reactions