forked from booktype/BookJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (26 loc) · 1.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<body>
<h1>Welcome to BookJS</h1>
<h4>Page headers, footnotes, pagenumbers, multi columns, TOC, using CSS Regions</h4>
<h2>Steps:</h2>
<ol>
<li>Download a recent version of Chromium/Chrome (25+)</li>
<li>In Chrome/Chromium open a new tab and go to "<code>chrome://flags/</code>"</li>
<li>Search for "Webkit Experimental Features" and enable them</li>
<li>Restart your browser</li>
<li>Read the "Notice" below so you know what to look for and then</li>
<li>Check out the <a href="test.html">Test Page</a></li>
</ol>
<h2>Notice:</h2>
<ol>
<li>There are multiple numbered "pages"</li>
<li>The TOC is generated from the H1 tags and includes the page number the tag occurs on.</li>
</ol>
<h2>Configuration:</h2>
<p>For configuration options, check the sourcefile <a href="book.js">book.js</a>.</p>
<h2>Footnotes:</h2>
<p>Footnotes are currently only supported for previously created content (not when using BookJS in combination with a text editor). The option <i>pagination.config.enableReflow</i> needs to be enabled for this to work (this option is enabled by default). In order to insert a footnote into the source text, simply insert it as a span with a class 'footnote', such as <i><span class='footnote'>This a footnote</span></i>. See also the source code of the <a href="test.html">Test Page</a>.</p>
<h2>License:</h2>
BookJS is licensed under the APL license. For further information, check <a href="LICENSE.txt">LICENSE.txt</a>.
</body>
</html>