[sword-cvs] sword/src/modules/filters thmlrtf.cpp,1.39,1.40
sword@www.crosswire.org
sword@www.crosswire.org
Mon, 22 Dec 2003 13:24:32 -0700
Update of /usr/local/cvsroot/sword/src/modules/filters
In directory www:/tmp/cvs-serv4506/src/modules/filters
Modified Files:
thmlrtf.cpp
Log Message:
Index: thmlrtf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/thmlrtf.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- thmlrtf.cpp 22 Dec 2003 06:30:44 -0000 1.39
+++ thmlrtf.cpp 22 Dec 2003 20:24:30 -0000 1.40
@@ -131,7 +131,6 @@
setTokenCaseSensitive(true);
- addTokenSubstitute("/note", ") }");
addTokenSubstitute("br", "\\line ");
addTokenSubstitute("br /", "\\line ");
@@ -234,39 +233,6 @@
}
- // <scripRef> tag
- else if (!strcmp(tag.getName(), "scripRef")) {
- if (!tag.isEndTag()) {
- if (!tag.isEmpty()) {
- SWBuf footnoteNumber = tag.getAttribute("swordFootnote");
- if (u->BiblicalText) {
- VerseKey *vkey;
- // see if we have a VerseKey * or descendant
- try {
- vkey = SWDYNAMIC_CAST(VerseKey, u->key);
- }
- catch ( ... ) {}
- if (vkey) {
- // leave this special osis type in for crossReference notes types? Might thml use this some day? Doesn't hurt.
- buf.appendFormatted("{\\super <a href=\"\">*x%i.%s</a>} ", vkey->Verse(), footnoteNumber.c_str());
- }
- u->suspendTextPassThru = true;
- }
- else {
- buf += "<a href=\"\">";
- }
- }
- }
- if (tag.isEndTag()) { // </scripRef>
- if (!u->BiblicalText) {
-// SWBuf refList = u->module->getEntryAttributes()["Footnote"][footnoteNumber]["refList"];
- buf += u->lastTextNode.c_str();
- buf += "</a>";
- }
- // let's let text resume to output again
- u->suspendTextPassThru = false;
- }
- }
else if (!strcmp(tag.getName(), "scripRef")) {
if (!tag.isEndTag()) {
if (!tag.isEmpty()) {