Skip to content →

Category: web

mathML versus LaTeXRender

No math
today. If you’re interested in the latest on noncommutative geometry,
head over to the NCG-blog where Alain Connes has a post on
Time.
Still, Alain’s post is a good illustration of what Ill be rambling about
TeX and how to use it in a blog.

If you’re running a math-blog,
sooner or later you want to say something more than new-age speak like
‘points talking to each other’ and get to the essence of it. In short,
you want to talk math and it’s a regrettable fact that math doesnt go
well with ASCII. In everyday life we found a way around this : we all
use TeX to write papers and even email-wise (among mathematicians) we
write plain TeX-commands as this language is more common to us than
English. But, plain TeX and the blogosphere don’t mix well. If you’re
expecting only professional mathematicians to read what you write, you
might as well arXiv your thoughts. Im convinced the majority of people
coming here (for whatever reason) dont speak plain-TeX. Fortunately,
there is technology to display TeX-symbols on a blog. Personally, I was
an early adapter to
LaTeXRender and even today a
fair share of page-views relates to the few
posts I did on
how to get latexrender working on a mac. Some time ago I
switched to mathML and now I’m
regretting I ever did…

Mind you, I’m convinced that mathML is the
‘proper’ way to get TeX to the internet but there are at the moment some
serious drawbacks. For starters, it is highly user-unfriendly. You
simply cannot expect people to switch browsers (as well as installing
extra fonts) just because they come to your site (or you have to be a
pretty arrogant git). Speaking for myself, Im still having (against my
better judgment) Safari as my default browser, so when I come to a site
like the n-category cafe I just
skim the plain-text in between and if (and only if) the topic interests
me tremendously I’ll allow myself to switch to Flock or Firefox to read
the post in detail. I’m convinced most of you have a similar
surfing-attitude. MathML also has serious consequences on the
server-side. If you want to serve mathML you have to emit headers which
expect everything to follow to be purified XHTML. If I ever forget a
closing tag in a post, this is enough to break down NeverEndingBooks to
all Firefox-users. I’ve been writing HTML since the times when the best
browser around was something called NCSA Mosaic so Ive a
pretty lax attitude to end-tags (especially in IMG-tags) and Im just
getting too old to change these bad habbits now… It seems I’m not the
only one. Many developers of WordPress-plugins write bad XHTML-code, so
the last couple of weeks I’ve been spending more time fixing up code
than writing posts. If you want to run a mathML-wordpress site you might
find the following hints helpfull. If you get a ‘yellow screen of
death’ when viewing your site with Firefox, chances are that one of your
plugin-authors missed a closing tag in the HTML-rendering of his/her
plugin. As a rule of thumb : go for the IMG-tags first! I’m sorry to
say, but Latexrender-Steve
is among the XHTML-offenders. (On a marginal note, LaTeXrender also has
its drawbacks : to mathematicians this may seem incredible but what
Latexrender does to get one expression displayed is to TeX an entire
file, get the image from the ps-file turn it into a gif and display it,
so one gets a GIF-folder of enrmous proportions. Hence, use Latexrender
only if you have your own server and dont have to care about memory
constraints. Another disadvantedge was that the GIFs were displayed with
a vertical offset, but this has been solved recently (use the ‘offset
beta’ files in the distribution)). Wrt. to that offset-beta version, use
this latex.php file instead (I
changed the IMG-line). Some plugins may not serve the correct headers
to display mathML. So, if you want to allow readers to have a
printer-friendly version of your mathML-post, get the WP-print plugin BUT
change to this wp-print.php file in order to
send the proper headers. Sometimes there are just forgotten lines/tags
in the code, such as in the [future calendar plugin](http://anthologyoi.com/wordpress/plugins/future-posts-calendar-
plugin.html). So, please use this version
of the future.calendar.php file. And so on, and so on. The joys of
trying to maintain a mathML-based blog… So, no surprise I’m seriously
considering to ditch mathML and change to normal headers soon. One of
the things I like about LaTeXRender is that it can be extended, meaning
that you can get your own definitions and packages loaded whereas with
mathML you’re bound to write iTeX, which Ill never manage. But, again,
mathML will be the correct technology once all major browsers are mathML
capable and the font-problem is resolved. Does anyone know whether
Safari 3 (in Leopard, that is Mac OS 10.5 to the rest of you) will be
mathML-able?

Leave a Comment

noncommutative bookmarks

At
last, some excitement about noncommutative geometry in the blogosphere.

From what I deduce from reading the first posts, Arup Pal set up a new blog
called Noncommutative
Geometry
and subsequently handed it over to Masoud Khalkhali who then
got Alain Connes to post on it who, in turn, is asking people to submit
posts, such as todays post by David Goss.

Somehow, most people refer to the Noncommutative Geometry blog as
“Alain Connes’ blog” (for example Doctor Gero, Not Even
Wrong
, the n-category cafe and
possibly many others).

David Corfield over at the n-category cafe stops
short of suggesting to rename (by analogy) NeverEndingBooks into
Kontsevich’s blog

A new blog Noncommutative Geometry
has begun, which appears to be of the Connesian variety. (Connes himself
has already commented there.) We mentioned a couple of weeks ago that
there are different flavours of noncommutative geometry. The
Kontsevichian variety, nongeometry, finds its blog voice in Lieven Le
Bruyn’s NeverEndingBooks. It would be interesting to see some
interaction.

I don’t think I will opt for a dialectic
response to the Noncommutative Geometry Blog, although I realize this would result
in more enjoyable reading for some of you…

For starters,
I’ve signed up to another flagship of noncommutative
_differential_ geometry : noncommutativegeometry.net, though it is unclear to me what action (if any) is
going on over there.

Further, I plan to move my talks at the master class
noncommutative geometry
to the virtual lecture room of this blog,
hoping to get the desired interaction. We’ll start later this week and
the pace will be pretty easy going. A tentative title might be
“Anabelian versus Noncommutative Geometry”.

Leave a Comment

bookmarks tuesday cleanup


Geeky Mom : Why am I blogging?
. Been there before. Sooner or later
all non-pseudonomenous bloggers are faced with the same dilemmas.
There’s really no answer or advice to give except : blog when you feel
like it, if not do something different, after all its just one of those
billion of blogs around.

Texmaker : another
LaTeX-frontend, possibly having a few extras such as : a structure-pane
including labels you gave to formulas, theorems etc. (click on them
brings you to them). Intend to use it now as I’m in another rewrite of
the never-ending-book..

Microformats : “Designed for
humans first and machines second, microformats are a set of simple, open
data formats built upon existing and widely adopted standards.” May
have another look.

Quicksilver : a recurring
link. At times when I feel learning key-strokes may save me a lot of
time I have (another) go at Quicksilver. Last week, Ive reinstalled this
blog more or less post by post and used keystrokes to send a line in the
SQL-file of the database dump of NEB as a clipping to Scrivener to
MultiMarkdown it further. I used the app Service Scrubber
to define my own key-strokes. Must have another go at Quicksilver soon.
Im sure it distinguishes ‚”power mac users” from the rest of
us.


List of GTDTools
: a good list of GTD-software. I’m probably just
too chaotic for GTD to improve my workflow but somehow I cannot resist
trying some of these things out.

LifeDEV : One of those sites that tells
me I should take GTD more seriously

DoIt : One of
these GTD-tools. It is said to go well with Quicksilver, so maybe, one
day.

Think
: Here a little seemingly completely useless tool which works well (at
least for me). No, it does not make you think, but at least it helps you
while you are thinking (or doing anything a bit focussed). Install it
and enjoy! The principle is that it just blocks out all other open
windows (and there are keystrokes (yes, again) to get you quickly in
and out.) Besides, it looks great. It’s in my dock and this says it
all

Thinkature :
a brainstorming tool. Dont know why I did bookmark this. Perhaps one
day, a few years from now

Stafford Talk :
a talk by Toby Stafford I came across by accident. Maybe there are other
interesting talks on the site?

Science Scouts : a great
idea! Give yourself badges for how well you do science (or talk/write
about science). Have to collect my badges soon. I’m sure this only
works for people with a scouting-history, but who
knows?

MacResearch : Here’s a site
that may become useful. MacResearch.org is an open and independent
community for scientists using Mac OS X and related hardware in their
research. It is the mission of this site to cultivate a knowledgeable
and vibrant community of researchers to exchange ideas and information,
and collectively escalate the prominence of Apple technologies in the
scientific research community. They have some interesting articles
and tutorials on e.g. DevonThink and BibDesk etc. Worth to
revisit.

Jennifer in love : well‚ should I say something about this?
probably best not.


Breakthrough CLI
: another pamphlet in favor of the Command Line! A
must read for those who perfer GUIs to CLIs.

<

p>CLI – the
site
: Rod is working hard on CLI-20. Whenever he releases version
2.0, neverendingbooks will be among the first sites to run it. I still
love the idea.

Why do I bother? : an n-category post I got briefly interested in,
but was somehow flooded by professional
math-philosophers

Newton Legacy Reviewed : just that, a first review
on the next bookmark.

the Newton
Legacy
: a free online book, a murder mystery with a physics touch.
Perhaps this is the best investment of time/energy : write a popular
science book rather than another paper. Read half way through it (sorry
but not the best prose Ive read so far), may continue but was held up
reading a (real) murder mystery Equinox featuring also Newton and
alchemy (must be in the air somehow), also not the best mystery read
so far

Stalking with Googleearth
: no comment

(to be continued)

Leave a Comment