<div>The GerSch module was made from a GBF source text in October 2006 and rebuilt with corrected module encoding in August 2013. </div><div><br></div><div>I do not have the original GBF file. </div><div><br></div><div>NB. It may not have had “GBF” as part of the filename or extension. </div><div><br></div><div>Does anyone active in this list still have it?</div><div><br></div><div>If Chris Little did the last build, then we’re stuck. We’d have to go “cap in hand” to the Geneva Bible Society. </div><div><br></div><div>David</div><div><br></div><div id="protonmail_mobile_signature_block">Sent from ProtonMail Mobile</div> <div><br></div><div><br></div>On Mon, Mar 18, 2019 at 14:11, Cyrille <<a href="mailto:lafricain79@gmail.com" class="">lafricain79@gmail.com</a>> wrote:<blockquote class="protonmail_quote" type="cite">
I don't read every thing in this post and maybe someone propose
already my solution : convert gbf to osis or to usfm with
gbf2OSIS.exe/gbf2usfm.exe (need mono on linux) it works fine! I use
it with jpdenmo.<br>
<br>
<div class="moz-cite-prefix">Il 18/03/2019 13:51, Troy A. Griffitts
ha scritto:<br>
</div>
<blockquote type="cite">
This likely means that our GBFPlain filter doesn't recognize these
GBF tags and ignores them this should be a simple fix in the
filter.<br>
<br>
<a href="http://crosswire.org/svn/sword/trunk/src/modules/filters/gbfplain.cpp">http://crosswire.org/svn/sword/trunk/src/modules/filters/gbfplain.cpp</a><br>
<br>
<br>
<br>
<div class="gmail_quote">On March 18, 2019 12:12:59 AM MST, Tobias
Klein <a class="moz-txt-link-rfc2396E" href="mailto:contact@tklein.info"><contact@tklein.info></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<p>I tried to initialize my SWMgr object like this:</p>
<p>mgr = new SWMgr(new MarkupFilterMgr(FMT_PLAIN));<br>
<br>
Yet the results are still the same for the GerSch module as
described earlier.<br>
<br>
Best regards,<br>
Tobias<br>
<br>
</p>
<div class="moz-cite-prefix">On 17.03.19 19:46, Troy A.
Griffitts wrote:<br>
</div>
<blockquote type="cite">
Hi Tobias. SWORD renders these tags for you if the planets
are aligned. When you create your SWMgr, you tell it what
"Render" markup you would like. We highly recommend XHTML.
This will tell the SWMgr factory class to construct SWModule
oblects with all the necessary filters added to produce your
requested render markup when you call SWModule::renderText.
The SWModule::stripText will also render plaintext output
because SWMgr will add appropriate filters (as Greg has said
GBFPlain, in this case). If the old GBF German Bible module
you are using is made correctly, its .conf file will include
a SourceType=GBF. This will allow SWMgr to pick the right
filters to add. You shouldn't need to add any manually.<br>
<br>
You can find examples in the source under: sword/examples<br>
<br>
Here's a good one to steal from which contains most of the
coded needed to write frontend display code.<br>
<br>
<a href="http://crosswire.org/svn/sword/trunk/examples/tasks/parallelbibles.cpp">http://crosswire.org/svn/sword/trunk/examples/tasks/parallelbibles.cpp</a><br>
<br>
<br>
<br>
<div class="gmail_quote">On March 17, 2019 10:45:34 AM MST,
Tobias Klein <a class="moz-txt-link-rfc2396E" href="mailto:contact@tklein.info"><contact@tklein.info></a>
wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt
0.8ex; border-left: 1px solid rgb(204, 204,
204);
padding-left: 1ex;">
<pre class="k9mail">On 17.03.19 18:38, Greg Hellings wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> You might need to add an instance of the GBFPlain class to the filter
set before calling for stripText. It is specifically crafted to strip
the tags you're talking about.
In general, you'll want to add a <Format>Plain object to the filter
set for any module you're processing to plain text, where <Format> can
be picked up by a query to the conf for the given module. Classes
should exist for GBF, OSIS, TEI, and ThML source formatted text.
</blockquote>Thanks, makes sense.
Before figuring out the details myself - can you point me to any code
example already existing? I think I once tried to add the GBFPlain class
to the filter set, but somehow it didn't work as expected? Maybe I used
it wrongly ...
Best regards,
Tobias<hr />sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my
brevity. </blockquote>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my
brevity.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
<br>
</blockquote><div><br></div><div><br></div>