[jsword-devel] [JIRA] Commented: (JS-206) OSISqToTick=false not working in And Bible and Bible Desktop
DM Smith (JIRA)
jira at crosswire.org
Wed Jan 25 05:45:59 MST 2012
[ http://www.crosswire.org/bugs/browse/JS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22370#comment-22370 ]
DM Smith commented on JS-206:
-----------------------------
OSISqToTick=false does not hide quote marks, rather it was meant to prevent their generation. It was invented for the KJV module, which has no quotation marks at all, to allow for the Words of Christ (WoC) to be marked but not generate quotation marks. OSIS at that time did not have constructs to specify what quotation marks should be used. It does now. The KJV module has been rewritten to not require OSISqToTick=false. As a result, CrossWire has deprecated its use. Within the SWORD engine, it uses this flag when the marker attribute on the <q> element is not present. You are correct that JSword does not handle it, but it really is a module problem and should be corrected there.
Suppose you have <q>This is a quote.</q>, then w/o the flag (or it set to true) this would generate, "This is a quote." With the flag set to false it would be, This is a quote.
Please note, the OSISqToTick was never meant to as a mechanism to allow for marking the WoC while having quotation marks directly in the text.
The OSIS of Matt 1:23 is (I've deleted the note):
"BEHOLD, THE VIRGIN SHALL BE WITH CHILD, AND SHALL BRING FORTH A SON, AND THEY SHALL CALL HIS NAME IMMANUEL," which is translated, "GOD WITH US."
This is has the quotation marks directly in the text and is not subject to OSISqToTick.
So to get this to work you'd need:
<q>BEHOLD, THE VIRGIN SHALL BE WITH CHILD, AND SHALL BRING FORTH A SON, AND THEY SHALL CALL HIS NAME IMMANUEL,</q> which is translated, <q>GOD WITH US.</q>
As it turns out, OSISqToTick is entirely unnecessary, as SWORD and JSword use the value of marker as it's quotation mark. So this would be better as:
<q marker="">BEHOLD, THE VIRGIN SHALL BE WITH CHILD, AND SHALL BRING FORTH A SON, AND THEY SHALL CALL HIS NAME IMMANUEL,</q> which is translated, <q marker="">GOD WITH US.</q>
If the intention were to have quotation marks here then the following would be better:
<q marker='"'>BEHOLD, THE VIRGIN SHALL BE WITH CHILD, AND SHALL BRING FORTH A SON, AND THEY SHALL CALL HIS NAME IMMANUEL,</q> which is translated, <q marker='"'>GOD WITH US.</q>
However, the OSIS spec allows the <q> element to be milestoned. The real value is that it allows for opening and closing quotation marks to be different.
To use the milestoned version, and suppress quotation marks, it would look like:
<q marker="" sID="qXXX"/>BEHOLD, THE VIRGIN SHALL BE WITH CHILD, AND SHALL BRING FORTH A SON, AND THEY SHALL CALL HIS NAME IMMANUEL,<q marker="" eID="qXXX"/> which is translated, <q marker="" sID="qYYY"/>GOD WITH US.<q marker="" eID="qYYY"/>
Note, if the intention was to really include quotation marks, then marker would have a value. In this case, one can either use the same straight marks for both or better use right and let curly quotes as in:
<q marker="“" sID="qXXX"/>BEHOLD, THE VIRGIN SHALL BE WITH CHILD, AND SHALL BRING FORTH A SON, AND THEY SHALL CALL HIS NAME IMMANUEL,<q marker="”" eID="qXXX"/> which is translated, <q marker="“" sID="qYYY"/>GOD WITH US.<q marker="”" eID="qYYY"/>
Regarding the WoC, the problem is doubled. It uses the quote element to mark the WoC and also includes the quotes directly in the text. The module has for Matt 5:3:
<q marker="" who="Jesus"><q sID="gen106"/>"Blessed <hi type="italic">are</hi> the poor in spirit, for theirs is the kingdom of heaven.<q eID="gen106"/></q>
This is not how it is marked up in the input to osis2mod, but rather a result of how osis2mod transforms it. It is likely that the input OSIS had:
<q who="Jesus">"Blessed <hi type="italic">are</hi> the poor in spirit, for theirs is the kingdom of heaven.
This has 3 problems:
1) The quotation mark is directly in the text. It should be represented the <q> element.
2) marker is not used to indicate the quotation mark.
3) <hi> is used to mark that the words are not from the original.
It'd be better for it to be marked:
<q who="Jesus" marker="">Blessed <transChange type="added">are</transChange> the poor in spirit, for theirs is the kingdom of heaven.
If the intention were straight quotation marks, then the following would have been better:
<q who="Jesus" marker='"'>Blessed <transChange type="added">are</transChange> the poor in spirit, for theirs is the kingdom of heaven.
I'll be moving this in Jira to be under MOD and changing the title to "EMTV quote problem".
> OSISqToTick=false not working in And Bible and Bible Desktop
> ------------------------------------------------------------
>
> Key: JS-206
> URL: http://www.crosswire.org/bugs/browse/JS-206
> Project: JSword
> Issue Type: Bug
> Affects Versions: 1.6
> Environment: And Bible, Bible Desktop
> Reporter: troy pulk
> Assignee: DM Smith
> Priority: Minor
>
> The new updated osis EMTV module uses OSISqToTick=false to hide quotes for Jesus words. When used In And Bible and Bible Desktop OSISqToTick=false does not work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jsword-devel
mailing list