Comments (3)
Oooo.
I admit the scripture
environment is very picky about what you put inside it. Everything is a LaTeX list and LaTeX lists fiddle with \par
in odd ways. Combine that with the scripture
environment trying to manage \parshape
across paragraphs and I'm not surprised that problems arise.
I'll see if I can track down exactly what is going on, but in the mean time for the case where your section headings are not in an inner environment (e.g., poetry
, hanging
, etc.) try adding this to your preamble:
\makeatletter
\AddToHook{cmd/subsection/before}{%
\parshape 1 \@totalleftmargin \linewidth}
\makeatother
Trying to put section headings within inner environments is probably a bad idea.
Using \section
and friends for headings is a reasonable feature to try and make work, so I'll see if I can make things more robust.
from scripture.
I typeset a book of gospels last year without this being much of an issue. It's puzzling.
I changed how the main scripture
environment works. It used to not use a LaTeX list, but now it does (there were too many weird problems with spacing). I would say that if you tried to recompile your document with the current version, it would fail.
from scripture.
Thank you!
from scripture.
Related Issues (20)
- `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
- `\ch` indents wrong when `leftmargin` or `rightmargin` set
- Move to always using a `\list` environment at the top level
- locally set `inline` option overrides globally set `reference/sep`, `reference/format` and `version/format` options
- A `\ch` in a `hanging` environment that doesn't start a paragraph is broken
- Add option to insert a pilcrow (ΒΆ) at the start of paragraphs
- Allow drop chapter with the `verse/para` option
- Second paragraph after prose drop chapter not shaped
- Add a `verse/firstparindent` option HOT 1
- Add support for Bible translations in RTL languages
- Add missing `hanging` options
- `microtype` protrusion does not work for first character in main and inner environments HOT 1
- Allow pilcrow ΒΆ while preserving paragraph shaping in inner environments.
- Add `before` and `after` options for code hooks.
- Reference at start leading into `flushright` environment wrong position
- Non-drop chapters should prevent a line break before following text.
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.