toc#
Summary
- Description
-
Book name texts. One common use of these texts is for composing a table of contents. They are also a record of names used in scripture references texts, such as r or xt.
-
The variable
#
(1-3) represents the book name form.-
toc1
- Long book name. -
toc2
- Short book name. -
toc3
- Book abbreviation.
-
-
- Syntax
-
-
USFM:
\toc#
content -
USX:
<para style="toc#">
content</para>
-
- Style Type
- Valid In
- Added
-
2.0
Examples
-
USFM
-
USX
-
USJ
Example 1. Matthew (GNT)
\id MAT
\h Matthew
\toc1 The Gospel According to Matthew
\toc2 Matthew
\toc3 Mat
Example 2. Matthew (GNT)
<usx version="3.1">
<book code="MAT" style="id"/>
<para style="h">Matthew</para>
<para style="toc1">The Gospel According to Matthew</para>
<para style="toc2">Matthew</para>
<para style="toc3">Mat</para>
</usx>
Example 3. Matthew (GNT)
{
"type": "USJ",
"version": "3.1",
"content": [
{
"type": "book",
"marker": "id",
"code": "MAT",
"content": []
},
{
"type": "para",
"marker": "h",
"content": ["Matthew"]
},
{
"type": "para",
"marker": "toc1",
"content": ["The Gospel According to Matthew"]
},
{
"type": "para",
"marker": "toc2",
"content": ["Matthew"]
},
{
"type": "para",
"marker": "toc3",
"content": ["Mat"]
}
]
}
