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
# First setup Ubuntu 20.04 on your SD card if you haven't already | |
# I assume by this point you have the Ubuntu SD card still in your laptop/pc | |
# We need to copy the cat tool to the SD card | |
# Download the installer here: https://cat.eduroam.org/ | |
# Add the cat installer to the pi SD card; run these commands on your laptop | |
mkdir /mnt/rpi | |
# Find the block device for your SD card. Be careful here -- you can mess up your OS if you choose the wrong device! | |
lsblk # You should see something like | |
# mmcblk0 259:0 0 15.4G 0 disk |
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
set -e | |
set -x | |
zipfile=$1 | |
wdir='latex_arxiv' | |
unzip $zipfile -d $wdir | |
pushd $wdir | |
svgs=$(find . -name *.svg | sed 's/.svg//') | |
epses=$(find . -name *.eps | sed 's/.eps//') | |
# Convert images |