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 is 4. pick your fighter: 2 or 4. ⭐
  • -c cipher_key β€” says the output will be enciphered with the cipher_key you 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 🌟


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. πŸ’–πŸ¦‹πŸŽ€