GeneralRequested Package Not Available

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Cottonshirt
Posts: 9
Joined: Thu Nov 10, 2016 11:04 pm

Requested Package Not Available

Post by Cottonshirt »

Good morning,

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}
does anyone have any idea what's going wrong and what I need to do next?


many thanks for your consideration.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Requested Package Not Available

Post by Stefan Kottwitz »

TikZ is part of the pgf package. So look in your package manager for the "pgf" package and update it.

Stefan
LaTeX.org admin
Cottonshirt
Posts: 9
Joined: Thu Nov 10, 2016 11:04 pm

Requested Package Not Available

Post by Cottonshirt »

it turns out that "synchronize" doesn't do what I thought it did.

the clue was when you said, "update it." thanks for your help, appreciate it.
Hiseeno
Posts: 1
Joined: Tue Nov 29, 2016 11:29 pm

Requested Package Not Available

Post by Hiseeno »

thanks Stefan very much. I was having similar problem and you got me the solution :)
Post Reply