我对 reledmac 中的 section 命令的间距有疑问。这
\documentclass{scrbook}
\usepackage{scrlayer-scrpage}
\usepackage[english]{babel}
\usepackage{reledmac}
% Section
\RedeclareSectionCommand[
beforeskip=15em,
afterskip=1em]{section}
\begin{document}
\addchap{1891}
\section{Diary, 27. 4. 1891}\beginnumbering\pstart
Met him in a bar\pend
\endnumbering
\section{Diary, 28. 4. 1891}\beginnumbering\pstart
Was rather happy.\pend
\pstart
But not for long.\pend
\endnumbering
\end{document}
在 section 命令之前和之后没有产生所需的输出( \section 甚至不在 reledmac 部分内)。
当我将 \listfiles 添加到代码中时,这是日志文件:
这是 pdfTeX,版本 3.14159265-2.6-1.40.17(TeX Live 2016)(预加载格式=pdflatex)\write18 已启用。进入扩展模式 (./loesch.tex LaTeX2e <2016/03/31> 补丁级别 3 Babel <3.9r> 并加载了 83 种语言的连字符模式。 (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrbook.cls 文档类:scrbook 2016/06/14 v3.21 KOMA-Script 文档类(书籍) (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrkbase.sty (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrbase.sty (/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrlfile.sty 软件包 scrlfile,2016/06/14 v3.21 KOMA-Script 软件包(加载文件)版权所有 (C) Markus Kohm
))) (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/tocbasic.sty) (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrsize11pt.clo) (/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/typearea.sty 软件包 typearea,2016/06/14 v3.21 KOMA-Script 软件包(类型区域)版权所有 (C) Frank Neukam,1992-1994 版权所有 (C) Markus Kohm,1994-
))(/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty(/usr/local/texlive/2016/texmf-dist/tex/latex/koma-script/scrlayer.sty))(/usr/local/texlive/2016/texmf-dist/tex/generic/babel/babel.sty(/usr/local/texlive/2016/texmf-dist/tex/generic/babel-english/english.ldf(/usr/local/texlive/2016/texmf-dist/tex/generic/babel/babel.def)))(/usr/local/texlive/2016/texmf-dist/tex/latex/reledmac/reledmac.sty (/usr/local/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval.sty(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval.tex(/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))(/usr/local/texlive/2016/texmf-dist/tex/latex/xargs/xargs.sty)(/usr/local/texlive/2016/texmf-dist/tex/latex/etoolbox/etoolbox.sty)(/usr/local/texlive/2016/texmf-dist/tex/latex/bigfoot/suffix.sty) (/usr/local/texlive/2016/texmf-dist/tex/generic/xstring/xstring.sty(/usr/local/texlive/2016/texmf-dist/tex/generic/xstring/xstring.tex))(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty)(/usr/local/texlive/2016/texmf-dist/tex/latex/ms/ragged2e.sty(/usr/local/texlive/2016/texmf-dist/tex/latex/ms/everysel.sty))(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty))(./loesch.aux)ABD:EverySelectfont 正在初始化无编号的宏章节 第 1 节 (./loesch.1) (./loesch.eledsec1) 第 2 节 (./loesch.2) (./loesch.eledsec2) [1{/usr/local/texlive/2016/texmf-var/fonts/map/pdftex/updma p/pdftex.map}] (./loesch.aux)
文件列表 scrbook.cls 2016/06/14 v3.21 KOMA-Script 文档类(书籍) scrkbase.sty 2016/06/14 v3.21 KOMA-Script 包(KOMA-Script 相关的基础知识和键值用法) scrbase.sty 2016/06/14 v3.21 KOMA-Script 包(
KOMA-Script 独立的基础知识和键值用法) keyval.sty 2014/10/28 v1.15 键=值解析器(DPC) scrlfile.sty 2016/06/14 v3.21 KOMA-Script 包(加载文件) tocbasic.sty 2016/06/14 v3.21 KOMA-Script 包(处理 toc 文件) scrsize11pt.clo 2016/06/14 v3.21 KOMA-Script 字体大小类选项 (11pt) typearea.sty 2016/06/14 v3.21 KOMA-Script 包 (类型区域) scrlayer-scrpage.sty 2016/06/14 v3.21 KOMA-Script 包 (scrlayer 的最终用户界面) scrlayer.sty 2016/06/14
v3.21 KOMA-Script 包 (定义图层和页面样式) babel.sty 2016/04/23 3.9r Babel 包 english.ldf 2012/08/20 v3.3p 来自 babel 系统的英语支持 reledmac.sty
2016/10/04 v2.16.1 排版关键版本 xkeyval.sty
2014/12/03 v2.7a 包选项处理 (HA) xkeyval.tex
2014/12/03 v2.7a key=value 解析器 (HA) xargs.sty 2008/03/22 v1.1 扩展宏定义 (mpg) etoolbox.sty 2015/08/02 v2.2a e-TeX 工具 for LaTeX (JAW) suffix.sty 2006/07/15 1.5a 变量命令支持 xstring.sty 2013/10/13 v1.7c 字符串操作 (C Tellechea) ifluatex.sty 2016/05/16 v1.4 提供 ifluatex 开关 (HO) ragged2e.sty 2009/05/21 v2.1 ragged2e 包 (MS) everysel.sty 2011/10/28 v1.2 EverySelectfont 包 (MS) ifxetex.sty 2010/09/12 v0.6 提供 ifxetex 条件
loesch.1 loesch.eledsec1 loesch.2 loesch.eledsec2 ***********)
输出写在 loesch.pdf 上(1 页,24203 字节)。SyncTeX 写在 loesch.synctex.gz 上。抄本写在 loesch.log 上。
答案1
您只需\leavevmode
在 之后添加一个 即可\endnumbering
。
它是否不包含在 reledmac 中,因为我担心会破坏向后兼容性。
\section{Diary, 27. 4. 1891}\beginnumbering\pstart
Met him in a bar\pend
\endnumbering
\leavevmode
\section{Diary, 28. 4. 1891}\beginnumbering\pstart
Was rather happy.\pend
\pstart
But not for long.\pend
\endnumbering