sile 0.15.2

Simon’s Improved Layout Engine
<!-- KNOWNBAD https://github.com/sile-typesetter/sile/issues/326#issuecomment-224873117 -->
<sile papersize="152mm x 229mm" class="bible" twocolumns="true">
<set parameter="linebreak.tolerance" value="5000"/>
<set-counter id="footnote" display="alpha"/>
<font language="en"/>
<use module="packages.xmltricks"/>
<use module="packages.frametricks"/>
<use module="packages.raiselower"/>
<define command="bible:chapter-head"><bigskip/><font size="24pt"><process/></font></define>
<define command="bible:verse-number"><raise height="3pt"><font size="9pt"><process/></font></raise></define>
<xmltricks:ignore>style-id style-ide style-h style-h1 style-h2 style-h3</xmltricks:ignore>
<xmltricks:ignore>style-toc1 style-toc2 style-toc3</xmltricks:ignore>
<xmltricks:ignore>style-rem style-sts style-restore</xmltricks:ignore>
<xmltricks:ignore>book</xmltricks:ignore>
<script>
SILE.registerCommand("chapter", function(options, content)
  SILE.call("bible:chapter-head",{},{options.number})
  SILE.call("save-chapter-number",{},{options.number})
end)

SILE.registerCommand("verse", function(options,content)
  SILE.call("verse-number", options, {options.number})
end)

SILE.registerCommand("note", function (options, content)
  local note = content[1] and content or {options.caller} -- USX keeps changing...
  SILE.call("footnote", options, note)
end)

</script>
<define command="style-p"><process/><par/></define>
<define command="style-mt"><skipeight/>
<center><font size="20pt" weight="800"><process/></font></center>
<skipfour/></define>
<define command="skiptwo"><skip height="2pt"/></define>
<define command="skipfour"><skip height="4pt"/></define>
<define command="skipsix"><skip height="6pt"/></define>
<define command="skipeight"><skip height="8pt"/></define>
<style-p><noindent/>who is over all, and through all, and in us all. <verse number="7" style="v" />But to each one of us was the grace given according to the measure of the gift of Christ. <verse number="8" style="v" />Therefore he says, “When he ascended on high, he led captivity captive, and gave gifts to men.”<note caller="+ Psalm 68:18" style="x"></note> <verse number="9" style="v" />Now this, “He ascended”, what is it but that he also first descended into the lower parts of the earth? <verse number="10" style="v" />He who descended is the one who also ascended far above all the heavens, that he might fill all things.</style-p>
  <style-p>
    <verse number="11" style="v" />He gave some to be apostles; and some, prophets; and some, evangelists; and some, shepherds<note style="f" caller="+ or, pastors"></note> and teachers; <verse number="12" style="v" />
  </style-p>
<framebreak/>
  <style-p>
    <verse number="17" style="v" />This I say therefore, and testify in the Lord, that you no longer walk as the rest of the Gentiles also walk, in the futility of their mind, <verse number="18" style="v" />being darkened in their understanding,
</style-p>
<skip height="200pt"/>
<style-p>
    <verse number="25" style="v" />Therefore putting away falsehood, speak truth each one with his neighbor. For we are members of one another. <verse number="26" style="v" />“Be angry, and don’t sin.”<note caller="+ Psalm 4:4" style="x"></note> Don’t let the sun go down on your wrath, <verse number="27" style="v" />and don’t give place to the devil. <verse number="28" style="v" />Let him who stole steal no more; but rather let him labor, producing with his hands something that is good, that he may have something to give to him who has need. <verse number="29" style="v" />Let no corrupt speech proceed out of your mouth, but only what is good for building others up as the need may be, that it may give grace to those who hear. <verse number="30" style="v" />Don’t grieve the Holy Spirit of God, in whom you were sealed for the day of redemption. <verse number="31" style="v" />Let all bitterness, wrath, anger, outcry, and slander, be put away from you, with all malice. <verse number="32" style="v" />And be </style-p>
</sile>