-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathindex.html
235 lines (225 loc) · 9.17 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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!DOCTYPE html>
<html id="view-half">
<head>
<title>JaxEdit LaTeX Editor</title>
<!--
/* JaxEdit: online LaTeX editor with live preview
* Copyright (c) 2011-2017 JaxEdit project
* License: GNU Lesser General Public License, Version 3
* Source: https://github.com/zohooo/jaxedit
*/
-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="online LaTeX editor with live preview" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!--[if lt IE 8]>
<script>
alert("Your browser is too old. Please upgrade it to latest version.");
location.href = "http://ie.microsoft.com/";
</script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="library/inliner/inliner.css" />
<link rel="stylesheet" type="text/css" href="library/inliner/outliner.css" />
<link rel="stylesheet" type="text/css" href="editor/jaxedit.css" />
</head>
<body>
<div id="wrap">
<div id="head">
<div id="logo">
<a id="project" href="https://zohooo.github.io/jaxedit" target="_blank" title="JaxEdit">JaxEdit</a>
<a id="version" href="https://github.com/zohooo/jaxedit/releases" target="_blank" title="Download"></a>
</div>
<input type="file" id="opensel">
<div id="menubar" class="busy">
<span class="btngroup">
<span id="menu-new" class="btngroup dropdown-toggle">
<button type="button" class="button" id="newbtn" disabled><i class="icon-new"></i> <span class="btn-name">New</span></button>
<ul class="dropdown-menu" id="example">
<li data-name="article.tex">Example Article</li>
<li data-name="beamer.tex">Example Beamer</li>
<li data-name="jaxedit.tex">JaxEdit Introduction</li>
</ul>
</span>
<button type="button" class="button" id="openbtn" disabled><i class="icon-disk-open"></i> <span class="btn-name">Open</span></button>
<button type="button" class="button" id="savebtn"><i class="icon-disk-save"></i> <span class="btn-name">Save</span></button>
</span>
<!--
<span class="btngroup">
<button type="button" class="button" id="symbol-btn"><span class="btn-name">Symbol</span></button>
<button type="button" class="button" id="table-btn"><span class="btn-name">Table</span></button>
<button type="button" class="button" id="image-btn"><span class="btn-name">Image</span></button>
</span>
-->
<span class="btngroup">
<button type="button" class="button" id="sharebtn"><i class="icon-share"></i> <span class="btn-name">Share</span></button>
<button type="button" class="button" id="presbtn" disabled><i class="icon-present"></i> <span class="btn-name">Present</span></button>
<button type="button" class="button" id="optbtn"><i class="icon-option"></i> <span class="btn-name">Option</span></button>
</span>
<span class="btngroup">
<button type="button" class="button" id="helpbtn"><i class="icon-help"></i> <span class="btn-name">Help</span></button>
</span>
</div>
</div>
<div id="main">
<div id="left">
<div id="ltop">
<span>Source</span>
<span id="toggle-halfview" class="icon-half"></span>
<span id="toggle-showview">Show</span>
<span id="filename">noname.tex</span>
</div>
<div id="source">
<textarea id="codearea">
% -*- coding: utf-8 -*-
\documentclass{beamer}
% https://github.com/zohooo/epyt
% \usetheme{epyt}
\newtheorem{thm}{Theorem}
\begin{document}
\title{Online LaTeX Editor}
\author{JaxEdit Project}
\date{July 3rd, 2012}
\begin{frame}
\titlepage
\end{frame}
\section[Introduction]{Long Introduction}
\begin{frame}
We have the Cauchy-Schwarz inequality:
\[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]
where $a_k$ and $b_k$ are real numbers, for any $k$.
\end{frame}
\section{Calculus}
\begin{frame}
\begin{thm}
If we have the following conditions:
\begin{enumerate}
\item $f(x)$ is continuous on $[a,b]$,
\item $f(a)$ and $f(b)$ are of different signs,
\end{enumerate}
Then there exists a point $\xi\in(a,b)$ such that $f(\xi)=0$.
\end{thm}
\end{frame}
\end{document}
</textarea>
</div>
<div id="lbot"></div>
</div>
<div id="resizer" title="Resize"></div>
<div id="right">
<div id="rtop">
<span>Preview</span>
<span id="toggle-quadview" class="icon-quad"></span>
<span id="toggle-codeview">Code</span>
</div>
<div id="preview">
<div id="showarea"></div>
</div>
<div id="rbot"></div>
</div>
</div>
</div>
<div id="overlay"></div>
<div id="container">
<div id="dialog">
<div id="dialog-info">
<div class="dlghead">
<span class="dlgtitle"></span>
<span class="dlgclose icon-close"></span>
</div>
<div class="dlgbody">
<div class="dialog-middle">Loading...</div>
</div>
<div class="dlgfoot">
<button type="button" class="button dbtnclose">Close</button>
</div>
</div>
<div id="dialog-option">
<div class="dlghead">
<span class="dlgtitle"></span>
<span class="dlgclose icon-close"></span>
</div>
<div class="dlgbody">
<div id="dialog-option-drive" class="the-option">
<span>Default Drive: </span>
<span>
<input type="radio" name="drive" value="localdrive" id="dialog-option-drive-1" checked><label for="dialog-option-drive-1">Local Drive</label>
<input type="radio" name="drive" value="skydrive" id="dialog-option-drive-2"><label for="dialog-option-drive-2">SkyDrive</label>
</span>
</div>
<div id="dialog-option-code" class="the-option">
<span>Code Editor: </span>
<span>
<input type="radio" name="code" value="simple" checked id="dialog-option-code-1"><label for="dialog-option-code-1">Simple</label>
<input type="radio" name="code" value="colorful" id="dialog-option-code-2"><label for="dialog-option-code-2">Colorful</label>
</span>
</div>
</div>
<div class="dlgfoot">
<button type="button" class="button" id="dbtndone">Done</button>
</div>
</div>
<div id="dialog-file">
<div class="dlghead">
<span class="dlgtitle"></span>
<span class="dlgclose icon-close"></span>
</div>
<div class="dlgbody">
<div id="dialog-file-info">
<span id="dialog-file-current">Current folder: <span id="dialog-file-inside"></span></span>
<span id="dialog-file-walkup"><a href="javascript:void(0)">Go Up</a></span>
</div>
<div id='dialog-file-list'></div>
</div>
<div class="dlgfoot">
<span id="footsave">
<span id="savespan">Save as: <input type="text" size="20" id="savename" value="hello" />.txt</span>
<button type="button" class="button" id="dbtnsave">Save</button>
</span>
<span id="footclose">
<button type="button" class="button dbtnclose">Close</button>
</span>
</div>
</div>
<div id="dialog-fetch">
<div class="dlghead">
<span class="dlgtitle"></span>
<span class="dlgclose icon-close"></span>
</div>
<div class="dlgbody">
<div class="dialog-middle">
<div class="share_info">Please enter sharing password:</div>
<input id="share_scode" type="text" class="share_input" name="scode" maxlength="15" tabindex="1" />
</div>
</div>
<div class="dlgfoot">
<button type="button" class="button" id="dbtnfetch" tabindex="4">Submit</button>
</div>
</div>
<div id="dialog-share">
<div class="dlghead">
<span class="dlgtitle"></span>
<span class="dlgclose icon-close"></span>
</div>
<div class="dlgbody">
<div class="share_info">Password for reading html output:</div>
<input id="share_rcode" type="text" class="share_input" name="rcode" maxlength="15" tabindex="1" />
<div class="share_info">Password for editing latex source:</div>
<input id="share_wcode" type="text" class="share_input" name="wcode" maxlength="15" tabindex="2" />
<div class="share_info">Email for resetting above passwords:</div>
<input id="share_email" type="text" placeholder="[email protected]" class="share_input" name="email" maxlength="31" tabindex="3" />
<div id="share_note">
<span>Note: The shared file will be deleted one year after last visit.</span>
<span><a href="manual/help.html#share" target="_blank">[help]</a></span>
</div>
</div>
<div class="dlgfoot">
<button type="button" class="button" id="dbtnshare" tabindex="4">Share</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="library/inliner/inliner.js"></script>
<script type="text/javascript" src="editor/jaxedit.js"></script>
</body>
</html>