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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d78a031dfe4f63afa1d0b33c4770b1ea769704a
4
- data.tar.gz: bd3975264c73cf68f6ed59b4f40add219f1521c8
3
+ metadata.gz: d2840e271e6e811095971cd4548ea2f41d1d0346
4
+ data.tar.gz: f945220eeb68e8cdd07097fc4b22481d37af7aeb
5
5
  SHA512:
6
- metadata.gz: dd7cf986a1f429c1733cc61c817cdbe1fa55b3b7b3690d68fdc8faf96eed2c9aedadeeba62f9b97a7a616295e826873e2ffee4fedd3de7b5eb34a0b4e7e4e238
7
- data.tar.gz: a71db6d57213764152e53f0e2013ea2ca9f60f85b0cd18122f5f39bfba117ed700873f062d39832231a1fd205c4a692ac6d558c6c9542365792415d7ba19acd6
6
+ metadata.gz: a89949b9aeaf5269ff8518ff0b339af1ec9fafefe2ea3af44d331dbb950bc7ce96070d6f0926c8e107876f60eb405a0d9a5cf557021816c71707e7f1b1355776
7
+ data.tar.gz: bb33043e810b183963fbc8fb9b206f847bafc63e6ce0e04c5a0cfd8510a33b03cb142ec9a19c91d62136eaeea06014c3ac341bd944538dcc40db61fab77f5d6e
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'any2pdf'
4
- s.version = '1.1.0'
4
+ s.version = '1.1.1'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.summary = "convert anything to pdf (via pandoc and pdfkit)"
7
7
  s.description = s.summary
@@ -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>
@@ -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
- $("header h"+lvl).removeClass("in_toc")
15
+ $("h"+lvl+".fixed-heading").removeClass("in_toc")
16
16
  <% if number_headings %>
17
17
  $("h"+lvl).addClass("numbering")
18
- $("header h"+lvl).removeClass("numbering")
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pdfkit