From 0caf760b0904c71ddbefb31091f454816e44ba54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Tue, 8 Oct 2024 00:39:28 +0200 Subject: [PATCH] use full skips around sectioning commands The default glues do not work well in reledmac. This is related to #36. --- xsl/latex/libtext.xsl | 12 ++++++++++++ xsl/projects/alea/latex/prose.xsl | 1 + 2 files changed, 13 insertions(+) diff --git a/xsl/latex/libtext.xsl b/xsl/latex/libtext.xsl index e08b021..3dc9815 100644 --- a/xsl/latex/libtext.xsl +++ b/xsl/latex/libtext.xsl @@ -478,4 +478,16 @@ &lb;} &lb;\makeatother + + + &lb;\renewcommand*{\seedchapterbeforeskip}{\bigskip} + &lb;\renewcommand*{\seedchapterafterskip}{} + &lb;\renewcommand*{\seedsectionbeforeskip}{\bigskip} + &lb;\renewcommand*{\seedsectionafterskip}{} + &lb;\renewcommand*{\seedsubsectionbeforeskip}{\bigskip} + &lb;\renewcommand*{\seedsubsectionafterskip}{} + &lb;\renewcommand*{\seedsubsubsectionbeforeskip}{\bigskip} + &lb;\renewcommand*{\seedsubsubsectionafterskip}{} + + diff --git a/xsl/projects/alea/latex/prose.xsl b/xsl/projects/alea/latex/prose.xsl index c278048..1e0f3b1 100644 --- a/xsl/projects/alea/latex/prose.xsl +++ b/xsl/projects/alea/latex/prose.xsl @@ -529,6 +529,7 @@ target/bin/xslt.sh -config:saxon.he.xml -xsl:xsl/projects/alea/latex/prose.xsl - + &lb;\renewcommand*{\seedchapterfont}[1]{\bfseries #1} &lb;\renewcommand*{\seedsectionfont}[1]{\bfseries #1} &lb;\renewcommand*{\seedsubsectionfont}[1]{\bfseries #1}