#!/usr/bin/perl -pi s/(?/\\begin{verbatim}/g; s/<\/pre>/\\end{verbatim}/g; s/-->/\\to/g; #s/http:\/\/([\w\/\.]+)~([\w\/\.]*)/http:\/\/$1\\~{}$2/g; s/~/\\~{}/g; s/\\%(\s)/\\%\\ $1/sg; # change graph size in \{seminar} class! 3,3? s/\\begin{graph}/\\begin{graph}\nsize="3,3"/g; # alert! bug in easylatex ?!?: an escaped equals sign didn't take: #\ \ \ \ \ error rate \= 6\% (on \textbf{test} set) # # had to be manually changed to # #\ \ \ \ \ error rate $=$ 6\% (on \textbf{test} set) # note: must escape [s as \[s! must escape unwanted =s!