rails-latex 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/.gitignore +12 -0
  2. data/Gemfile +4 -0
  3. data/Rakefile +21 -0
  4. data/examples/rails-latex-demo/Gemfile +5 -0
  5. data/examples/rails-latex-demo/README +256 -0
  6. data/examples/rails-latex-demo/Rakefile +7 -0
  7. data/examples/rails-latex-demo/app/controllers/application_controller.rb +3 -0
  8. data/examples/rails-latex-demo/app/controllers/latex_example_controller.rb +8 -0
  9. data/examples/rails-latex-demo/app/views/latex_example/barcode.pdf.erb +27 -0
  10. data/examples/rails-latex-demo/app/views/latex_example/index.html.erb +6 -0
  11. data/examples/rails-latex-demo/app/views/latex_example/index.pdf.erb +9 -0
  12. data/examples/rails-latex-demo/app/views/layouts/application.html.erb +12 -0
  13. data/examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex +14 -0
  14. data/examples/rails-latex-demo/app/views/layouts/barcode.pdf.erbtex +13 -0
  15. data/examples/rails-latex-demo/config.ru +4 -0
  16. data/examples/rails-latex-demo/config/application.rb +47 -0
  17. data/examples/rails-latex-demo/config/boot.rb +13 -0
  18. data/examples/rails-latex-demo/config/environment.rb +5 -0
  19. data/examples/rails-latex-demo/config/environments/development.rb +26 -0
  20. data/examples/rails-latex-demo/config/environments/production.rb +49 -0
  21. data/examples/rails-latex-demo/config/environments/test.rb +35 -0
  22. data/examples/rails-latex-demo/config/initializers/backtrace_silencers.rb +7 -0
  23. data/examples/rails-latex-demo/config/initializers/inflections.rb +10 -0
  24. data/examples/rails-latex-demo/config/initializers/mime_types.rb +6 -0
  25. data/examples/rails-latex-demo/config/initializers/secret_token.rb +7 -0
  26. data/examples/rails-latex-demo/config/initializers/session_store.rb +8 -0
  27. data/examples/rails-latex-demo/config/locales/en.yml +5 -0
  28. data/examples/rails-latex-demo/config/routes.rb +6 -0
  29. data/examples/rails-latex-demo/public/example.jpg +0 -0
  30. data/examples/rails-latex-demo/public/favicon.ico +0 -0
  31. data/examples/rails-latex-demo/script/rails +6 -0
  32. data/examples/rails-latex-demo/test/functional/latex_example_controller_test.rb +9 -0
  33. data/examples/rails-latex-demo/test/unit/helpers/latex_example_helper_test.rb +4 -0
  34. data/lib/rails-latex.rb +2 -1
  35. data/lib/{erb_latex.rb → rails-latex/erb_latex.rb} +5 -1
  36. data/lib/{latex_to_pdf.rb → rails-latex/latex_to_pdf.rb} +0 -0
  37. data/lib/rails-latex/version.rb +5 -0
  38. data/rails-latex.gemspec +27 -0
  39. data/test/helper.rb +1 -1
  40. data/test/test_latex_to_pdf.rb +1 -1
  41. metadata +56 -38
  42. data/test/tmp/out.pdf +0 -0
  43. data/test/tmp/rails-latex/input.log +0 -72
  44. data/test/tmp/tmp/rails-latex/2368-1556906997793729431/input.tex +0 -5
  45. data/test/tmp/tmp/rails-latex/4963-4557295006018958261/input.tex +0 -5
  46. data/test/tmp/tmp/rails-latex/4982--3721012929416963247/input.aux +0 -1
  47. data/test/tmp/tmp/rails-latex/4982--3721012929416963247/input.log +0 -69
  48. data/test/tmp/tmp/rails-latex/4982--3721012929416963247/input.pdf +0 -0
  49. data/test/tmp/tmp/rails-latex/4982--3721012929416963247/input.tex +0 -5
  50. data/test/tmp/tmp/rails-latex/5267--740595184139431260/input.aux +0 -1
  51. data/test/tmp/tmp/rails-latex/5267--740595184139431260/input.log +0 -69
  52. data/test/tmp/tmp/rails-latex/5267--740595184139431260/input.pdf +0 -0
  53. data/test/tmp/tmp/rails-latex/5267--740595184139431260/input.tex +0 -5
  54. data/test/tmp/tmp/rails-latex/5710--3333891790396452158/input.aux +0 -1
  55. data/test/tmp/tmp/rails-latex/5710--3333891790396452158/input.log +0 -69
  56. data/test/tmp/tmp/rails-latex/5710--3333891790396452158/input.pdf +0 -0
  57. data/test/tmp/tmp/rails-latex/5710--3333891790396452158/input.tex +0 -5
  58. data/test/tmp/tmp/rails-latex/5773--2586044705503359975/input.aux +0 -1
  59. data/test/tmp/tmp/rails-latex/5773--2586044705503359975/input.log +0 -69
  60. data/test/tmp/tmp/rails-latex/5773--2586044705503359975/input.pdf +0 -0
  61. data/test/tmp/tmp/rails-latex/5773--2586044705503359975/input.tex +0 -5
  62. data/test/tmp/tmp/rails-latex/5808--4120984604975193544/input.tex +0 -5
  63. data/test/tmp/tmp/rails-latex/5853--3414610511282325977/input.aux +0 -1
  64. data/test/tmp/tmp/rails-latex/5853--3414610511282325977/input.log +0 -69
  65. data/test/tmp/tmp/rails-latex/5853--3414610511282325977/input.pdf +0 -0
  66. data/test/tmp/tmp/rails-latex/5853--3414610511282325977/input.tex +0 -5
  67. data/test/tmp/tmp/rails-latex/5890--1546682180516809420/input.aux +0 -1
  68. data/test/tmp/tmp/rails-latex/5890--1546682180516809420/input.log +0 -69
  69. data/test/tmp/tmp/rails-latex/5890--1546682180516809420/input.pdf +0 -0
  70. data/test/tmp/tmp/rails-latex/5890--1546682180516809420/input.tex +0 -5
  71. data/test/tmp/tmp/rails-latex/input.log +0 -66
