BUG in Copy Bible Verses Syntax

I absolutely LOVE having Word styles available in Copy Bible Verses. Thank you Logos team!!
The styles work great as long as the header, verses, and footer are each in separate paragraphs, but I run into problems when the the Header and Verses are all combined into a single paragraph. In that case, no style is assigned, and the Word "normal" style is attached by default. For example, I am trying to copy a passage of multiple verses with the entire output (header and verses) as a SINGLE paragraph. There is a line break after the header, but not a paragraph break. This allows the entire passage to be moved around in the document as a single paragraph, rather than as two paragraphs. For example, I am copying and pasting all of the following as one single paragraph:
<!--
p.Scripture, li.Scripture, div.Scripture
{mso-style-name:"Scripture";
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-link:"Scripture Char";}
span.ScriptureChar
{mso-style-name:"Scripture Char";
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Scripture";}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
{mso-style-noshow:yes;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Calibri","sans-serif";}
-->
1 Kings 6:1–3
1 In the four hundred and eightieth year after the Israelites had come out of Egypt, in the fourth year of Solomon’s reign over Israel, in the month of Ziv, the second month, he began to build the temple of the Lord. 2 The temple that King Solomon built for the Lord was sixty cubits long, twenty wide and thirty high. 3 The portico at the front of the main hall of the temple extended the width of the temple, that is twenty cubits, and projected ten cubits from the front of the temple.
I want to assign this paragraph with the Style "scripture", and have the following syntax:
%NoFootnotes
%NoCitation
%HeaderStyle=Scripture
%ForEachVerseStyle=Scripture
%FooterStyle=Scripture
=Header
<p><i><b>[FullPassageRef]
</b></i>
=ForEachVerse
<sup><b>[VerseNum]</b></sup> [VerseText]
=Footer
</p>
I've tried assigning the "Scripture" style to HeaderStyle alone, FooterStyle alone, and ForEachVerseStyle alone, as well as to all three at once (as in the syntax above), but in every case I simply get Word's "normal" style attached to the paragraph when I copy and paste.
Thanks for your attention to this problem.
Comments
-
My suggestion would be that the Word Paragraph Style should be associated with the closing paragraph marker, </p>, in the syntax. Therefore, in the example above, which outputs a single paragraph containing Header, ForEachVerse, and Footer, it should be the %FooterStyle statement which defines the Word Style.
0 -
Wyn,
Could you give me some more details on the problem, such as what formatting your style has, what version of Word are you using, and the steps you do when you copy and paste? I tried your copy bible verses style, and it picks up the Word style just fine.
Scott
0 -
Scott,
I have quite a number of customized "Copy Bible Verses Styles" and most of them correctly assign the specified Word paragraph style all work fine when I copy and paste into Word. The exception in those cases I described above, where there is just a single paragraph for the entire output. In other words, the opening paragraph maker <p> is in the header, and closing marker for that paragraph </p> is in the footer. In those cases, I just get the Words "normal" paragraph style, instead of the style I designated in the syntax.
I am using Word 2007. The "Scripture" paragraph style in Word is just a hanging indent paragraph. Nothing unusual in it at all. It's the same style I use in all the other "Copy Bible Verses Styles" that work properly. I copy verses by opening the floating window in Logos with Ctrl-Alt-B and then hitting the "Copy and Paste" button.
After further testing, I learned something interesting. After I copy and paste, and the "Scripture" style is supposed to be assigned, the "Normal" paragraph is actually assigned. I know that because the font size is incorrect, and because the Style Area Pane at the left side of the Ms Word screen lists the paragraph style as "normal". HOWEVER, if I highlight some or all of the paragraph, I now see that the drop-down Style bar in my customized toolbar (the Command item I added to the toolbar is Style - StyleGalleryClassic), indicates that the style is "Scripture". So somehow Word is partly recognizing that the style Scripture is assigned, but not completely. The drop down style bar in the toolbar shows the style as "Scripture", but the Style Area Pane shows it as "Normal." If I assign the paragraph style to "Scripture" from within Word, all is as it should be (ie, the correct formatting is applied, and both Style Drop Down and Style Area Pane list the style as "Scripture".
Hope this helps.
0 -
Wyn,
Thanks for reporting this bug with all of the helpful information. I submitted a fix and it should be in the next beta.
Scott
0