.. include:: /_static/inc_styles.txt .. index:: element; , peripherals .. _usx-peripherals_index: Peripherals =========== |badge_3.0| The following strategy should be used for applying USX markup to project peripheral contents. Content should be created in separate files according to the general groupings presented in the table below. As with scripture text books, a :ref:`book ` element with appropriate ``@code`` attribute is used for identifying the overall content of the peripheral file. Within each peripheral file, divisions (sub-sections) of content are denoted using the element :ref:` ` followed by an additional division title. Content is added to books and divisions by re-purposing the most appropriate existing USFM marker for the selected content. Some back matter content is large enough that it is most practical to store it within its own book file (Concordance, Glossary, Topical Index, Names Index). Content self contained within a separate book file does not require an additional identifier (only :ref:`book ` ``@code``). .. _usx-peripherals_div: .. _usx-vocab-peripheralIds: .. index:: pair: peripherals; books pair: peripherals; divisions Peripheral Books and Divisions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------------------------------------+----------------------------------------------+----------------------------------------+ | :doc:`Front Matter ` | :doc:`Introductions ` | :doc:`Back Matter ` | | |br| ```` | |br| ```` | |br| ```` | +==========================================+==============================================+========================================+ | **Divisions** | **Divisions** | **Divisions** | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ```` | |br| ``id="intbible">`` | |br| ``id="chron">`` | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ```` | |br| ``id="intot">`` | |br| ``id="measures">`` | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ```` | |br| ``id="intpent">`` | |br| ``id="maps">`` | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ```` | |br| ``id="inthistory">`` | |br| ``id="lxxquotes">`` | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ```` | |br| ``id="intpoetry">`` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ``` | | |br| ``alt="Foreword"`` | |br| ``alt="Prophecy Introduction"`` | |br| ```` | | |br| ``id="foreword">`` | |br| ``id="intprophesy">`` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ``` | | |br| ``alt="Preface"`` | |br| ``alt="Deuterocanon Introduction"`` | |br| ```` | | |br| ``id="preface">`` | |br| ``id="intdc">`` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ``` | | |br| ``alt="Table of Contents"`` | |br| ``alt="New Testament Introduction"`` | |br| ```` | | |br| ``id="contents">`` | |br| ``id="intnt">`` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ``` | | |br| ``alt="Alphabetical Contents"`` | |br| ``alt="Gospels Introduction"`` | |br| ```` | | |br| ``id="alphacontents">`` | |br| ``id="intgospels">`` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | ``` | | |br| ``alt="Table of Abbreviations"`` | |br| ``alt="Epistles Introduction"`` | |br| ```` | | |br| ``id="abbreviations">`` | |br| ``id="intepistles">`` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | | ```` | | +------------------------------------------+----------------------------------------------+----------------------------------------+ | | | ```` | +------------------------------------------+----------------------------------------------+----------------------------------------+ | | | ```` | +------------------------------------------+----------------------------------------------+----------------------------------------+ .. _usx-peripherals_Ids: .. _usx-attributes_peripheralIds: .. index:: peripherals; identifiers, attribute; periph@id Peripheral Identifiers ^^^^^^^^^^^^^^^^^^^^^^ For books containing a peripheral :ref:`division `, the :ref:` ` container element should identify the content using a standard peripheral identifier ``id`` attribute. The defined ``id`` values are shown in the peripheral :ref:`divisions ` table above. The set of standardized identifiers allow software processes to easily select content for recognized peripheral divisions. The :ref:` ` element's ``alt`` attribute provides an alternate title or identifier (possibly vernacular) for the peripheral content. **Text samples with peripheral division identifier attributes:** .. code-block:: xml :name: usx-peripherals_title_example :emphasize-lines: 4,8 Good News Translation Front Matter Holy Bible with Deuterocanonicals/Apocrypha .. code-block:: xml :name: usx-peripherals_foreword_example :emphasize-lines: 4,13 Good News Translation Front Matter Foreword Foreword The Good News Translation of the Bible is a translation which seeks to state clearly and accurately the meaning of the original texts in words and forms that are widely accepted by people who use English as a means of communication. .. code-block:: xml :name: usx-peripherals_contents_example :emphasize-lines: 4,24 Good News Translation Front Matter Contents Contents Old Testament Name Page Name Page Genesis # Ecclesiastes # ...
...
.. _usx-peripherals_div-user: .. index:: peripherals; user defined divisions User Defined Peripheral Divisions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ A project may add peripheral content for a division not defined in the current USX set. The new division should be enclosed in :ref:` ` container element and with a user defined ``id`` attribute beginning with the prefix ``x-``. USX compliant publishing applications should consider the pre-defined :ref:`divisions ` and identifiers as a reference for content to support. Markup for Peripheral Divisions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In the following topics there is a recommendation and a brief description of the USX :doc:` ` and :doc:` ` @style types which will be most appropriate for use in each peripheral content :ref:`division `. The recommended markup is sufficient for most projects and should be used as a first option. However, in general, any suitable :doc:` ` and :doc:` ` @style types may be used if the required content cannot be adequately encoded using the recommended set. .. toctree:: :maxdepth: 1 Front Matter Introductions Back Matter Other