The solution I found is to add the following line in ~/.ssh/config:
ServerAliveInterval 120
ServerAliveInterval 120
keycode 166= keycode 167=
# keyboard modifier
if [ -f $HOME/.Xmodmap ]; then
/usr/bin/xmodmap $HOME/.Xmodmap
fi
math -noprompt -script myscript.m
\(..\) as delimiters for inline math symbols, and $$...$$ or \[...\] as delimiters for display style math equations.In the above example, I've chosen to use the free hosted version. You can also download and host the javascripts yourself, as described in the author's website . In the above example, I included the following brushes: Bash, JavaScript, C++, Python and LaTeX. More supported languages can be found in here.
export JAVA_HOME="/usr/lib/jvm/jdk1.6.0_31" export PATH="$JAVA_HOME/bin:$PATH"
xdg-mime install $JAVA_HOME/jre/lib/desktop/mime/packages/x-java-jnlp-file.xml
cp $JAVA_HOME/jre/lib/desktop/applications/sun-javaws.desktop ~/.local/share/applications/And make sure it contains the following line
Exec=javaws %u
application/x-java-jnlp-file=sun-javaws.desktop
grep -o 'pm=[0-9]*' list*.html > tmp.txt
cat tmp.txt | sort -u > list.txt
for num in `cat list.txt`; do gettc $num; done
for dir in `ls`; do mkdir tmp/$dir; cp -a $dir/prob tmp/$dir/; done
echo "<ul>" > index.html
find . | grep html | sort > tmplist.txt
for file in `cat tmplist.txt`; do
name=`echo $file | awk -F/ '{print $2}'`
echo "<li><a href=\"$file\">$name</a></li>" >> index.html
done
echo "</ul>" >> index.html
rm tmplist.txt