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

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):

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