Jump to content

Please read the Forum Rules before posting.

Photo
- - - - -

html codes recognized by e-Sword 12


  • Please log in to reply
8 replies to this topic

#1 agsper652

agsper652

    New to Bible Support

  • Veterans
  • Pip
  • 6 posts
Offline

Posted 02 September 2019 - 11:46 PM

I have made a number of modules for e-Sword 9-10 in rtf and am just now learning some html encoding.  I would like to have verse notes as pop-ups in Bible texts, similar to the notes in the "ESV with notes" module for my iPhone.  The usual html coding is like this:

 

<span title="Literally <i>day one</i>">[1]</span>

 

in which the note is seen on screen as "[1]" and when one mouseovers [1] the comment about the "Literally..." shows up.

But this html coding does not seem recognized in my e-Sword modules.

 

Also, is there a list of codes recognized by e-Sword, such as <ref> as in  <ref>Joh_3:16</ref> ?  I have been able to experiment and discover some, but can a list be made available?

 

Some of my rtf modules are complex and have not converted well with the .dctx to .lexi conversion and I have had to do a custom conversion.

 

Thank you.

 

Andy

 

 



#2 Katoog

Katoog

    e-Sword Fanatic

  • Members (T)
  • PipPipPipPipPip
  • 939 posts
Offline

Posted 03 September 2019 - 12:29 AM

<i>Italics</i> with gray
<b>bold</b>
<u>underline</u>

 

<sup>above</sup> superscript

<sub>under</sub> subscript

Line break <br />

Paragraph </p><p>

 

unbreakable space &emsp;

<font color=#008080>Teal</font>
<red>Red</red>
<blu>Blue</blu>

<ref>Heb 4:4</ref> tooltip (without an underscore in the HTM code).

 

<grk>Ἑλληνικός</grk> Greek text

<heb>עִבְרִי</heb> Hebrew text

<lat>Latin</Lat> Latin text

 

<num>G1</num> Strong's number

<tvm>V-AAI-3S</tvm> Tense Voice Mood or parsing info: Robinson's Morphological Analysis Codes as standard.

 

<not>N1</not> notes


Edited by Katoog, 03 September 2019 - 02:15 AM.

Restored Holy Bible 10 and the Restored Textus Receptus

http://rhb.altervista.org/homepage.htm


#3 agsper652

agsper652

    New to Bible Support

  • Veterans
  • Pip
  • 6 posts
Offline

Posted 03 September 2019 - 12:52 PM

Thank you!  That's a good start.

 

Does anyone know how the pop-up notes (as in the ESV notes module in iPhone) are encoded?  For example for Luk_23:34:

 

<not>N1 omitted in several of the oldest greek mss. P75 ℵ2a B D* W Θ 070 579 1241; also omitted in VL mss. Vercellensis and Bezae and by the Old Syriac Sinaiticus (but present in the Old Syriac Curetonian ms) and also omitted in the Coptic (Sahidic & Bohairic). Present in ℵ* ℵ2b A C D3, etc., and over 15 early church writers from the late 100s to 400 AD. Also present in versions: Vg, Ethiopic, Armenian</not>

 

shows up on the screen in its entirety, though colored olive and superscripted, but not simply as N1.

How then is it to be formatted so the longer text is seen only with mouseover?

 

Thank you.

 

Andy



#4 Tj Higgins

Tj Higgins

    e-Sword Fanatic

  • Members
  • PipPipPipPipPip
  • 619 posts
Offline

Posted 03 September 2019 - 03:05 PM

Thank you!  That's a good start.

 

Does anyone know how the pop-up notes (as in the ESV notes module in iPhone) are encoded?  For example for Luk_23:34:

 

<not>N1 omitted in several of the oldest greek mss. P75 ℵ2a B D* W Θ 070 579 1241; also omitted in VL mss. Vercellensis and Bezae and by the Old Syriac Sinaiticus (but present in the Old Syriac Curetonian ms) and also omitted in the Coptic (Sahidic & Bohairic). Present in ℵ* ℵ2b A C D3, etc., and over 15 early church writers from the late 100s to 400 AD. Also present in versions: Vg, Ethiopic, Armenian</not>

 

shows up on the screen in its entirety, though colored olive and superscripted, but not simply as N1.

How then is it to be formatted so the longer text is seen only with mouseover?

 

Thank you.

 

Andy

Creating pop up notes in e-Sword is not a function that is not available in e-Sword Tooltip. 



#5 Katoog

Katoog

    e-Sword Fanatic

  • Members (T)
  • PipPipPipPipPip
  • 939 posts
Offline

Posted 04 September 2019 - 04:47 AM

The data of the notes are on another table of the SQL database.

Look to Bible modules that have notes AND are not locked with BLOB.

OGNTv for example to understand how it works.

 

For the pop up need you to set options/Scripture Tooltip and select "Active translation" for both Testaments or select the correct translation in e-Sword 12.

 

It works in e-Sword HD

I can't find the option in e-Sword HD because you don't need to select "Active translation" as default if only one Bible tab is shown.

 

For e-Sword LT is the resolution too small for a big pop-up or big tooltip.


Edited by Katoog, 04 September 2019 - 05:43 AM.

Restored Holy Bible 10 and the Restored Textus Receptus

http://rhb.altervista.org/homepage.htm


#6 agsper652

agsper652

    New to Bible Support

  • Veterans
  • Pip
  • 6 posts
Offline

Posted 04 September 2019 - 10:37 PM

Thank you for your reply.  I am not able to find "OGNTv".  If it is Orthodox Greek New Testament, I do not find the specific edition of it you are referring to.

 

I have incorrectly stated that the "ESV with notes" has mouseover.  When one taps on the note citation, eg: N4, then it opens a new window on the iPhone showing the comment, which must then be closed to see the ESV text again, so about the same as tapping on C for Commentary and finding the linked note there.  The advantage when making a module is that one would be able to have the note inline so that one does not have to match 2 modules (bbli and cmti) when adding a note.

 

Andy



#7 Katoog

Katoog

    e-Sword Fanatic

  • Members (T)
  • PipPipPipPipPip
  • 939 posts
Offline

Posted 05 September 2019 - 04:12 AM

OGNTv=Open Greek New Testament with variants from Eliran Wong.

He did not add it by his updated files so ask him to upload it again.


Restored Holy Bible 10 and the Restored Textus Receptus

http://rhb.altervista.org/homepage.htm


#8 agsper652

agsper652

    New to Bible Support

  • Veterans
  • Pip
  • 6 posts
Offline

Posted 05 September 2019 - 01:47 PM

Thank you for the information and hyperlink.  I found the OGNT at:

https://github.com/eliranwong/OpenGNT

 

God bless,

 

Andy



#9 agsper652

agsper652

    New to Bible Support

  • Veterans
  • Pip
  • 6 posts
Offline

Posted 09 September 2019 - 01:44 AM

<a href='Commentaries on the Gospel according to St. Mark (Third Edition, 1909) and the Apocalypse of St. John, by H. B. Swete. Macmillan, 1906.'><not>[11]</not></a>    

 

The above anchor will work as a mouseover in e-Sword-PC but there is added "Control+Shift to follow link" inside the tootip.  One cannot use unicode Hebrew or Greek or various formatting codes in the text such as <p>.  The href code above could be somewhat useful for footnotes within modules like Lange.cmti, which don't seem to work correctly. 

 

For what it's worth...

 

Andy






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs