limarka 0.7.2.pre3 → 0.7.2.pre5

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: 9e6b8a912ebb2dff53d0f82902de3383e9577eb8
4
- data.tar.gz: 728340034b13c9deac3112f9ec498a269a96acaa
3
+ metadata.gz: 274e02eaf8092873a307cf9be6909abc4ce77361
4
+ data.tar.gz: ad0d119193baa107117608e2afa58779b7f5ff90
5
5
  SHA512:
6
- metadata.gz: b4898fcde34034cf3ca940b23f7c0fdec8b0542ca41a46125a8493c392b3f071d81fe36fbbfca2052be47da0552ed3b8c9c6526fb418d7937c64d36e13b2306c
7
- data.tar.gz: df2df189035dc1aefb028b24ebfc690b8852ac44b6af44caffd6b43a02970a634024fa837b426314b43fd5cb6ef97fa923470123126ba1dea15d476993bbe732
6
+ metadata.gz: bfb92cdead34e5f9235ea8d9b3495336870f4f52b2ee0df00f6c76e74b6c25f727a938d4a4beffc255601e980ffa18bd8c1b5a989599a018bdb1bb1f140c08ea
7
+ data.tar.gz: 61facee07e5b99ed71c051f4fb413bf078fc10e406b8403f9760b65543e1d1d06c1673ef7cc845855ae58f99eb65aa736fabdc15fe5060d8616e4ce2386c8b1a
@@ -87,7 +87,7 @@ module Limarka
87
87
  "epigrafe", "resumo", "abstract", "lista_ilustracoes", "lista_tabelas",
88
88
  "lista_siglas", "lista_simbolos", "sumario"].each_with_index do |secao,indice|
89
89
  template = "pretextual#{indice+1}-#{secao}"
90
- Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
90
+ Open3.popen3(ENV,"pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
91
91
  stdin.write(hash_to_yaml(t.configuracao))
92
92
  stdin.write("\n")
93
93
  if t.errata? and necessita_de_arquivo_de_texto.include?(secao) then
@@ -174,7 +174,7 @@ module Limarka
174
174
 
175
175
  def textual(pretextual_tempfile, postextual_tempfile)
176
176
  valida_yaml
177
- Open3.popen3("pandoc -f markdown+raw_tex -t latex -s \"--data-dir=#{options[:templates_dir]}\" --template=trabalho-academico --normalize --top-level-division=chapter --include-before-body=#{pretextual_tempfile.path} --include-after-body=#{postextual_tempfile.path} --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
177
+ Open3.popen3(ENV,"pandoc -f markdown+raw_tex -t latex -s \"--data-dir=#{options[:templates_dir]}\" --template=trabalho-academico --normalize --top-level-division=chapter --include-before-body=#{pretextual_tempfile.path} --include-after-body=#{postextual_tempfile.path} --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
178
178
  stdin.write(File.read(options[:templates_dir] + '/templates/configuracao-tecnica.yaml'))
179
179
  stdin.write("\n")
180
180
  stdin.write(hash_to_yaml(t.configuracao))
@@ -240,7 +240,7 @@ module Limarka
240
240
  def secao(template, condicao_para_conteudo, conteudo_externo)
241
241
  s = StringIO.new
242
242
 
243
- Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --top-level-division=chapter -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
243
+ Open3.popen3(ENV,"pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --top-level-division=chapter -t latex --filter #{pandoc_abnt_path}") {|stdin, stdout, stderr, wait_thr|
244
244
  stdin.write(hash_to_yaml(t.configuracao))
245
245
  stdin.write("\n")
246
246
  if (condicao_para_conteudo) then
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.7.2.pre3"
2
+ VERSION = "0.7.2.pre5"
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.7.2.pre3
4
+ version: 0.7.2.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre