Martin Sauter wrote a post on capturing transmissions with the hcidump tool that comes with BlueZ. Turns out hcidump can output a Wireshark-friendly file! This is SO NEAT for analyzing and debugging! 😀
Today I set up my LaTeX environment for my master thesis on my Ubuntu 12.04 notebook. It consists of the Tex Live distribution version 2012 and the Gummi LaTeX editor. The latter is very lightweight and has a very useful live preview:
The Ubuntu 12.04 repos don’t contain the latest versions of TeX Live and Gummi. So we’ll add two PPAs – one for a more recent version of Gummi and one for TeX Live 2012.
sudo apt-add-repository ppa:texlive-backports/ppa
sudo apt-add-repository ppa:gummi/gummi
Next we’ll update the repos on the machine and install the required packages. I’ll show you a nice template in a second for which I needed to add some additional packages.
sudo apt-get update && sudo apt-get install gummi texlive-science texlive-fonts-extra texlive-math-extra texlive-bibtex-extra cm-super texlive-lang-german
2. A useful template for theses
Google turned up a nice LaTeX template over at Matthias Pospiech’s website. And here’s why I like it:
- it works (almost, see below) out-of-the-box
- it looks good
- it has a lot of things set-up (quotes, tables, references, two-page bind-friendly print layout, bibliography, math formula support, code listings, diagrams, plots)
- it is THOROUGHLY documented (we’re talking 200+ pages pdf with examples for everything – the template IS the documentation)
The only thing I had to do is replacing each
\include with an
\input (for security reasons only TeX files from the same directory can be included in recent Linux distributions – you can find more on that in this stackexchange response) and I was good to go. The documentation is BIG PLUS – clearly a lot of effort went into this. This will help a lot when modifying the template.
3. Find a text color scheme you like
If you’re going to write reports and/or theses with Gummi you should look for a color scheme that you like. Right now I’ll try Jacob Pennock’s CandyMountain for a while. The editor pane of Gummi is the GtkSourceView from the GTK – so you can use any color scheme that works for it. Gedit also uses
GtkSourceView. There are a few nice styles in Gnome’s GTK wiki, but you can find some scattered across the web.
The color schemes are plain text xml files. You can either install them via the
gedit preferences or copying the xml files into this directory (you may have to create it first):
You can then try and select the color scheme in the Gummi preferences (you may have to restart Gummi to see the new schemes):
Edit > Preferences > Fonts & Colors