[sword-svn] r3379 - trunk/utilities/diatheke

refdoc at crosswire.org refdoc at crosswire.org
Wed Aug 19 12:42:14 MST 2015


Author: refdoc
Date: 2015-08-19 12:42:14 -0700 (Wed, 19 Aug 2015)
New Revision: 3379

Modified:
   trunk/utilities/diatheke/corediatheke.cpp
Log:
some more LaTeX work


Modified: trunk/utilities/diatheke/corediatheke.cpp
===================================================================
--- trunk/utilities/diatheke/corediatheke.cpp	2015-08-19 18:43:00 UTC (rev 3378)
+++ trunk/utilities/diatheke/corediatheke.cpp	2015-08-19 19:42:14 UTC (rev 3379)
@@ -309,20 +309,23 @@
 				if (vk->getVerse() == 1) {
 					if (vk->getChapter() == 1) {
 						if (vk->getBook() == 1) {
-							if (vk->getTestament() == 1) {
-								// MODULE START SPECIAL PROCESSING
-								if (outputformat == FMT_LATEX) {
+							if (vk->getTestament() == 1) {								
+								// MODULE START SPECIAL PROCESSING								
+								if (outputformat == FMT_LATEX)
+									 { *output << "\\swordmodule\n";
 									// put your latex module start stuff here
 								}
 							}
 							// TESTAMENT START SPECIAL PROCESSING
 							if (outputformat == FMT_LATEX) {
 								// put your latex testament start stuff here
+								*output << "\\swordtestament\n";
 							}
 						}
 						// BOOK START SPECIAL PROCESSING
 						if (outputformat == FMT_LATEX) {
 							// put your latex book start stuff here
+							*output << "\\swordbook\n";
 						}
 					}
 					// CHAPTER START SPECIAL PROCESSING




More information about the sword-cvs mailing list