Skip to content

Instantly share code, notes, and snippets.

@tayyebi
Last active January 25, 2020 07:34
Show Gist options
  • Save tayyebi/23365c38dd1df7de859239cc1cdcb9a6 to your computer and use it in GitHub Desktop.
Save tayyebi/23365c38dd1df7de859239cc1cdcb9a6 to your computer and use it in GitHub Desktop.
apt-get offile installation
# Get list of texstudio files
sudo apt-add-repository ppa:blahota/texstudio
sudo apt-get update
sudo apt-get --print-uris --yes install texstudio | grep ^\' | cut -d\' -f2 > latex.txt
# Install XeLaTex
sudo apt-get --print-uris --yes install texlive-xetex | grep ^\' | cut -d\' -f2 > latex.txt
# Get list of fonts
sudo apt-get --print-uris --yes install texlive-fonts-recommended | grep ^\' | cut -d\' -f2 > fonts.txt
# Download latex software and fonts
wget -i latex.txt
wget -i fonts.txt
wget -i xelatex.txt
# Install them
sudo dpkg -i *.deb
# Download and unzip IEEE layout
wget https://www.ieee.org/content/dam/ieee-org/ieee/web/org/conferences/IEEEtranBST2.zip
unzip IEEEtranBST2.zip
# Take a look at XePersian
https://ctan.org/pkg/xepersian?lang=en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment