<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>I must have left it untouched. Sorry. Will fix.
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 05. Februar 2016 um 17:37 Uhr<br/>
<b>Von:</b> "DM Smith" <dmsmith@crosswire.org><br/>
<b>An:</b> "SWORD Developers' Collaboration Forum" <sword-devel@crosswire.org><br/>
<b>Betreff:</b> Re: [sword-devel] transChange within a rdg element</div>
<div name="quoted-content">
<div>SVN head.
<div>
<div>
<blockquote>
<div>On Feb 5, 2016, at 12:32 PM, Peter Von Kaehne <<a href="refdoc@gmx.net" target="_parent">refdoc@gmx.net</a>> wrote:</div>
<div>
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>is this in svn head? Or simply a release?</div>
<div> </div>
<div>Peter</div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Freitag, 05. Februar 2016 um 17:10 Uhr<br/>
<b>Von:</b> "DM Smith" <<a href="dmsmith@crosswire.org" target="_parent">dmsmith@crosswire.org</a>><br/>
<b>An:</b> "SWORD Developers' Collaboration Forum" <<a href="sword-devel@crosswire.org" target="_parent">sword-devel@crosswire.org</a>><br/>
<b>Betreff:</b> Re: [sword-devel] transChange within a rdg element</div>
<div>
<div>At this point the code (osisxhtml) says:
<div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"><span style="color: rgb(206,121,36);">if</span> ((type == <span style="color: rgb(195,55,32);">"</span><span style="color: rgb(153,18,0);background-color: rgb(230,230,0);">added</span><span style="color: rgb(195,55,32);">"</span>) || (type == <span style="color: rgb(195,55,32);">"supplied"</span>))</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> outText(<span style="color: rgb(195,55,32);">"<span class=</span><span style="color: rgb(213,59,211);">\"</span><span style="color: rgb(195,55,32);">transChangeSupplied</span><span style="color: rgb(213,59,211);">\"</span><span style="color: rgb(195,55,32);">>"</span>, buf, u);</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"><span style="color: rgb(206,121,36);">else</span> <span style="color: rgb(206,121,36);">if</span> (type == <span style="color: rgb(195,55,32);">"tenseChange"</span>)</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> buf += <span style="color: rgb(195,55,32);">"*"</span>;</div>
<div> </div>
<div>Note: supplied is not a valid value for transChange and probably represents an earlier OSIS text.</div>
<div> </div>
<div>It really bother’s me that tenseChange is given with mark down. And that none of the other transChange type attributes are passed as class values.</div>
<div> </div>
<div>Here is how it handles catchWord and rdg.</div>
<div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;color: rgb(83,48,225);">// <catchWord> & <<span style="color: rgb(2,32,179);background-color: rgb(230,230,0);">rdg</span>> tags (italicize)</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"><span style="color: rgb(206,121,36);">else</span> <span style="color: rgb(206,121,36);">if</span> (!strcmp(tag.getName(), <span style="color: rgb(195,55,32);">"</span><span style="color: rgb(153,18,0);background-color: rgb(230,230,0);">rdg</span><span style="color: rgb(195,55,32);">"</span>) || !strcmp(tag.getName(), <span style="color: rgb(195,55,32);">"catchWord"</span>)) {</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> <span style="color: rgb(206,121,36);">if</span> ((!tag.isEndTag()) && (!tag.isEmpty())) {</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> outText(<span style="color: rgb(195,55,32);">"<i>"</span>, buf, u);</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> }</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> <span style="color: rgb(206,121,36);">else</span> <span style="color: rgb(206,121,36);">if</span> (tag.isEndTag()) {</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> outText(<span style="color: rgb(195,55,32);">"</i>"</span>, buf, u);</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;"> }</div>
<div style="margin: 0.0px;font-size: 18.0px;line-height: normal;font-family: Menlo;">}</div>
</div>
<div> </div>
<div>This is not good. Probably should have been <span class=“…”> And catch word should be styled as bold.</div>
<div> </div>
<div>DM</div>
<div> </div>
<div>
<blockquote>
<div>On Feb 5, 2016, at 11:52 AM, Greg Hellings <<a>greg.hellings@gmail.com</a>> wrote:</div>
<div>
<div>At this point, I believe that SWORD hands off styling like that to the<br/>
app to do with CSS (for those apps using HTML output). Does it not? I<br/>
don't thin it's using <i> or <em>, although I could be wrong.<br/>
<br/>
--Greg<br/>
<br/>
On Fri, Feb 5, 2016 at 10:26 AM, David Haslam <<a>dfhmch@googlemail.com</a>> wrote:
<blockquote>Something that DM and I have mooted.<br/>
<br/>
When transChange is used within a rdg element (i.e. inside a note), and<br/>
since SWORD renders text within a rdg as italics, then the text within the<br/>
transChange ought ideally to be rendered as normal type in order to maintain<br/>
the contrast with the other text that's in italics.<br/>
<br/>
If not already done, please could this be patched in the SWORD source code.<br/>
<br/>
DM will implement it in JSword.<br/>
<br/>
Best regards,<br/>
<br/>
David<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
--<br/>
View this message in context: <a href="http://sword-dev.350566.n4.nabble.com/transChange-within-a-rdg-element-tp4655995.html" target="_blank">http://sword-dev.350566.n4.nabble.com/transChange-within-a-rdg-element-tp4655995.html</a><br/>
Sent from the SWORD Dev mailing list archive at <a href="http://nabble.com/" target="_blank">Nabble.com</a>.<br/>
<br/>
_______________________________________________<br/>
sword-devel mailing list: <a>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</blockquote>
<br/>
_______________________________________________<br/>
sword-devel mailing list: <a>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</div>
</div>
</blockquote>
</div>
</div>
_______________________________________________ sword-devel mailing list: <a href="sword-devel@crosswire.org" target="_parent">sword-devel@crosswire.org</a> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a> Instructions to unsubscribe/change your settings at above page</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br/>
sword-devel mailing list: <a href="sword-devel@crosswire.org" target="_parent">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</div>
</blockquote>
</div>
</div>
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a> Instructions to unsubscribe/change your settings at above page</div>
</div>
</div>
</div>
</div></div></body></html>