nsv:nsv_page_format
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nsv:nsv_page_format [2026/07/20 04:42] – appledog | nsv:nsv_page_format [2026/07/20 12:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| = NSV Page Format | = NSV Page Format | ||
| + | * Working copy of [[nsv: | ||
| + | contract between the wiki and the reader, and it is what a future database | ||
| + | import will be written against. | ||
| + | |||
| == Page Titles | == Page Titles | ||
| Each page begins with the page name and the license. This is ignored by the reader, but is of course used to index the page. | Each page begins with the page name and the license. This is ignored by the reader, but is of course used to index the page. | ||
| Line 8: | Line 12: | ||
| </ | </ | ||
| - | Next let's discuss the data used to construct the main reader formatting: | + | == Page names |
| + | Page ids are **lowercase** and filed **by section**, not in one flat namespace: | ||
| + | < | ||
| + | nsv:< | ||
| + | </ | ||
| + | |||
| + | Sections follow the Tanakh division: '' | ||
| + | |||
| + | **Psalms is filed singular** -- '' | ||
| + | |||
| + | == The reading section | ||
| < | < | ||
| == Genesis 1 | == Genesis 1 | ||
| Line 19: | Line 33: | ||
| === The First Day | === The First Day | ||
| 3 And God said, "Let there be light," | 3 And God said, "Let there be light," | ||
| + | </ | ||
| - | 4 And God saw that the light was good, therefore God divided[c] between the light and between[d] the darkness. | + | Three heading levels are in play inside a chapter: |
| - | 5 And God called | + | ^ level ^ meaning ^ |
| - | </ | + | | '' |
| + | | '' | ||
| + | | '' | ||
| - | The above is an example; what you will notice is: | + | Both section and subsection |
| - | * Chapter | + | |
| - | * Section headings are third level (ex. == The First Day) | + | |
| - | * Each new line that begins with a verse number is the start of that verse in the chapter. Currently, each line appears separated by the others; this means in this protocol there is no formatting. The verses are taken and interpreted by the reader. | + | |
| - | ' | + | * Each new line beginning with a verse number starts that verse. There is no formatting in the verse text itself; the reader interprets it. |
| + | |||
| + | ' | ||
| Other formatting rules: | Other formatting rules: | ||
| - | * Notes and subscripts are not shown unless | + | * Notes and subscripts are not shown unless written in. In "God divided[c] between the light and between[d] the darkness" |
| + | * ''// | ||
| + | |||
| + | == Apparatus sections | ||
| + | After the reading section come the apparatus sections, each a second-level heading: | ||
| + | |||
| + | < | ||
| + | == Notes | ||
| + | == Cross Reference | ||
| + | == Commentary | ||
| + | == Rashi | ||
| + | </ | ||
| + | |||
| + | **Order matters.** The reader shows them in the order the page gives them, not in a fixed order of its own. Notes and cross-references appear in the reader' | ||
| + | |||
| + | **Spelling matters.** Write '' | ||
| + | |||
| + | **Empty sections are skipped.** A heading with nothing under it renders nothing, so there is no need to write the skeleton out in advance. '' | ||
| + | |||
| + | === Two kinds of content | ||
| + | Within an apparatus section, content is one of two kinds, and a section may hold both. | ||
| + | |||
| + | **Verse-keyed** entries open with a marker naming the verse: | ||
| + | |||
| + | < | ||
| + | == Notes | ||
| + | [1] BERESHEIT -- 7225 also means " | ||
| + | [2] a wind from God -- In Hebrew, 'Ruach Ha-Kodesh' | ||
| + | [6f] 'a firmament' | ||
| + | </ | ||
| + | |||
| + | The marker may carry a letter ('' | ||
| + | |||
| + | Entries | ||
| + | |||
| + | **Book-level** material is introduced by a third-level heading and belongs to the work rather than to any verse: | ||
| + | |||
| + | < | ||
| + | == Commentary | ||
| + | === Goals of the Commentary Section | ||
| + | The goal of the commentary section is twofold ... | ||
| + | </ | ||
| + | |||
| + | A heading that **opens with a verse marker** is a verse-keyed entry written | ||
| + | |||
| + | < | ||
| + | === [2] "and on the seventh day God ended..." | ||
| + | </ | ||
| + | |||
| + | Loose prose before any heading or marker is treated as book-level and is intentional. | ||
| + | |||
| + | == Cross references | ||
| + | Currently free text, one line per verse marker: | ||
| + | |||
| + | < | ||
| + | [2] Isaiah 45:7 | ||
| + | [2a] Genesis 8:1, Deuteronomy 4:15-18 | ||
| + | [26] Leviticus 11:44-45, Leviticus 19:2, 1 Peter 1:16 | ||
| + | </ | ||
| + | |||
| + | Shorthand in use, which a human resolves from context and software cannot: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | About 30% of citations are written in full. **Prefer the full form** -- book, chapter, verse -- on anything new. Full citations are what will let the reader show a passage' | ||
| + | |||
| + | == Section introductions | ||
| + | Each division has a prose page the reader shows when a division is chosen without a book: | ||
| + | |||
| + | < | ||
| + | nsv:< | ||
| + | </ | ||
| + | |||
| + | Torah is the exception: it has no '' | ||
| + | |||
| + | These pages are ordinary prose. The reader understands headings, nested lists, '' | ||
| + | |||
| + | == NSV constructs | ||
| + | Provided by the '' | ||
| + | |||
| + | ^ tag ^ meaning ^ | ||
| + | | ''< | ||
| + | | ''< | ||
| + | | ''< | ||
| + | | ''< | ||
| + | | ''< | ||
| + | | ''< | ||
| + | | ''< | ||
| + | |||
| + | ''< | ||
| + | |||
| + | < | ||
| + | 10 And God called the dry land " | ||
| + | |||
| + | <p>11 And God said, Let the earth bring forth green herbs ... | ||
| + | |||
| + | 12 And the earth brought forth green herbs ... | ||
| + | </ | ||
| + | |||
| + | The wrapping constructs are **pure markup**: it does not matter where you put them. They may open before a verse number, after it, inside a verse, or span several verses -- the reader lifts them out and wraps the verses | ||
| + | |||
| + | < | ||
| + | < | ||
| + | I shall not want. | ||
| + | |||
| + | 2 He maketh me to lie down in green pastures.</ | ||
| + | </ | ||
| + | |||
| + | A construct left unclosed is closed at the end of the chapter rather than swallowing the notes below it. | ||
| + | |||
| + | The wrapping tags may also enclose whole verses or sit inside one: | ||
| + | |||
| + | < | ||
| + | == Psalm 23 | ||
| + | 1 < | ||
| + | I shall not want.</ | ||
| + | </ | ||
| + | |||
| + | **Verses may share a line.** '' | ||
| + | |||
| + | Three implementations share this grammar: the wiki plugin ('' | ||
| + | |||
| + | == Inline HTML | ||
| + | A small set of inline tags is permitted anywhere text appears: | ||
| + | |||
| + | ''< | ||
| + | |||
| + | Everything else is shown as text rather than interpreted -- attributes included. ''< | ||
| + | |||
| + | DokuWiki' | ||
| + | |||
| + | Note DokuWiki' | ||
| + | |||
| + | == Tags that belong to other plugins | ||
| + | The Blockquote plugin is installed and claims these. **Do not use them for NSV | ||
| + | constructs** -- it will handle them, not us, and no warning is given: | ||
| + | |||
| + | ''< | ||
| + | |||
| + | ''< | ||
| + | intends. ''< | ||
| + | are not used on this wiki, but they cannot be turned off without disabling the | ||
| + | whole plugin, so they stay claimed. That is why the NSV construct for quoted | ||
| + | scripture is **not** called ''< | ||
| + | |||
| + | Before adding any new NSV tag, check nothing else claims | ||
| + | silent: the other plugin simply renders it and the NSV meaning is lost. | ||
| + | |||
| + | == Not supported | ||
| + | The reader ignores anything not listed above -- tables, images, embedded HTML, plugins. It will not error, but the content will not appear. | ||
| + | |||
| + | == Why this matters | ||
| + | This format is the contract between the wiki and the reader. Every discrepancy found so far cost content silently rather than loudly: | ||
| + | |||
| + | * '' | ||
| + | * Commentary written as prose where the reader expected verse-keyed entries -- whole sections rendered as nothing | ||
| + | * '' | ||
| + | * A blank '' | ||
| + | If the text later moves into a database, this document is the specification the import will be written against. Anything not described here is at risk of being lost in that move. | ||
| - | (other formatting rules described below) | ||
nsv/nsv_page_format.1784522577.txt.gz · Last modified: by appledog
