Thursday, 20 November 2014

Back up slides in Latex

 To have back slides in latex and not screw up the slide numbering, do this.
 1. Add these after your \usepackage{} lines, before \begin{document}
  \newcounter{sauvegardeenumi}
  \newcommand{\asuivre}{\setcounter{sauvegardeenumi}{\theenumi}}
  \newcommand{\suite}{\setcounter{enumi}{\thesauvegardeenumi}} 

2. Then, as below.
\begin{frame}

Your last slide...

\end{frame}
% BACK UP SLIDES
\newcounter{finalframe}
\setcounter{finalframe}{\value{framenumber}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
.
.
.
\end{frame}

\begin{frame}
.
.
.
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{framenumber}{\value{finalframe}}
\end{document}

Wednesday, 19 November 2014

Setting up website on server at IITB

Paste all your files in the public_html folder.

if you can't do that. run
~$ ls -l
and see if have ownership rights on the folder. If you dont, send a email to admin[at]ee[dot]iitb[dot]ac[dot]in and ask them to give you those permissions.

Once you can copy into the folder, you are almost done.
go to - http://www.ee.iitb.ac.in/student/~loginname/

If your CSS file is not loading, then ssh to your account from a terminal, then run
~$ chmod -R 755 public_html

(the -R is very important)

Should be all working now.

Peace.

Monday, 10 November 2014

Increasing number of workspaces

For Ubuntu 12.04, with gnome session fallback

To increase the number of workspaces,

gsettings set org.gnome.desktop.wm.preferences num-workspaces 8
 

Peace.