scholarmarkdown 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20933cf9193d63eef4465e326d1a6014c655fc16234fc1ce194f98e1d2b34969
4
- data.tar.gz: dfa95aab504006560eeab221fbb6bcff20c2f271b98a2f0363333fbc4af717f0
3
+ metadata.gz: 455f1189b86c78bc205abb692016a4891f8767479441404e464369fd7d0e81b6
4
+ data.tar.gz: de3cc6d02777907db8fa875ff6d2fa4d50bdf329ee84e00d7db2c9a37916125a
5
5
  SHA512:
6
- metadata.gz: 3a23222b4ecf2185e7beda50ed10546494751d35535a5265c47805ab957cc662e500e0e65ba71011a097d7507cb624feae7d200c32d4e76fe37c0fbbd01e9989
7
- data.tar.gz: 7c2bc5f298ad62467fbdeb3a37121e4b64e393cac55c629d42b018c8e96d7408d14948de98a6ee410815e0abda2d0db031608e05565408b8e478a7fa6d517b26
6
+ metadata.gz: adb862020e2ea8f827097267b8254e017328ee4fe55332df896f72bb4483470c1c340b2bd8e7cda8bc1f62f05ad9235ed833eae4775438b1d8a65c8d83f4faa6
7
+ data.tar.gz: f4e83e6b46935e784b2049cd497ea6fe10b26d06cfac12edf3a53290939ad308f876161941af80811afd42a16e057d24bfdda9f707172f5faee6fe2b31d45741
data/README.md CHANGED
@@ -29,6 +29,8 @@ $ bundle install
29
29
 
30
30
  _If you want to output articles in the double-column ACM template, execute `generate-scholarmarkdown my-awesome-article acm` instead._
31
31
 
32
+ _If you want to output articles in the single-column CEUR ART template, execute `generate-scholarmarkdown my-awesome-article ceur` instead._
33
+
32
34
  #### 3. Compile your article
33
35
 
34
36
  _This will start a live webserver that will continuously compile your article files upon any change._
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.1.0
@@ -23,4 +23,8 @@ if type == 'acm'
23
23
  # Override with ACM-specific files
24
24
  templatediracm = File.dirname(__FILE__) + '/template_override_acm'
25
25
  FileUtils.copy_entry(templatediracm, targetdir)
26
+ elsif type == 'ceur'
27
+ # Override with CEUR-specific files
28
+ templatedirceur = File.dirname(__FILE__) + '/template_override_ceur'
29
+ FileUtils.copy_entry(templatedirceur, targetdir)
26
30
  end
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: "My Awesome Article"
3
+ ---
4
+ <header markdown="1">
5
+ # <%= @item[:title] %>
6
+
7
+ {:#authors}
8
+ - <%= person 'John Doe', 'http://www.example.org/', 'http://www.example.org/#me' %>
9
+
10
+ {:#affiliations}
11
+ - {:#myaffiliation} Awesome Inc.
12
+
13
+ </header>
14
+
15
+ <!-- Hack to make our custom fonts load in print-mode -->
16
+ <!-- https://stackoverflow.com/questions/39364259/chrome-print-preview-doesnt-load-media-only-print-font-face -->
17
+ <span class='printfont1'> </span>
18
+ <span class='printfont2'> </span>
19
+ <span class='printfont3'> </span>
20
+ <span class='printfont4'> </span>
21
+
22
+ <div id="content">
23
+ <%= section 'abstract' %>
24
+
25
+ <main>
26
+ <!-- Add sections by specifying their file name, excluding the '.md' suffix. -->
27
+ <%= section 'introduction' %>
28
+ </main>
29
+
30
+ <footer></footer>
31
+
32
+ </div>
33
+ </div>
@@ -0,0 +1,1077 @@
1
+ /** CEUR ART: http://ceur-ws.org/Vol-XXX/
2
+ *
3
+ * Derived from ACM SIG, created by:
4
+ * Sarven Capadisli <info@csarven.ca> http://csarven.ca/#i
5
+ * http://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0
6
+ * https://github.com/linkeddata/dokieli
7
+ */
8
+
9
+ /*
10
+ ACM SIG template styles http://www.acm.org/sigs/publications/sigguide-v2.2sp
11
+ */
12
+
13
+ @media print {
14
+ @page {
15
+ margin:3cm 3cm 5.5cm 3cm;
16
+ }
17
+
18
+ #repeating-title {
19
+ display: none;
20
+ }
21
+
22
+ body {
23
+ font-size:12pt !important;
24
+ padding:0 !important;
25
+ margin:0 auto !important;
26
+ width:18cm !important;
27
+ height:19.06cm !important; /*US Letter - ACM Height */
28
+ }
29
+
30
+ h1,h2,h3,h4,h5,h6 {
31
+ overflow:hidden;
32
+ page-break-after:avoid;
33
+ margin-bottom:8pt;
34
+ }
35
+ h2 { font-size:16pt !important; }
36
+ h3 { font-size:15pt !important; }
37
+ h4 { font-size:14pt !important; }
38
+ h5 { font-size:12pt !important; }
39
+ h6 { font-size:12pt !important; }
40
+ h1 sup { font-size:9pt !important; }
41
+
42
+ body > nav,
43
+ body > header nav,
44
+ body > footer nav { display:none; }
45
+
46
+ #abstract {
47
+ padding:0 0 0 4em;
48
+ margin:0 0 2em 0;
49
+ line-height: 1.1em;
50
+ }
51
+ #abstract h2 {
52
+ margin-bottom: 0;
53
+ font-size: 14pt !important;
54
+ }
55
+
56
+ a, abbr {
57
+ text-decoration:none;
58
+ color:#000;
59
+ }
60
+ audio { display:none; }
61
+ iframe { display:none !important; }
62
+
63
+ #references ol {
64
+ font-family:"Linux Libertine", serif;
65
+ font-size:12pt;
66
+ }
67
+
68
+ .author-name {
69
+ font-size:12pt;
70
+ display:block;
71
+ }
72
+
73
+ #affiliations {
74
+ font-style: italic;
75
+ }
76
+
77
+ .author-org {
78
+ font-size:10pt;
79
+ display:block;
80
+ }
81
+
82
+ .author-email {
83
+ font-size:10pt;
84
+ font-style:italic;
85
+ display:block;
86
+ }
87
+
88
+ .blink {
89
+ animation:none;
90
+ -webkit-animation:none;
91
+ }
92
+
93
+ button {
94
+ margin:0 !important;
95
+ padding:0 !important;
96
+ font-size:9pt;
97
+ }
98
+
99
+ figure pre {
100
+ font-size:6pt;
101
+ }
102
+
103
+ }
104
+
105
+
106
+ * { margin:0; padding:0; filter:none !important; }
107
+ img { border:0; }
108
+
109
+ h2, h3, h4, h5, h6, p, ul, ol, li, pre, figure {
110
+ orphans:2;
111
+ widows:2;
112
+ }
113
+
114
+ body {
115
+ font-size:100%;
116
+ font-family:"Linux Libertine", serif;
117
+ /*position:relative;*/
118
+ counter-reset:section;
119
+ counter-reset:sub-section;
120
+ margin:0 auto;
121
+ padding:2em 0;
122
+ width:56.06em;
123
+ -moz-hyphens:auto;
124
+ -webkit-hyphens:auto;
125
+ -ms-hyphens:auto;
126
+ hyphens:auto;
127
+ line-height:1.3;
128
+ }
129
+
130
+ main {
131
+ section p {
132
+ text-indent:1em;
133
+ }
134
+ }
135
+
136
+ h1, #authors, #keywords, #categories-and-subject-descriptors, #general-terms, #references, pre, code, samp {
137
+ -moz-hyphens:none;
138
+ -webkit-hyphens:none;
139
+ -ms-hyphens:none;
140
+ hyphens:none;
141
+ }
142
+
143
+ #keywords, #ccsconcepts {
144
+ display: block;
145
+ margin-bottom: 0.5em;
146
+ text-transform:capitalize;
147
+ .title {
148
+ text-transform: uppercase;
149
+ display: block;
150
+ font-weight: bold;
151
+ font-size:1.333em;
152
+ margin: 0.75em 0 0.25em;
153
+ }
154
+ }
155
+
156
+ .firstpagefooter {
157
+ position: absolute;
158
+ right: 0;
159
+ bottom: 0;
160
+ left: 0;
161
+ width: 48%;
162
+ }
163
+
164
+ .footnotecopyright {
165
+ border-top: 1px solid black;
166
+ padding-top: 3px;
167
+ display: block;
168
+ line-height:1.1em;
169
+ font-size:0.8em;
170
+ }
171
+
172
+ #acmreferenceformat {
173
+ display: block;
174
+ line-height:1.2em;
175
+ font-size: 0.9em;
176
+ margin-bottom: 0.5em;
177
+ .title {
178
+ display: block;
179
+ font-weight: bold;
180
+ margin: 0.5em 0 0.25em;
181
+ }
182
+ }
183
+
184
+ #acknowledgements {
185
+ margin-top: 0.6em;
186
+ }
187
+
188
+ header {
189
+ .actions, .context {
190
+ display: none;
191
+ }
192
+ }
193
+
194
+ table, figure img, object, iframe, figure, audio, video, canvas { page-break-inside:avoid; }
195
+ object, iframe {
196
+ width:100% !important;
197
+ height:auto !important;
198
+ min-height:240px !important;
199
+ }
200
+ figure img, video { max-width:100% !important; height:auto !important; }
201
+
202
+
203
+ ol, ul, table, figure {
204
+ margin-bottom:1em;
205
+ }
206
+ ul, ol {
207
+ margin-left:1em;
208
+ }
209
+
210
+ h1 {
211
+ margin:0.75em auto 0.25em auto;
212
+ font-family: 'Linux Biolinum', sans-serif;
213
+ font-size:1.8em;
214
+ text-align: left;
215
+ }
216
+ aside article h1 { text-align:left; }
217
+ h1 sup,
218
+ #subtitle sup,
219
+ #authors sup {
220
+ font-weight:300;
221
+ font-size:0.5715em;
222
+ position:relative;
223
+ top:-3px;
224
+ }
225
+ #authors sup {
226
+ margin:0 0.1em;
227
+ }
228
+
229
+ h2, h3,
230
+ #document-identifier dt,
231
+ #document-published dt,
232
+ #document-modified dt,
233
+ #document-appeared dt,
234
+ #document-in-reply-to dt,
235
+ #document-annotation-service dt,
236
+ #document-license dt,
237
+ #document-format dt,
238
+ #document-inbox dt,
239
+ #document-see-also dt,
240
+ #appendix dt {
241
+ font-size:1.333em;
242
+ }
243
+ h4 {
244
+ font-size:1.2226em;
245
+ }
246
+ h2, dt {
247
+ font-weight:bold;
248
+ text-transform:capitalize;
249
+ }
250
+ h3 {
251
+ text-transform:capitalize;
252
+ }
253
+ h4 {
254
+ font-weight:normal;
255
+ font-style:italic;
256
+ text-transform:capitalize;
257
+ }
258
+
259
+ #subtitle {
260
+ font-family:Arial, sans-serif;
261
+ font-size:1.5em;
262
+ text-align:center;
263
+ }
264
+ h2 {
265
+ margin-top:1.5em;
266
+ }
267
+ #content section:first-child h2 {
268
+ margin-top:0;
269
+ }
270
+
271
+ h3, h4, h5, h6 {
272
+ margin-top:1em;
273
+ }
274
+
275
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) {
276
+ counter-increment:section;
277
+ counter-reset:sub-section;
278
+ }
279
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) h2 {
280
+ counter-reset:sub-section;
281
+ }
282
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) h3 {
283
+ counter-increment:sub-section;
284
+ counter-reset:sub-sub-section;
285
+ }
286
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]) h4 {
287
+ counter-increment:sub-sub-section;
288
+ counter-reset:sub-sub-sub-section;
289
+ }
290
+ main section:not([id=abstract]):not([id=document-status]):not([id=keywords]):not([id=references]):not([id=categories-and-subject-descriptors]):not([id=general-terms]):not([id=appendix]):not([id=contact-us]):not([id^=table-of-]) h2:before {
291
+ content:counter(section) "." "\00a0\00a0";
292
+ }
293
+ section h3:before {
294
+ content:counter(section) "." counter(sub-section) "." "\00a0";
295
+ }
296
+ section h4:before {
297
+ content:counter(section)"." counter(sub-section) "." counter(sub-sub-section) "." "\00a0";
298
+ }
299
+
300
+ p, ol, ul, dl {
301
+ text-align:justify;
302
+ }
303
+
304
+ li {
305
+ /*list-style-position:inside;*/
306
+ margin-bottom:0.25em;
307
+ }
308
+
309
+ code, samp {
310
+ font-size:0.95em;
311
+ font-family:"Courier New", monospace;
312
+ word-wrap:break-word;
313
+ }
314
+
315
+ p + math, ul + math, ol + math, dl + math, dd > math, div + math, section + math {
316
+ text-align:center;
317
+ margin-top:1em;
318
+ margin-bottom:1em;
319
+ }
320
+ p + math, ul + math, ol + math, dl + math, dd > math, div + math, section + math,
321
+ figure math {
322
+ display:block;
323
+ font-size:0.95em;
324
+ }
325
+ figure object,
326
+ figure img,
327
+ figure pre {
328
+ margin-bottom:1em;
329
+ }
330
+ figcaption,
331
+ caption {
332
+ font-weight:bold;
333
+ text-align:center;
334
+ }
335
+
336
+ .toc, .toc ol {
337
+ list-style:none;
338
+ -moz-hyphens:none;
339
+ -webkit-hyphens:none;
340
+ -ms-hyphens:none;
341
+ hyphens:none;
342
+ }
343
+ .toc ol,
344
+ .toc li {
345
+ margin:0;
346
+ text-align:left !important;
347
+ }
348
+
349
+ .toc li {
350
+ list-style-position:outside;
351
+ list-style-type:none;
352
+ margin-left:1.25em;
353
+ margin-bottom:0.25em;
354
+ }
355
+ .toc li:before {
356
+ margin-left:-1.25em;
357
+ }
358
+
359
+ .toc li:not([data-id=abstract]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
360
+ counter-increment:s;
361
+ counter-reset:sub-s;
362
+ }
363
+
364
+ .toc li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
365
+ counter-increment:sub-s;
366
+ counter-reset:sub-sub-s;
367
+ }
368
+ .toc li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
369
+ counter-increment:sub-sub-s;
370
+ counter-reset:sub-sub-sub-s;
371
+ }
372
+ .toc li li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]) {
373
+ counter-increment:sub-sub-sub-s;
374
+ counter-reset:sub-sub-sub-sub-s;
375
+ }
376
+ .toc li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
377
+ content:"\00a0" counter(s) "\00a0";
378
+ }
379
+ .toc li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
380
+ content:"\00a0" counter(s) "." counter(sub-s) "\00a0";
381
+ }
382
+ .toc li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
383
+ content:"\00a0" counter(s) "." counter(sub-s) "." counter(sub-sub-s) "\00a0";
384
+ }
385
+ .toc li li li li:not([data-id=abstract]):not([id=document-status]):not([data-id=keywords]):not([data-id=references]):not([data-id=categories-and-subject-descriptors]):not([data-id=general-terms]):not([data-id=appendix]):not([data-id=contact-us]):before {
386
+ content:"\00a0" counter(s) "." counter(sub-s) "." counter(sub-sub-s) "." counter(sub-sub-sub-s) "\00a0";
387
+ }
388
+
389
+ .toc li[data-id=abstract]:before, .toc li[data-id=document-status]:before, .toc li[data-id=keywords]:before, .toc li[data-id=references]:before, .toc li[data-id=categories-and-subject-descriptors]:before, .toc li[data-id=general-terms]:before, .toc li[data-id=appendix]:before, .toc li[data-id=contact-us]:before {
390
+ content:"\00a0\00a0\00a0\00a0";
391
+ }
392
+
393
+
394
+ .tex,
395
+ .latex {
396
+ text-transform:uppercase;
397
+ }
398
+
399
+ .tex > span,
400
+ .latex > span {
401
+ line-height:0;
402
+ text-transform:uppercase;
403
+ }
404
+
405
+ .latex > :first-child {
406
+ margin-left:-0.36em;
407
+ margin-right:-0.15em;
408
+ vertical-align:0.3em;
409
+ font-size:70%;
410
+ }
411
+
412
+ .tex > :last-child,
413
+ .latex > :last-child {
414
+ margin-left:-0.1667em;
415
+ margin-right:-0.125em;
416
+ vertical-align:-0.5ex;
417
+ }
418
+
419
+
420
+ dl.theorem,
421
+ dl.definition {
422
+ text-indent:1em;
423
+ }
424
+ dl.theorem dt {
425
+ display:inline;
426
+ font-variant:small-caps;
427
+ font-weight:normal;
428
+ text-transform:none;
429
+ }
430
+ dl.theorem dt:after {
431
+ content:". ";
432
+ }
433
+ dl.theorem dd {
434
+ display:inline;
435
+ }
436
+ dl.theorem dd span {
437
+ display:inline;
438
+ font-style:italic;
439
+ }
440
+ dl.definition dt {
441
+ display:inline;
442
+ font-weight:normal;
443
+ text-transform:none;
444
+ font-style:italic;
445
+ }
446
+ dl.definition dt:after {
447
+ content:". ";
448
+ }
449
+ dl.definition dd {
450
+ display:inline;
451
+ }
452
+ dl.definition dd span {
453
+ display:inline;
454
+ }
455
+ dl.proof dt {
456
+ display:inline;
457
+ font-variant:small-caps;
458
+ font-weight:normal;
459
+ text-transform:none;
460
+ }
461
+ dl.proof dt:after {
462
+ content:". ";
463
+ }
464
+ dl.proof dd {
465
+ display:inline;
466
+ }
467
+ dl.proof dd span {
468
+ display:inline;
469
+ }
470
+ dl.proof dd > *:last-child:after {
471
+ content:"\00a0\00a0\25a1";
472
+ font-size:1.5em;
473
+ }
474
+
475
+ dd {
476
+ margin:0 0 0.5em 0;
477
+ }
478
+
479
+ tfoot dl.abbr dt,
480
+ tfoot dl.abbr dd {
481
+ display:inline;
482
+ text-transform:none;
483
+ }
484
+ tfoot dl.abbr dd {
485
+ margin-left:0;
486
+ }
487
+ tfoot dl.abbr dd:after {
488
+ content:"\A";
489
+ white-space:pre;
490
+ }
491
+ tfoot dl.abbr dt:after {
492
+ content:": ";
493
+ }
494
+ tfoot dl.abbr {
495
+ -webkit-column-count:2;
496
+ -moz-column-count:2;
497
+ column-count:2;
498
+ }
499
+
500
+ math * {
501
+ padding:0;
502
+ }
503
+ fieldset {
504
+ padding:1em;
505
+ }
506
+ fieldset ul {
507
+ list-style-type:none;
508
+ }
509
+
510
+
511
+ #authors, #affiliations {
512
+ text-align:left;
513
+ margin:0 0 0.25em 0;
514
+ line-height:1;
515
+ }
516
+ #authors ul,
517
+ #categories-and-subject-descriptors ul,
518
+ #keywords ul {
519
+ margin-left:0;
520
+ }
521
+ #authors li,
522
+ #affiliations li,
523
+ #categories-and-subject-descriptors li,
524
+ #keywords li {
525
+ list-style-type:none;
526
+ }
527
+
528
+ #authors li {
529
+ display:inline-block;
530
+ vertical-align:top;
531
+ }
532
+ #authors li:not(:last-child):after {
533
+ content: ',';
534
+ }
535
+ #authors .first-name {
536
+ color: gray;
537
+ }
538
+
539
+ #author-name {
540
+ font-size:1.333em;
541
+ }
542
+
543
+ #author-org {
544
+ font-size:1.0835em;
545
+ }
546
+
547
+ #author-email {
548
+ font-family:Helvetica, Arial, sans-serif;
549
+ }
550
+
551
+
552
+
553
+
554
+ #authors {
555
+ position:relative;
556
+ }
557
+
558
+ #author-name,
559
+ #author-org,
560
+ #author-email {
561
+ position:static;
562
+ }
563
+
564
+
565
+ #authors dd:nth-of-type(1) {
566
+ position:absolute;
567
+ top:0;
568
+ left:1%;
569
+ }
570
+ #authors dd:nth-of-type(2) {
571
+ position:absolute;
572
+ top:0;
573
+ left:34%;
574
+ }
575
+ #authors dd:nth-of-type(3) {
576
+ position:absolute;
577
+ top:0;
578
+ left:67%;
579
+ }
580
+ #authors dd:nth-of-type(4) {
581
+ position:absolute;
582
+ top:6em;
583
+ left:1%;
584
+ }
585
+ #authors dd:nth-of-type(5) {
586
+ position:absolute;
587
+ top:6em;
588
+ left:34%;
589
+ }
590
+ #authors dd:nth-of-type(6) {
591
+ position:absolute;
592
+ top:6em;
593
+ left:67%;
594
+ }
595
+
596
+ #author-org li:nth-of-type(1) {
597
+ position:absolute;
598
+ top:1.35em;
599
+ left:1%;
600
+ }
601
+ #author-org li:nth-of-type(2) {
602
+ position:absolute;
603
+ top:1.35em;
604
+ left:34%;
605
+ }
606
+ #author-org li:nth-of-type(3) {
607
+ position:absolute;
608
+ top:1.35em;
609
+ left:67%;
610
+ }
611
+ #author-org li:nth-of-type(4) {
612
+ position:absolute;
613
+ top:8.65em;
614
+ left:1%;
615
+ }
616
+ #author-org li:nth-of-type(5) {
617
+ position:absolute;
618
+ top:8.65em;
619
+ left:34%;
620
+ }
621
+ #author-org li:nth-of-type(6) {
622
+ position:absolute;
623
+ top:8.65em;
624
+ left:67%;
625
+ }
626
+
627
+
628
+
629
+ #author-email li:nth-of-type(1) {
630
+ position:absolute;
631
+ top:5em;
632
+ left:1%;
633
+ }
634
+ #author-email li:nth-of-type(2) {
635
+ position:absolute;
636
+ top:5em;
637
+ left:34%;
638
+ }
639
+ #author-email li:nth-of-type(3) {
640
+ position:absolute;
641
+ top:5em;
642
+ left:67%;
643
+ }
644
+ #author-email li:nth-of-type(4) {
645
+ position:absolute;
646
+ top:13em;
647
+ left:1%;
648
+ }
649
+ #author-email li:nth-of-type(5) {
650
+ position:absolute;
651
+ top:13em;
652
+ left:34%;
653
+ }
654
+ #author-email li:nth-of-type(6) {
655
+ position:absolute;
656
+ top:13em;
657
+ left:67%;
658
+ }
659
+
660
+
661
+ #authors dt,
662
+ .authors dt {
663
+ display:none;
664
+ }
665
+
666
+ #authors dd,
667
+ #authors li {
668
+ display:inline-block;
669
+ line-height:1.2;
670
+ }
671
+ .authors dd {
672
+ display:inline;
673
+ }
674
+
675
+ #general-terms li,
676
+ #keywords li,
677
+ #document-format dd {
678
+ display:inline;
679
+ }
680
+ #general-terms li:after,
681
+ #categories-and-subject-descriptors li:after {
682
+ content:";\00a0";
683
+ }
684
+ #general-terms li:after,
685
+ #keywords li:after,
686
+ #document-format dd:after {
687
+ content:",\00a0";
688
+ }
689
+ #general-terms li:last-child:after,
690
+ #categories-and-subject-descriptors li:last-child:after,
691
+ #keywords li:last-child:after,
692
+ #document-format dd:last-child:after {
693
+ content:"";
694
+ }
695
+
696
+ #general-terms h2,
697
+ #categories-and-subject-descriptors h2 {
698
+ text-transform:capitalize;
699
+ }
700
+
701
+ .authors dd:not(:empty):after {
702
+ content:",\0020";
703
+ }
704
+ .authors dd:last-child:after {
705
+ content:"";
706
+ }
707
+
708
+
709
+ article > dl[id^="document-"] {
710
+ float:left;
711
+ width:46%;
712
+ margin:0 2%;
713
+ }
714
+
715
+ #document-identifier dd,
716
+ #document-published dd,
717
+ #document-modified dd,
718
+ #document-appeared dd,
719
+ #document-in-reply-to dd,
720
+ #document-annotation-service dd,
721
+ #document-license dd,
722
+ #document-format dd,
723
+ #document-inbox dd,
724
+ #document-see-also dd {
725
+ text-align:left;
726
+ margin-left:0;
727
+ }
728
+ header #document-identifier dd,
729
+ #document-event dt,
730
+ #document-event dd {
731
+ text-align:center;
732
+ }
733
+
734
+ html {
735
+ counter-reset:figure 0;
736
+ }
737
+ body {
738
+ counter-reset:listing 0;
739
+ }
740
+ article {
741
+ counter-reset:table 0;
742
+ }
743
+ // Links
744
+ a {
745
+ // Display URL of mandatory links
746
+ &.mandatory {
747
+ &:after {
748
+ content: ' (' attr(href) ')';
749
+ font-style: italic;
750
+ }
751
+ }
752
+ }
753
+ figure,
754
+ audio,
755
+ video {
756
+ margin-top:1em;
757
+ margin-bottom:1em;
758
+ position:relative;
759
+ text-align:center;
760
+ }
761
+ pre {
762
+ overflow:auto;
763
+ }
764
+ figure pre {
765
+ text-align:left;
766
+ }
767
+
768
+ figure.listing pre {
769
+ border:1px solid #000;
770
+ padding:0.5em;
771
+ counter-reset:precode;
772
+ margin-top:0;
773
+ }
774
+ figure.listing pre code:before,
775
+ figure.listing pre samp:before {
776
+ position:absolute;
777
+ left:-1.75em;
778
+ text-align:right;
779
+ #content:counter(precode);
780
+ counter-increment:precode;
781
+ }
782
+
783
+
784
+ table {
785
+ border-collapse:collapse;
786
+
787
+ /*-webkit-column-break-inside:avoid;*/
788
+ /*-moz-column-break-inside:avoid;*/
789
+ /*-o-column-break-inside:avoid;*/
790
+ /*-ms-column-break-inside:avoid;*/
791
+ /*column-break-inside:avoid;*/
792
+
793
+ /*-webkit-column-break-before:avoid;*/
794
+ /*-moz-column-break-before:avoid;*/
795
+ /*-o-column-break-before:avoid;*/
796
+ /*-ms-column-break-before:avoid;*/
797
+ /*column-break-before:avoid;*/
798
+
799
+ /*-webkit-column-break-after:avoid;*/
800
+ /*-moz-column-break-after:avoid;*/
801
+ /*-o-column-break-after:avoid;*/
802
+ /*-ms-column-break-after:avoid;*/
803
+ /*column-break-after:avoid;*/
804
+
805
+ /*-webkit-break-inside:avoid-column;*/
806
+ /*-moz-break-inside:avoid-column;*/
807
+ /*-o-break-inside:avoid-column;*/
808
+ /*-ms-break-inside:avoid-column;*/
809
+ /*break-inside:avoid-column;*/
810
+
811
+ /*-webkit-break-inside:avoid;*/
812
+ /*-moz-break-inside:avoid;*/
813
+ /*-o-break-inside:avoid;*/
814
+ /*-ms-break-inside:avoid;*/
815
+ /*break-inside:avoid;*/
816
+
817
+ /*-webkit-column-break-before:always;*/
818
+ /*-moz-column-break-before:always;*/
819
+ /*-o-column-break-before:always;*/
820
+ /*column-break-before:always;*/
821
+
822
+ /*-webkit-column-break-before:column;*/
823
+ /*-moz-column-break-before:column;*/
824
+ /*-o-column-break-before:column;*/
825
+ /*column-break-before:column;*/
826
+ /*break-after:column;*/
827
+
828
+ /*column-span:all;*/
829
+
830
+ /*display:table;*/
831
+ /*float:left;*/
832
+ /*overflow:auto;*/
833
+ /*display:inline-block;*/
834
+ width:calc(100% - 2px);
835
+ }
836
+ th {
837
+ border-bottom:1px solid;
838
+ }
839
+ table thead td:first-child,
840
+ table tfoot td:first-child {
841
+ border:0;
842
+ }
843
+ th,
844
+ td {
845
+ text-align:left;
846
+ }
847
+ .comparison-columns tbody td {
848
+ text-align:center;
849
+ }
850
+
851
+ table {
852
+ width: 100%;
853
+ }
854
+ th {
855
+ font-weight: bold;
856
+ border-bottom:1px solid;
857
+ }
858
+ table thead td:first-child, table tfoot td:first-child {
859
+ border:0;
860
+ }
861
+
862
+ caption {
863
+ padding:0.1em 0;
864
+ }
865
+ tbody th {
866
+ text-align:left;
867
+ }
868
+
869
+ thead {
870
+ /* Chrome shows duplicate thead rows on the same page: https://bugs.chromium.org/p/chromium/issues/detail?id=24826 */
871
+ display: table-row-group;
872
+ }
873
+
874
+ form {
875
+ margin:1em 0;
876
+ }
877
+ form li {
878
+ margin-bottom:0.5em;
879
+ }
880
+ form p {
881
+ text-indent:0;
882
+ }
883
+ fieldset {
884
+ padding:1em;
885
+ }
886
+ legend { font-weight:bold; }
887
+ label {
888
+ display:inline-block;
889
+ font-weight:bold;
890
+ }
891
+ form label {
892
+ width:17%;
893
+ vertical-align:top;
894
+ }
895
+ label[for=nobot] {
896
+ width:auto;
897
+ }
898
+ input,
899
+ textarea,
900
+ label {
901
+ padding:0.25em;
902
+ }
903
+ input,
904
+ textarea,
905
+ select,
906
+ button {
907
+ font-family:inherit;
908
+ font-size:inherit;
909
+ }
910
+ input[type=submit] {
911
+ font-weight:bold;
912
+ }
913
+
914
+ figcaption {
915
+ margin-bottom:1em;
916
+ }
917
+
918
+
919
+ .count {
920
+ margin-bottom:0;
921
+ font-weight:normal;
922
+ font-size:1em;
923
+ }
924
+ .count:after {
925
+ content:':';
926
+ }
927
+ section article {
928
+ margin:0 0 2em 0;
929
+ }
930
+ section article article {
931
+ padding-left:2.25em;
932
+ margin-bottom:0;
933
+ border-left:2px solid #ccc;
934
+ }
935
+ section article h1,
936
+ section article h2,
937
+ section article h3 {
938
+ margin-bottom:0;
939
+ font-size:1em;
940
+ }
941
+ section article h1,
942
+ section article h2,
943
+ section article h3 {
944
+ margin-top:0;
945
+ }
946
+ section article img {
947
+ vertical-align:middle;
948
+ margin-right:0.25em;
949
+ }
950
+ section article p:last-child {
951
+ margin-bottom:0;
952
+ }
953
+
954
+ .references {
955
+ font-size: 1.05em;
956
+ line-height: 1.1em;
957
+ margin-top: 0.35em;
958
+ dt {
959
+ width: 16px;
960
+ font-size: 1.1em;
961
+ font-weight: normal;
962
+ text-align: right;
963
+ float: left;
964
+ }
965
+ dd {
966
+ margin: 0;
967
+ padding-left: 0.5em;
968
+ display: block;
969
+ overflow: hidden;
970
+ }
971
+ }
972
+
973
+ #references ol {
974
+ counter-reset:list-order;
975
+ margin-left:0;
976
+ }
977
+ #references ol li {
978
+ counter-increment:list-order;
979
+ list-style-position:outside;
980
+ list-style-type:none;
981
+ margin-left:1.85em;
982
+ text-align:left;
983
+ }
984
+ #references ol li:before {
985
+ content:"[" counter(list-order) "]\00a0\00a0\00a0";
986
+ margin-left:-1.85em;
987
+ }
988
+
989
+ #appendix section:first-child h2 {
990
+ margin-top:0;
991
+ }
992
+
993
+ #appendix section {
994
+ counter-increment:appendix;
995
+ counter-reset:sub-appendix;
996
+ }
997
+ #appendix section section {
998
+ counter-increment:sub-appendix;
999
+ counter-reset:sub-sub-appendix;
1000
+ }
1001
+ #appendix section section section {
1002
+ counter-increment:sub-sub-appendix;
1003
+ }
1004
+ #appendix section h2:before {
1005
+ content:counter(appendix, upper-latin) "\00a0\00a0\00a0\00a0";
1006
+ }
1007
+ #appendix section section h3:before {
1008
+ content:counter(appendix, upper-latin) "." counter(sub-appendix) "\00a0\00a0\00a0";
1009
+ }
1010
+ #appendix section section section h4:before {
1011
+ content:counter(appendix, upper-latin) "." counter(sub-appendix)"." counter(sub-sub-appendix) "\00a0\00a0\00a0";
1012
+ }
1013
+
1014
+
1015
+ #interaction-write,
1016
+ dl.entry-author,
1017
+ dl.datetimestamp,
1018
+ dl.entry-replies,
1019
+ dl.article_labels * {
1020
+ display:none;
1021
+ }
1022
+
1023
+ body > header,
1024
+ body > footer {
1025
+ text-align:left;
1026
+ }
1027
+ body > header {
1028
+ margin-bottom:1em;
1029
+ }
1030
+ body > footer {
1031
+ margin-top:2em;
1032
+ }
1033
+
1034
+ header nav ul {
1035
+ text-align:center;
1036
+ }
1037
+
1038
+ header nav li:first-child:before {
1039
+ content:"";
1040
+ }
1041
+ header nav li:before {
1042
+ content:"* ";
1043
+ }
1044
+ header nav li {
1045
+ display:inline;
1046
+ list-style-type:none;
1047
+ }
1048
+
1049
+ ul#program-committee {
1050
+ column-count: 2;
1051
+ -moz-column-count: 2;
1052
+ -webkit-column-count: 2;
1053
+ text-align:left;
1054
+ }
1055
+
1056
+ .on {
1057
+ display:block;
1058
+ }
1059
+
1060
+ @media only screen
1061
+ and (min-device-width:320px)
1062
+ and (max-device-width:568px) {
1063
+ body { font-size:100%; }
1064
+ #content {
1065
+ -webkit-column-count:1;
1066
+ -moz-column-count:1;
1067
+ column-count:1;
1068
+ }
1069
+ }
1070
+
1071
+ @media only screen
1072
+ and (min-device-width:768px)
1073
+ and (max-device-width:1024px) {
1074
+ body {
1075
+ font-size:100%;
1076
+ }
1077
+ }
@@ -0,0 +1,9 @@
1
+ @import "ceurart.scss";
2
+ @import "shared.scss";
3
+ @import "shared_override.scss";
4
+
5
+ header {
6
+ .actions, .context {
7
+ display: none;
8
+ }
9
+ }
@@ -0,0 +1,46 @@
1
+ @mixin clearfix {
2
+ &:after {
3
+ content: "";
4
+ display: table;
5
+ clear: both;
6
+ }
7
+ }
8
+
9
+ @font-face {
10
+ font-family: 'Linux Libertine';
11
+ src: url('../fonts/LinLibertine_R.woff') format('woff');
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ }
15
+ @font-face {
16
+ font-family: 'Linux Libertine';
17
+ src: url('../fonts/LinLibertine_RB.woff') format('woff');
18
+ font-weight: bold;
19
+ font-style: normal;
20
+ }
21
+ @font-face {
22
+ font-family: 'Linux Biolinum';
23
+ src: url('../fonts/LinBiolinum_R.woff') format('woff');
24
+ font-weight: normal;
25
+ font-style: normal;
26
+ }
27
+ @font-face {
28
+ font-family: 'Linux Biolinum';
29
+ src: url('../fonts/LinBiolinum_RB.woff') format('woff');
30
+ font-weight: bold;
31
+ font-style: normal;
32
+ }
33
+ .printfont1 {
34
+ font-family: "Linux Libertine", sans-serif;
35
+ }
36
+ .printfont2 {
37
+ font-family: "Linux Libertine", sans-serif;
38
+ font-weight: bold;
39
+ }
40
+ .printfont3 {
41
+ font-family: "Linux Biolinum", sans-serif;
42
+ }
43
+ .printfont4 {
44
+ font-family: "Linux Biolinum", sans-serif;
45
+ font-weight: bold;
46
+ }
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: scholarmarkdown 3.0.1 ruby lib
5
+ # stub: scholarmarkdown 3.1.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "scholarmarkdown".freeze
9
- s.version = "3.0.1"
9
+ s.version = "3.1.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Ruben Taelman".freeze]
14
- s.date = "2022-10-03"
14
+ s.date = "2022-10-11"
15
15
  s.email = "rubensworks@gmail.com".freeze
