summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2010-08-18 19:20:55 +0000
committerPeter von Kaehne <refdoc@gmx.net>2010-08-18 19:20:55 +0000
commitea30d25c7d7ecc4c0c5766023833a14709f993ce (patch)
tree8853e47559cf99d731b9a0277cbceab8d6482b0b
parent9b5289c2e1bdf548bbf0731a21943064cb0cab11 (diff)
downloadsword-tools-ea30d25c7d7ecc4c0c5766023833a14709f993ce.tar.gz
produce proper OSIS imp files
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@299 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-xmodules/crossreferences/xrefmake.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/crossreferences/xrefmake.pl b/modules/crossreferences/xrefmake.pl
index 3427767..d02fb85 100755
--- a/modules/crossreferences/xrefmake.pl
+++ b/modules/crossreferences/xrefmake.pl
@@ -43,6 +43,8 @@
use warnings;
use Text::CSV;
+
+
sub parsekey {
my $return = `parsekey "$_[0]" "$_[1]"`;
$return =~ s/\n$//;
@@ -139,7 +141,7 @@ if (scalar(@ARGV) < 3) {
print &vs2osis($xref,$o_ref,$locale);
}
else {
- print "</note>\n".$ref."\t <note type=\"crossreference\">".&vs2osis($xref,$o_ref,$locale)."; ";
+ print "</note>\n\$\$\$$ref\n<note type=\"crossreference\" osisID=\"$ref!crossReference\" osisRef=\"$ref\">".&vs2osis($xref,$o_ref,$locale)."; ";
$o_ref = $ref;
}