[sword-devel] Images in a dictionary
domcox
dominique.corbex at gmail.com
Wed Nov 25 08:50:20 MST 2015
On Wed, 25 Nov 2015 07:14:08 -0500
Karl Kleinpaste <karl at kleinpaste.org> wrote:
> I have always done this as "/images/1.jpg"
Still not working.
Here is my last setup:
TEI file:
<?xml version="1.0" encoding="utf-8"?>
<TEI xmlns="http://www.crosswire.org/2013/TEIOSIS/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.crosswire.org/2013/TEIOSIS/namespace
http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Dictionary skeleton</title>
</titleStmt>
<publicationStmt>
<p>Published as an example for the Sword Project.</p>
</publicationStmt>
<sourceDesc>
<p>none.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<entryFree sortKey="LOGO"><form><orth>LOGO</orth></form><lb />
Image:
<figure>
<graphic url="logo.jpg" />
<figDesc>The Sword Project</figDesc>
</figure>
<figure src="logo.jpg" />
</entryFree>
</body>
</text>
</TEI>
sample.conf:
[sample]
DataPath=./modules/lexdict/zld/sample/dict
Description=TEI dictionary sample
SourceType=TEI
Encoding=utf-8
ModDrv=zLD
CompressType=ZIP
feature=Images
$ ls ~/.sword/modules/lexdict/zld/sample/
dict.dat dict.idx dict.zdt dict.zdx logo.jpg
$
--
domcox <dominique.corbex at gmail.com>
More information about the sword-devel
mailing list