softcover 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/softcover/article_template/html/stylesheets/softcover.css +52 -0
- data/lib/softcover/article_template/latex_styles/softcover.sty +5 -0
- data/lib/softcover/book_template/html/stylesheets/softcover.css +52 -0
- data/lib/softcover/book_template/latex_styles/softcover.sty +21 -0
- data/lib/softcover/version.rb +1 -1
- data/softcover.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c38394c82dcaf6fdad6ef0b02168cba853b661c262217b1d822fa725d3c77dbc
|
4
|
+
data.tar.gz: 5c0fd7fbec4e582bfcd5f2737ce8aa927defb6158968e67de59b38ab5aee3e32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92ff5ae3cd49c6809295481d26e32fb4b80da3dd9e529b85294986874baabaaddb69645e0ae8cd8551a75f98fbecfeaa7cecc9627024c38a5c4c921e7a308520
|
7
|
+
data.tar.gz: 50a4b9f61f45afb6c285a54c48f716f324f3ffe61306f37fb37cd11bd7770c28e5a5031348e566c72ea977a8009d2e585ad7d528ff5997468973cb4a4bbcaccb
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
softcover (1.
|
4
|
+
softcover (1.10.0)
|
5
5
|
activesupport (= 4.2.11.3)
|
6
6
|
async_sinatra (= 1.1.0)
|
7
7
|
coffee-script (= 2.4.1)
|
@@ -12,7 +12,7 @@ PATH
|
|
12
12
|
maruku (= 0.7.3)
|
13
13
|
msgpack (= 1.2.10)
|
14
14
|
nokogiri (= 1.15.2)
|
15
|
-
polytexnic (
|
15
|
+
polytexnic (~> 1.10)
|
16
16
|
pygments.rb (= 2.3.1)
|
17
17
|
rest-client (= 2.1.0)
|
18
18
|
ruby-progressbar (= 1.13.0)
|
@@ -73,7 +73,7 @@ GEM
|
|
73
73
|
rb-inotify (~> 0.9, >= 0.9.10)
|
74
74
|
maruku (0.7.3)
|
75
75
|
method_source (1.0.0)
|
76
|
-
mime-types (3.5.
|
76
|
+
mime-types (3.5.1)
|
77
77
|
mime-types-data (~> 3.2015)
|
78
78
|
mime-types-data (3.2023.0808)
|
79
79
|
minitest (5.19.0)
|
@@ -83,7 +83,7 @@ GEM
|
|
83
83
|
racc (~> 1.4)
|
84
84
|
nokogiri (1.15.2-x86_64-darwin)
|
85
85
|
racc (~> 1.4)
|
86
|
-
polytexnic (1.
|
86
|
+
polytexnic (1.10.0)
|
87
87
|
json (= 2.3.1)
|
88
88
|
kramdown (= 2.4.0)
|
89
89
|
msgpack (= 1.2.10)
|
@@ -152,7 +152,7 @@ GEM
|
|
152
152
|
unf (0.1.4)
|
153
153
|
unf_ext
|
154
154
|
unf_ext (0.0.8.2)
|
155
|
-
webmock (3.
|
155
|
+
webmock (3.19.1)
|
156
156
|
addressable (>= 2.8.0)
|
157
157
|
crack (>= 0.3.2)
|
158
158
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -476,3 +476,55 @@ body #book {
|
|
476
476
|
#book span.intersentencespace {
|
477
477
|
margin-right: 0.2em;
|
478
478
|
}
|
479
|
+
|
480
|
+
/* Theorem and proof environments. */
|
481
|
+
/* Theorems, lemmas, etc., are "plain" style. */
|
482
|
+
/* Definitions, axioms, etc., are "definition" style. */
|
483
|
+
/* Remarks and claims are "remark" style. */
|
484
|
+
/* See http://www.ams.org/arc/tex/amscls/amsthdoc.pdf */
|
485
|
+
/* Most but not all of the AMS types are supported by PolyTeXnic. */
|
486
|
+
.plain, .definition, .remark {
|
487
|
+
margin-bottom: 1em;
|
488
|
+
margin-top: 1em;
|
489
|
+
}
|
490
|
+
.plain .number, .definition .number, .remark .number {
|
491
|
+
font-style: normal;
|
492
|
+
margin-right: 0.1em;
|
493
|
+
}
|
494
|
+
.plain {
|
495
|
+
font-style: italic;
|
496
|
+
}
|
497
|
+
.number .theorem_description {
|
498
|
+
font-weight: normal;
|
499
|
+
}
|
500
|
+
/* Definitions are "definition" style, which basically means non-italic. */
|
501
|
+
/* This is actually the default, but we include it here for completeness. */
|
502
|
+
.definition {
|
503
|
+
font-style: normal;
|
504
|
+
}
|
505
|
+
/* The remark style involves an italic label and no boldface. */
|
506
|
+
.remark {
|
507
|
+
font-style: normal;
|
508
|
+
}
|
509
|
+
.remark .number {
|
510
|
+
font-weight: normal;
|
511
|
+
}
|
512
|
+
.remark_label {
|
513
|
+
font-style: italic;
|
514
|
+
}
|
515
|
+
/* The default content before and after ("Proof. " and "∎") can be overridden */
|
516
|
+
/* in a user stylesheet. */
|
517
|
+
.proof {
|
518
|
+
padding-bottom: 0.5em;
|
519
|
+
padding-top: 0.5em;
|
520
|
+
}
|
521
|
+
.proof p:first-child:before {
|
522
|
+
content: "Proof. ";
|
523
|
+
font-style: italic;
|
524
|
+
margin-right: 0.2em;
|
525
|
+
}
|
526
|
+
.proof p:last-child:after {
|
527
|
+
/* U+220E ∎ END OF PROOF */
|
528
|
+
content: "∎";
|
529
|
+
float: right;
|
530
|
+
}
|
@@ -217,6 +217,11 @@
|
|
217
217
|
{Times New Roman}
|
218
218
|
\setmonofont{Courier}
|
219
219
|
|
220
|
+
% Restore the default "theorem" theorem style.
|
221
|
+
% This can still be overriden in custom style files
|
222
|
+
% or in the main file.
|
223
|
+
\theoremstyle{theorem}
|
224
|
+
|
220
225
|
% Include custom commands.
|
221
226
|
\usepackage{latex_styles/custom}
|
222
227
|
\usepackage{latex_styles/custom_pdf}
|
@@ -476,3 +476,55 @@ body #book {
|
|
476
476
|
#book span.intersentencespace {
|
477
477
|
margin-right: 0.2em;
|
478
478
|
}
|
479
|
+
|
480
|
+
/* Theorem and proof environments. */
|
481
|
+
/* Theorems, lemmas, etc., are "plain" style. */
|
482
|
+
/* Definitions, axioms, etc., are "definition" style. */
|
483
|
+
/* Remarks and claims are "remark" style. */
|
484
|
+
/* See http://www.ams.org/arc/tex/amscls/amsthdoc.pdf */
|
485
|
+
/* Most but not all of the AMS types are supported by PolyTeXnic. */
|
486
|
+
.plain, .definition, .remark {
|
487
|
+
margin-bottom: 1em;
|
488
|
+
margin-top: 1em;
|
489
|
+
}
|
490
|
+
.plain .number, .definition .number, .remark .number {
|
491
|
+
font-style: normal;
|
492
|
+
margin-right: 0.1em;
|
493
|
+
}
|
494
|
+
.plain {
|
495
|
+
font-style: italic;
|
496
|
+
}
|
497
|
+
.number .theorem_description {
|
498
|
+
font-weight: normal;
|
499
|
+
}
|
500
|
+
/* Definitions are "definition" style, which basically means non-italic. */
|
501
|
+
/* This is actually the default, but we include it here for completeness. */
|
502
|
+
.definition {
|
503
|
+
font-style: normal;
|
504
|
+
}
|
505
|
+
/* The remark style involves an italic label and no boldface. */
|
506
|
+
.remark {
|
507
|
+
font-style: normal;
|
508
|
+
}
|
509
|
+
.remark .number {
|
510
|
+
font-weight: normal;
|
511
|
+
}
|
512
|
+
.remark_label {
|
513
|
+
font-style: italic;
|
514
|
+
}
|
515
|
+
/* The default content before and after ("Proof. " and "∎") can be overridden */
|
516
|
+
/* in a user stylesheet. */
|
517
|
+
.proof {
|
518
|
+
padding-bottom: 0.5em;
|
519
|
+
padding-top: 0.5em;
|
520
|
+
}
|
521
|
+
.proof p:first-child:before {
|
522
|
+
content: "Proof. ";
|
523
|
+
font-style: italic;
|
524
|
+
margin-right: 0.2em;
|
525
|
+
}
|
526
|
+
.proof p:last-child:after {
|
527
|
+
/* U+220E ∎ END OF PROOF */
|
528
|
+
content: "∎";
|
529
|
+
float: right;
|
530
|
+
}
|
@@ -217,6 +217,27 @@
|
|
217
217
|
{Times New Roman}
|
218
218
|
\setmonofont{Courier}
|
219
219
|
|
220
|
+
\theoremstyle{plain}
|
221
|
+
\newtheorem{theorem}{Theorem}[chapter]
|
222
|
+
\newtheorem{lemma}[theorem]{Lemma}
|
223
|
+
\newtheorem{corollary}[theorem]{Corollary}
|
224
|
+
\newtheorem{proposition}[theorem]{Proposition}
|
225
|
+
\newtheorem{conjecture}[theorem]{Conjecture}
|
226
|
+
\theoremstyle{definition}
|
227
|
+
\newtheorem{definition}[theorem]{Definition}
|
228
|
+
\newtheorem{problem}[theorem]{Problem}
|
229
|
+
\newtheorem{example}[theorem]{Example}
|
230
|
+
\newtheorem{exercise}[theorem]{Exercise}
|
231
|
+
\theoremstyle{remark}
|
232
|
+
\newtheorem{axiom}[theorem]{Axiom}
|
233
|
+
\newtheorem{remark}[theorem]{Remark}
|
234
|
+
\newtheorem{claim}[theorem]{Claim}
|
235
|
+
|
236
|
+
% Restore the default "theorem" theorem style.
|
237
|
+
% This can still be overriden in custom style files
|
238
|
+
% or in the main file.
|
239
|
+
\theoremstyle{plain}
|
240
|
+
|
220
241
|
% Include custom commands.
|
221
242
|
\usepackage{latex_styles/custom}
|
222
243
|
\usepackage{latex_styles/custom_pdf}
|
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.10'
|
22
22
|
gem.add_dependency 'msgpack', '1.2.10'
|
23
23
|
gem.add_dependency 'nokogiri', '1.15.2'
|
24
24
|
gem.add_dependency 'thor', '1.2.2'
|
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.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: polytexnic
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.
|
20
|
+
version: '1.10'
|
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.10'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: msgpack
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|