Schema: allow @component in more places
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- xml
- Domain
- documentation
Research direction
The issue asks for the @component attribute to be allowed on docinfo/macros, book/subtitle, and idx. The payload does not name the schema file, so find where these elements are declared in the PreTeXt schema and check how @component is already allowed elsewhere. Done means each listed element accepts the attribute and a validation check passes; the three use cases are context for the change, not separate tasks.
Written by the indexing model from the issue text.
Description
Here are some places where @component is sometimes useful.
-
docinfo/macros/@component
Use case: sometimes a macro needs a different "workaround" definition for a specific output target. -
book/subtitle/@component
Use case: full version versus abridged version, with no subtitle on the full version. -
idx/@component
Use case: sometimes the index path/hierarchy for an entry is different when versions include/exclude material that contains relatedidxentries.
- 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
-
Feature Request
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
spotDL/spotify-downloader#2839 ·
Maintainers usually reply within 1 day
-
Missing license fileOpen
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
gofish-graphics/gofish-graphics#1384 ·
Maintainers usually reply within 1 day
-
seed-request
Difficulty 1/5 Under an hour Newbie friendliness 68/100
camp-registry/camp-index#777 ·
Maintainers usually reply within 1 day
-
PROJECT: website-redesign volunteers
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
thewca/worldcubeassociation.org#16616 ·
Maintainers usually reply within 1 day