john hawks weblog

paleoanthropology, genetics and evolution

admin

  • My Romanian translation

    Thu, 2012-01-19 09:15 -- John Hawks

    I'm pleased to note that my diet category now is available in a Romanian translation. The translation is courtesy of Alexander Ovsov, and although it is not the first (I've approved some Spanish translations of a few pages), I hope that I can encourage more translations. If you are interested in doing one, just let me know and we can probably work something out.

    Tags: 
  • Spam

    Sun, 2009-09-13 23:15 -- John Hawks

    I accidently left comments open on a couple of these posts, and it's unbelievable how many Viagra ads got through in a few days. My apologies to those who left sincere comments; I had to wipe everything before they got out of control!

    Tags: 
  • Out of town

    Wed, 2009-08-19 13:22 -- John Hawks

    I'm out of town this week, which means that (a) the Boneyard is delayed, and (b) there are actually some interesting arising topics that I haven't been able to write about. If you've e-mailed and haven't gotten a reply, sorry! Meanwhile, I have a couple of new posts and several auto-scheduled ones filling the gaps.

    If you're about to start classes and looking for stuff that might be useful for your students (or if you're a student yourself), let me recommend:

    Natural Selection 101: The Miracle of Compound Interest

    When did paleoanthropology get its name?

    The Neandertal genome FAQ, February 2009 edition

    Tags: 
  • Site maintenance

    Sun, 2009-01-11 12:35 -- John Hawks

    I'm doing site maintenance today, so things may look funny for a little bit, or be inaccessible for short periods.

    There -- you should notice the difference now...

    Tags: 
  • Search the site

    Sat, 2008-12-06 15:53 -- John Hawks

    If you look to the top of the left sidebar, you'll see that I've enabled a search box. This is a pretty good search function, I've been testing it for some time.

    The search on the old system never worked very well, so I'm sure many readers didn't even notice it was gone.

    But over the past few weeks I've gotten a number of requests for info that might be found deep in the site -- now it's only a search away!

    Tags: 
  • How I do LaTeX on Drupal

    Mon, 2008-08-18 22:52 -- John Hawks

    Some people wanted to know what I am using to enter my LaTeX code into Drupal. There are several Drupal modules that can deal with some LaTeX, but none of them really suited my needs.

    The most important advantage of LaTeX blogging is that I’m able to use my reference database seamlessly in my blog with BibTeX. Another is that I can generate PDFs of my posts from the same source as the blog (believe it or not, I get a lot of PDF requests). Slightly less important, I can repurpose text more easily. DruTeX and other Drupal-centric solutions are especially good if you want to use LaTeX code as a Markdown-like shorthand instead of HTML, but don’t fill my requirements.

    To generate HTML from LaTeX, I depend on Tex4ht. I also use this to transfer LaTeX to RTF for publishing articles and my textbook, and it does an excellent job for most purposes.

    No matter your destination format, TeX4ht always seems to take some tweaks to get everything converted. The strict XHTML produced by Tex4ht works fine in a browser, but it contains a number of elements that stymie Drupal’s “Full HTML” filter, including lots of HTML comments and superfluous newline characters (Exactly why “Full HTML” doesn’t mean full HTML, I don’t understand.) I wrote a short Python script that strips these things out. At the moment it’s just a hack, but it works.

    Styling: For whatever reason, TeX4ht doesn’t like the simple bold and italic tags of standard HTML and instead applies styles with SPAN tags and custom classes like “cmbx-10,” for the LaTeX-native Computer Modern fonts. It’s simple enough to include these classes in your CSS file, and apply whatever styling you like. If you really don’t like it, you could always rig up a custom config file for TeX4ht.

    Math: Math goes to PNG pictures by default under TeX4ht; I keep all graphics in a common directory on my server. Copying the PNG files, and updating references in the HTML source (again, that Python script), is all it takes for equations to come out right.

    Hyperlinks: The hyperref package for LaTeX does a nice job with links and internal references (including bibliography references). Links come out the same whether through Drupal or PDF.

    So, that’s easy enough, but probably not recommended unless you’re ready to do a little scripting.

    UPDATE (2008/08/24): A reader writes:

    Not sure which Drupal version you have (it might not be in 4.x), but if you go to Administer -> Input Formats; and then click on 'configure' near 'Full HTML' you can disable the HTML filter and line break filter altogether and it might remove the necessity for your intermediate step.

    That will probably do the trick for a lot of people.

    Tags: 
  • Problems with some permalinks

    Thu, 2008-07-03 22:56 -- John Hawks

    Sorry to those hitting the site from old permalinks ending with a ".w" extension; I'm working on a rewrite rule to handle those now. In the meantime, all these pages are there, with the supported ".html" extension.

    Tags: 
  • A new look, a new server

    Wed, 2008-07-02 09:29 -- John Hawks

    As you can see, the site has changed! I've moved to a new server, and I've taken the opportunity to move to a new content management system along with it. I've been running the new site as a shadow for a while, and everything ought to work (although there will be some funny-looking things here are there). Almost all permalinks to the site will still work.

    I'll have some more details about the move and some of the new features that it should enable me to build. In the meantime, please notice my new affiliate links on the right side of the page. I won't be having any pledge drives or advertising anytime soon, but if you're buying a book anyway remember that you can direct a percentage to support this site.

  • So you clicked on the "last" page?

    Mon, 2005-01-03 10:00 -- John Hawks

    You had to go and do it, didn't you?

    Well, what you've done is find the some of the very earliest posts on the blog. You'll find that my writing has gotten, well, a lot bloggier over time. That's a good thing, I'd say.

    Many of the posts with very early dates are administrative -- you'll find the FAQ here for the time being, for example. I'll probably change that in the near future -- when I was on the old blogging platform, giving things early dates was a good way to write them without them showing up on the front page.

    You'll also find stuff abstracted out from my courses. And of course, the Flores FAQ -- really the regular updates on the Flores hominids were the way I got started writing for the broader audience of the blog.

    So look around and enjoy. And then go up to mid-2005 or so, when the blog really started getting interesting.

    Tags: 
Subscribe to admin

Neandertals

For years, I've worked on their bones. Now I'm working on their genes. Read more about the science studying these ancient people.

Denisova

From a finger bone of an ancient human came the record of a completely unexpected population. My lab is working on the science of the Denisova genome.

Acceleration

The advent of agriculture caused natural selection to speed up greatly in humans. We're uncovering some of the ways that populations have rapidly changed during the last 10,000 years.

Malapa

Just outside Johannesburg, the Malapa site is producing some of the most exciting finds in human evolution. This site is the headquarters of the Malapa Soft Tissue Project.