G'day Karl,<br><br><div class="gmail_quote">On Fri, Oct 12, 2012 at 2:11 PM, Karl Kleinpaste <span dir="ltr"><<a href="mailto:karl@kleinpaste.org" target="_blank">karl@kleinpaste.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> Is the <foreign> element passed through the engine? If so, do I need<br>
> to file bugs with front-ends to encourage support of <foreign>?<br>
<br>
</div>Having just looked, the string "foreign" does not appear in Sword's<br>
source tree in src/modules/filters/*.cpp. So it's not supported right<br>
now after all. I don't know how BPBible supports it; I had understood<br>
that BPBible uses the regular filter sets. Does BPBible actually<br>
subclass the filters and extend them for <foreign>?<br></blockquote><div>BPBible doesn't support foreign. It only looks like it does.<br>What BPBible does support is automatically detecting Greek and Hebrew text and marking it to be used with the configured Greek/Hebrew fonts.<br>
<br>Just for the record, BPBible does subclass the regular filters quite substantially.<br>It uses it for things like:<br>poetic text display<br>strongs headwords instead of numbers (if option is on)<br>quote colouring by speaker in ESV (if option is on)<br>
cross-reference expansion (if option is on)<br><br>as well as some HTML+class code so CSS can be applied<br>Probably some of the new XHTML filter will overlap with what BPBible is doing with some of the basic html + classes it is writing out. <br>
<br>God bless,<br>Ben.<br></div></div>