Written by Nick |
I just heard about Geek Tool, a nice little app for Mac OS X that will output a local text file, standard out or a local or remote web page onto your desktop. Its kind of like Conky on acid. So what have I done with the world of possibilities that this app presents and my all too short lunch hour? See for yourself:

Click to see a full screen version
I have a few windows that output some shell commands, then two images that Geek Tool grabs from the web, one of the left from BlairClock, which counts down the days until Blair’s expected leaving date and another from OSM’s image of the week. The saving you from terrorism bit comes next. I grabbed a feed from the Terror Alert website, ran it through a ruby script that outputs to stdout and bingo! Live terrorist information on my desktop. Now all I need is for the guys at Terror Alert to update their feed and I will be safe from the threat of International Terrorism.
(If anyone can suggest why my script won’t read the dates from the feed when it runs on my Mac, but will on Ubuntu, that would really make my day.)
Written by admin |
I’ve been struggling to debug my Latex and bibtex source, trying to get it to produce some decent references. I had look everywhere for some pointers, but to no avail. So I emailed a LaTeX mailing list (MacOSX-TeX@email.esm.psu.edu) and got a very straight, very helpful answer. The way to go, it seems, is to forget Kyle, Lyx or TexShop, go back to basics and compile from the command line, as follows:
- You have the files yourtext.tex and yourbiblio.bib.
- In yourtext.tex, you have the command
\bibliography{yourbiblio}
You run (note that you don’t need the .tex extension in any of these commands)
1. latex yourtext
2. bibtex yourtext
3. latex yourtext
4. latex yourtext
In 1., the \cite keys and the name of yourbiblio are written to
yourtext.aux.
In 2., bibtex takes yourtext.aux and yourtext.bib and creates yourtext.bbl.
In 3., yourtext.bbl is read in, the \cite keys are completed with the
information from yourtext.bbl and written as \bibcite to yourtext.aux.
At this point, you still get the undefined reference warnings.
In 4., the information from yourtext.aux and yourtext.bbl is finally
used in the typeset and no warnings should appearany more, unless your
cite keys are really undefined.
If you trash yourtext.aux, you have to repeat steps 3. and 4.
Some of these steps must have gone wrong in your case. You can always
see the current state of affairs from the *.aux, *.bbl and *.log files.
They are ordinary text files and tell you everything there is to know.
This advice comes from Martin on the Mac OS X Tex list.