A simple BASH script for LaTeX rendering.
This script that renders a LaTeX file generates the dvi, converts to pdf, then opens the pdf in xpdf.
Date Created:Friday February 20th, 2009 05:45 PM
Date Modified:Friday February 20th, 2009 06:10 PM
#!/bin/bash if [ $1 ] then NAME=`echo $1 | sed 's/.tex//g'` latex $1; dvipdfm $NAME.dvi; xpdf $NAME.pdf; exit fi
#!/bin/bash ## this is used to generate images with pstricks if [ $1 ] then NAME=`echo $1 | sed 's/.tex//g'` latex $1; dvips $NAME.dvi; ps2pdf $NAME.ps; xpdf $NAME.pdf; rm $NAME.dvi; rm $NAME.log; rm $NAME.aux; exit fi
Download: mylatex.sh 120 B
Download: makeps.sh 233 B
Please login or Click Here to register for downloads
BASH script for LaTeX generation by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com