I am using MikTex 2.9 in TexWorks version 0.4.4 r.1003
I wanted to put a genealogy tree into a Latex document and googling for solutions one suggestion was a package called forest.
my package manager didn't have that so I selected: repository -> synchronize and it went to work.
next step: in the list view I selected package forest and clicked the tick and it installed forest and a couple of other packages too. in fact, all of the following: unicode-data, l3kernel, l3packages, trimspaces, environ, elocalloc, elpres, etoolbox, pgfopts, and forest.
next step: in my document template I added forest to the \usepackage{} list. I didn't put anything in the document itself, just added forest to the package list. then I compiled the document.
I got a number of messages telling me the package manager wanted to do something and I just clicked install each time (around 3 times if I remember correctly).
then I got the following in the console area at the bottom of the screen:
Code: Select all
("C:\Documents and Settings\User\Application Data\MiKTeX\2.9\tex\latex\elocallo
c\elocalloc.sty") (C:\programs\miktex\tex\latex\environ\environ.sty
(C:\programs\miktex\tex\latex\trimspaces\trimspaces.sty))
(C:\programs\miktex\tex\latex\l3packages\xparse\xparse.sty
(C:\programs\miktex\tex\latex\l3kernel\expl3.sty
(C:\programs\miktex\tex\latex\l3kernel\expl3-code.tex)
(C:\programs\miktex\tex\latex\l3kernel\l3pdfmode.def)))
! Illegal parameter number in definition of \pgfk@/handlers/.wrap 6 pgfmath arg
s/.@@body.
<to be read again>
7
l.1946 }
In the "Errors" tab it said the following:
LaTeX Warning: You have requested, on input line 49, version`2013/12/13' of package tikz, but only version `2010/10/13 v2.10 (rcs-revision 1.76)' is available.
there's a hyperlink you can click on to show the code where it failed and it gives this:
\RequirePackage{tikz}[2013/12/13]
where my rudimentary code-reading skills say that the file forest.sty is specifying package tikz dated 2013/12/13
thing is, there is not just one package called tikz, there's about twenty of them: tikzthis and tikzthat and what have you so I just used the package manager to install them all and I still get the same error.
I'm not sure it will help much, but I attach an MWE anyway.
Code: Select all
\documentclass[10pt,a4paper]{book}
\pagestyle{empty}
\usepackage[utf8]{inputenc}
\usepackage{endnotes,forest}
\begin{document}
some text goes here
\end{document}
many thanks for your consideration.