Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dcpurton committed Jul 27, 2022
0 parents commit ec6a342
Show file tree
Hide file tree
Showing 172 changed files with 38,302 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build
*.swp
*.aux
*.log
scripture.pdf

416 changes: 416 additions & 0 deletions COPYING

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# scripture — A LaTeX style for typesetting Bible quotations

The `scripture` package provides a set of macros for typesetting quotations
from the Bible. It provides many features commonly seen in Bibles such as
dropped text for chapter numbers, superscripts for verse numbers, indented
lines for poetry sections, narrow sections and hanging paragraphs. A reference
for the quotation can optionally be added.

## Installation from TeXLive or MiKTeX

The `scripture` package is in TeXLive and MiKTeX and can be installed in the
usual way through your distribution. E.g., in TeXLive by running:

```
tlmgr install scripture
```

## Installation from CTAN

Download and unpack `scripture.zip` from CTAN at
https://ctan.org/pkg/scripture

Change to the `scripture` directory, then run:

```
tex scripture.ins
```

to generate `scripture.sty`.

Copy `scripture.sty` to `$TEXMFHOME/tex/latex/scripture/` and `scripture.pdf`
to `$TEXMFHOME/doc/latex/scripture/`.

You can find `$TEXMFHOME` by running:

```
kpsewhich -var-value=TEXMFHOME
```

## Installation from Git Source

`scripture` uses the `l3build` system.

Clone the git repository using:

```
git clone https://github.com/dcpurton/scripture.git
```

Change to the `scripture` directory, and then the style file (`scripture.sty`)
and documentation (`scripture.pdf`) can be installed by running:

```
l3build install --full
```

## Licence

```
Copyright (c) 2018-2022 David Purton <dcpurton@marshwiggle.net>
This work may be distributed and/or modified under the conditions of
the LaTeX Project2 Public License, either version 1.3c of this license
or (at your option) any later version. The latest version of this
license is in
http://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2005/12/01 or later.
This work is "maintained" (as per the LPPL maintenance status)
by David Purton.
This work consists of the files scripture.ins, scripture.dtx, README.md,
and the derived files scripture.sty and scripture.pdf
```
20 changes: 20 additions & 0 deletions build.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
-- Build configuration for scripture

module = "scripture"
checkformat = "latex"
stdengine = "pdftex"
checkengines = {"pdftex"}

-- Detail how to set the version automatically
function update_tag(file, content, tagname, tagdate)
if string.match (file, "%.dtx$") then
local tagdate = string.gsub(tagdate, "%-", "/")
content = string.gsub(content,
"{%d%d%d%d/%d%d/%d%d v%d%.%d+}\n",
"{" .. tagdate .. " v" .. tagname .. "}\n")
content = string.gsub(content,
"{%d%d%d%d/%d%d/%d%d}{%d%.%d+}\n",
"{" .. tagdate .. "}{" .. tagname .. "}\n")
end
return content
end
Loading

0 comments on commit ec6a342

Please sign in to comment.