5

My request to archive old TikZ manuals was closed on the grounds that it is sufficient to compile these manuals with the corresponding version of pgf.

Archive old manuals? #903

It is specified that to do this, it is necessary to compile with the corresponding version of pgf.

How do you go about compiling an old manual on MikTeX in practice? On TeX Live?

The pgf tikz repository only keeps the sources.

AndréC
  • 24,137

1 Answers1

8

To compile a previous version of the pgf manual as a whole you can perform the following steps:

  1. Clone the git repository: git clone https://github.com/pgf-tikz/pgf
  2. Checkout the tag you want to compile the manual for (you can list the tags using git tag). I'll do that for 3.0.1 by running git checkout 3.0.1.
  3. Configure an RCS provider script like https://github.com/kimmormh/git-rcs-keywords or replace the $Header$ by $Header: x.y,v z 2020/01/01 a$ with something along the lines of find ./ -exec sed -i 's=\$Header\$=\$Header: x.y,v z 2020/01/01 a\$=g' {} \;.
  4. Create a texmf directory mkdir -p texmf/tex and cp -r {context,generic,latex,plain} texmf/tex.
  5. Create an auxiliary tree using sudo tlmgr conf auxtrees add "$(pwd)/texmf"
  6. Change into the engine's folder you want to compile the manual with. I will use pdftex, so I do cd doc/generic/pgf/version-for-pdftex/en.
  7. Run make in this folder.
  8. Open the generated PDF.
TeXnician
  • 33,589