TeXShop ⇒ Where are the class files stored?
-
- Posts: 6
- Joined: Fri Dec 30, 2011 1:46 am
Where are the class files stored?
Thanks!
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
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Where are the class files stored?
Code: Select all
kpsewhich amsbook.cls
Code: Select all
/usr/local/texlive/2011/texmf-dist/tex/latex/amscls/amsbook.cls
-
- Posts: 6
- Joined: Fri Dec 30, 2011 1:46 am
Where are the class files stored?
Can I just make a new folder called Example123 in
Code: Select all
/usr/local/texlive/2011/texmf-dist/tex/latex/
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Where are the class files stored?
Have a look what's your personal TeX home directory, you could use that:
Code: Select all
kpsewhich -var-value=TEXMFHOME
-
- Posts: 6
- Joined: Fri Dec 30, 2011 1:46 am
Re: Where are the class files stored?
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Where are the class files stored?
Try
Code: Select all
sudo mktexlsr
Stefan
-
- Posts: 6
- Joined: Fri Dec 30, 2011 1:46 am
Re: Where are the class files stored?
Where are the class files stored?
So, I have the same problem, only my TeX-distribution doesn't find my .cls-files wherever I put them. I'm writing at some standardized document and are bound to use a custom cls. My document won't compile even if I put the .cls-file in the same folder as my tex-document. I've copied a folder with the .cls-files in to
Code: Select all
/users/username/Library/texmf/
Code: Select all
/usr/local/texlive/2012/texmf-dist/tex/latex/
Code: Select all
sudo -s texhash
Code: Select all
sudo -s mktexlsr
Code: Select all
kpsewhich -var-value=TEXMFHOME
Code: Select all
/Users/username/Library/texmf/