Emacs Wiki Testbed

Various tests of things that aren't quite working as I would expect. This complements the discussion in EmacsWikiFormat.

This shows that the level 4 headings aren't getting included in the table of contents, even though I put depth=4. Aha, this seems to be because the id attribute is not being set on h4 and below. And the reason was that the depth attribute takes a string not an integer: depth="4". Everything works now!

Level 2 heading
Level 3 heading
Another level 3 heading
Level 4 heading
Another level 2 heading
Yet another level 4 heading that will be ignored in the TOC
Test of the latex formatting
Update 14 May 2005

Level 2 heading

Some text.

Level 3 heading

More text.

Another level 3 heading

Yet more text

Level 4 heading

Another level 2 heading

Yet another level 4 heading that will be ignored in the TOC

  1. First item.
  2. Second item.
  3. Third item, with two paragraphs.

Here is second paragraph of third item. Note how it gets made into a blockquote instead.

  1. Fourth item. Note how it has the wrong number.

Test of the latex formatting

Here is an equation (note that I have set gs-latex2png-scale-factor to 1.5):

latex2png equation

This works eventually, but I had to copy the definitions of file-expand-wildcards and temporary-file-directory from GNU emacs.

Update 14 May 2005

Retesting stuff now that I have migrated to Emacs and upgraded a load of the packages. The Latex stuff still seems to work. Supposedly it can now do inline math. Let's see: what about latex2png equation, how does it deal with that. Answer: Pretty well now that I am using the latest version. Tha alignment is on the baseline. I had to add some lines to my CSS file.

On Gamesh Swami's web page, he uses the equation latex2png equation but it should really be more like latex2png equation Improvements:

  1. Use display instead of text mode.
  2. Add the missing dt.
  3. Adjust the spacing. Extra thin space between terms. Negative space after the integral sign.
  4. Make erf into a math operator and eliminate unnecessary brackets.

Now to test the plog thing. The idea is that I can use this to put photos in a page. It looks like Ganesh Swami's original plog.el requires you to generate the thumbnails by hand, which isn't on really.