digitallinguistics / scription

A specification for formatting interlinear glossed texts in a way that is computationally parseable
https://scription.digitallinguistics.io
MIT License
6 stars 0 forks source link

Support subscripts #75

Open dwhieb opened 1 month ago

dwhieb commented 1 month ago

Support subscripts, perhaps with word_sub_ notation, but this might be problematic because it conflicts with the use of the underscore in Leipzig glossing conventions.

Also, the dlx2html library currently supports underlining using underscores too.

Markdown's word~sub~ may not work because the symbol for reduplication is ~. However, subscripts require two of those, so it might work if you simply process the subscripts first. Currently using underscores breaks the dlx2html library because it treats those as morpheme boundaries for reduplication.

Maybe you could support this via a preprocessor or postprocessor.