Ads by Google

Saturday, September 19, 2009

Making WinEdt work with MiKTeX 2.8

Apparently people are running into some issues making WinEdt work with the latest version of MiKTeX.   The following post by the WinEdt team might be of use to WinEdt users.  It details how to fix WinEdt to make it call MiKTeX properly.

Friday, September 11, 2009

An improved or better Quicksort?

Via reddit, this is an interesting post on using 2 pivots to do quicksort with an attendant savings in swaps and speed.  I wonder how soon this will get into other tools.


Sunday, September 6, 2009

Getting Slide or Frame numbers in Beamer Warsaw Theme

While preparing a presentation using Beamer, I decided to get the slide numbers(frame numbers in Beamer parlance) into the presentation just to pace my slides. And it turns out that it's not easy as it sounds. I tried a variety of setbeamertemplate options and even considered editing the template. I believe beamerouterthemesplit.sty is the file to change though I have no idea what I have to do.

A bit of googling got to me to this page and I have no idea why the suggestion works. But it does. I have broken it into 2 lines with a extraneous \ at the end of the first line.

\title[Short Title \hspace{4em} \insertframenumber\ \
of \inserttotalframenumber
]{Full Title}


Friday, September 4, 2009

An Emacs keybindings help tip

In Emacs, C-h k or C-h m will show you the help regarding what function is bound to the key or what keys are bound in the buffer you're currently working on.  If it's a drag to scroll through the entire list or if you want to narrow it down, you can press the prefix keys and then C-h to get only those keybindings that start with the prefix key. 

For example, pressing the prefix C-x r and then C-h  (C-x r C-h) will only show the help regarding the key bindings starting with the prefix C-x r.  This is useful when you enable a minor mode that has a prefix key combination that you use infrequently.  In the normal case, you'd have to invoke C-h m and then scroll down to the respective section in the help buffer.  If you knew the prefix, then pressing the prefix followed by C-h will be "context" sensitive help.

Based on the thread here on gnu.emacs.help.