As @cfr points out,
The problem is that node walks have changed dramatically and invalid steps now trigger errors by default. Because the root is empty, it gets nice empty nodes treatment and for parent fails because, well, there is no parent.
So yes, this is a bug in the definition of nice empty nodes, so thanks for finding it and poiting it out. I didn't catch it as the only example of nice empty nodes in the documentation doesn't apply the style to the root node, so the docs compiled just fine ...
The solution is actually very simple (and will be included in the upcoming minor release) as forest now has step siblings.
\documentclass{article}
\usepackage{forest}
\forestset{
nice empty nodes/.style={
for tree={calign=fixed edge angles},
delay={where content={}{shape=coordinate,for siblings={anchor=north}}{}}
},
}
\begin{document}
\begin{forest}
[{},nice empty nodes
[b][
[c]
[
[b] [a]
]
]
]
\end{forest}
\end{document}
Note that the for parent={for children={...}} idiom is not exactly the same as for siblings={...}, as the current node is not walked in the for siblings case. In our case, this makes no difference, as the current node gets a coordinate shape. To get exactly the (old) for parent={for children={...}} behaviour, say for preceding siblings={...},for current and following siblings={...}. And I promise to include key for current and siblings in the next minor release ... I have just not realized until now there's a case where having it makes sense.
linguisticslibrary is 0.1 from 2015. – cfr Jan 26 '17 at 15:21compat=1.0-all, or at minimumcompat=1.0-forstepis given as package option).(for) current and siblingsis included since v2.0.1. – Sašo Živanović Jan 26 '17 at 15:28nice empty nodesin an update to Forest. However,nice empty nodesstill has the old definition, so users have to redefine it as you do above if their root nodes are empty. – cfr Jan 26 '17 at 23:26for current and siblingsI forgot aboutnice empty nodescompletely. (And today, again!) Fixing this right away. Thanks! – Sašo Živanović Jan 26 '17 at 23:31.count. – cfr Jan 27 '17 at 01:47