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:

The \(\mathsf{valep\TeX}\) Handbook

This Document:

https://valep.vc.univie.ac.at/files/LaTeX/valeptex/valeptex_and_carnap-compact.html

A. Representations of carnap-compact in \(\mathsf{\LaTeX}\), HTML, and TEI-XML

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}\).

1. Environments, Sections, Whitespace, Pagebreaks, Quotations, Characters

\(\mathsf{\LaTeX}\)HTML TEI-XML Remarks
Formulas= =, formula In all cases \(\mathsf{\LaTeX}\) is used
tabular tabbingtable, tr, tdtable, row, cell
enumerate itemize, itemol ul, lilist, label item
Custom Environmentdiv, 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, parpp
newline etc. brlb
neueseite no, facsimile new-p no, fac-similepb n="no" facs="facsimile"
quotationblockquote quote
Custom Non Unicode CharacterU+FFFCU+FFFCCustom \(\mathsf{\LaTeX}\) characters are implemented as custom Unicode characters

2. Notes and References

\(\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
ortloc-ationplaceName etc. Location where a text was written
ISin-dex class="concept" etc.nameConcepts
label, ref pageref href, TB LL etc.a id hreflabel, refLinks both inside a document and URLs
includegraphics figure etc.img figure facs typePhotographs, Images, Drawings, etc.
date etc.time datetime date whenDate and/or time
bibitem IW IC etc.bib-itembibl Reference to a bibliographical item

3. The Textcritical Apparatus

\(\mathsf{\LaTeX}\)HTML TEI-XML Remarks
originalins 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 uhi, 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
unsicherun-certainhi, renditionUncertain transcription
luecketext-gapgapGap in the original text
Other highlightingsOther custom tagshi, rendition


Processed with \(\mathsf{valep\TeX}\), Version 0.1, May 2024.