langsci / 259

Müller, Stefan et al. (eds): Head-Driven Phrase Structure Grammar: The handbook
Creative Commons Attribution 4.0 International
22 stars 7 forks source link

forest bug? binding.tex #102

Closed stefan11 closed 3 years ago

stefan11 commented 3 years ago

grafik

There seems to be a bug here causing some overalp.

\begin{forest}
sm edges without translation
[S
  [\ibox{1} NP$_i$ [John\\John\\he]]
  [VP
    [V \sliste{ \ibox{1} NP$_i$, \ibox{2} CP } [thinks\\thinks\\thinks]]
    [\ibox{2} CP 
      [C [that\\that\\that]]
      [S
        [\ibox{3} NP$_j$ [Paul\\Paul\\Mary]]
        [VP
         [V \sliste{ \ibox{3} NP$_j$, \ibox{4} NP$_k$ } [likes\\likes\\likes]]
         [\ibox{4} NP$_k$ [him\\himself\\Peter]]]]]]]
\end{forest}

I have to add horizontal space:

\begin{forest}
sm edges without translation
[S
  [\ibox{1} NP$_i$ [John\\John\\he]]
  [VP
    [V \sliste{ \ibox{1} NP$_i$, \ibox{2} CP } [thinks\\thinks\\thinks]]
    [\ibox{2} CP 
      [C [that\\that\\that]]
      [S, s sep+=1ex
        [\ibox{3} NP$_j$ [Paul\\Paul\\Mary]]
        [VP
         [V \sliste{ \ibox{3} NP$_j$, \ibox{4} NP$_k$ } [likes\\likes\\likes]]
         [\ibox{4} NP$_k$ [him\\himself\\Peter]]]]]]]
\end{forest}
stefan11 commented 3 years ago

Hi @sasozivanovic,

Any opinions on this one? I am working through the remaining issues now. Maybe I can close this one and you are tracking this bug, if it i one elsewhere.

Thanks for forest in the first place! =:-)

Stefan

sasozivanovic commented 3 years ago

I can't reproduce this one. Maybe some old (buggy) output was externalized?

stefan11 commented 3 years ago

Thanks!