Ask Your Question

Syntax trees in LibreOffice?

asked 2019-03-20 11:28:40 +0200

mcepl gravatar image


I am contemplating switching my wife from LaTeX to LO for her linguistic work, and the problem are syntax trees. I know about but does anybody know about some macro or something which would generate such tree from some simple text input (in principle similar to equations generated from TeX syntax)?

The ideal standard is the LaTeX package covington, but I am willing to settle even for something less. Making trees in Draw by hand seems to me however really too much work.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-03-20 11:41:20 +0200

If your wife is fine with LaTeX and syntax trees, then please, by no means, do not switch her to LibreOffice or to anything else.

edit flag offensive delete link more


It is more complicated. So far, it is more like an investigation about possibilities of replacement LaTeX by LO.

mcepl gravatar imagemcepl ( 2019-03-20 13:12:25 +0200 )edit

For some tasks, LaTeX cannot be replaced. At all. Writer is quite powerful, but there are several tasks that go way beyond its capabilities, and complex layouts like the one you need is one of them. If you're after a nicer "interaction" with LaTeX you may be interested in LyX: it offers a linguistic module that makes the use of the package covington easier.

Side note: If you're interested in an introduction to LyX, check this free book ;)

RGB-es gravatar imageRGB-es ( 2019-03-20 21:57:34 +0200 )edit

Of course, my wife uses LyX. It has a lot of advantages, but especially in this case, it becomes a trap. Write in LyX a presentation in beamer, where you have a tableaux on a slide with four numbered glosses. Level of indirection and obfuscation provided by LyX then becomes a problem.

Moreover, it is obvious, that just with addition of new OLE object (or something) for glosses and something for syntax trees, LO can become a way more user friendly alternative for linguists. I would never believe there could be a functional bibliography for LO, and there is now with Zotero.

mcepl gravatar imagemcepl ( 2019-03-21 10:32:47 +0200 )edit

Well, yes, add-ons for that would be great. There are already add-ons for LaTeX equations and LiliPond scores, for example... but developing a multi-platform add-on is not an easy task, specially when it's so specialized: you need a developer that's an expert not only in the coding part, but also in the linguistic part, and that's not so easy to find. Also, I seriously doubt that the companies that sponsor LibO development would be interested in such tool (they are more about the "office stuff"), so we need to wait for a volunteer doing all the hard work alone. Not easy.

RGB-es gravatar imageRGB-es ( 2019-03-21 12:57:51 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-03-20 11:28:40 +0200

Seen: 112 times

Last updated: Mar 20 '19