-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
66 lines (50 loc) · 1.46 KB
/
index.php
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE HTML>
<html>
<head>
<title>Latex Editor</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="scripts/jquery-2.1.1.min.js"></script>
<script> var $j = jQuery.noConflict(); </script> <!-- fix conflict -->
<script src="scripts/prototype.js"></script>
<script src="ace-builds/src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/ltx/Lexer.js"></script>
<script src="scripts/ltx/Reader.js"></script>
<script src="scripts/ltx/Tag.js"></script>
<script src="scripts/ltx/Main.js"></script>
<script src="scripts/dom/dom.js"></script>
</head>
<body>
<div id="input">
\documentclass{article}
\addbibresource{references.bib}
\author{<?=$_GET["userToken"]?>}
\title{Document title here}
\date{\today}
\begin{document}
% title page ---------------------------------------------///
\maketitle
\clearpage
% table of contents page ---------------------------------///
\tableofcontents
\clearpage
\listoffigures
\listoftables
\clearpage
Some Example Text Here :D
\end{document}
</div>
<div id="document">
<div id="documenteditor"></div>
</div>
<div id="document-controls">
<button id="convert">convert</button>
<button id="bold">bold</button>
<button id="unbold">unbold</button><br/>
Table:
<button id="addtable">InsertTable</button>
<button id="addrow">Insert Row</button>
<button id="addcolumn">Insert Column</button>
<button id="toggleborder">Toggle Border</button>
</div>
</body>
</html>