BUG: Copy bible verses pasting into word font formatting issues

Jeff Meyer
Jeff Meyer Member Posts: 52 ✭✭
edited November 21 in English Forum

I haven't tried any other font formatting except for italics so I'll comment on that.

I have a copy format in Logos defined like this:

---

%NoFootnotes
%NoCitation
%NoRedLetter
%ForEachVerseStyle = Logos Verse
%FooterStyle = Logos Footer

=ForEachVerse
<sup>[VerseNumInContext]</sup>[VerseText]

=Footer
([FullPassageRef] [Version])

---

In Word 365, "Logos Verse" and "Logos Footer" are defined as styles based on Normal that are indented left and right and italicized.

However, when I paste verses from Logos into word using the "Copy and Paste" button in Logos, it is pasted with the right style, but the verse numbers and the entire footer are not italicised.

In order to get all the formatting like I want, I need to remove italics from the Word styles and add <i> and </i> to the Logos style. That kind of defeats the purpose of using Word styles, right?

Here is an example (from a Word file saved as HTML) of the results of copying a passage with that Logos style:

<p class="LogosVerse">And the beast was captured, and with it the false prophet
who in its presence had done the signs by which he deceived those who had
received the mark of the beast and those who worshiped its image. These two
were thrown alive into the lake of fire that burns with sulfur. <span
class=LogosVerseChar><sup><span lang=EN style='font-style:normal'>21</span></sup></span>And
the rest were slain by the sword that came from the mouth of him who was
sitting on the horse, and all the birds were gorged with their flesh.<span
class=LogosFooterChar><span style='font-style:normal'> (Revelation 19:20–21
ESV)</span></span> </p>

It looks very much like when there is anything other than "[VerseText]" in the "ForEachVerse" and the Footer Style formatting doesn't apply to "[FullPassageRef]" or "[Version]".

That also sort of defeats the purpose of using ForEachVerseStyle and FooterStyle.

I'm willing to say it's user error, so any help would be appreciated!

Tagged:

Comments

  • Dave Hooton
    Dave Hooton MVP Posts: 35,767

    In order to get all the formatting like I want, I need to remove italics from the Word styles and add <i> and </i> to the Logos style. That kind of defeats the purpose of using Word styles, right?

    Copy and Paste keeps Source Formatting  e.g. small caps in Lord, but I've never had success specifying Word Styles. So it looks like you have to add the italics to CBV. 

    If you choose to Copy and then Paste manually, Word provides options for Formatting but the results are disappointing.

    With the style specification in CBV, Word used its default font with size 11. Without the style specifications, the verse in Word is size 12 whilst the footer is size 11.

    We need to hear from Faithlife.

    Dave
    ===

    Windows 11 & Android 13

  • Wolfgang Schneider
    Wolfgang Schneider Member Posts: 678 ✭✭

    Jeff,

    it seems to work for me with using Word styles (see screenshot sample)
    image
    The style "Vers" formats the verse text in italics plus indent, and font selection, line spacing, etc.   The style "Vers Num" formats the scripture reference as regular style plus indent, line spacing, etc. 

    Maybe the extra spaces before the = in your %ForEachVerseStyle = Logos Verse and your %FooterStyle = Logos Footer lines of your CBV definitions are the cause for the Word styles not being used in the copy and paste process? It could be that using the <p> </p> in the CBV definition in the Header and For each verse section has something to do with whether a Word style is properly applied when Logos "copy and paste" is used? It could have to do with how the definitions of the format styles in Word are set up?

    I am using Win 10, Microsoft® Word 2016, and Logos 37

    Wolfgang Schneider

    (BibelCenter)

  • Jeff Meyer
    Jeff Meyer Member Posts: 52 ✭✭

    Thanks for the input. I'm no closer than I was before to figuring out the issue, but this is giving me the desired output I want:

    --------

    %NoCharFormatting
    %NoParFormatting
    %NoRedLetter
    %NoFootnotes
    %NoCitation

    %ForEachVerseStyle = Logos Verse
    %FooterStyle = Logos Footer

    =ForEachVerse
    <sup><i>[VerseNum]</i></sup>[VerseText]

    =Footer
    ([FullPassageRef] [Version])

    --------

    For context:

    • Logos Verse is an italicized style
    • Logos Footer is the same as Logos Verse but NOT italicized
    • The named styles ARE applied to the pasted text in word

    Issues:

    • If I don't have the <i></i> tags in the ForEachVerse, even though "Logos Verse" is applied to the pasted verse (including the verse numbers), the verse numbers ARE NOT italicized
    • Logos Footer is applied to the pasted text, but it TOGGLES the italics state of that style
    • If I have the footer on a new line (using <p></p>) it DOES NOT toggle the italics state of the pasted style

    That's why I have italics OFF in Logos Footer.

    It's all very odd.