jmp
Summary
- Description
-
Link text. For associating linking attributes to a span of text.
- Syntax
-
-
USFM:
\jmp
content|
@href @title @id\jmp*
-
USX:
<char style="jmp"
@href @title @id>
content</char>
- href
-
Identifies the resource being linked to as a URI. (default attribute)
-
A user-defined URI prefix can be used to help identify the target resource. For example:
x-prj:
might identify another scripture translation project available within the current editing environment, likex-prj:RSV52 MAT 3:1-4
. -
User defined URI prefixes must begin with the prefix
x-
. -
When an href specifies a scripture reference, follow the pattern:
[A-Z1-4]{3}(-[A-Z1-4]{3})? ?[a-z0-9\-:]*
. Example:MAT 3:1-4
, where:-
Book names is a standard 3-character scripture book identifier.
-
The chapter + verse separator is a colon
:
. -
Verse ranges are indicated using a hyphen.
-
-
- title
-
Plain text describing the resource being linked to (for example - to display in a tooltip when hovering over the link).
- id
-
A unique identifier for a specific content location (i.e. an anchor).
-
- Style Type
- Valid In
-
[BookTitles]
,[BookIntroduction]
,[BookIntroductionEndTitles]
,[Section]
,[Para]
(Body Paragraphs, Poetry),[List]
,[Table]
- Added
-
3.0
- Updated
-
3.1
-
Deprecated the
link-
prefix in the attribute names.
-
Examples
-
USFM
-
USX
-
USJ
\id GEN
\c 1
\p
\v 1 \ef - \fr 1:2 \ft The traditional translation of verse 1, as given in
\jmp RSV|href="x-prj:RSV52 GEN 1:1" title="Revised Standard
Version"\jmp*, may be appropriate.\ef*
<usx version="3.1">
<book code="GEN" style="id"/>
<para style="p">
<verse number="1" style="v" sid="GEN 1:1"/>
<note caller="-" style="ef">
<char style="fr">1.1: </char><char style="ft">The traditional translation
of verse 1, as given in <char style="jmp" href="x-prj:RSV52 GEN 1:1"
title="Revised Standard Version">RSV</char>, may be appropriate.</char>
</note>
</para>
</usx>
{
"type": "USJ",
"version": "3.1",
"content": [
{
"type": "book",
"marker": "id",
"code": "GEN",
"content": []
},
{
"type": "para",
"marker": "p",
"content": [
{
"type": "verse",
"marker": "v",
"number": "1",
"sid": "GEN 1:1"
},
{
"type": "note",
"marker": "ef",
"caller": "-",
"content": [
{
"type": "char",
"marker": "fr",
"content": ["1.1:"]
},
{
"type": "char",
"marker": "ft",
"content": [
"The traditional translation of verse 1, as given in",
{
"type": "char",
"marker": "jmp",
"href": "x-prj:RSV52 GEN 1:1",
"title": "Revised Standard Version",
"content": ["RSV"]
},
", may be appropriate."
]
}
]
}
]
}
]
}
-
USFM
-
USX
-
USJ
\p Storehouses, as used here, refers to large buildings with walls and roof,
where grain was kept until needed. (See illustration:
\jmp Storehouse|href="figures/storehouse.png"
title="Ancient storehouse"\jmp*)
<para style="p">Storehouses, as used here, refers to large buildings with
walls and roof, where grain was kept until needed. (See illustration:
<char style="jmp" href="figures/storehouse.png"
title="Ancient storehouse">Storehouse</char>)
...</para>
{
"type": "para",
"marker": "p",
"content": [
"Storehouses, as used here, refers to large buildings with walls and roof, where grain was kept until needed. (See illustration:",
{
"type": "char",
"marker": "jmp",
"href": "figures/storehouse.png",
"title": "Ancient storehouse",
"content": ["Storehouse"]
},
") ..."
]
}
-
USFM
-
USX
-
USJ
\id MRK
\c 1
\q1 “Someone is shouting in the desert,
\q2 ‘Prepare a road for the Lord;
\q2 make a straight path for him to travel!’ ”
\esb \cat People\cat*\jmp |id="article-john_the_baptist"\jmp*
\ms John the Baptist
\p John is sometimes called the last “Old Testament prophet” because of the
warnings he brought about God's judgment and because he announced the coming
of God's “Chosen One” (Messiah).
...
\esbe
<usx version="3.1">
<book code="MRK" style="id"/>
<para style="q1">“Someone is shouting in the desert,</para>
<para style="q2">‘Prepare a road for the Lord;</para>
<para style="q2">make a straight path for him to travel!’ ”</para>
<sidebar style="esb" category="people">
<para style="ms"><char style="jmp" id="article-john_the_baptist" />John the
Baptist</para>
<para style="p">John is sometimes called the last “Old Testament prophet”
because of the warnings he brought about God's judgment and because he
announced the coming of God's “Chosen One” (Messiah).</para>
...
</sidebar>
</usx>
{
"type": "USJ",
"version": "3.1",
"content": [
{
"type": "book",
"marker": "id",
"code": "MRK",
"content": []
},
{
"type": "para",
"marker": "q1",
"content": ["“Someone is shouting in the desert,"]
},
{
"type": "para",
"marker": "q2",
"content": ["‘Prepare a road for the Lord;"]
},
{
"type": "para",
"marker": "q2",
"content": ["make a straight path for him to travel!’ ”"]
},
{
"type": "sidebar",
"marker": "esb",
"category": "people",
"content": [
{
"type": "para",
"marker": "ms",
"content": [
{
"type": "char",
"marker": "jmp",
"id": "article-john_the_baptist",
"content": []
},
"John the Baptist"
]
},
{
"type": "para",
"marker": "p",
"content": [
"John is sometimes called the last “Old Testament prophet” because of the warnings he brought about God's judgment and because he announced the coming of God's “Chosen One” (Messiah)."
]
},
" ... "
]
}
]
}
-
USFM
-
USX
-
USJ
\id MAT
\c 1
\p
\v 2-6a 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 \jmp Ruth|href="#article-Ruth"\jmp*), Jesse, and King
David.
<usx version="3.1">
<book code="MAT" style="id"/>
<para style="p">
<verse number="2-6a" style="v" sid="MAT 1:2-6a" />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" href="#article-Ruth">Ruth</char>), Jesse, and King
David.<verse eid="MAT 1:2-6a"/>
</para>
</usx>
{
"type": "USJ",
"version": "3.1",
"content": [
{
"type": "book",
"marker": "id",
"code": "MAT",
"content": []
},
{
"type": "para",
"marker": "p",
"content": [
{
"type": "verse",
"marker": "v",
"number": "2-6a",
"sid": "MAT 1:2-6a"
},
"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 ",
{
"type": "char",
"marker": "jmp",
"href": "#article-Ruth",
"content": ["Ruth"]
},
"), Jesse, and King David."
]
}
]
}
-
USFM
-
USX
-
USJ
\id MAT
\c 1
\p
\v 2-6a 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 Ruth\ef - \fr 1.2-6a: \fq Ruth: \ft A Moabite (Ruth 1.4).
Only outstanding women were normally included in Jewish genealogical lists. See
article on \jmp Ruth|href="#article-Ruth"\jmp*\ef*), Jesse, and King David.
<usx version="3.1">
<book code="MAT" style="id"/>
<para style="p">
<verse number="2-6a" style="v" sid="MAT 1:2-6a" />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
Ruth<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" href="#article-Ruth">Ruth</char></char></note>),
Jesse, and King David. ...<verse eid="MAT 1:2-6a"/></para>
</usx>
{
"type": "USJ",
"version": "3.1",
"content": [
{
"type": "book",
"marker": "id",
"code": "MAT",
"content": []
},
{
"type": "para",
"marker": "p",
"content": [
{
"type": "verse",
"marker": "v",
"number": "2-6a",
"sid": "MAT 1:2-6a"
},
"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 Ruth",
{
"type": "note",
"marker": "ef",
"caller": "-",
"content": [
{
"type": "char",
"marker": "fr",
"content": ["1.2-6a:"]
},
{
"type": "char",
"marker": "fq",
"content": ["Ruth:"]
},
{
"type": "char",
"marker": "ft",
"content": [
"A Moabite. Only outstanding women were normally included in Jewish genealogical lists. See article on",
{
"type": "char",
"marker": "jmp",
"href": "#article-Ruth",
"content": ["Ruth"]
}
]
}
]
},
"), Jesse, and King David. ..."
]
}
]
}