Document Classes ⇒ Checking the version of a package
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Checking the version of a package
I have Basictex installed on Mac OS X Leopard. I was wondering if there is a way to check whether the TikZ/PGF package that I have is the latest version. Is there a way to do that?
Also, I did not install it manually by copying the style file in library/texmf/tex/latex folder. Hence, if I find that it is not the latest version, how do I update it?
Thanks very much.
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
Checking the version of a package
Code: Select all
tlmgr update --list
Code: Select all
sudo tlmgr update pgf
Finally, each time you compile, the log file registers which files are read during that process as well as related information (like versions). If you add the command \listfiles to the preamble, you'll get a complete list of such files in the log file and the console.
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Checking the version of a package
Also, I found that the version to which tlmgr updated my pgf package is not the very latest on the texexample site. I understand that there would obviously be a lag between the latest update and when it gets included in the distribution. My question is that if I manually download and install it in the my library/texmf/tex/latex/ then which version is used when the file is being compiled...the one I installed or the one that came with the distribution.
Thanks again.
Checking the version of a package
sudo tlmgr update --allcuriouslearn wrote: I found that there are a few packages that need an update. Is there a way to get all of them updated with one command instead of updating each individually.
Files in ~Library/texmf are read first. You can easily check that. Before installing anything there, compile a tex file and look in the log file for the package version. Then install, look again and compare.curiouslearn wrote: My question is that if I manually download and install it in the my library/texmf/tex/latex/ then which version is used when the file is being compiled...the one I installed or the one that came with the distribution.
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm