How to add "translation of translation" in packаge leipzig-glossing?

Using package leipzig-glossing, I faced with problem that I cannot put addional lines under the translation, not under the morphemes.
I.e. it is possible to make this:

#example(
 (
 header: [Hunzib (van den Berg 1995:46)],
 source: ([ождиг],[хо#super[н]хе],[мукъер]),
 transliteration: ([oʒdig],[χõχe],[muqʼer]),
 morphemes: ([ož-di-g],[xõxe],[m-uq'e-r]),
 additional-lines: (
 ([boy-#smallcaps[obl]-#smallcaps[ad]], [tree(#smallcaps[g4])],
[#smallcaps[g4]-bend-#smallcaps[pret]]),
 ([at boy], [tree], [bent]),
 ),
 translation: ["Because of the boy, the tree bent."]
 )
)

Hovewer, package does not allow me to put additional lines under the translation to put “translation of translation”, something like that:

#example(
 (
 header: [Hunzib (van den Berg 1995:46)],
 source: ([ождиг],[хо#super[н]хе],[мукъер]),
 transliteration: ([oʒdig],[χõχe],[muqʼer]),
 morphemes: ([ož-di-g],[xõxe],[m-uq'e-r]),
 additional-lines: (
 ([boy-#smallcaps[obl]-#smallcaps[ad]], [tree(#smallcaps[g4])],
[#smallcaps[g4]-bend-#smallcaps[pret]]),
 ([at boy], [tree], [bent]),
 ),
 translation: ["Because of the boy, the tree bent."],
**additional-line: ["Из-за мальчика дерево согнулось"]**,
 )
)

Do you know what to do to add additional line for translation?

Hello. If you want to add a new paragraph, then do this:

#import "@preview/leipzig-glossing:0.5.0": example

#example((
  header: [Hunzib (van den Berg 1995:46)],
  source: ([ождиг], [хо#super[н]хе], [мукъер]),
  transliteration: ([oʒdig], [χõχe], [muqʼer]),
  morphemes: ([ož-di-g], [xõxe], [m-uq'e-r]),
  additional-lines: (
    (
      [boy-#smallcaps[obl]-#smallcaps[ad]],
      [tree(#smallcaps[g4])],
      [#smallcaps[g4]-bend-#smallcaps[pret]],
    ),
    ([at boy], [tree], [bent]),
  ),
  translation: [
    "Because of the boy, the tree bent."

    "Из-за мальчика дерево согнулось"
  ],
))

image

If the same paragraph with a line break:

#import "@preview/leipzig-glossing:0.5.0": example

#example((
  header: [Hunzib (van den Berg 1995:46)],
  source: ([ождиг], [хо#super[н]хе], [мукъер]),
  transliteration: ([oʒdig], [χõχe], [muqʼer]),
  morphemes: ([ož-di-g], [xõxe], [m-uq'e-r]),
  additional-lines: (
    (
      [boy-#smallcaps[obl]-#smallcaps[ad]],
      [tree(#smallcaps[g4])],
      [#smallcaps[g4]-bend-#smallcaps[pret]],
    ),
    ([at boy], [tree], [bent]),
  ),
  translation: [
    "Because of the boy, the tree bent." \
    "Из-за мальчика дерево согнулось"
  ],
))

image


P.S. Don’t forget to put language identifier for code blocks.

Thank you so much!! :sparkles: :sparkles:

1 Like