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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d40907313a4ebc117aeb2a689694ff74ff5de75563d5083e411cbc4be474d3dd
4
- data.tar.gz: ae9af98aef58cb9b56f97e6b5a1e922e18aeb05890beae5c3049f2aa02b0074e
3
+ metadata.gz: 79bb305bb419ec12352f2f4135eaf83530eb6e7a99d553fd286335d157d0e0e9
4
+ data.tar.gz: b05bf508e983deebf73de7a24dcda7c533e551d31cac7736772efd8365cf7884
5
5
  SHA512:
6
- metadata.gz: 6830ec3de9bb9ce87634be2dcd8db8320d8cffd4af92267dfa254bf5a404905ca120ec592934c936417062f093c7bc99586e33241770a6e72e51fbd3016bb834
7
- data.tar.gz: 2d1617bc0c27cfdb7b7ae8aa7e9fdef6946a29173a05682bf98a2fbb8150fcfbda6c7962c06bf2a7ca72318ecfe7abb0d74d0d4820c01a626afc7168c713bf2b
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 sup.footnote a:visited {
324
- color: #002f72;
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 ul.footnotes.nonumbers li {
336
- list-style-type: none;
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 a.arrow {
348
- text-decoration: none !important;
340
+ #book .footnote {
341
+ margin-bottom: 0.4em;
349
342
  }
350
343
 
351
- #book a:visited.arrow {
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 sup.footnote a:visited {
324
- color: #002f72;
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 ul.footnotes.nonumbers li {
336
- list-style-type: none;
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 a.arrow {
348
- text-decoration: none !important;
340
+ #book .footnote {
341
+ margin-bottom: 0.4em;
349
342
  }
350
343
 
351
- #book a:visited.arrow {
344
+ #book a:visited.footnote-link {
352
345
  color: #002f72;
353
346
  }
354
347
 
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
@@ -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.4.0'
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.1
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-02-28 00:00:00.000000000 Z
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.4.0
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.4.0
27
+ version: 1.5.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: msgpack
30
30
  requirement: !ruby/object:Gem::Requirement