\documentclass[english]{ltxdoc} \nofiles \usepackage{hhtensor} \GetFileInfo{hhtensor.sty} \typeout{VERSION \fileversion} \begin{document} \end{document}