Coder Social home page Coder Social logo

Comments (3)

dcpurton avatar dcpurton commented on September 2, 2024

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.

dcpurton avatar dcpurton commented on September 2, 2024

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.

veromary avatar veromary commented on September 2, 2024

Thank you!

from scripture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.