Comments (5)
Hmmm. I confess I didn't design with this in mind.
It would need an inline
option added that handled the the reference differently. There is always a new paragraph inserted at the end of quotations at the moment.
from scripture.
Some thoughts on this:
A new option, inline
could be introduced.
This would need to behave like compact
and remove internal layout formatting (drop chapters, poetry, etc.). Additionally, it would need to ensure there were no margins or before and after skips.
Some thought would need to be given to quote marks. Should these be specified as options? They would need to fall between the quotation and the reference (if a reference was specified). There are additional problems relating to nesting of quotation marks and space between quotation marks if the quote begins or ends with speech (and hence a quote mark).
Rather than an environment, should an inline command be provided, e.g., \textscripture[reference][options]{text}
? This could automatically set the inline
option and would be easier to typeset.
from scripture.
yeah, I was imagining something like \textscripture....
when I brought this up.
from scripture.
@hanetzer I've had a go at adding an interface and code for this. Not pushed yet.
What do you think as far as usage, flexibility and interface goes
The inline/begin
and inline/end
options allow for a kind of poor man's localised quotation marks.
\documentclass[a4paper]{article}
\input{regression-test}
\usepackage[T1]{fontenc}
\usepackage{scripture}
\scripturesetup{
redletter,
colour=blue,
}
\pagestyle{empty}
\begin{document}
\START
\showoutput
Lead in text: \textscripture[John 3:16]{\vs{16}For God so loved the world
that he gave his one and only Son, that whoever believes in him shall not
perish but have eternal life.} Lead out text.
\bigskip
Lead in text: \textscripture[John 3:3]{\vs{3}Jesus replied, \redletteron ‘Very
truly I tell you, no one can see the kingdom of God unless they are born
again.’\redletteroff} Lead out text.
\bigskip
Lead in text:
\begin{scripture}[Isaiah 1:2][inline, inline/begin=«\,, inline/end=\,»]
\begin{poetry}
\vs{2}Hear me, you heavens! Listen, earth!
For the \name{Lord} has spoken:
‘I reared children and brought them up,
but they have rebelled against me.
\end{poetry}
\end{scripture}
Lead out text.
\bigskip
Lead in text:
\begin{scripture}[2 Kings 18:18--19][inline]
\vs{18}They called for the king; and Eliakim son of Hilkiah the palace
administrator, Shebna the secretary, and Joah son of Asaph the recorder went
out to them.
\vs{19}The field commander said to them, ‘Tell Hezekiah:
\begin{narrow}
‘“This is what the great king, the king of Assyria, says: on what are you
basing this confidence of yours?
\end{narrow}
\end{scripture}
Lead out text.
\bigskip
Lead in text:
\begin{scripture}[Genesis 1:1--2][inline, inline/begin={,,\,}, inline/end=\,'']
\begin{hanging}
\ch{1}In the beginning God created the heavens and the earth. \vs{2}Now the
earth was formless and empty, darkness was over the surface of the deep,
and the Spirit of God was hovering over the waters.
\end{hanging}
\end{scripture}
Lead out text.
\bigskip
Lead in text:
\begin{scripture}[Daniel 5:25][inline]
\vs{25}‘This is the inscription that was written:
\begin{center}
\textsc{mene, mene, tekel, parsin}
\end{center}
\end{scripture}
Lead out text.
\bigskip
Lead in text.
\begin{scripture}[Isaiah 40:5][inline]
\begin{poetry}[belowskip = 0pt]
\vs{5}And the glory of the \name{Lord} will be revealed,
and all people will see it together.
\end{poetry}
\begin{flushright}[aboveskip = 0pt]
For the mouth of the \name{Lord} \\
has spoken.’
\end{flushright}
\end{scripture}
Lead out text.
\bigskip
Lead in text:
\begin{scripture}[1 Corinthians 10:31--11:1][inline]
\begin{midparachap}
\vs{31}So whether you eat or drink or whatever you do, do it all for the
glory of God. \vs{32}Do not cause anyone to stumble, whether Jews, Greeks
or the church of God---\vs{33}even as I try to please everyone in every
way. For I am not seeking my own good but the good of many, so that they
may be saved. \ch{11}Follow my example, as I follow the example of Christ.
\end{midparachap}
\end{scripture}
Lead out text.
\end{document}
from scripture.
Yeah, that very much looks good. Sorry for the delay, but I had $dayjob to deal with.
from scripture.
Related Issues (20)
- Feature request: width settings for scripture blocks. HOT 2
- Add option to highlight added words not in original language
- Setting `aboveskip` on inner environments to stretchable space fails to compile
- Add `paraboveskip` and `parbelowskip` options HOT 1
- Add feature to declare a style that can later be called with a `style` option
- Note in docs limitations around `\obeylines` and macro arguments
- `reference/format` option should format both the reference and the version
- `redletter` option breaks alignment of references
- `reference/delim` is unhelpfully named with confusing behaviour
- `reference/align=inline` does not work if quote ends with and inner environment
- Quotations starting with an inner environment do not respect `\parskip`
- `aboveskip` incorrectly applied when document as a non-zero `\parskip` HOT 1
- `aboveskip` incorrectly applied when `parskip` option is set HOT 1
- Feature request: more \name args HOT 5
- Final line length wrongly calculated if scripture is in a list environment
- `midparachap` always set with width `\textwidth`
- Extra indent when printing reference with `reference/align=left`
- `leftmargin` is ignored for inner environments HOT 1
- `leftmargin` and `rightmargin` applied twice for `midparachap` environment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scripture.