Re:The LaTeX fetish (Or: Don't write in LaTeX It's just for ...
by edallme on Monday June 17, 2024 @08:50AM
(#40705108)
Was this https://ctan.org/pkg/expex ?
Re:The LaTeX fetish (Or: Don't write in LaTeX It's just for ...
by mcswell on Wednesday June 19, 2024 @10:55PM
(#40734432)
That's one; I've used that several others over the years, including gb4e and Covington packages. But yes, expex is probably the best now.
Not quite relevant, but we actually composed our grammars in a variant of DocBook XML, then converted them automagically to XeLaTeX for typesetting. Andy Black has a similar toolset that starts with his own document-oriented XML and converts this to XeLaTeX. I stole (with his permission) the code to convert XML interlinear into a LaTeX interlinear format.
This is extremely painful--nearly impossible--to do in Word. There are LaTeX macro packages that do it quite well.
(When the foreign language is broken down into morphemes in its script and there is a gloss line, you end up with a triple of aligned lines, instead of just a pair. And when the foreign language is written right-to-left, other issues come up. But they can be addressed in the LaTeX macro packages.)