ConTeXt 中两列设置中的 lettrine 模块和内置首字母布局不佳

ConTeXt 中两列设置中的 lettrine 模块和内置首字母布局不佳

我发现lettrine模块生成的字母定位不正确。这是我的 MVE:

\setuppapersize[A4][A4]
\usemodule[lettrine]

\definehead[recipe][section]
\setuphead[recipe][
  beforesection={\startcolumns[n=2, rule=on]},
  aftersection={\stopcolumns}]

\definenumber[stepnum][way=bytext,prefix=no]

\definestartstop[steps][
  before={\startsubsubsubject[title={Příprava}]\setnumber[stepnum]{1}},
  after={\stopsubsubsubject}]

\definestartstop[step][
  before={\lettrine[Lines=3]{\getnumber[stepnum]}{}},
  after={\incrementnumber[stepnum]}]

\starttext
\startrecipe[title={Bábovka}, reference={babovka}]
  \startsteps
    \startstep
      A word word word word.
    \stopstep

    \startstep
      Another word word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word.
    \stopstep

    \startstep
      Yet another word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word word word word word word.
    \stopstep
  \stopsteps
\stoprecipe

\stoptext

以下是截图:

莱特林问题

我能修复它吗?或者这是lettrine模块问题?


更新

\setnumber[stepnum]{1}源代码中的 应该是。\setnumber[stepnum][1]但这并不能解决问题。


更新2

虽然使用\placeinitial效果更好,但在两列布局中仍然存在一些问题:

图片

请注意2以及第二列开头的额外垂直空间。这是我更新的 MVE:

\setuppapersize[A4][A4]
\usemodule[lettrine]

\definehead[recipe][section]
\setuphead[recipe][
  beforesection={\startcolumns[n=2, rule=on]},
  aftersection={\stopcolumns}]

\definenumber[stepnum][way=bytext,prefix=no]

\definestartstop[steps][
  before={\startsubsubsubject[title={\bf Příprava}]\setnumber[stepnum][1]},
  after={\stopsubsubsubject}]

\definestartstop[step][
  before={\lettrine[Lines=2]{\getnumber[stepnum]}{}},
  after={\incrementnumber[stepnum]}]

\setupinitial[font=Regular sa 2.5,distance=1pt,state=start,n=2]

\definestartstop[xstep][
  before={\placeinitial {\getnumber[stepnum]}{}},
  after={\incrementnumber[stepnum]}]

\starttext
\startrecipe[title={Bábovka}, reference={babovka}]
  A word word word word. A word word word word. A word word word
  word. A word word word word. A word word word word. A word word word
  word. A word word word word. A word word word word.

  \startsteps
    \startxstep
      A word word word word.
    \stopxstep

    \startxstep
      Another word word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word.
    \stopxstep

    \startxstep
      Yet another word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word word word word word word word word word word word
      word word word word word word word word.
    \stopxstep
  \stopsteps
\stoprecipe

\stoptext

相关内容