When the sword Rev changes, I manually edit the osis2mod.cpp so that it reflects the sword version. That way when I run osis2mod it reports the current sword version, not the last unchanged osis2mod version.<div><br></div>
<div>It's an easy fix if that's of help.</div><div><br></div><div>~A<span></span><br><br>On Tuesday, October 23, 2012, David Haslam wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks DM,<br>
<br>
"All bets are off" is a good summary of the current situation for Win32<br>
users like me.<br>
Anything more recent than *r2563* is a total mess as far as I'm concerned.<br>
/That might seem extreme, but it aptly expresses my frustration./<br>
<br>
OK - this is what I've done.<br>
<br>
* I tweaked the USFM to append III John 15 content to \v 14 text. That's a<br>
workaround for r2563 (qv).<br>
* I used <a href="http://usfm2osis.pl" target="_blank">usfm2osis.pl</a> to make the OSIS XML file.<br>
* I wrote a bespoke TextPipe filter to insert subType='x-preverse' to<br>
section titles.<br>
* I used osis2mod.exe *r2563* to build the module.<br>
<br>
I now have a module that displays correctly in Xiphos 3.1.5 and in BD 1.6<br>
<br>
NB. My TextPipe filter also removed all the <p> and </p> elements, because<br>
the Bible I'm working on is essentially one without paragraphs of any sort.<br>
This ensured that I don't end up with widowed verse tags for the verses<br>
after a heading.<br>
<br>
btw. I did not use <a href="http://title_cleanup.pl" target="_blank">title_cleanup.pl</a> because the text I'm processing has the<br>
five major section divisions in Psalms. That Perl script is not fully fit<br>
for purpose, as it's too generalized, and makes unwarranted assumptions<br>
about what kind of titles are present in the OSIS file.<br>
<br>
Best regards,<br>
<br>
David<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://sword-dev.350566.n4.nabble.com/Sword-utilities-Win32-r2693-tp4651198p4651204.html" target="_blank">http://sword-dev.350566.n4.nabble.com/Sword-utilities-Win32-r2693-tp4651198p4651204.html</a><br>
Sent from the SWORD Dev mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="javascript:;" onclick="_e(event, 'cvml', 'sword-devel@crosswire.org')">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>