How to embed \(\mathsf{\LaTeX}\), HTML, and TEI-XML with \(\mathsf{valep\TeX}\) and carnap-compact |
Further reading:		 | |
Author: | Christian Damböck |
Date: | May 2024 |
Further reading: | |
This Document: | https://valep.vc.univie.ac.at/files/LaTeX/valeptex/valeptex_and_carnap-compact.html |
The following tables follow the \(\mathsf{valep\TeX}\) object model as listed in the \(\mathsf{valep\TeX}\) Handbook, Section C. The main idea is that the semantic specification as represented by the original \(\mathsf{\LaTeX}\) document has an exact math in (a) HTML5 together with custom tags and classes, and (b) the XML specification of the Text Encoding Initiative, hereafter ‘TEI-XML’. Whenever possible, the TEI markup adheres to this subset of the TEI specification as published by the ‘Deutsches Textarchiv’, hereafter DTA Basisformat. Semantically, the original \(\mathsf{\LaTeX}\)and both the HTML and TEI-XML output produced by \(\mathsf{valep\TeX}\) are identical. The only difference between the three versions of the document is that the HTML and TEI-XML representations omit only the graphical elements necessary for proper typesetting of the pdf and printed texts as produced from the original \(\mathsf{\LaTeX}\).
\(\mathsf{\LaTeX}\) | HTML | TEI-XML | Remarks |
Formulas | = | =, formula | In all cases \(\mathsf{\LaTeX}\) is used |
tabular tabbing | table, tr, td | table, row, cell | |
enumerate itemize, item | ol ul, li | list, label item | |
Custom Environment | div, class="custom" | div, type="custom" | |
chapter, section, etc. | h1, h2, etc. | div type="chapter" n="1, 2, etc." | This includes all kinds of custom macros for special forms of headings such as, e.g., diary entry, reading list entry. |
empty line, par | p | p | |
newline etc. | br | lb | |
neueseite no, facsimile | new-p no, fac-simile | pb n="no" facs="facsimile" | |
quotation | blockquote | quote | |
Custom Non Unicode Character | U+FFFC | U+FFFC | Custom \(\mathsf{\LaTeX}\) characters are implemented as custom Unicode characters |
\(\mathsf{\LaTeX}\) | HTML | TEI-XML | Remarks |
fnA fnE fnC‚ fnAmark fnAtext etc. | note-a note-e note-c‚ note-a-label note-a-content etc. | note n="label" type="a, e, c etc." | Any footnote, margin note, endnote etc. |
IN II IO etc. | in-dex class="custom"‚ in-dex-label, in-dex-content | persName orgName placeName | Persons, Institutions, Locations |
ort | loc-ation | placeName etc. | Location where a text was written |
IS | in-dex class="concept" etc. | name | Concepts |
label, ref pageref href, TB LL etc. | a id href | label, ref | Links both inside a document and URLs |
includegraphics figure etc. | img | figure facs type | Photographs, Images, Drawings, etc. |
date etc. | time datetime | date when | Date and/or time |
bibitem IW IC etc. | bib-item | bibl | Reference to a bibliographical item |
\(\mathsf{\LaTeX}\) | HTML | TEI-XML | Remarks |
original | ins class="author" | add OR subst | Insertion or substitution by the author |
editor etc. | ins class="editor" etc. | supplied OR corr, resp, type | Insertion or correction by the editor |
emph textit uline etc. | i u | hi, rendition | All varieties of highlightings that include information on when the highlighting was added |
sout editorstr etc. | del etc. | del OR hi, rendition | Deletion together with information who and when the deletion took place |
sic original etc. | sic-text ins class="author" etc. | sic | in corrections the initial incorrect text |
unsicher | un-certain | hi, rendition | Uncertain transcription |
luecke | text-gap | gap | Gap in the original text |
Other highlightings | Other custom tags | hi, rendition |