@@ -0,0 +1,13 @@
1
+ require 'rubygems'
2
+
3
+ # Set up gems listed in the Gemfile.
4
+ gemfile = File.expand_path('../../Gemfile', __FILE__)
5
+ begin
6
+ ENV['BUNDLE_GEMFILE'] = gemfile
7
+ require 'bundler'
8
+ Bundler.setup
9
+ rescue Bundler::GemNotFound => e
10
+ STDERR.puts e.message
11
+ STDERR.puts "Try running `bundle install`."
12
+ exit!
13
+ end if File.exist?(gemfile)
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ RailsLatexDemo::Application.initialize!
@@ -0,0 +1,26 @@
1
+ RailsLatexDemo::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the webserver when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_view.debug_rjs = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Don't care if the mailer can't send
18
+ config.action_mailer.raise_delivery_errors = false
19
+
20
+ # Print deprecation notices to the Rails logger
21
+ config.active_support.deprecation = :log
22
+
23
+ # Only use best-standards-support built into browsers
24
+ config.action_dispatch.best_standards_support = :builtin
25
+ end
26
+
@@ -0,0 +1,49 @@
1
+ RailsLatexDemo::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The production environment is meant for finished, "live" apps.
5
+ # Code is not reloaded between requests
6
+ config.cache_classes = true
7
+
8
+ # Full error reports are disabled and caching is turned on
9
+ config.consider_all_requests_local = false
10
+ config.action_controller.perform_caching = true
11
+
12
+ # Specifies the header that your server uses for sending files
13
+ config.action_dispatch.x_sendfile_header = "X-Sendfile"
14
+
15
+ # For nginx:
16
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
17
+
18
+ # If you have no front-end server that supports something like X-Sendfile,
19
+ # just comment this out and Rails will serve the files
20
+
21
+ # See everything in the log (default is :info)
22
+ # config.log_level = :debug
23
+
24
+ # Use a different logger for distributed setups
25
+ # config.logger = SyslogLogger.new
26
+
27
+ # Use a different cache store in production
28
+ # config.cache_store = :mem_cache_store
29
+
30
+ # Disable Rails's static asset server
31
+ # In production, Apache or nginx will already do this
32
+ config.serve_static_assets = false
33
+
34
+ # Enable serving of images, stylesheets, and javascripts from an asset server
35
+ # config.action_controller.asset_host = "http://assets.example.com"
36
+
37
+ # Disable delivery errors, bad email addresses will be ignored
38
+ # config.action_mailer.raise_delivery_errors = false
39
+
40
+ # Enable threaded mode
41
+ # config.threadsafe!
42
+
43
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
44
+ # the I18n.default_locale when a translation can not be found)
45
+ config.i18n.fallbacks = true
46
+
47
+ # Send deprecation notices to registered listeners
48
+ config.active_support.deprecation = :notify
49
+ end
@@ -0,0 +1,35 @@
1
+ RailsLatexDemo::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Log error messages when you accidentally call methods on nil.
11
+ config.whiny_nils = true
12
+
13
+ # Show full error reports and disable caching
14
+ config.consider_all_requests_local = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Raise exceptions instead of rendering exception templates
18
+ config.action_dispatch.show_exceptions = false
19
+
20
+ # Disable request forgery protection in test environment
21
+ config.action_controller.allow_forgery_protection = false
22
+
23
+ # Tell Action Mailer not to deliver emails to the real world.
24
+ # The :test delivery method accumulates sent emails in the
25
+ # ActionMailer::Base.deliveries array.
26
+ config.action_mailer.delivery_method = :test
27
+
28
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
29
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
30
+ # like if you have constraints or database-specific column types
31
+ # config.active_record.schema_format = :sql
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,6 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
6
+ Mime::Type.register "application/pdf", :pdf, ['text/pdf'], ['pdf']
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ RailsLatexDemo::Application.config.secret_token = '1f3454cf2022edc496819d0703eae2a92b3526bf35dc9cbfbb64842b764f83b50d11893a5af2c64babbf30edd9f150d33e8340064bee2498cc543b7427a26b9d'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ RailsLatexDemo::Application.config.session_store :cookie_store, :key => '_rails-latex-demo_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # RailsLatexDemo::Application.config.session_store :active_record_store
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,6 @@
1
+ RailsLatexDemo::Application.routes.draw do
2
+ match 'latex_example' => "latex_example#index"
3
+ match 'latex_example/barcode' => "latex_example#barcode"
4
+
5
+ root :to => "latex_example#index"
6
+ end
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class LatexExampleControllerTest < ActionController::TestCase
4
+ test "should get index" do
5
+ get :index
6
+ assert_response :success
7
+ end
8
+
9
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class LatexExampleHelperTest < ActionView::TestCase
4
+ end
data/lib/rails-latex.rb CHANGED
@@ -1 +1,2 @@
1
- require 'erb_latex'
1
+ require "rails-latex/version"
2
+ require "rails-latex/erb_latex"
@@ -1,10 +1,14 @@
1
1
  require 'fileutils'
