A simple shortcode to generate interlinear glosses as used in linguistics with CSS markup to align morpheme columns. Tries to display abbreviations fo
This is a shortcode plugin that generates interlinear glosses as used in linguistics from an arbitrary number of lines of text in a [gloss][/gloss] block. This works basically like when you import a CSV file into a stylesheet: The first word of the first line is mapped to the first word of subsequent lines, the second word of the first line is mapped to the second word of the subsequent lines etc. You can specify a delimiting character to splice up individual lines, otherwise lines will be split at word spaces. The alignment of columns is achieved with CSS, and specifically with its floating blocks function. Since this basic functionality is hardcoded, CSS-capable RSS readers won't break your layout. A style.css file in the plugin's folder allows you to make further modifications; you can also add your own styling permanently by editing the style.css file in the child-theme directory of your WordPress theme. See the README.pdf file in the plugin's folder for further demonstrations or visit the plugin's page on my blog, at http://benung.nfshost.com/archives/1721.