limarka 0.6.7 → 0.7.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffd9703c0eac83dadfbf47e1c969cbdcc8dc6678
4
- data.tar.gz: ea119d46bdb954d7c11c53682fdc7acdd4e2f352
3
+ metadata.gz: fc3040d9fc772bc0298db49c24ecaa85d46a8da9
4
+ data.tar.gz: 43d304ca6f762719f7a6eadd787653deea577aa2
5
5
  SHA512:
6
- metadata.gz: 8b0014b269c28835e926fc726d96f802c9c7fc7d486114c7e0e7c2c70575119e273405d35eec9476b81896b0cb19496798fceacf30eb84fc9edd5589db91cca1
7
- data.tar.gz: e8cdb389dfe15a6cb8c54ce6154b1840249be178e8d45b26ecf180f194e1730ed0415b4581b8f1fc941b9447e20de3b8c933e44200b22220c297b47ddafeff74
6
+ metadata.gz: 9a15f16a01ab47af0b81b4dabb1be08b52642e6c3e2318f9e862dbfcce57ad88223595cc08f4b94c6c1989e57cd25e94d430ac56992c58f28d894282f961f4af
7
+ data.tar.gz: bcdbe4d4e9c08d9eff08b215932496da2091f92b5390ea4f3c057848a3c5e6c2396d9d52b4609647039f7eedfc78e14bad54db18961cf04dbafbb8ba98e1714d
@@ -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") {|stdin, stdout, stderr, wait_thr|
90
+ Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} -t latex --filter pandoc_abnt") {|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 --chapter --include-before-body=#{pretextual_tempfile.path} --include-after-body=#{postextual_tempfile.path}") {|stdin, stdout, stderr, wait_thr|
177
+ Open3.popen3("pandoc -f markdown+raw_tex -t latex -s \"--data-dir=#{options[:templates_dir]}\" --template=trabalho-academico --normalize --chapter --include-before-body=#{pretextual_tempfile.path} --include-after-body=#{postextual_tempfile.path} --filter pandoc_abnt") {|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} --chapter -t latex") {|stdin, stdout, stderr, wait_thr|
243
+ Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --chapter -t latex --filter pandoc_abnt") {|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.6.7"
2
+ VERSION = "0.7.0"
3
3
  end
data/limarka.gemspec CHANGED
@@ -32,5 +32,6 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "thor"
33
33
  spec.add_dependency 'bibtex-ruby'
34
34
  spec.add_dependency 'terminal-table'
35
+ spec.add_dependency 'pandoc_abnt'
35
36
  end
36
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limarka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo de Santana Medeiros Alexandre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -192,6 +192,20 @@ dependencies:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: pandoc_abnt
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
195
209
  description: Com essa ferramenta você poderá escrever sua monografia, dissertação
196
210
  ou tese utilizando Markdown (linguagem mais simples que Latex).
197
211
  email: