5
5
< meta charset ="UTF-8 ">
6
6
< meta name ="viewport " id ="meta-viewport " content ="width=device-width, initial-scale=1 ">
7
7
< meta name ="description " content ="A powerful and robust LaTeX, ConTeXt, Plain TeX, PreTeXt, EPlain, Markdown, Textile, CSV and HTML Table Editor and Generator. Import data from LaTeX, Excel, LibreOffice and more. ">
8
- < script data-ad-client ="ca-pub-5146982563696073 " async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js "> </ script >
8
+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5146982563696073 "
9
+ crossorigin ="anonymous "> </ script >
9
10
< title > LaTeX Tables Editor</ title >
10
11
< link href ="css.css " rel ="stylesheet ">
11
12
< link href ="css/bootstrap.min.css " rel ="stylesheet ">
19
20
</ script >
20
21
< script type ="text/javascript " src ="color.js ">
21
22
</ script >
23
+ < script type ="text/javascript " src ="tableDecimal.js ">
24
+ </ script >
22
25
< script type ="text/javascript " src ="js.js "> </ script >
23
26
< script type ="text/javascript "> Table . new = true ; </ script >
24
27
</ head >
41
44
< div class ="mobile-col-xs " onclick ="table.prepareEmail() "> < span class ="glyphicon glyphicon-envelope " aria-hidden ="true "> </ span > </ div >
42
45
</ div >
43
46
</ div >
44
- < center >
45
- <!-- Header----->
47
+
48
+ < center style ="padding:20px;padding-bottom:45px; ">
49
+ <!-- Header -->
46
50
< ins class ="adsbygoogle "
47
- style ="display:inline- block;width:728px;height:90px "
51
+ style ="display:block "
48
52
data-ad-client ="ca-pub-5146982563696073 "
49
- data-ad-slot ="9054299450 "> </ ins >
53
+ data-ad-slot ="9054299450 "
54
+ data-ad-format ="horizontal "
55
+ data-full-width-responsive ="true "> </ ins >
50
56
< script >
51
57
( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
52
58
</ script >
289
295
< button title ="Settings " class ="btn btn-default " data-target ="#format-settings " data-toggle-second ="tooltip " data-toggle ="modal "> < span class ="glyphicon glyphicon-cog "> </ span > </ button >
290
296
</ div >
291
297
292
- <!-- Before-Generate
293
- <ins class="adsbygoogle"
294
- style="display:block"
295
- data-ad-client="ca-pub-5146982563696073"
296
- data-ad-slot="1874006957"
297
- data-ad-format="auto"
298
- data-full-width-responsive="true"></ins>
299
- <script>
300
- (adsbygoogle = window.adsbygoogle || []).push({});
301
- </script>--->
302
-
303
298
</ center >
304
299
< br >
305
300
< div class ="row ">
@@ -401,11 +396,6 @@ <h4 class="panel-title">
401
396
</ div >
402
397
</ div >
403
398
404
- <!-- Right-Panel
405
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-5146982563696073" data-ad-slot="9752496976" data-ad-format="auto" data-full-width-responsive="true"></ins>
406
- <script>
407
- (adsbygoogle = window.adsbygoogle || []).push({});
408
- </script>-->
409
399
410
400
</ div >
411
401
</ div >
@@ -765,6 +755,10 @@ <h4 class="modal-title" id="myModalLabel">Load From Worksheet <span class="label
765
755
.prn,
766
756
.eth ">
767
757
</ div >
758
+ < div >
759
+ < label > < input type ="checkbox " id ="opt-gen-comma "> Use comma instead of dot as decimal separator</ label >
760
+ < label > < input type ="checkbox " id ="opt-gen-surround "> Surround numbers with < code > $...$</ code > </ label >
761
+ </ div >
768
762
< button onclick ="table.importExcel() " id ="excel-button " style ="margin:4px; " class ="btn btn-primary "> OK</ button >
769
763
</ div >
770
764
< div id ="worksheet-loading-status "> </ div >
@@ -1084,6 +1078,16 @@ <h4>Textile options</h4>
1084
1078
</ div >
1085
1079
1086
1080
< script type ="text/javascript ">
1081
+ tableDecimal ( "#table" , {
1082
+ attributeChar :"data-align" ,
1083
+ attributeCharValue :"d" ,
1084
+ char :"." ,
1085
+ observe :true ,
1086
+ paddingElement :"div[contenteditable]" ,
1087
+ observeFilter : function ( ) {
1088
+ return document . getElementById ( "table" ) . querySelector ( 'td[data-align="d"' ) ;
1089
+ }
1090
+ } ) ;
1087
1091
$ ( function ( ) {
1088
1092
var isIE = /*@cc_on !@*/ false || ! ! document . documentMode ;
1089
1093
var isEdge = ! isIE && ! ! window . StyleMedia ;
@@ -1212,4 +1216,4 @@ <h4>Textile options</h4>
1212
1216
</ script >
1213
1217
</ body >
1214
1218
1215
- </ html >
1219
+ </ html >
0 commit comments