# Source code for examples in TikZ/PGF manual

I am starting to learn TikZ. I was wondering if the source code for all examples in the TikZ manual (2.10 version) is available somewhere for download?

-
The source code of the TikZ manual is open. It's on CTAN and, if you have chosen to install the documentation sources, also part of your LaTeX installation. However, it might take some effort to extract all examples as single pictures. – Martin Scharrer Dec 19 '11 at 13:09
You could also have a look at the TikZ example gallery, which shows currently 214 examples with full source code. Among them are also examples from the manual. – Stefan Kottwitz Dec 19 '11 at 14:50
I think the best reference is the pgfmanual.pdf -- after all, it contains the source code of (nearly) all examples as verbatim source code (you can even click into them to jump to reference docs for specific keys). – Christian Feuersänger Dec 19 '11 at 17:04

Should manual sources be in the source folder and only the output files (PDF or PS etc.) in the doc folder then? – Martin Scharrer Dec 19 '11 at 13:19
The source code for the manual is included with your TeX distribution, if you have chosen to install the documentation source. With TeXlive 2011 they're found in \texmf-dist\doc\generic\pgf\text-en. They can also be found on CTAN.