df5244fd48
+ hierarchicalize has been rationalized; it builds a hierarchical representation of the document from the headers, and simultaneously gives each section a unique identifier based on the heading title. + Identifiers are now attached to the divs rather than to the headers themselves. + Table of content backlinks go to the beginning of the table, rather than to the section reference that was clicked. This seems better. + Code for constructing identifiers has been moved to Text.Pandoc.Shared from the HTML writer, since it is now consumed only by hierarchicalize. + In --strict mode, pandoc just prints bare headings, as before (unless --toc has been specified). + In s5 output, it does not wrap sections in divs, as that seems to confuse the s5 javascript. + Test suite updated accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1562 788f1e2b-df1e-0410-8736-df70ead52e1b
66 lines
1.2 KiB
HTML
66 lines
1.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
><head
|
|
><title
|
|
>My S5 Document</title
|
|
><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
|
|
/><meta name="generator" content="pandoc"
|
|
/><meta name="author" content="Sam Smith"
|
|
/><meta name="author" content="Jen Jones"
|
|
/><meta name="date" content="July 15, 2006"
|
|
/><link rel="stylesheet" href="main.css" type="text/css" media="all" />
|
|
STUFF INSERTED
|
|
</head
|
|
><body
|
|
>STUFF INSERTED
|
|
<h1 class="title"
|
|
>My S5 Document</h1
|
|
><div id="first-slide"
|
|
><h1
|
|
>First slide</h1
|
|
><ul
|
|
><li
|
|
>first bullet</li
|
|
><li
|
|
>second bullet</li
|
|
></ul
|
|
></div
|
|
><div id="math"
|
|
><h1
|
|
>Math</h1
|
|
><ul
|
|
><li
|
|
><span class="math"
|
|
>\frac{<em
|
|
>d</em
|
|
>}{<em
|
|
>dx</em
|
|
>}<em
|
|
>f</em
|
|
>(<em
|
|
>x</em
|
|
>)=\lim<sub
|
|
><em
|
|
>h</em
|
|
> → 0</sub
|
|
>\frac{<em
|
|
>f</em
|
|
>(<em
|
|
>x</em
|
|
>+<em
|
|
>h</em
|
|
>)-<em
|
|
>f</em
|
|
>(<em
|
|
>x</em
|
|
>)}{<em
|
|
>h</em
|
|
>}</span
|
|
></li
|
|
></ul
|
|
></div
|
|
>STUFF INSERTED
|
|
</body
|
|
></html
|
|
>
|
|
|