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
@@ -1,5 +0,0 @@
1
- \documentclass{article}
2
-
3
- \begin{document}
4
- hello world
5
- \end{document}
@@ -1,66 +0,0 @@
1
- This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.5.9) 3 JUL 2011 18:14
2
- entering extended mode
3
- \write18 enabled.
4
- %&-line parsing enabled.
5
- **input.tex
6
- (./input.tex
7
- LaTeX2e <2009/09/24>
8
- Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
9
- yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
10
- ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
11
- 9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
12
- skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
13
- orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
14
- , estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
15
- rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
16
- (/usr/share/texmf-texlive/tex/latex/base/article.cls
17
- Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
18
- (/usr/share/texmf-texlive/tex/latex/base/size10.clo
19
- File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
20
- )
21
- \c@part=\count79
22
- \c@section=\count80
23
- \c@subsection=\count81
24
- \c@subsubsection=\count82
25
- \c@paragraph=\count83
26
- \c@subparagraph=\count84
27
- \c@figure=\count85
28
- \c@table=\count86
29
- \abovecaptionskip=\skip41
30
- \belowcaptionskip=\skip42
31
- \bibindent=\dimen102
32
- )
33
- No file input.aux.
34
- \openout1 = `input.aux'.
35
-
36
- LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
37
- LaTeX Font Info: ... okay on input line 3.
38
- LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
39
- LaTeX Font Info: ... okay on input line 3.
40
- LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
41
- LaTeX Font Info: ... okay on input line 3.
42
- LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
43
- LaTeX Font Info: ... okay on input line 3.
44
- LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
45
- LaTeX Font Info: ... okay on input line 3.
46
- LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
47
- LaTeX Font Info: ... okay on input line 3.
48
- [1
49
-
50
- {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./input.aux) )
51
- Here is how much of TeX's memory you used:
52
- 198 strings out of 493848
53
- 2091 string characters out of 1152824
54
- 47808 words of memory out of 3000000
55
- 3563 multiletter control sequences out of 15000+50000
56
- 3640 words of font info for 14 fonts, out of 3000000 for 9000
57
- 714 hyphenation exceptions out of 8191
58
- 23i,4n,17p,136b,107s stack positions out of 5000i,500n,10000p,200000b,50000s
59
- </usr/share
60
- /texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb>
61
- Output written on input.pdf (1 page, 11949 bytes).
62
- PDF statistics:
63
- 10 PDF objects out of 1000 (max. 8388607)
64
- 0 named destinations out of 1000 (max. 500000)
65
- 1 words of extra memory for PDF output out of 10000 (max. 10000000)
66
-