ai: add latex rendering

This commit is contained in:
end-4
2024-02-26 22:43:27 +07:00
parent 09e1e13fea
commit 9b3ce245da
5 changed files with 100 additions and 2 deletions
+15
View File
@@ -86,3 +86,18 @@ install-bibata (){
x sudo cp -r $name /usr/local/share/icons
x cd $base
}
install-MicroTex (){
x mkdir -p $base/cache/MicroTex
x cd $base/cache/MicroTex
try git init -b master
try git remote add origin https://github.com/NanoMichael/MicroTeX.git
x git pull origin master && git submodule update --init --recursive
x mkdir -p build
x cd build
x cmake ..
x make -j32
x sudo mkdir -p /usr/local/bin
x sudo cp ./LaTeX /usr/local/bin/
x cd $base
}