Difference between revisions of "SimplifiedEntry"
m (marked as historical) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Historical}} |
||
− | <div style="margin-left: 15px;" class="indent"></div> |
||
+ | In order to facilitate the creation of problems in WebWork, it seems necessary to streamline and simplify the problem generation process while at the same time providing a method for basic problem generation that newcomers can use that avoids much of the difficulty associated with mastery of the PG language. |
||
− | <div style="margin-left: 15px;" class="indent"></div> |
||
+ | |||
− | <div class="indent" style="margin-left: 15px;"></div> |
||
+ | We propose two new approaches here to the problem authoring facility built in to WebWork that focus on either: |
||
− | <div class="indent" style="margin-left: 15px;"></div> |
||
+ | # building problems in a more controlled fashion that hides the details of the PG language or that |
||
− | <div style="margin-left: 15px;" class="indent"></div> |
||
+ | # allows authoring of PG problems via a TeX-like interface |
||
− | <div style="margin-left: 15px;" class="indent"></div> |
||
+ | |||
− | <div class="indent" style="margin-left: 15px;"></div> |
||
+ | This would potentially make problem input for beginners more tractable in the PG language and encourage more widespread problem development. |
||
− | <div class="indent" style="margin-left: 15px;"></div> In order to facilitate the creation of problems in WebWork, it seems necessary to streamline and simplify the problem generation process while at the same time providing a method for basic problem generation that newcomers can use that avoids much of the difficulty associated with mastery of the PG language.<br /><br />We propose two new approaches here to the problem authoring facility built in to WebWork that focus on either <br /> |
||
+ | |||
− | <ul> |
||
+ | ==A Segmented Edit Page== |
||
− | <li>building problems in a more controlled fashion that hides the details of the PG language or that <br /></li> |
||
+ | One approach is to create a redesigned version of the existing edit page could be created that provides a more graphical user interface the PG problem edit mechanism. An example of this is provided in the link above. In this page, the essential parts of a PG problem are split into areas that are more controlled and that hide portions of the PG backend. This also presents a cleaner version of a problem and would help to prevent confusion surrounding how problems work. |
||
− | <li>allows authoring of PG problems via a TeX-like interface<br /></li> |
||
+ | |||
− | </ul>This would potentially make problem input for beginners more tractable in the PG language and encourage more widespread problem development. <br /><br /><br /><span style="text-decoration: underline;"><span style="font-weight: bold;">A Segmented Edit Page<br /></span></span><br />One approach is to create a <a href="../resource/view.php?id=156">redesigned version of the existing edit page</a> could be created that provides a more graphical user interface the PG problem edit mechanism. An example of this is provided in the link above. In this page, the essential parts of a PG problem are split into areas that are more controlled and that hide portions of the PG backend. This also presents a cleaner version of a problem and would help to prevent confusion surrounding how problems work.<br /><br /><br /><span style="text-decoration: underline;"><span style="font-weight: bold;">A Hybrid PG/Tex Authoring Mode</span></span><br />In general, it also seems appealing to be able to author problems in a PG/LaTeX hybrid mode where the formulas and problem formatting are determined by LaTeX commands and the WebWork problem aspects ( answer rules, random parameters, etc.) are handled by keyword tags. This PGTex could then be processed by a perl script into true PG for inclusion into problem sets. This approach offers several advantages. |
||
+ | ==A Hybrid PG/Tex Authoring Mode== |
||
− | <ul> |
||
+ | In general, it also seems appealing to be able to author problems in a PG/LaTeX hybrid mode where the formulas and problem formatting are determined by LaTeX commands and the WebWork problem aspects ( answer rules, random parameters, etc.) are handled by keyword tags. This PGTex could then be processed by a perl script into true PG for inclusion into problem sets. This approach offers several advantages. |
||
− | </ul> |
||
+ | |||
− | <ul> |
||
+ | # First of all, the existing problem editing facility can be modified to support this PGTex entry mode in a Basic Editor version that would be accessible from a different URL within WebWork. It would limit the available problem types, but would allow for quick, easy problem generation for people familiar with TeX. |
||
− | <li>First of all, the existing problem editing facility can be modified to support this PGTex entry mode in a Basic Editor version that would be accessible from a different URL within WebWork. It would limit the available problem types, but would allow for quick, easy problem generation for people familiar with TeX.</li> |
||
+ | # Secondly, external applications could be adapted to use this problem generation mode. For example, LyX, a LaTeX typesetting application, could be adapted to use this problem processing externally and the resulting PGTex could be uploaded and processed by WebWork in the same way as with the built in Basic Editor. |
||
− | <ul> |
||
+ | # It also would permit the basic aspects of a PG problem, e.g. macro loading, etc., to be suppressed for users who have no interest in understand the more complicated aspects of PG problem authoring |
||
− | </ul> |
||
+ | # It would abstract out the encoding of things like functions and answer comparisons so that changes to the macro library could be made transparent in some sense (maybe) |
||
− | <li>Secondly, external applications could be adapted to use this problem generation mode. For example, LyX, a LaTeX typesetting application, could be adapted to use this problem processing externally and the resulting PGTex could be uploaded and processed by WebWork in the same way as with the built in Basic Editor. <br /></li> |
||
+ | |||
− | <li>It also would permit the basic aspects of a PG problem, e.g. macro loading, etc., to be suppressed for users who have no interest in understand the more complicated aspects of PG problem authoring</li> |
||
+ | The Basic Editor could also be adapted to utilize a GUI like TeX editor such as the HTML editor in Moodle (that is used to create Wiki entries) further simplifying the creation of problems. |
||
− | <li>It would abstract out the encoding of things like functions and answer comparisons so that changes to the macro library could be made transparent in some sense (maybe)<br /></li> |
||
+ | |||
− | <ul> |
||
+ | ==TODO== |
||
− | </ul> |
||
+ | * create the Tex2PG processor within WebWork |
||
− | </ul>The Basic Editor could also be adapted to utilize a GUI like TeX editor such as the HTML editor in Moodle (that is used to create Wiki entries <img title="big grin" alt="big grin" src="http://aimwebwork-int.openwebwork.org/moodle/pix/s/biggrin.gif" /> ) further simplifying the creation of problems.<br /><br /><br />TODO: <br /> |
||
+ | * create a modified version of PGProblemEditor.pm that supports PGTex editing |
||
− | <ul> |
||
+ | * develop a secure way for external applications to upload files for processing (perhaps using the xmlrpc connection for preview as well) |
||
− | <li>create the Tex2PG processor within WebWork</li> |
||
+ | * [[EditorDesigns]] |
||
− | <li>create a modified version of PGProblemEditor.pm that supports PGTex editing</li> |
||
+ | [[Category:AIMWeBWorK Working Groups]] |
||
− | <li>develop a secure way for external applications to upload files for processing (perhaps using the xmlrpc connection for preview as well)<br /></li> |
||
− | </ul><br /><br /> |
||
− | [[SimplifiedEntryExample1]] |
||
− | [[SimplifiedEntryExample2]] |
||
− | [[SimplifiedEntryExample3]] |
||
− | [[SimplifiedEntryExample4]] |
||
− | [[SimplifiedEntryExample5]] |
||
− | [[SimplifiedEntryExample6]] |
||
− | [[SimplifiedEntryExample7]] |
Latest revision as of 11:18, 16 June 2021
In order to facilitate the creation of problems in WebWork, it seems necessary to streamline and simplify the problem generation process while at the same time providing a method for basic problem generation that newcomers can use that avoids much of the difficulty associated with mastery of the PG language.
We propose two new approaches here to the problem authoring facility built in to WebWork that focus on either:
- building problems in a more controlled fashion that hides the details of the PG language or that
- allows authoring of PG problems via a TeX-like interface
This would potentially make problem input for beginners more tractable in the PG language and encourage more widespread problem development.
A Segmented Edit Page
One approach is to create a redesigned version of the existing edit page could be created that provides a more graphical user interface the PG problem edit mechanism. An example of this is provided in the link above. In this page, the essential parts of a PG problem are split into areas that are more controlled and that hide portions of the PG backend. This also presents a cleaner version of a problem and would help to prevent confusion surrounding how problems work.
A Hybrid PG/Tex Authoring Mode
In general, it also seems appealing to be able to author problems in a PG/LaTeX hybrid mode where the formulas and problem formatting are determined by LaTeX commands and the WebWork problem aspects ( answer rules, random parameters, etc.) are handled by keyword tags. This PGTex could then be processed by a perl script into true PG for inclusion into problem sets. This approach offers several advantages.
- First of all, the existing problem editing facility can be modified to support this PGTex entry mode in a Basic Editor version that would be accessible from a different URL within WebWork. It would limit the available problem types, but would allow for quick, easy problem generation for people familiar with TeX.
- Secondly, external applications could be adapted to use this problem generation mode. For example, LyX, a LaTeX typesetting application, could be adapted to use this problem processing externally and the resulting PGTex could be uploaded and processed by WebWork in the same way as with the built in Basic Editor.
- It also would permit the basic aspects of a PG problem, e.g. macro loading, etc., to be suppressed for users who have no interest in understand the more complicated aspects of PG problem authoring
- It would abstract out the encoding of things like functions and answer comparisons so that changes to the macro library could be made transparent in some sense (maybe)
The Basic Editor could also be adapted to utilize a GUI like TeX editor such as the HTML editor in Moodle (that is used to create Wiki entries) further simplifying the creation of problems.
TODO
- create the Tex2PG processor within WebWork
- create a modified version of PGProblemEditor.pm that supports PGTex editing
- develop a secure way for external applications to upload files for processing (perhaps using the xmlrpc connection for preview as well)
- EditorDesigns