2
- require 'latex_to_pdf'
2
+ require 'rails-latex/latex_to_pdf'
3
3
  require 'action_view'
4
4
 
5
5
  module ActionView # :nodoc: all
6
6
  module Template::Handlers
7
7
  class ERBLatex < ERB
8
+ def self.call(template)
9
+ new.compile(template)
10
+ end
11
+
8
12
  def compile(template)
9
13
  erb = "<% __in_erb_template=true %>#{template.source}"
10
14
  out=self.class.erb_implementation.new(erb, :trim=>(self.class.erb_trim_mode == "-")).src
@@ -0,0 +1,5 @@
1
+ module Rails
2
+ module Latex
3
+ VERSION = "1.0.6"
4
+ end
5
+ end
@@ -0,0 +1,27 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "rails-latex/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "rails-latex"
7
+ s.version = Rails::Latex::VERSION
8
+ s.authors = ["Geoff Jacobsen"]
9
+ s.email = ["geoffjacobsen@gmail.com"]
10
+ s.homepage = "http://github.com/jacott/rails-latex"
11
+ s.summary = %q{A LaTeX to pdf rails 3 renderer.}
12
+ s.description = %q{rails-latex is a renderer for rails 3 which allows tex files with erb to be turned into an inline pdf.}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+
18
+ s.rdoc_options = [%q{--main=README.rdoc}]
19
+
20
+ s.extra_rdoc_files = [
21
+ "MIT-LICENSE",
22
+ "README.rdoc"
23
+ ]
24
+
25
+ s.add_dependency(%q<rails>, [">= 3.0.0"])
26
+ s.add_development_dependency(%q<RedCloth>, [">= 4.2.7"])
27
+ end
data/test/helper.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'rubygems'
2
- require 'test/unit/full'
2
+ require 'test/unit'
3
3
 
