From ac421f5df65579e2b94b41a5a917b7e3fd309f99 Mon Sep 17 00:00:00 2001 From: jodros <15092760+jodros@users.noreply.github.com> Date: Tue, 6 Feb 2024 00:14:10 -0300 Subject: [PATCH] feat(packages): only call 'noindent' if language is english --- classes/book.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/book.lua b/classes/book.lua index 20a0290d24..4129cef050 100644 --- a/classes/book.lua +++ b/classes/book.lua @@ -167,7 +167,7 @@ function class:registerCommands () SILE.call("nofoliothispage") -- English typography (notably) expects the first paragraph under a section -- not to be indented. Frenchies, don't use this class :) - SILE.call("noindent") + if lang == "en" then SILE.call("noindent") end end, "Begin a new chapter") self:registerCommand("section", function (options, content)