ubsicap / usx

Unified Scripture XML
32 stars 6 forks source link

Link text (add char@style jmp) #23

Closed klassenjm closed 6 years ago

klassenjm commented 8 years ago

Proposal

This is the USX companion to USFM 3.0 proposal "Link text (add \jmp ...\jmp*)". See: ubsicap/usfm#30 for detail.

Details

The USX 3.0 "Support word level linking attributes for <char>" (#19) # proposal defines a set of 3 attributes which can be added to any <char> element to define linking.

In some cases the text which requires linking attributes may not be otherwise marked. In these cases, the element <char @style="jmp"> can be applied.

Examples

Glossary entry including a link reference to an external URL

<char style="w" link-href="http://bibles.org/search/grace/eng-GNTD/all">gracious</char>

Reference to named target (in same project)

<para style="p"><verse number="2-6a" style="v"/>From Abraham to King David, the 
following ancestors are listed: Abraham, Isaac, Jacob, Judah and his brothers; then Perez and 
Zerah (their mother was Tamar), Hezron, Ram, Amminadab, Nahshon, Salmon, Boaz (his mother 
was Rahab), Obed (his mother was <char style="jmp" link-href="#article-Ruth">Ruth</char>), 
Jesse, and King David.

Nested within footnote text

<note caller="-" style="ef"><char style="fr">1.2-6a: </char><char style="fq">Ruth: </char>
<char style="ft">A Moabite. Only outstanding women were normally included in Jewish 
genealogical lists. See article on <char style="jmp" link-href="#article-Ruth">Ruth</char>
</note>
klassenjm commented 6 years ago

Included in schema and documentation updates for #19