Thursday, April 21, 2011

cygwin

View the mounted directories: mount

Change to a target directory: cd \cygdrive\d\*

uzip a tar.bz2 file: tar -jxvf filename.tar.bz2
uzip a tar.gz file: tar -zxvf filename.tar.gz

Enable pdf Fast web viewn

latex filename.tex
dvips filename.dvi -o
ps2pdf input.ps output.pdf
pdfopt input.pdf output.pdf

done!