softcover 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softcover/article_template/html/stylesheets/softcover.css +8 -15
- data/lib/softcover/article_template/latex_styles/softcover.sty +11 -0
- data/lib/softcover/book_template/html/stylesheets/softcover.css +8 -15
- data/lib/softcover/version.rb +1 -1
- data/softcover.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79bb305bb419ec12352f2f4135eaf83530eb6e7a99d553fd286335d157d0e0e9
|
4
|
+
data.tar.gz: b05bf508e983deebf73de7a24dcda7c533e551d31cac7736772efd8365cf7884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5c495b3c1071009ca3810787810e38703f83293c29e50d305ce62536afd8c98407e5020a66ed74bf7af56d1f3c7852c21e9935f3712df7c88ef134ef41e4680
|
7
|
+
data.tar.gz: 52d1bd960e634bb9474d988a903f62a7d30927159332e513ef84b430b2a863738595ef86212f2376f5e9d35c41fa98d032d35797aabb49d59f48f60dd070ee4d
|
@@ -307,6 +307,7 @@ body #book {
|
|
307
307
|
#book .footnotes {
|
308
308
|
border-top: 1px solid black;
|
309
309
|
margin-top: 5em;
|
310
|
+
padding-top: 1em;
|
310
311
|
font-size: 90%;
|
311
312
|
}
|
312
313
|
|
@@ -320,20 +321,12 @@ body #book {
|
|
320
321
|
margin-right: 0px;
|
321
322
|
}
|
322
323
|
|
323
|
-
#book
|
324
|
-
|
325
|
-
}
|
326
|
-
|
327
|
-
#book ol.footnotes a.arrow {
|
328
|
-
text-decoration: none !important;
|
329
|
-
}
|
330
|
-
|
331
|
-
#book ol.footnotes.nonumbers li {
|
332
|
-
list-style-type: none;
|
324
|
+
#book .footnote a {
|
325
|
+
text-decoration: underline;
|
333
326
|
}
|
334
327
|
|
335
|
-
#book
|
336
|
-
|
328
|
+
#book sup.footnote a:visited {
|
329
|
+
color: #002f72;
|
337
330
|
}
|
338
331
|
|
339
332
|
#book .footnotes .header {
|
@@ -344,11 +337,11 @@ body #book {
|
|
344
337
|
font-weight: bold;
|
345
338
|
}
|
346
339
|
|
347
|
-
#book
|
348
|
-
|
340
|
+
#book .footnote {
|
341
|
+
margin-bottom: 0.4em;
|
349
342
|
}
|
350
343
|
|
351
|
-
#book a:visited.
|
344
|
+
#book a:visited.footnote-link {
|
352
345
|
color: #002f72;
|
353
346
|
}
|
354
347
|
|
@@ -190,6 +190,8 @@
|
|
190
190
|
\newunicodechar{Ī}{\={I}}
|
191
191
|
\newunicodechar{Ō}{\={O}}
|
192
192
|
\newunicodechar{Ū}{\={U}}
|
193
|
+
\newunicodechar{«}{\guillemotleft}
|
194
|
+
\newunicodechar{»}{\guillemotright}
|
193
195
|
|
194
196
|
\usepackage{latex_styles/language_customization}
|
195
197
|
|
@@ -205,6 +207,15 @@
|
|
205
207
|
\let\PYZsq\textquotesingle}
|
206
208
|
\endgroup
|
207
209
|
|
210
|
+
% Add smallcaps
|
211
|
+
\usepackage{fontspec}
|
212
|
+
\setmainfont[ItalicFont = Times Italic,
|
213
|
+
BoldFont = Times Bold,
|
214
|
+
BoldItalicFont = Times Bold Italic,
|
215
|
+
SmallCapsFont=Bodoni 72 Smallcaps]
|
216
|
+
{Times}
|
217
|
+
\setmonofont{Courier}
|
218
|
+
|
208
219
|
% Include custom commands.
|
209
220
|
\usepackage{latex_styles/custom}
|
210
221
|
\usepackage{latex_styles/custom_pdf}
|
@@ -307,6 +307,7 @@ body #book {
|
|
307
307
|
#book .footnotes {
|
308
308
|
border-top: 1px solid black;
|
309
309
|
margin-top: 5em;
|
310
|
+
padding-top: 1em;
|
310
311
|
font-size: 90%;
|
311
312
|
}
|
312
313
|
|
@@ -320,20 +321,12 @@ body #book {
|
|
320
321
|
margin-right: 0px;
|
321
322
|
}
|
322
323
|
|
323
|
-
#book
|
324
|
-
|
325
|
-
}
|
326
|
-
|
327
|
-
#book ol.footnotes a.arrow {
|
328
|
-
text-decoration: none !important;
|
329
|
-
}
|
330
|
-
|
331
|
-
#book ol.footnotes.nonumbers li {
|
332
|
-
list-style-type: none;
|
324
|
+
#book .footnote a {
|
325
|
+
text-decoration: underline;
|
333
326
|
}
|
334
327
|
|
335
|
-
#book
|
336
|
-
|
328
|
+
#book sup.footnote a:visited {
|
329
|
+
color: #002f72;
|
337
330
|
}
|
338
331
|
|
339
332
|
#book .footnotes .header {
|
@@ -344,11 +337,11 @@ body #book {
|
|
344
337
|
font-weight: bold;
|
345
338
|
}
|
346
339
|
|
347
|
-
#book
|
348
|
-
|
340
|
+
#book .footnote {
|
341
|
+
margin-bottom: 0.4em;
|
349
342
|
}
|
350
343
|
|
351
|
-
#book a:visited.
|
344
|
+
#book a:visited.footnote-link {
|
352
345
|
color: #002f72;
|
353
346
|
}
|
354
347
|
|
data/lib/softcover/version.rb
CHANGED
data/softcover.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency 'polytexnic', '~> 1.
|
21
|
+
gem.add_dependency 'polytexnic', '~> 1.5.0'
|
22
22
|
gem.add_dependency 'msgpack', '~> 1.2.0'
|
23
23
|
gem.add_dependency 'nokogiri', '~> 1.8.1'
|
24
24
|
gem.add_dependency 'thor', '~> 0.18.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softcover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: polytexnic
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.
|
20
|
+
version: 1.5.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.
|
27
|
+
version: 1.5.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: msgpack
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|