limarka 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +17 -3
- data/lib/limarka/conversor.rb +2 -2
- 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: 1f5c8d6e063cbc9d7f52760587be0351f4a30f3c
|
4
|
+
data.tar.gz: 14225ea47724e97b9b0b813cf4fddacb0602c674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c52a27c4bc2372602ecee34db7a2ae07f7733fc7fd71a2426b87c5eeabf99c940478de4b4141bfdf2ad7143e60b5148312245c5ed7a43f6b22e3149c9a63f9cd
|
7
|
+
data.tar.gz: a4d3310ae690edc7fc19cef570b1a962d61b5134c5dfed60b691ea59b3d2597ce5ae67d0c81b18edffd0a36f2414816b33ae58b58f0d8d5f5d2868ae5646b44d
|
data/.travis.yml
CHANGED
@@ -6,7 +6,7 @@ rvm:
|
|
6
6
|
before_install:
|
7
7
|
- sudo apt-get update -qq
|
8
8
|
- sudo apt-get install -y -qq ruby-full pdftk xclip poppler-utils language-pack-pt libreoffice
|
9
|
-
- wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb && sudo dpkg -i pandoc
|
9
|
+
- wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb && sudo dpkg -i pandoc-*.deb
|
10
10
|
- wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && tar -xf install-tl-unx.tar.gz && cd install-tl-* && sudo ./install-tl -no-gui -profile ../spec/dependencias/texlive-abntex2.profile -no-verify-downloads && cd ..
|
11
11
|
- export PATH=$PATH:/usr/local/texlive/2016/bin/x86_64-linux
|
12
12
|
script:
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,25 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [v0.
|
4
|
-
[Full Changelog](https://github.com/abntex/limarka/compare/v0.
|
3
|
+
## [v0.7.1](https://github.com/abntex/limarka/tree/v0.7.1) (2017-02-11)
|
4
|
+
[Full Changelog](https://github.com/abntex/limarka/compare/v0.7.0...v0.7.1)
|
5
|
+
|
6
|
+
**Melhorias implementadas:**
|
7
|
+
|
8
|
+
- Atualização do pandoc para versão 1.19.2 [\#130](https://github.com/abntex/limarka/issues/130)
|
9
|
+
|
10
|
+
## [v0.7.0](https://github.com/abntex/limarka/tree/v0.7.0) (2017-02-11)
|
11
|
+
[Full Changelog](https://github.com/abntex/limarka/compare/v0.6.7...v0.7.0)
|
12
|
+
|
13
|
+
**Melhorias implementadas:**
|
14
|
+
|
15
|
+
- Criar filtro para inclusão de Fonte em figuras [\#127](https://github.com/abntex/limarka/issues/127)
|
5
16
|
|
6
17
|
**Bugs corrigidos:**
|
7
18
|
|
8
|
-
-
|
19
|
+
- Folha de aprovação gerada não apresenta o mês [\#128](https://github.com/abntex/limarka/issues/128)
|
20
|
+
|
21
|
+
## [v0.6.7](https://github.com/abntex/limarka/tree/v0.6.7) (2017-01-31)
|
22
|
+
[Full Changelog](https://github.com/abntex/limarka/compare/v0.6.6...v0.6.7)
|
9
23
|
|
10
24
|
## [v0.6.6](https://github.com/abntex/limarka/tree/v0.6.6) (2017-01-22)
|
11
25
|
[Full Changelog](https://github.com/abntex/limarka/compare/v0.6.5...v0.6.6)
|
data/lib/limarka/conversor.rb
CHANGED
@@ -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} --filter pandoc_abnt") {|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 --top-level-division=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 --filter pandoc_abnt") {|stdin, stdout, stderr, wait_thr|
|
243
|
+
Open3.popen3("pandoc -f markdown \"--data-dir=#{options[:templates_dir]}\" --template=#{template} --top-level-division=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
|
data/lib/limarka/version.rb
CHANGED