Skip to content

Instantly share code, notes, and snippets.

@jraregris
Created February 2, 2009 15:14
Show Gist options
  • Save jraregris/56937 to your computer and use it in GitHub Desktop.
Save jraregris/56937 to your computer and use it in GitHub Desktop.
My first bash from many years ago :). Automates a repetative task. (Already solved with pdflatex).
#!/bin/bash
# My first bash from many years ago :)
#
echo "Hvilken fil snakker vi om? (uten .tex-endelse):"
read fname
latex $fname.tex
dvips $fname.dvi
ps2pdf $fname.ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment