Exercise Test II

April 20th, 2010

under construction

On the formalization of the process of quantization — by abstract nonsense — from classical σ-model data to the corresponding quantum field theory .

Background and motivation

The search is on for the abstract formalization of the process of quantization — the process that reads in a “classical field theory” — for instance presented in form of a gauge theory or in form of a σ-model background field data — and spits out the corresponding quantum field theory.

Read the rest of this entry

An Exercise in Groupoidification – The Path Integral

April 19th, 2010

Background and motivation

The search is on for the abstract formalization of the process of quantization — the process that reads in a “classical field theory” — for instance presented in form of a gauge theory or in form of a sigma-model background field data — and spits out the corresponding quantum field theory.

Read the rest of this entry

Minor validation tweaks

April 19th, 2010

Here’s a list of minor tweaks I’ve had to do to ensure that wordpress is emitting valid XHTML.

  1. wp-admin/options-general.php, line 174: there’s a “span” in the wrong place, it should be on the next line.
  2. In the options for akismet plugin, line 201, (installed by default), some table rows aren’t closed. This line should end with </tr>.

Incidentally …

April 19th, 2010

Not having any experience of wordpress, if there are any recommended settings or plugins that I should install (spam protection, for example?), please let me know!

Wordpress and MathML

April 19th, 2010

This is a “showcase blog” demonstrating that Wordpress and MathML can exist in harmony together. So far, all I’ve done is:

  1. Download and install wordpress
  2. Install the wordpress plugins ‘MarkdownItex’ and ‘XHTMLValidator’
  3. Activate these two plugins (taking care to not activate ‘Markdown Extra’ itself)
  4. Written this post.

And now, I can write mathematics! So let’s start with what is officially the most beautiful formula.

e iπ=1

Of course, as expected, nothing works quite so simply. The first time that itex runs, assuming that it is not running locally, it needs to create a cache in which it can store all the mathml excerpts. So having written our post, we navigate to the correct directory, allow itex to create it’s cache, and then all is well:

cd wp-content/plugins/MarkdownItex
chmod 777 .
<reload homepage>
chmod 755 .

What we should have done at first was also modify our “theme” to display the correct “document type”. At the moment, we think that we’re just serving XHTML whereas we actually want to serve XHTML+MathML. So we need to install a “MathMLised theme”, or adapt a favourite one to MathML. This isn’t difficult, we just need to do two things: modify the DOCTYPE and serve the document as “application/xhtml+xml”. In mytheme/header.php, we change the DOCTYPE line to:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd" >

whilst in mytheme/functions.php we add the lines:

function reset_html_type($tf) {
  return "application/xhtml+xml";
}

add_filter('pre_option_html_type', 'reset_html_type');

somewhere not in the middle of another function (there are other ways to achieve the same end as this).

Note: As we’re now serving proper XHTML, any little errors which previously were overlooked by forgiving browers will now be dealt with very strictly. So there may be other errors in the theme which only come to light upon further testing.

Further Note: As this is the first live test of the various themes and plugins, they aren’t publicly available yet. Anyone who wishes to test them is welcome to do so, just contact me for how to get hold of them.