TEI2MOD.1(1)
π TEI2MOD.1(1) β General Commands Manual π
okay bestie, gather round, because this is the tei2mod page from the General Commands Manual and she is lowkey iconic. it's a tool that takes your TEI P5 source and turns it into a SWORD module. yes really. that's the whole vibe. β¨
πΈ NAME πΈ
tei2mod β the little tool that converts TEI P5 source into a SWORD module π‘οΈπ
β¨ SYNOPSIS β¨
tei2mod outputpath teisource [OPTIONS]
π¦ DESCRIPTION π¦
so here's the tea π: this utility creates a SWORD module out of a slightly modified TEI (that's Text Encoding Initiative, iykyk) P5 formatted XML source document. the resulting module gets saved in the outputpath you handed over. that's it, that's the whole job, and she does it. π
π OPTIONS π
-zβ turns on ZIP compression. the default is no compression, so if you don't say anything, you get none. π«Ά-Zβ turns on LZSS compression. again, the default is no compression. no cap.-s [2|4]β sets the maximum text size per entry. the default is4. pick your fighter:2or4. β-c cipher_keyβ says the output will be enciphered with thecipher_keyyou supply. the default is plain text output, meaning no encipherment at all. π-Nβ disables conversion to UTF-8 and normalization of UTF-8 to NFC. by default, tei2mod converts to UTF-8 (if it's needed) and then normalizes to NFC. and like, heads up bestie: all UTF-8 texts should be normalized to NFC. that's not a suggestion, that's the lore. π
π NOTE π
the input format is a subset of TEI P5, with some extra elements borrowed from OSIS for verse references. the resulting custom TEI schema lives right here:
http://www.crosswire.org/osis/teiP5osis.1.4.xsd
π AUTHORS π
this man page was written by Jonathan Marsden <jmarsden@fastmail.fm> for the Debian project, but may be used by others. slay, honestly. π
π SEE ALSO π
http://www.crosswire.org/wiki/TEI_Dictionarieshttp://www.crosswire.org/osis/teiP5osis.1.4.xsdhttp://www.tei-c.org/release/doc/tei-p5-doc/html/index.html
and that's a wrap, babe π§ this was TEI2MOD.1(1) from the General Commands Manual, dated 2018-11-05. go forth and build your modules, main character. ππ¦π
π¦ where this page comes from
- debian bookworm: libsword-utils 1.9.0+dfsg-4+b4 Β· GPL-2.0-only
- debian trixie: libsword-utils 1.9.0+dfsg-7+b2 Β· GPL-2.0-only
- ubuntu jammy: libsword-utils 1.9.0+dfsg-4build3 Β· GPL-2.0-only
- ubuntu noble: libsword-utils 1.9.0+dfsg-6build2 Β· GPL-2.0-only
- ubuntu questing: libsword-utils 1.9.0+dfsg-8
- ubuntu resolute: libsword-utils 1.9.0+dfsg-8build2 Β· GPL-2.0-only
- ubuntu stonking: libsword-utils 1.9.0+dfsg-8build2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms