Validation-plus: warn on WeBWorK together with LaTeX macros containing "@"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- xml
- Domain
- tooling
Research direction
Start with pretext-validation-plus.xsl, where the new warning template goes, and look at how existing checks in that file are structured. Read the docinfo/macros handling and the WeBWorK detection the issue describes, and check #1007 for the hazard before writing the guard. Done means a warning appears when WeBWorK exercises and an @ in the macros both exist, and stays silent otherwise.
Written by the indexing model from the issue text.
Description
Carried forward from #1009, which requested this as a Schematron rule; Schematron was retired in #2991, and pretext-validation-plus.xsl is now the home for context-dependent checks.
The check: warn when a project contains WeBWorK exercises and its LaTeX macros (docinfo/macros) contain @, which is mildly dangerous in the WeBWorK handling of macros — see #1007 for the original hazard.
Shape: a warning template in pretext-validation-plus.xsl, guarded on the presence of webwork in the document and @ in the macros content.
Claude Fable 5, acting as a coding assistant for Rob Beezer
- Dominant language
- XSLT
- Stars
- 466
- Forks
- 251
- Avg merge
- 4m
- Merged PRs (30d)
- 13
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PreTeXtBook/pretext
-
The print preview leaves writing space short by the margins of hidden headers, footers and solutionsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PreTeXtBook/pretext#3329 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
PreTeXtBook/pretext#3305 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PreTeXtBook/pretext#3297 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
PreTeXtBook/pretext#3285 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PreTeXtBook/pretext#3283 ·
Maintainers usually reply within 1 day
All issues in PreTeXtBook/pretext
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nightscout/AndroidAPS#5600 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
ScoopInstaller/Extras#19404 ·
Maintainers usually reply within 1 day
-
agent good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Viox-Development/Artificial-Logic-and-Intelligence-Computation-Engine#250 ·
Maintainers usually reply within 1 day
-
area: batch
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
inabagumi/shinju-date#7294 ·
Maintainers usually reply within 1 day