I'm working on Ubuntu (16.04 LTS) with TexStudio.
Following the quickstart tutorial on forest (for linguists), I tried the easiest tree possible:
\documentclass[11pt]{article}
\usepackage[linguistics]{forest}
\title{Tree}
\author{Me}
\begin{document}
\maketitle
\begin{forest}
[CP[C][IP[I][VP[V][NP]]]]
\end{forest}
\end{document}
I get a bunch of error messages, beginning with:
Illegal parameter number in definition of \pgfk@/handlers/.wrap 6 pgfmath args/.@@body. }
As far as I understood from forums online, I have to update the "pgf" package. But I checked for that (on synaptic package manager), and it seems I already have the latest version (2.10-1).
Does one have any clue how to solve my problem ? (and sorry if this is a terrible beginner question!)
texlive-picturesinstalled? – Johann Bauer Mar 19 '17 at 12:28pgfversion is 3.0.1a 2015-08-29, see http://ctan.org/pkg/pgf. The error you're getting is due to an old bug inpgf, so I recommend an update. – Sašo Živanović Mar 19 '17 at 12:46