booky 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/booky.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Thomas Fankhauser"]
10
10
  s.email = ["tommylefunk@googlemail.com"]
11
- s.homepage = ""
11
+ s.homepage = "http://www.southdesign.de"
12
12
  s.summary = %q{Create a pdf book from a textile}
13
13
  s.description = %q{Create a full blown book pdf from a textile file using docbook and xsl fo in the background}
14
14
 
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib"]
21
21
 
22
22
  s.add_dependency "RedCloth", "~> 4.2.8"
23
- s.add_dependency "redcloth-formatters-docbook", "~> 0.0.1"
23
+ s.add_dependency "redcloth-formatters-docbook", "~> 0.0.3"
24
24
  end
data/lib/booky.rb CHANGED
@@ -93,7 +93,7 @@ module Booky
93
93
  end
94
94
 
95
95
  puts "\n\nBooky Example for #{Booky.name.capitalize}\n\n\n"
96
- puts File.open("lib/examples/#{Booky.name}.textile", 'rb') { |f| f.read }
96
+ puts File.open("#{Booky.root}/lib/examples/#{Booky.name}.textile", 'rb') { |f| f.read }
97
97
  puts "\n\n"
98
98
  end
99
99
 
data/lib/booky/fo.rb CHANGED
@@ -7,7 +7,7 @@ module Booky::Fo
7
7
  @@xslt = "xsltproc"
8
8
  @@stylesheet = "#{Booky.root}/lib/stylesheets/fo/docbook.xsl"
9
9
 
10
- puts `#{@@xslt} --xinclude --output #{Booky.name}.fo #{@@stylesheet} #{Booky.name}.xml`
10
+ puts `#{@@xslt} --xinclude --stringparam fop1.extensions 1 --output #{Booky.name}.fo #{@@stylesheet} #{Booky.name}.xml`
11
11
 
12
12
  puts "Done.\n"
13
13
  end
data/lib/booky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Booky
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,9 +1,10 @@
1
1
  <?xml version='1.0'?>
2
2
  <xsl:stylesheet exclude-result-prefixes="d"
3
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
- xmlns:d="http://docbook.org/ns/docbook"
5
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
6
- version='1.0'>
3
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
+ xmlns:d="http://docbook.org/ns/docbook"
5
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
6
+ xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"
7
+ version='1.0'>
7
8
 
8
9
  <!-- ********************************************************************
9
10
  $Id: fo.xsl 8287 2009-03-06 23:53:33Z bobstayton $
@@ -915,7 +915,7 @@ set toc,title
915
915
  </xsl:attribute-set>
916
916
  <xsl:param name="toc.max.depth">8</xsl:param>
917
917
  <xsl:param name="toc.section.depth">2</xsl:param>
918
- <xsl:param name="ulink.footnotes" select="0"/>
918
+ <xsl:param name="ulink.footnotes" select="1"/>
919
919
  <xsl:param name="ulink.hyphenate"/>
920
920
  <xsl:param name="ulink.hyphenate.chars">/</xsl:param>
921
921
  <xsl:param name="ulink.show" select="1"/>
metadata CHANGED
@@ -1,65 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: booky
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Thomas Fankhauser
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-11-24 00:00:00 +01:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: RedCloth
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70264805148780 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 39
30
- segments:
31
- - 4
32
- - 2
33
- - 8
20
+ - !ruby/object:Gem::Version
34
21
  version: 4.2.8
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: redcloth-formatters-docbook
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70264805148780
25
+ - !ruby/object:Gem::Dependency
26
+ name: redcloth-formatters-docbook
27
+ requirement: &70264805147840 !ruby/object:Gem::Requirement
41
28
  none: false
42
- requirements:
29
+ requirements:
43
30
  - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 29
46
- segments:
47
- - 0
48
- - 0
49
- - 1
50
- version: 0.0.1
31
+ - !ruby/object:Gem::Version
32
+ version: 0.0.3
51
33
  type: :runtime
52
- version_requirements: *id002
53
- description: Create a full blown book pdf from a textile file using docbook and xsl fo in the background
54
- email:
34
+ prerelease: false
35
+ version_requirements: *70264805147840
36
+ description: Create a full blown book pdf from a textile file using docbook and xsl
37
+ fo in the background
38
+ email:
55
39
  - tommylefunk@googlemail.com
56
- executables:
40
+ executables:
57
41
  - booky
58
42
  extensions: []
59
-
60
43
  extra_rdoc_files: []
61
-
62
- files:
44
+ files:
63
45
  - .gitignore
64
46
  - Gemfile
65
47
  - README.textile
@@ -1626,39 +1608,28 @@ files:
1626
1608
  - lib/stylesheets/xhtml/toc.xsl
1627
1609
  - lib/stylesheets/xhtml/verbatim.xsl
1628
1610
  - lib/stylesheets/xhtml/xref.xsl
1629
- has_rdoc: true
1630
- homepage: ""
1611
+ homepage: http://www.southdesign.de
1631
1612
  licenses: []
1632
-
1633
1613
  post_install_message:
1634
1614
  rdoc_options: []
1635
-
1636
- require_paths:
1615
+ require_paths:
1637
1616
  - lib
1638
- required_ruby_version: !ruby/object:Gem::Requirement
1617
+ required_ruby_version: !ruby/object:Gem::Requirement
1639
1618
  none: false
1640
- requirements:
1641
- - - ">="
1642
- - !ruby/object:Gem::Version
1643
- hash: 3
1644
- segments:
1645
- - 0
1646
- version: "0"
1647
- required_rubygems_version: !ruby/object:Gem::Requirement
1619
+ requirements:
1620
+ - - ! '>='
1621
+ - !ruby/object:Gem::Version
1622
+ version: '0'
1623
+ required_rubygems_version: !ruby/object:Gem::Requirement
1648
1624
  none: false
1649
- requirements:
1650
- - - ">="
1651
- - !ruby/object:Gem::Version
1652
- hash: 3
1653
- segments:
1654
- - 0
1655
- version: "0"
1625
+ requirements:
1626
+ - - ! '>='
1627
+ - !ruby/object:Gem::Version
1628
+ version: '0'
1656
1629
  requirements: []
1657
-
1658
1630
  rubyforge_project: booky
1659
- rubygems_version: 1.4.2
1631
+ rubygems_version: 1.8.15
1660
1632
  signing_key:
1661
1633
  specification_version: 3
1662
1634
  summary: Create a pdf book from a textile
1663
1635
  test_files: []
1664
-