The self-taught astronomer and mathematician publishes his almanac and challenges Thomas Jefferson on racial equality.