limarka 0.7.2.pre3 → 0.7.2.pre5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/limarka/conversor.rb +3 -3
- data/lib/limarka/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 274e02eaf8092873a307cf9be6909abc4ce77361
|
|
4
|
+
data.tar.gz: ad0d119193baa107117608e2afa58779b7f5ff90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfb92cdead34e5f9235ea8d9b3495336870f4f52b2ee0df00f6c76e74b6c25f727a938d4a4beffc255601e980ffa18bd8c1b5a989599a018bdb1bb1f140c08ea
|
|
7
|
+
data.tar.gz: 61facee07e5b99ed71c051f4fb413bf078fc10e406b8403f9760b65543e1d1d06c1673ef7cc845855ae58f99eb65aa736fabdc15fe5060d8616e4ce2386c8b1a
|
data/lib/limarka/conversor.rb
CHANGED
|
@@ -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
|
data/lib/limarka/version.rb
CHANGED