[sword-svn] r3331 - trunk/utilities/diatheke
refdoc at crosswire.org
refdoc at crosswire.org
Wed Mar 11 16:12:17 MST 2015
Author: refdoc
Date: 2015-03-11 16:12:17 -0700 (Wed, 11 Mar 2015)
New Revision: 3331
Modified:
trunk/utilities/diatheke/corediatheke.cpp
Log:
improved LaTex output - more semantic
Modified: trunk/utilities/diatheke/corediatheke.cpp
===================================================================
--- trunk/utilities/diatheke/corediatheke.cpp 2015-03-11 22:55:28 UTC (rev 3330)
+++ trunk/utilities/diatheke/corediatheke.cpp 2015-03-11 23:12:17 UTC (rev 3331)
@@ -548,14 +548,14 @@
if (outputformat == FMT_LATEX) {
VerseKey *outkey = new VerseKey(target->getKey());
if (outkey->getVerse() == 1) {
- *output << "\n\\chapter*{}\n\\lettrine[lines=3]{"
+ *output << "\n\\swordchapter{"
<< outkey->getChapter()
- << "}{ }";
+ << "}";
}
else {
- *output << "\\textsuperscript{\\tiny{"
+ *output << "\\swordverse{"
<< outkey->getVerse()
- << "}} ";
+ << "} ";
}
}
else {
@@ -610,10 +610,10 @@
if (outputformat == FMT_LATEX) {
VerseKey *outkey = new VerseKey(target->getKey());
if (outkey->getVerse() == 1) {
- *output << "\n\\chapter*\n\\lettrine[lines=3]{" << outkey->getChapter() << "}{ }";
+ *output << "\n\\swordchapter{" << outkey->getChapter() << "}";
}
else {
- *output << "\\textsuperscript{\\tiny{" << outkey->getVerse() << "}} ";
+ *output << "\\swordverse{" << outkey->getVerse() << "} ";
}
}
else {
More information about the sword-cvs
mailing list