Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I tried to the following code to get the version information about TikZ using \listfiles command. However, there is an error says File amsmath.sty not Found, may someone help me?

\documentclass{article}
\usepackage{mathtools}
\usepackage{dateiliste}
\listfiles
\begin{document}
\printFileList
\end{document}
share|improve this question
    
The mathtools package loads amsmath by default. Do you use MikTeX? A MiKTeX update removed amsmath as obsolete – can I use another package or get it back? –  Qrrbrbirlbel Feb 12 '13 at 19:27
1  
I fail to see the relevance to TikZ in this question? (especially the tag tikz-trees?). If you want information about the tikzversion, use \pgfversion. Even though the package dateiliste refers TikZ your question is about TikZ, not dateiliste. –  zeroth Feb 12 '13 at 19:32
    
@Qrrbrbirlbel yes –  sweetyBaby Feb 12 '13 at 19:33
2  
@sweetyBaby Besides the amsmath part, you actually need to load TikZ in order to check its version (regardless of the method). –  Qrrbrbirlbel Feb 12 '13 at 20:02
add comment

1 Answer

Qrrbrbbirlbel (phew) answered the amsmath update problem. You can read more from Heiko Oberdiek's answer in A MiKTeX update removed amsmath as obsolete – can I use another package or get it back?

You can also check your PGF/TikZ version via two options

  1. Putting \listfiles command in your preamble and reading your log file
  2. Or putting \pgfversion command somewhere in the document to be printed.

Here is two examples combined

\documentclass{article}
\usepackage{tikz}

\listfiles

\begin{document}
\pgfversion
\end{document}

It gives

enter image description here

in the resulting PDF file and also in the log file

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.