-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
75 lines (75 loc) · 3.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<title>Biblical Hebrew Reader Generator</title>
<meta charset="utf-8">
<style type="text/css">
fieldset {
margin-bottom: .8em;
}
</style>
<script>
function update_forms() {
var include_voca = document.getElementsByName('include_voca')[0];
var combine_voca = document.getElementsByName('combine_voca')[0];
combine_voca.disabled = include_voca.checked ? null : 'disabled';
}
</script>
</head>
<body onload="update_forms()">
<h1>Biblical Hebrew Reader Generator</h1>
<p>
This tool allows you to generate a <em>reader</em>,
a PDF file containg a collection of Hebrew texts
and a vocabulary list with all words in the text.
</p>
<form action="reader" method="GET">
<fieldset>
<legend>Step 1: passages</legend>
Enter the passages here, one per line:<br/>
<textarea name="passages" rows="10" cols="30">Psalms 1
Exodus 3:15
Genesis 1-2:3
Genesis 2:4-11
1 Kings 17:7-end
Job 38:1-bookend</textarea><br/>
<small>
Note that <code>11</code> in <code>2:4-11</code> refers to the chapter, not the verse.
Use <code>2:4-2:11</code> for the verse.
</small><br/>
<small>
Valid book names are:
Genesis, Exodus, Leviticus, Numbers, Deuteronomy, Joshua, Judges, 1 Samuel, 2 Samuel, 1 Kings, 2 Kings, Isaiah, Jeremiah, Ezekiel, Hosea, Joel, Amos, Obadiah, Jonah, Micah, Nahum, Habakkuk, Zephaniah, Haggai, Zechariah, Malachi, Psalms, Job, Proverbs, Ruth, Song of songs, Ecclesiastes, Lamentations, Esther, Daniel, Ezra, Nehemiah, 1 Chronicles, 2 Chronicles.
</small>
</fieldset>
<fieldset>
<legend>Step 2: text options</legend>
<label><input type="radio" name="text_size" value="0" checked="checked"/> Default</label><br/>
<label><input type="radio" name="text_size" value="1"/> Large text and more line spacing</label><br/>
<label><input type="radio" name="text_size" value="2"/> Huge text and even more line spacing</label><br/>
</fieldset>
<fieldset>
<legend>Step 3: vocabulary options</legend>
<label><input type="checkbox" name="include_voca" checked="checked" onchange="update_forms()"/> Include vocabulary list(s)</label><br/>
<label><input type="checkbox" name="combine_voca" checked="checked"/> Combine vocabulary for all passages into one list</label><br/>
<label><input type="checkbox" name="clearpage_before_voca"/> Start new page before vocabulary list(s)</label>
</fieldset>
<fieldset>
<legend>Step 4: generate the reader</legend>
<label><input type="radio" name="fmt" value="pdf" checked="checked"/> PDF</label>
<label><input type="radio" name="fmt" value="tex"/> XeLaTeX</label><br/>
<input type="submit" value="Generate"/>
</fieldset>
</form>
<p><small>
This is open source software, licensed under <a href="https://opensource.org/licenses/MIT">MIT</a>.
Written by <a href="https://camilstaps.nl">Camil Staps</a>.
See <a href="https://github.com/HebrewTools/Reader">GitHub</a>, also for a stand-alone tool.
This tool uses the SBL Hebrew font, which is property of Tiro Typeworks
(<a href="https://www.sbl-site.org/educational/biblicalfonts.aspx">more details</a>),
<a href="https://github.com/DANS-Labs/text-fabric">text-fabric</a> and
the data of the <a href="https://github.com/ETCBC/bhsa">BHSA</a>,
licensed under <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>.
</small></p>
</body>
</html>