Created
March 16, 2024 02:17
-
-
Save johndpope/ae7853e79405a383a3e9dfc41f097593 to your computer and use it in GitHub Desktop.
can't find standalone.cls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OPTIONAL - just install 5gb - sudo apt-get install texlive-full | |
# confirm you have the files | |
find /usr/share/texlive -name "standalone.cls" | |
/usr/share/texlive/texmf-dist/tex/latex/standalone/standalone.cls | |
find /usr/share/texlive -name "preview.sty" | |
/usr/share/texmf/tex/latex/preview/preview.sty | |
find /usr/share -name "babel-english" | |
/usr/share/texlive/texmf-dist/tex/generic/babel-english | |
#symlink them | |
mkdir -p /home/$USER/.TinyTeX/texmf-local/tex/latex/standalone | |
ln -s /usr/share/texmf/tex/latex/standalone /home/$USER/.TinyTeX/texmf-local/tex/latex/standalone | |
mkdir -p /home/$USER/.TinyTeX/texmf-local/tex/latex/ | |
ln -s /usr/share/texmf/tex/latex/preview /home/$USER/.TinyTeX/texmf-local/tex/latex/preview | |
mkdir -p /home/$USER/.TinyTeX/texmf-local/tex/generic/babel-english | |
ln -s /usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf /home/oem/.TinyTeX/texmf-local/tex/generic/babel-english/english.ldf | |
#update db | |
mktexlsr /home/oem/.TinyTeX/texmf-local | |
texhash ~/texmf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment