Hello,
I write all of my sermons in Markdown.
%NoRedLetter%NoFootnotes%NoCitation%UseBibleParagraphs
=Header>[FullPassageRef] ([Version])
=ForEachVerse<sup>[VerseNum]</sup> [VerseText]
=Footer
>Matthew 1:21–25 (CSB)
21 She will give birth to a son, and you are to name him Jesus, because he will save his people from their sins.”
22 Now all this took place to fulfill what was spoken by the Lord through the prophet:
23 See, the virgin will become pregnant
and give birth to a son,
and they will name him Immanuel,
which is translated “God is with us.”
24 When Joseph woke up, he did as the Lord’s angel had commanded him. He married her 25 but did not have sexual relations with her until she gave birth to a son. And he named him Jesus.
Matthew 1:21-25 (CSB) She will give birth to a son, and you are to name him Jesus, because he will save his people from their sins.”>><sup> 22 </sup>Now all this took place to fulfill what was spoken by the Lord through the prophet:>><sup> 23 </sup>See, the virgin will become pregnant and give birth to a son, and they will name him Immanuel, which is translated “God is with us.”>><sup>24 </sup>When Joseph woke up, he did as the Lord’s angel had commanded him. He married her>><sup> 25 </sup>but did not have sexual relations with her until she gave birth to a son. And he named him Jesus.
Is this even possible in Logos?
I don't mind writing a Perl or bash script to get the output that I wanted. But before I start cranking out a script, I just want to know if this is possible or not?
Thank you.
Joseph Louthan: >><sup> 22 </sup>Now all this took place to fulfill what was spoken by the Lord through the prophet:>><sup> 23 </sup>See, the virgin will become pregnant
>><sup> 22 </sup>Now all this took place to fulfill what was spoken by the Lord through the prophet:>><sup> 23 </sup>See, the virgin will become pregnant
For this you need:
=ForEachVerse>><p><sup>[VerseNum]</sup>[VerseText]</p>
But it will not give you:
Joseph Louthan:Matthew 1:21-25 (CSB) She will give birth to a son, and you are to name him Jesus
---> verse formatting is not allowed in the Header.
And I'm assuming you don't want to see
Joseph Louthan:><sup> 22 </sup>Now all this took place to fulfill what was spoken by the Lord
as opposed to:
>22 Now all this took place to fulfill what was spoken by the Lord
Dave===
Windows 11 & Android 8
That's the catch. I do want:
><sup> 22 </sup>Now all this took place to fulfill what was spoken by the Lord
... because I am going to paste those lines into a code editor (VSCode).
Joseph Louthan:Is this even possible in Logos?
I don't think there's a way to get the literal text "<sup>", as that's always interpreted as markup by CBV and there's no "escaping" feature (e.g., writing it as <sup>).
Joseph Louthan:I don't mind writing a Perl or bash script to get the output that I wanted.
Might not take a script, but you could resort to search-and-replace. Change your CBV style to use "> <super>[VerseNum]</super> [VerseText]". Then search-and-replace <super> with <sup>, for example.