any2pdf 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/any2pdf.gemspec +1 -1
- data/data/pandoc-template.html +5 -4
- data/data/template.html.erb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2840e271e6e811095971cd4548ea2f41d1d0346
|
4
|
+
data.tar.gz: f945220eeb68e8cdd07097fc4b22481d37af7aeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a89949b9aeaf5269ff8518ff0b339af1ec9fafefe2ea3af44d331dbb950bc7ce96070d6f0926c8e107876f60eb405a0d9a5cf557021816c71707e7f1b1355776
|
7
|
+
data.tar.gz: bb33043e810b183963fbc8fb9b206f847bafc63e6ce0e04c5a0cfd8510a33b03cb142ec9a19c91d62136eaeea06014c3ac341bd944538dcc40db61fab77f5d6e
|
data/any2pdf.gemspec
CHANGED
data/data/pandoc-template.html
CHANGED
@@ -4,20 +4,21 @@ $endfor$
|
|
4
4
|
|
5
5
|
$if(title)$
|
6
6
|
<header>
|
7
|
-
<h1 class="title">$title$</h1>
|
7
|
+
<h1 class="title fixed-heading">$title$</h1>
|
8
8
|
$if(subtitle)$
|
9
|
-
<h1 class="subtitle">$subtitle$</h1>
|
9
|
+
<h1 class="subtitle fixed-heading">$subtitle$</h1>
|
10
10
|
$endif$
|
11
11
|
$for(author)$
|
12
|
-
<h2 class="author">$author$</h2>
|
12
|
+
<h2 class="author fixed-heading">$author$</h2>
|
13
13
|
$endfor$
|
14
14
|
$if(date)$
|
15
|
-
<h3 class="date">$date$</h3>
|
15
|
+
<h3 class="date fixed-heading">$date$</h3>
|
16
16
|
$endif$
|
17
17
|
</header>
|
18
18
|
$endif$
|
19
19
|
|
20
20
|
$if(toc)$
|
21
|
+
<h1 class="toc fixed-heading">Table of contents</h1>
|
21
22
|
<nav id="$idprefix$TOC">
|
22
23
|
$toc$
|
23
24
|
</nav>
|
data/data/template.html.erb
CHANGED
@@ -12,10 +12,10 @@
|
|
12
12
|
up to level <%= toc_level %>*/
|
13
13
|
for( var lvl=1; lvl <= <%= toc_level %>; lvl++){
|
14
14
|
$("h"+lvl).addClass("in_toc")
|
15
|
-
$("
|
15
|
+
$("h"+lvl+".fixed-heading").removeClass("in_toc")
|
16
16
|
<% if number_headings %>
|
17
17
|
$("h"+lvl).addClass("numbering")
|
18
|
-
$("
|
18
|
+
$("h"+lvl+".fixed-heading").removeClass("numbering")
|
19
19
|
<% end %>
|
20
20
|
}
|
21
21
|
window.gen_toc();
|
@@ -26,4 +26,4 @@
|
|
26
26
|
<body id="home">
|
27
27
|
<%= raw_html %>
|
28
28
|
</body>
|
29
|
-
</html>
|
29
|
+
</html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: any2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pdfkit
|