16
16
  s.executables = ["generate-scholarmarkdown".freeze]
17
17
  s.extra_rdoc_files = [
@@ -53,6 +53,14 @@ Gem::Specification.new do |s|
53
53
  "bin/template_override_acm/content/styles/acm.scss",
54
54
  "bin/template_override_acm/content/styles/print.scss",
55
55
  "bin/template_override_acm/content/styles/shared_override.scss",
56
+ "bin/template_override_ceur/content/fonts/LinBiolinum_R.woff",
57
+ "bin/template_override_ceur/content/fonts/LinBiolinum_RB.woff",
58
+ "bin/template_override_ceur/content/fonts/LinLibertine_R.woff",
59
+ "bin/template_override_ceur/content/fonts/LinLibertine_RB.woff",
60
+ "bin/template_override_ceur/content/index.md.erb",
61
+ "bin/template_override_ceur/content/styles/ceurart.scss",
62
+ "bin/template_override_ceur/content/styles/print.scss",
63
+ "bin/template_override_ceur/content/styles/shared_override.scss",
56
64
  "lib/scholarmarkdown.rb",
57
65
  "lib/scholarmarkdown/citationstyles/lncs-custom.csl",
58
66
  "lib/scholarmarkdown/filter/acronym.rb",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scholarmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Taelman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puma
@@ -263,6 +263,14 @@ files:
263
263
  - bin/template_override_acm/content/styles/acm.scss
264
264
  - bin/template_override_acm/content/styles/print.scss
265
265
  - bin/template_override_acm/content/styles/shared_override.scss
266
+ - bin/template_override_ceur/content/fonts/LinBiolinum_R.woff
267
+ - bin/template_override_ceur/content/fonts/LinBiolinum_RB.woff
268
+ - bin/template_override_ceur/content/fonts/LinLibertine_R.woff
269
+ - bin/template_override_ceur/content/fonts/LinLibertine_RB.woff
270
+ - bin/template_override_ceur/content/index.md.erb
271
+ - bin/template_override_ceur/content/styles/ceurart.scss
272
+ - bin/template_override_ceur/content/styles/print.scss
273
+ - bin/template_override_ceur/content/styles/shared_override.scss
266
274
  - lib/scholarmarkdown.rb
267
275
  - lib/scholarmarkdown/citationstyles/lncs-custom.csl
268
276
  - lib/scholarmarkdown/filter/acronym.rb