4
4
  $LOAD_PATH.unshift(File.dirname(__FILE__))
5
5
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
@@ -1,5 +1,5 @@
1
1
  require 'helper'
2
- require 'erb_latex'
2
+ require 'rails-latex/erb_latex'
3
3
  require 'ostruct'
4
4
 
5
5
  Rails=OpenStruct.new(:root => TMP_DIR=File.expand_path("../tmp",__FILE__))
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rails-latex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.5
5
+ version: 1.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Geoff Jacobsen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-03 00:00:00 Z
13
+ date: 2011-07-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -23,8 +23,20 @@ dependencies:
23
23
  version: 3.0.0
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: RedCloth
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 4.2.7
35
+ type: :development
36
+ version_requirements: *id002
26
37
  description: rails-latex is a renderer for rails 3 which allows tex files with erb to be turned into an inline pdf.
27
- email: geoffjacobsen@gmail.com
38
+ email:
39
+ - geoffjacobsen@gmail.com
28
40
  executables: []
29
41
 
30
42
  extensions: []
@@ -33,45 +45,51 @@ extra_rdoc_files:
33
45
  - MIT-LICENSE
34
46
  - README.rdoc
35
47
  files:
48
+ - .gitignore
49
+ - Gemfile
36
50
  - MIT-LICENSE
