Schema: allow prelude/interlude/postlude to contain BlockStatement

Open
#2,704 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
xml
Domain
documentation

Research direction

The issue names the RELAX NG definitions of Prelude, Interlude and Postlude, which currently use BlockText+. Find those definitions in the schema source and check where BlockStatement is defined and used elsewhere in the grammar. Before changing anything, confirm with a maintainer that allowing statements here is wanted, since the thread has no replies. Done means the schema accepts a statement inside each of the three elements and existing sample documents still validate.

Written by the indexing model from the issue text.

Description

Current schema is

Prelude =
    element prelude {BlockText+}
Interlude =
    element interlude {BlockText+}
Postlude =
    element postlude {BlockText+}

but would be nice if those BlockText+ were changed to BlockStatement+.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PreTeXtBook/pretext

All issues in PreTeXtBook/pretext

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.