[sword-devel] Repeat: internal links in commentaries

Brian J Dumont brian.j.dumont at gmail.com
Wed Dec 20 08:42:46 MST 2017


I made a number of general book modules many years ago, and begged 
repeatedly for the proper functionality to be implemented in OSIS. It 
never happened (still hasn't happened).  I eventually released the 
general books in ThML because links actually work in a ThML genbook (at 
least in Xiphos), as well as other important features like tables.  You 
may want to look at a few documents in the Xiphos repository that I put 
together a number of years ago with many links (internal and external).  
An example would be KrauthConservativeReformation.  It has a 
TOC/index/links throughout.

You can get the ThML here:

I could quickly change them to OSIS if the functionality was ever 
implemented, but there seems to be no intent to ever do so. I would not 
suggest holding your breath.


"My argument against God was that the universe seemed so cruel and
unjust. But how had I got this idea of just and unjust? A man does not
call a line crooked unless he has some idea of a straight line."
  - C. S. Lewis

On 12/19/2017 06:06 PM, Tom Sullivan wrote:
> Re: Message by John Dudeck:
> More info later on a number of issues, but since this has been raised, 
> I have not been able to get internal hyperlinks to work either for any 
> type of document. This is true for Xiphos, BibleTime and BibleDesktop.
> The ability to use internal hyperlinks would enable indexes, tables of 
> contents, Scripture indexes, etc., in addition to allowing readers to 
> refer to other sections. Bible passage references seem to work well 
> for most front-ends.
> I fully understand if the functionality (described in the OSIS doc) is 
> just not there yet. But some info would be helpful.
> The only doc seems to be regarding General Books, linking to headed 
> sections, but I cannot seem to make even that work.
> John: We are all volunteers here working on many projects. This may 
> take some time for both of us.
> Tom Sullivan
> info at BeForgiven.INFO
> FAX: 815-301-2835
> ---------------------
> Great News!
> God created you, owns you and gave you commands to obey.
> You have disobeyed God - as your conscience very well attests to you.
> God's holiness and justice compel Him to punish you in Hell.
> Jesus Christ became Man, was crucified, buried and rose from the dead
> as a substitute for all who trust in Him, redeeming them from Hell.
> If you repent (turn from your sin) and believe (trust) in Jesus Christ,
> you will go to Heaven. Otherwise you will go to Hell.
> Warning! Good works are a result, not cause, of saving trust.
> More info is at www.esig.beforgiven.info
> Do you believe this? Copy this signature into your email program
> and use the Internet to spread the Great News every time you email.
> On 12/19/2017 05:56 PM, John Dudeck wrote:
>> Greetings. On Dec 6th I posted a question and did not get any 
>> response. Let me try again:
>> Greetings.
>> I'm new to this forum, but have been in contact with a few of you. I 
>> work with a small publishing ministry in France called Editions Clé. 
>> We have a contract with Logos Bible Software to create French content 
>> for them. In addition we are creating content for Sword.
>> I am working on a set of Perl scripts to convert our manuscripts from 
>> Logos XML to OSIS. Our target audience is French-speaking African 
>> pastors, using AndBible on Android.
>> I am having trouble getting internal links to work in commentaries. 
>> They seem to work ok in GenBooks, but the same syntax is not working 
>> in commentaries.
>> For example, I am working on an Old Testament commentary.
>> Here is the mods.conf file:
>> ============================================================
>> [Predicateur_AT]
>> Description=Commentaire biblique du prédicateur - Ancien Testament
>> DataPath=./modules/comments/rawcom/EC_CLEKBACPREDICATAT/
>> ModDrv=RawCom
>> SourceType=OSIS
>> OSISVersion=2.1.1
>> Encoding=UTF-8
>> About=Un commentaire complet verset par verset de tout l’Ancien 
>> Testament à destination des pasteurs, anciens, étudiants, théologiens 
>> ou passionnés de la Bible.Si vous voulez creuser toujours plus dans 
>> la Parole de Dieu, il vous faut un bon commentaire de prédicateur. Un 
>> commentaire superficiel ne vous suffira pas, de même qu’une série 
>> d’ouvrages en de nombreux volumes vous prendra trop de temps. Le 
>> Commentaire biblique du prédicateur est fait pour vous !Basé sur 
>> l’Expositor’s Bible Commentary, un ouvrage plébiscité par les 
>> pasteurs, les anciens, les étudiants et les théologiens partout dans 
>> le monde, ce volume abrégé vous propose un commentaire verset par 
>> verset de l’Ancien Testament exhaustif et exigeant qui laisse de côté 
>> les détails techniques superflus. Le Commentaire biblique du 
>> prédicateur rassemble les connaissances de cinquante-deux des plus 
>> grands théologiens bibliques du monde, il vous donnera de nombreux 
>> outils pour vos études bibliques.Ce commentaire du l’Ancien Testament 
>> comprend :• Une explication verset par verset de l’Ancien Testament.• 
>> Des cartes, diagrammes, tableaux et images.
>> SwordVersionDate=2017-12-06
>> Version=1.025
>> LCSH=Bible. A.T.--Commentaires.
>> Lang=fr
>> InstallSize=25607098
>> Copyright=Copyright 2016 Éditions Clé
>> DistributionLicense=Copyrighted
>> TextSource=Éditions CLÉ
>> Versification=KJV
>> ============================================================
>> Here is a div that is supposed to be the target of a link:
>> ============================================================
>> <div osisID="CH1x2x6x13" type="article" annotateType="commentary" 
>> annotateRef="Gen.46.8-Gen.46.27">
>> <p>M. Les fils de Jacob en Égypte (<reference 
>> osisRef="Bible:Gen.46.8-Gen.46.27">46.8-27</reference>)</p>
>> <p>8-27 Dans ces versets, la liste de noms semble sélective de telle 
>> sorte que le nombre total s’élève à « soixante-dix » (v. <reference 
>> osisRef="Bible:Gen.46.27">27</reference>). Il peut difficilement 
>> s’agir d’une coïncidence que le nombre des nations en <reference 
>> osisRef="Bible:Gen.10">Genèse 10</reference> s’élève également à « 
>> soixante-dix ». Les « soixante-dix nations » représentent tous les 
>> descendants d’Adam. De même, les « soixante-dix fils » représentent 
>> l’ensemble des descendants d’Abraham, d’Isaac, et de Jacob : les fils 
>> d’Israël. Il s’agit d’une démonstration du thème de <reference 
>> osisRef="Bible:Deut.32.8">Deutéronome 32.8</reference> : Dieu 
>> répartit les frontières des nations (<reference 
>> osisRef="Bible:Gen.10">Gn 10</reference>) selon le nombre des fils 
>> d’Israël. La nouvelle nation d’Israël est dépeinte comme une nouvelle 
>> humanité et Abraham comme un deuxième Adam. La bénédiction qui doit 
>> venir d’Abraham et de sa postérité représente un rétablissement de la 
>> bénédiction originelle faite à Adam, bénédiction perdue lors de la 
>> chute.</p>
>> </div>
>> ============================================================
>> Here is a reference link to that target:
>> ============================================================
>> (cf. le <reference osisRef="Predicateur_AT:CH1x2x6x13">commentaire 
>> suivant</reference>).
>> ============================================================
>> When I click on the link in Xiphos, it goes to Rev 1:1, which has 
>> nothing in the commentary.
>> When I tap on the link in AndBible, I get:
>> "The webpage at sword://Predicateur_AT/CH1x2x6x18 might be 
>> temporarily down or it may have moved permamently to a new web address."
>> Would somebody please tell me what (or how to figure out what) I'm 
>> doing wrong?
>> Thanks.
>> John Dudeck
>> Programmer at Editions Cle                             Lyon, France
>> john.dudeck at sim.org john at editionscle.com
>> -- 
>> "I'm sure a mathematician would claim that 0 and 1 are both very
>>   interesting numbers." -- Larry Wall
>> ______________________________________________________________________
>> This email has been scanned by the Symantec Email Security.cloud 
>> service.
>> For more information please visit http://www.symanteccloud.com
>> ______________________________________________________________________
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list