37
- - lib/erb_latex.rb
38
- - lib/latex_to_pdf.rb
51
+ - README.rdoc
52
+ - Rakefile
53
+ - examples/rails-latex-demo/Gemfile
54
+ - examples/rails-latex-demo/Gemfile.lock
55
+ - examples/rails-latex-demo/README
56
+ - examples/rails-latex-demo/Rakefile
57
+ - examples/rails-latex-demo/app/controllers/application_controller.rb
58
+ - examples/rails-latex-demo/app/controllers/latex_example_controller.rb
59
+ - examples/rails-latex-demo/app/views/latex_example/barcode.pdf.erb
60
+ - examples/rails-latex-demo/app/views/latex_example/index.html.erb
61
+ - examples/rails-latex-demo/app/views/latex_example/index.pdf.erb
62
+ - examples/rails-latex-demo/app/views/layouts/application.html.erb
63
+ - examples/rails-latex-demo/app/views/layouts/application.pdf.erbtex
64
+ - examples/rails-latex-demo/app/views/layouts/barcode.pdf.erbtex
65
+ - examples/rails-latex-demo/config.ru
66
+ - examples/rails-latex-demo/config/application.rb
67
+ - examples/rails-latex-demo/config/boot.rb
68
+ - examples/rails-latex-demo/config/environment.rb
69
+ - examples/rails-latex-demo/config/environments/development.rb
70
+ - examples/rails-latex-demo/config/environments/production.rb
71
+ - examples/rails-latex-demo/config/environments/test.rb
72
+ - examples/rails-latex-demo/config/initializers/backtrace_silencers.rb
73
+ - examples/rails-latex-demo/config/initializers/inflections.rb
74
+ - examples/rails-latex-demo/config/initializers/mime_types.rb
75
+ - examples/rails-latex-demo/config/initializers/secret_token.rb
76
+ - examples/rails-latex-demo/config/initializers/session_store.rb
77
+ - examples/rails-latex-demo/config/locales/en.yml
78
+ - examples/rails-latex-demo/config/routes.rb
79
+ - examples/rails-latex-demo/public/example.jpg
80
+ - examples/rails-latex-demo/public/favicon.ico
81
+ - examples/rails-latex-demo/script/rails
82
+ - examples/rails-latex-demo/test/functional/latex_example_controller_test.rb
83
+ - examples/rails-latex-demo/test/unit/helpers/latex_example_helper_test.rb
39
84
  - lib/rails-latex.rb
85
+ - lib/rails-latex/erb_latex.rb
86
+ - lib/rails-latex/latex_to_pdf.rb
87
+ - lib/rails-latex/version.rb
88
+ - rails-latex.gemspec
40
89
  - test/helper.rb
41
90
  - test/test_doc.tex
42
91
  - test/test_latex_to_pdf.rb
43
- - test/tmp/out.pdf
44
- - test/tmp/rails-latex/input.log
45
- - test/tmp/tmp/rails-latex/2368-1556906997793729431/input.tex
46
- - test/tmp/tmp/rails-latex/4963-4557295006018958261/input.tex
47
- - test/tmp/tmp/rails-latex/4982--3721012929416963247/input.aux
48
- - test/tmp/tmp/rails-latex/4982--3721012929416963247/input.log
49
- - test/tmp/tmp/rails-latex/4982--3721012929416963247/input.pdf
50
- - test/tmp/tmp/rails-latex/4982--3721012929416963247/input.tex
51
- - test/tmp/tmp/rails-latex/5267--740595184139431260/input.aux
52
- - test/tmp/tmp/rails-latex/5267--740595184139431260/input.log
53
- - test/tmp/tmp/rails-latex/5267--740595184139431260/input.pdf
54
- - test/tmp/tmp/rails-latex/5267--740595184139431260/input.tex
55
- - test/tmp/tmp/rails-latex/5710--3333891790396452158/input.aux
56
- - test/tmp/tmp/rails-latex/5710--3333891790396452158/input.log
57
- - test/tmp/tmp/rails-latex/5710--3333891790396452158/input.pdf
58
- - test/tmp/tmp/rails-latex/5710--3333891790396452158/input.tex
59
- - test/tmp/tmp/rails-latex/5773--2586044705503359975/input.aux
60
- - test/tmp/tmp/rails-latex/5773--2586044705503359975/input.log
61
- - test/tmp/tmp/rails-latex/5773--2586044705503359975/input.pdf
62
- - test/tmp/tmp/rails-latex/5773--2586044705503359975/input.tex
63
- - test/tmp/tmp/rails-latex/5808--4120984604975193544/input.tex
64
- - test/tmp/tmp/rails-latex/5853--3414610511282325977/input.aux
65
- - test/tmp/tmp/rails-latex/5853--3414610511282325977/input.log
66
- - test/tmp/tmp/rails-latex/5853--3414610511282325977/input.pdf
67
- - test/tmp/tmp/rails-latex/5853--3414610511282325977/input.tex
68
- - test/tmp/tmp/rails-latex/5890--1546682180516809420/input.aux
69
- - test/tmp/tmp/rails-latex/5890--1546682180516809420/input.log
70
- - test/tmp/tmp/rails-latex/5890--1546682180516809420/input.pdf
71
- - test/tmp/tmp/rails-latex/5890--1546682180516809420/input.tex
72
- - test/tmp/tmp/rails-latex/input.log
73
- - README.rdoc
74
- homepage:
92
+ homepage: http://github.com/jacott/rails-latex
75
93
  licenses: []
