limarka 0.5.4 → 0.5.5

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: 1ecfae81797da21d424726b488a97614bffa7306
4
- data.tar.gz: 9641d912fe482da30294233e4f1b1faf1dbfb757
3
+ metadata.gz: bf26e91e95ba226f1f033c75bf2db82a198c1fc7
4
+ data.tar.gz: 5d1e8187941cb3cfc86a730cb895d161c77ed4cc
5
5
  SHA512:
6
- metadata.gz: 98420a476c7a5d17a92a1513b30e0df24a43dcfaaa31ea90f02e152d9160e5c06ad2f7d8b8fe1264cda0652d138db4b955e38b18862260f9ebe116cf707bff9b
7
- data.tar.gz: a2506f67b8226970fa6a7a33016cf1d2e614004d0589b19bf0053664aeb0597f3556ae090c91674d76100083a40d7d3c978fc7afc531142f21e8ec08f8550e02
6
+ metadata.gz: eec5393be8d09a1c73d6e55a09201a441ee47458b8f8ab6dd70671f75282ed1deda1b67e1c86dc9e3e72f92b5de78e5768db22cbe075bac191802b856b4c3ae0
7
+ data.tar.gz: 5c5f87097754470626d660f9162ec135894731cb0990385bc8c8e3928ce27d93785da33cc063cad5c0bdbd25e44dfa510dbca73be634f74fd04dbae90264d6d7
@@ -55,8 +55,10 @@ module Limarka
55
55
  Dir.chdir(options[:output_dir]) do
56
56
  basename = File.basename(texto_tex_file, '.tex')
57
57
  system "latexmk --quiet --xelatex -f #{basename}", :out=>File::NULL, :err=>File::NULL
58
- system "pdftotext -enc UTF-8 #{basename}.pdf"
59
- File.open("#{basename}.txt", 'r') {|f| @txt = f.read}
58
+ if (usa_pdftotext) then
59
+ system "pdftotext -enc UTF-8 #{basename}.pdf"
60
+ File.open("#{basename}.txt", 'r') {|f| @txt = f.read}
61
+ end
60
62
  end
61
63
  end
62
64
 
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limarka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre