<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm thinking of having a "sidecar" conf for a module. Right now when a user wants to save certain settings for a module, we (JSword) modify the conf. (I.e. CipherKey and Font).<div><br></div><div>This could then be used to save anything a front end discovers and does not want to discover a second time. Such as Scope (which to my recollection was not shot down), Introductions, Colophons, user settings(?)....</div><div><br></div><div>The basic idea is that the engine (JSword in my case) would read the conf and then the sidecar for the module, merging into a single internal representation of the conf. That way the module's conf would be then kept pristine.</div><div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM Smith</div><div><br></div><div><div><div>On Jun 3, 2013, at 8:03 AM, Nic Carter &lt;<a href="mailto:niccarter@mac.com">niccarter@mac.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div><br></div><div>I think (&amp; I hope?) what is being proposed is a method in Sword that will check any book of the Bible to see if it is empty or not. This will ultimately be very fast, as it may need to test a large number of verses?</div><div>This same method should be able to be adapted to live-test introductions for books &amp;/or testaments? Then you could determine whether or not to allow such a preference/toggle? Also, then you could tell which introductions should be navigable to?</div><div><br></div><div>FYI, in PS I simply don't show options for modules that don't support a feature. Why show a greyed-out Strong's Numbers toggle in the NET, for example? Or Greek accents toggle for any English-language module? But, obviously, this is a design decision :) :)</div><div><br></div><div>BTW, I believe we're still waiting to hear whether or not an isEmpty(BookName) method is going to be incorporated into Sword? I'm interested in it, but I was just reminded that PS still doesn't support GenBooks &amp; thought I might actually rectify that rather than look into an isEmpty() implementation... ;)</div><div>[yes, Karl, you requested it about 3.5 years ago, &amp; I'm looking at the redesigns&nbsp;<span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">required</span>&nbsp;to make this happen!]</div><div><br></div><div>Just my thoughts :)</div><div>ybic,</div><div>Nic :)</div><div><br>Sent from my phone, hence this email may be short...</div><div><br>On 03/06/2013, at 21:04, Chris Burrell &lt;<a href="mailto:chris@burrell.me.uk">chris@burrell.me.uk</a>&gt; wrote:<br><br></div><blockquote type="cite"><div dir="ltr">For clarity, my use case is as follows.&nbsp;<div><br></div><div>I have a menu displaying options such as Verse numbers, Headings, Verses on New Lines, Red letters. I'd like to add an option called Introductions (and perhaps one called Colophon).</div>

<div><br></div><div>The options in this menu are grayed out when the underlying module doesn't support this. If the option is grayed out, I add an explanation as to why that is (e.g. the module doesn't support it, or 1 option is not compatible with another option that is already selected, etc.)</div>

<div><br></div><div>The availability of the options is uniquely dependant on which version of the Bible or Commentary a user has selected. If a user selects a different module, the options available to him are updated automatically. For example, a user is clearly aware that most of the Old Testament doesn't have a Red Letter option. He might however work mainly from the ESV and want his frontend to show Jesus's words in red when they are in the text, so he sets up the option once.&nbsp;</div>
<div><br></div><div>At this stage, we don't care about what passage/text a user is going to lookup. We can't guess what's in his mind! And we can certainly not guess what he's going to lookup tomorrow, the day after tomorrow, next month, next year.<br>
</div><div><br></div><div style="">This is the same for Introductions &amp; Colophons. He might decide he's never interested in seeing Introductions and Colophons and want to turn them off completely. Or on the other hand he might want to turn them on all the time because he is always interested in them.&nbsp;</div>

<div><br></div><div style="">But a toggle button available to turn the introductions on/off is pretty pointless if the module doesn't have any. In actual fact, it's pretty annoying because it looks like there may be a bug, since in the ASV toggling this option never makes a difference. In the same way a toggle button to turn red letters on/off for the ASV is pretty useless as well.</div>
<div style=""><br></div><div style="">It should be obvious by now that having Sword/JSword being able to tell a frontend whether or not Introductions are contained within a module is a big plus to what we have now.</div><div><br>
</div><div>Chris</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 June 2013 07:26, Chris Burrell <span dir="ltr">&lt;<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">One could apply your reasoning for every option we have in the Conf file so far. </p><p dir="ltr">Headings, notes, cross references, strongs, morphology... A verse or chapter is not guaranteed to contain any of these. You still need to check for non empty cross references for example if your frontend is displaying them in a separate pane. Same as strong numbers if you're doing interlinears. </p><p dir="ltr">The option doesn't guarantee anything. It's there to indicate a module supports a particular features. It's at least that was my understanding. </p><p dir="ltr">Isn't the whole point of the options to allow the user to set up his preferred view for reading the Bible so that as he goes from one chapter to another he doesn't need to click options on and off as they randomly appear. </p><p dir="ltr">Please do tell how I'm supposed to identify whether a Bible has introductions without reading the whole Bible. </p><span class="HOEnZb"><font color="#888888"><p dir="ltr">Chris</p></font></span><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On 2 Jun 2013 22:48, "Chris Little" &lt;<a href="mailto:chrislit@crosswire.org" target="_blank">chrislit@crosswire.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On 6/2/2013 9:23 AM, Chris Burrell wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Some books have Bible introductions. Can I suggest adding a flag to the<br>
conf file to indicate this is the case? In the similar mindset as a<br>
previous post, I'd prefer being able to query the conf file for features<br>
of a particular module rather than having to read part of the module and<br>
hope for that particular book/chapter to have an introduction. A yes/no<br>
flag in the .conf file would be helpful.<br>
<br>
(In particular, I have in mind the book introductions that are part of<br>
the ESV text). But no doubt other modules will also (or in the future<br>
will also) have the same aspects.<br>
<br>
Chris<br>
</blockquote>
<br>
I would say no. This doesn't add anything.<br>
<br>
Identifying that a module possesses introductions at some level does not indicate that it possesses all of the introductions at that level. Accordingly, knowing that a module possesses introductions still requires checking for non-empty contents in order to know that a particular introduction is non-empty.<br>


<br>
This is along the lines of the request for a Scope .conf entry, which was already rejected. Whatever solution is used for that case can also be used for introductions.<br>
<br>
--Chris<br>
<br>
<br>
______________________________<u></u>_________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<u></u>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a></span><br><span><a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></span><br><span>Instructions to unsubscribe/change your settings at above page</span></blockquote></div>_______________________________________________<br>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>Instructions to unsubscribe/change your settings at above page</blockquote></div><br></div></body></html>