76
94
 
77
95
  post_install_message:
@@ -94,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
112
  requirements: []
95
113
 
96
114
  rubyforge_project:
97
- rubygems_version: 1.8.3
115
+ rubygems_version: 1.8.5
98
116
  signing_key:
99
117
  specification_version: 3
100
118
  summary: A LaTeX to pdf rails 3 renderer.
data/test/tmp/out.pdf DELETED
Binary file
@@ -1,72 +0,0 @@
1
- entering extended mode
2
- This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2010.10.5) 21 JAN 2011 13:37
3
- entering extended mode
4
- restricted \write18 enabled.
5
- %&-line parsing enabled.
6
- **/home/geoffj/src/rails-latex/test/tmp/rails-latex/8021-2486817462074625061/in
7
- put.tex
8
-
9
- (/home/geoffj/src/rails-latex/test/tmp/rails-latex/8021-2486817462074625061/inp
10
- ut.tex
11
- LaTeX2e <2009/09/24>
12
- Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
13
- yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
14
- ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
15
- 9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
16
- skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
17
- orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
18
- , estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
19
- rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
20
- (/usr/share/texmf-texlive/tex/latex/base/article.cls
21
- Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
22
- (/usr/share/texmf-texlive/tex/latex/base/size10.clo
23
- File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
24
- )
25
- \c@part=\count79
26
- \c@section=\count80
27
- \c@subsection=\count81
28
- \c@subsubsection=\count82
29
- \c@paragraph=\count83
30
- \c@subparagraph=\count84
31
- \c@figure=\count85
32
- \c@table=\count86
33
- \abovecaptionskip=\skip41
34
- \belowcaptionskip=\skip42
35
- \bibindent=\dimen102
36
- )
37
- No file input.aux.
38
- \openout1 = `input.aux'.
39
-
40
- LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
41
- LaTeX Font Info: ... okay on input line 3.
42
- LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
43
- LaTeX Font Info: ... okay on input line 3.
44
- LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
45
- LaTeX Font Info: ... okay on input line 3.
46
- LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
47
- LaTeX Font Info: ... okay on input line 3.
48
- LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
49
- LaTeX Font Info: ... okay on input line 3.
50
- LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
51
- LaTeX Font Info: ... okay on input line 3.
52
- [1
53
-
54
- {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
55
- (/home/geoffj/src/rails-latex/test/tmp/rails-latex/8021-2486817462074625061/inp
56
- ut.aux) )
57
- Here is how much of TeX's memory you used:
58
- 199 strings out of 493848
59
- 2612 string characters out of 1152823
60
- 47808 words of memory out of 3000000
61
- 3563 multiletter control sequences out of 15000+50000
62
- 3640 words of font info for 14 fonts, out of 3000000 for 9000
63
- 714 hyphenation exceptions out of 8191
64
- 23i,4n,17p,211b,107s stack positions out of 5000i,500n,10000p,200000b,50000s
65
- </usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb>
66
- Output written on /home/geoffj/src/rails-latex/test/tmp/rails-latex/8021-248681
67
- 7462074625061/input.pdf (1 page, 11949 bytes).
68
- PDF statistics:
69
- 10 PDF objects out of 1000 (max. 8388607)
70
- 0 named destinations out of 1000 (max. 500000)
71
- 1 words of extra memory for PDF output out of 10000 (max. 10000000)
72
-