Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-03-07 Thread David Haslam
Now that the tracker's working again, I've created an issue about this
*savlm* problem.

See http://tracker.crosswire.org/browse/API-199

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/lemma-only-xhtml-display-shows-no-lemmas-tp4656829p4656922.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-02-27 Thread David Haslam
Good example of programmers' gobbledegook leaking out into the real world,
eh?

Who'd've thunk it?

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/lemma-only-xhtml-display-shows-no-lemmas-tp4656829p4656837.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-02-27 Thread Karl Kleinpaste
On 02/27/2017 03:22 PM, David Haslam wrote:
> Anyone any idea what *savlm* signifies?

"save lemma," evidently.

grep savlm src/modules/filters/*.cpp
src/modules/filters/osishtmlhref.cpp:SWBuf savelemma =
tag.getAttribute("savlm");
src/modules/filters/osislatex.cpp:SWBuf savelemma =
tag.getAttribute("savlm");
src/modules/filters/osisosis.cpp:   
tag.setAttribute("savlm", 0);
src/modules/filters/osisrtf.cpp:SWBuf savelemma =
tag.getAttribute("savlm");
src/modules/filters/osisstrongs.cpp:SWBuf savlm = l;
src/modules/filters/osisstrongs.cpp:   
wtag.setAttribute("savlm", savlm);
src/modules/filters/osiswebif.cpp:SWBuf savelemma =
tag.getAttribute("savlm");
src/modules/filters/osisxhtml.cpp:SWBuf savelemma =
tag.getAttribute("savlm");

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-02-27 Thread David Haslam
All I know (being unaccustomed to compiling code since the days of Borland
Turbo Pascal) is that *diatheke 4.7* was bundled with *Xiphos 4.0.4* for
Windows.

Anyone any idea what *savlm* signifies? 

Why does "-o l" output have *savlm=* where "-o nl" output has *lemma=* ?

Still puzzled!

Best regards,

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/lemma-only-xhtml-display-shows-no-lemmas-tp4656829p4656832.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-02-26 Thread Karl Kleinpaste
All I know is I'm running latest SVN sword, freshly re-checked-out and
recompiled just now.

$ svn info
Path: .
Working Copy Root Path: /home/karl/src/bible/sword
URL: https://www.crosswire.org/svn/sword/trunk
Relative URL: ^/trunk
Repository Root: https://www.crosswire.org/svn/sword
Repository UUID: bcd7d363-81e1-0310-97ec-a550e20fc99c
Revision: 3445
Node Kind: directory
Schedule: normal
Last Changed Author: refdoc
Last Changed Rev: 3445
Last Changed Date: 2017-02-20 02:43:48 -0500 (Mon, 20 Feb 2017)

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-02-26 Thread David Haslam
Just tried the same two command lines using diatheke.exe version 4.7 (in
Windows 7 x64)

First with just "-o l"

meta http-equiv="content-type" content="text/html" charset="UTF-8"
lang="en" xml:lang="en"/>Romans 1:1: span >: w  savlm="strong:G3972
lemma.TR:παυλος" src="1">Paul/w>, w  savlm="strong:G1401
lemma.TR:δουλος" src="2">a servant/w> w  savlm="strong:G2424
lemma.TR:ιησου" src="3">of Jesus/w> w  savlm="strong:G5547
lemma.TR:χριστου" src="4">Christ/w>, w  savlm="strong:G2822
lemma.TR:κλητος" src="5">called/w> transChange type="added">to
be/transChange> w  savlm="strong:G652 lemma.TR:αποστολος" src="6">an
apostle/w>, w  savlm="strong:G873 lemma.TR:αφωρισμενος"
src="7">separated/w> w  savlm="strong:G1519 lemma.TR:εις"
src="8">unto/w> w  savlm="strong:G2098 lemma.TR:ευαγγελιον"
src="9">the gospel/w> w  savlm="strong:G2316 lemma.TR:θεου"
src="10">of God/w>,/span>br />
(KJV)

Second with "-o nl"

meta http-equiv="content-type" content="text/html" charset="UTF-8"
lang="en" xml:lang="en"/>Romans 1:1: span >: w lemma="strong:G3972
lemma.TR:παυλος"  src="1" wn="001">Paul/w>, w lemma="strong:G1401
lemma.TR:δουλος"  src="2" wn="002">a servant/w> w
lemma="strong:G2424 lemma.TR:ιησου"  src="3" wn="003">of Jesus/w> w
lemma="strong:G5547 lemma.TR:χριστου"  src="4" wn="004">Christ/w>, w
lemma="strong:G2822 lemma.TR:κλητος"  src="5" wn="005">called/w>
transChange type="added">to be/transChange> w lemma="strong:G652
lemma.TR:αποστολος"  src="6" wn="006">an apostle/w>, w
lemma="strong:G873 lemma.TR:αφωρισμενος"  src="7" wn="007">separated/w>
w lemma="strong:G1519 lemma.TR:εις"  src="8" wn="008">unto/w> w
lemma="strong:G2098 lemma.TR:ευαγγελιον"  src="9" wn="009">the gospel/w>
w lemma="strong:G2316 lemma.TR:θεου"  src="10" wn="010">of
God/w>,/span>br />
(KJV)


Observe: No mention of *Gentium font* in the span element. 
And it's not as if this font isn't installed in my PC.

Observe: No mention of the *small* element.

Observe: In the first output, what on earth is the word *savlm* ?

Even so, the output included lemmata with both these filter options, unlike
Karl's result.

H!

For the record, KJV module Version=2.9

Best regards,

David





--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/lemma-only-xhtml-display-shows-no-lemmas-tp4656829p4656830.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page