File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+
4
+
5
+ < head >
6
+ < title > BookJS test</ title >
7
+ < script type ="text/javascript ">
8
+ paginationConfig = {
9
+ 'sectionStartMarker' : 'h1' ,
10
+ 'sectionTitleMarker' : 'h1' ,
11
+ 'chapterStartMarker' : 'h2' ,
12
+ 'chapterTitleMarker' : 'h2' ,
13
+ 'flowElement' : 'document.getElementById("flow")' ,
14
+ 'alwaysEven' : false ,
15
+ 'divideContents' : false ,
16
+ 'columns' : 1 ,
17
+ 'enableFrontmatter' : false ,
18
+ 'bulkPagesToAdd' : 50 ,
19
+ 'pagesToAddIncrementRatio' : 1.4 ,
20
+ 'autoStart' : true ,
21
+ }
22
+ </ script >
23
+ < script src ="book.js " type ="text/javascript "> </ script >
24
+
25
+ < script type ="text/x-mathjax-config ">
26
+ MathJax . Hub . Config ( {
27
+ tex2jax : {
28
+ inlineMath : [ [ '$' , '$' ] ] ,
29
+ processEscapes : true
30
+ }
31
+ } ) ;
32
+ </ script >
33
+ < script type ="text/javascript " src ="http://cdn.mathjax.org/mathjax/2.0-latest/MathJax.js?config=TeX-AMS_HTML "> </ script >
34
+ </ head >
35
+
36
+ < body >
37
+ < div id ="flow ">
38
+ < p > Here it says X² using mathjax: $X^2$.</ p >
39
+ < p > Here it says X+10=Y using mathjax: $X+10=Y$.</ p >
40
+ < p > And this is the next line.</ p >
41
+ </ div >
42
+ </ body >
43
+
44
+ </ html >
You can’t perform that action at this time.
0 commit comments