limarka 0.4.3 → 0.4.4
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/CHANGELOG.md +7 -0
- data/lib/limarka/cli.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: afa53dc86a12818e9f5ab9bd96d2718be8cb066c
|
|
4
|
+
data.tar.gz: bd4977ac4480fb013e75df408ed5a9b8c1c31980
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e646317e15b485fb83afb5b6094813b09af58ba718d86dea3670093bc7c4fa7aeb84aac6647588305cceca749bbfc8af6b454549b5647f061f981af970e6f07
|
|
7
|
+
data.tar.gz: 7bc4c8d8fad0b44c985b459f1737b22ef9407fcb966410483850c2504d3895829b054e69741a58248a40ce091d1f39b7a33a62f20d6dd4ee70b61322c53b6e1f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v0.4.4](https://github.com/abntex/limarka/tree/v0.4.4) (2016-11-18)
|
|
4
|
+
[Full Changelog](https://github.com/abntex/limarka/compare/v0.4.3...v0.4.4)
|
|
5
|
+
|
|
6
|
+
**Fixed bugs:**
|
|
7
|
+
|
|
8
|
+
- Correção no comentário de inserir figura [\#73](https://github.com/abntex/limarka/issues/73)
|
|
9
|
+
|
|
3
10
|
## [v0.4.3](https://github.com/abntex/limarka/tree/v0.4.3) (2016-11-18)
|
|
4
11
|
[Full Changelog](https://github.com/abntex/limarka/compare/v0.4.2...v0.4.3)
|
|
5
12
|
|
data/lib/limarka/cli.rb
CHANGED
|
@@ -103,6 +103,7 @@ DESC
|
|
|
103
103
|
escala = (dim.to_f)/100
|
|
104
104
|
|
|
105
105
|
figura_tex = <<TEX
|
|
106
|
+
|
|
106
107
|
\\begin{figure}[htbp]
|
|
107
108
|
\\caption{\\label{#{rotulo}}#{legenda}}
|
|
108
109
|
\\begin{center}
|
|
@@ -110,12 +111,11 @@ DESC
|
|
|
110
111
|
\\end{center}
|
|
111
112
|
\\legend{Fonte: #{fonte}}
|
|
112
113
|
\\end{figure}
|
|
113
|
-
|
|
114
114
|
TEX
|
|
115
115
|
|
|
116
116
|
say figura_tex
|
|
117
|
-
say "\n<!--Para referenciar essa figura acima no texto utilize: Figura \\ref\{#{rotulo}} \n-->\n"
|
|
118
117
|
end
|
|
118
|
+
say "\n<!--Para referenciar a figura acima no texto utilize: Figura \\ref\{#{rotulo}} \n-->\n"
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
method_option :legenda, :aliases => '-l', :desc => 'Legenda da tabela.', :default => "Legenda da tabela."
|
|
@@ -147,6 +147,7 @@ DESC
|
|
|
147
147
|
valida_tabela_rotulo(rotulo)
|
|
148
148
|
|
|
149
149
|
say <<TEX
|
|
150
|
+
|
|
150
151
|
\\begin{table}[htb]
|
|
151
152
|
\\ABNTEXfontereduzida
|
|
152
153
|
\\caption[#{legenda}]{#{legenda}}
|
|
@@ -167,7 +168,6 @@ DESC
|
|
|
167
168
|
\\legend{Fonte: #{fonte}}
|
|
168
169
|
\\end{table}
|
|
169
170
|
|
|
170
|
-
|
|
171
171
|
\\begin{table}[htb]
|
|
172
172
|
\\IBGEtab{%
|
|
173
173
|
\\caption{#{legenda}}%
|
data/lib/limarka/version.rb
CHANGED