limarka 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +3 -0
  3. data/.gitmodules +3 -0
  4. data/.travis.yml +3 -1
  5. data/CHANGELOG.md +15 -1
  6. data/CONTRIBUTING.md +8 -7
  7. data/README.md +2 -1
  8. data/Rakefile +5 -2
  9. data/containers/Dockerfile-ruby-latex-full.production +15 -0
  10. data/containers/Dockerfile.production +48 -0
  11. data/lib/limarka.rb +1 -0
  12. data/lib/limarka/check.rb +46 -0
  13. data/lib/limarka/cli.rb +45 -34
  14. data/lib/limarka/version.rb +1 -1
  15. data/limarka.gemspec +2 -0
  16. metadata +35 -29
  17. data/anexos.md +0 -9
  18. data/apendices.md +0 -9
  19. data/configuracao.odt +0 -0
  20. data/errata.md +0 -6
  21. data/templates/README.md +0 -17
  22. data/templates/configuracao-tecnica.yaml +0 -10
  23. data/templates/postextual1-referencias.latex +0 -10
  24. data/templates/postextual2-glossario.latex +0 -7
  25. data/templates/postextual3-apendices.latex +0 -22
  26. data/templates/postextual4-anexos.latex +0 -16
  27. data/templates/postextual5-indice.latex +0 -8
  28. data/templates/pretextual1-folha_de_rosto.latex +0 -24
  29. data/templates/pretextual10-lista_tabelas.latex +0 -14
  30. data/templates/pretextual11-lista_siglas.latex +0 -14
  31. data/templates/pretextual12-lista_simbolos.latex +0 -15
  32. data/templates/pretextual13-sumario.latex +0 -8
  33. data/templates/pretextual2-errata.latex +0 -17
  34. data/templates/pretextual3-folha_de_aprovacao.latex +0 -68
  35. data/templates/pretextual4-dedicatoria.latex +0 -15
  36. data/templates/pretextual5-agradecimentos.latex +0 -11
  37. data/templates/pretextual6-epigrafe.latex +0 -15
  38. data/templates/pretextual7-resumo.latex +0 -17
  39. data/templates/pretextual8-abstract.latex +0 -41
  40. data/templates/pretextual9-lista_ilustracoes.latex +0 -12
  41. data/templates/trabalho-academico.latex +0 -266
  42. data/trabalho-academico.md +0 -79
@@ -1,3 +1,3 @@
1
1
  module Limarka
2
- VERSION = "0.7.2"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -36,5 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_dependency 'bibtex-ruby'
37
37
  spec.add_dependency 'terminal-table'
38
38
  spec.add_dependency 'pandoc_abnt'
39
+ spec.add_dependency 'guard'
40
+ spec.add_dependency 'guard-shell'
39
41
  end
40
42
 
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.7.2
4
+ version: 0.8.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-04-09 00:00:00.000000000 Z
11
+ date: 2018-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -206,6 +206,34 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: guard
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: guard-shell
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
209
237
  description: Com essa ferramenta você poderá escrever sua monografia, dissertação
210
238
  ou tese utilizando Markdown (linguagem mais simples que Latex).
211
239
  email:
@@ -217,6 +245,7 @@ extra_rdoc_files: []
217
245
  files:
218
246
  - ".github_changelog_generator"
219
247
  - ".gitignore"
248
+ - ".gitmodules"
220
249
  - ".rspec"
221
250
  - ".travis.yml"
222
251
  - CHANGELOG.md
@@ -227,18 +256,16 @@ files:
227
256
  - LICENSE
228
257
  - README.md
229
258
  - Rakefile
230
- - anexos.md
231
- - apendices.md
232
259
  - bin/console
233
260
  - bin/setup
234
261
  - bin/test
235
- - configuracao.odt
262
+ - containers/Dockerfile-ruby-latex-full.production
263
+ - containers/Dockerfile.production
236
264
  - docs/paper/codemeta.json
237
265
  - docs/paper/generate
238
266
  - docs/paper/open-canvas.md
239
267
  - docs/paper/paper.bib
240
268
  - docs/paper/paper.md
241
- - errata.md
242
269
  - exe/limarka
243
270
  - imagens/configuracao/agradecimentos.png
244
271
  - imagens/configuracao/capa.png
@@ -263,6 +290,7 @@ files:
263
290
  - imagens/folha-de-aprovacao-escaneada.pdf
264
291
  - imagens/passaro.jpg
265
292
  - lib/limarka.rb
293
+ - lib/limarka/check.rb
266
294
  - lib/limarka/cli.rb
267
295
  - lib/limarka/configuracao.rb
268
296
  - lib/limarka/conversor.rb
@@ -273,28 +301,6 @@ files:
273
301
  - lib/limarka/version.rb
274
302
  - limarka.gemspec
275
303
  - referencias.bib
276
- - templates/README.md
277
- - templates/configuracao-tecnica.yaml
278
- - templates/postextual1-referencias.latex
279
- - templates/postextual2-glossario.latex
280
- - templates/postextual3-apendices.latex
281
- - templates/postextual4-anexos.latex
282
- - templates/postextual5-indice.latex
283
- - templates/pretextual1-folha_de_rosto.latex
284
- - templates/pretextual10-lista_tabelas.latex
285
- - templates/pretextual11-lista_siglas.latex
286
- - templates/pretextual12-lista_simbolos.latex
287
- - templates/pretextual13-sumario.latex
288
- - templates/pretextual2-errata.latex
289
- - templates/pretextual3-folha_de_aprovacao.latex
290
- - templates/pretextual4-dedicatoria.latex
291
- - templates/pretextual5-agradecimentos.latex
292
- - templates/pretextual6-epigrafe.latex
293
- - templates/pretextual7-resumo.latex
294
- - templates/pretextual8-abstract.latex
295
- - templates/pretextual9-lista_ilustracoes.latex
296
- - templates/trabalho-academico.latex
297
- - trabalho-academico.md
298
304
  homepage: https://github.com/abntex/limarka
299
305
  licenses:
300
306
  - MIT
@@ -318,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
324
  requirements:
319
325
  - pandoc, v1.19.1
320
326
  rubyforge_project:
321
- rubygems_version: 2.5.1
327
+ rubygems_version: 2.7.6
322
328
  signing_key:
323
329
  specification_version: 4
324
330
  summary: Ferramenta para compilação de trabalhos acadêmicos com markdown e abnTeX2
data/anexos.md DELETED
@@ -1,9 +0,0 @@
1
- # Primeiro anexo
2
-
3
- \lipsum[30]
4
-
5
-
6
- # Segundo anexo
7
-
8
- \lipsum[31]
9
-
@@ -1,9 +0,0 @@
1
- # Primeiro apêndice
2
-
3
- \lipsum[50]
4
-
5
-
6
- # Segundo apêndice
7
-
8
- \lipsum[55-57]
9
-
Binary file
data/errata.md DELETED
@@ -1,6 +0,0 @@
1
- A aranha arranha a rã. A rã arranha a aranha. **Nem a aranha arranha a rã**. Nem a rã arranha a aranha.
2
-
3
- Folha| Linha| Onde se lê | Leia-se
4
- -----|------|----------------|----------------
5
- 10 |12 |aranhaarranha | aranha arranha
6
-
@@ -1,17 +0,0 @@
1
- # templates pandoc
2
-
3
- Os arquivos neste diretório são templates pandoc utilizados para gerar código
4
- Latex. Tudo isso é automatizado através de tarefas rake.
5
-
6
- - Os templates utilizam código Latex, baseados no arquivo [abntex2-modelo-trabalho-academico.tex](https://github.com/abntex/abntex2/blob/master/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.tex).
7
- - Utilizam a [sintaxe de templates do pandoc](http://pandoc.org/README.html#templates)
8
- - As variáveis são configuradas no arquivo [metadados.yaml](https://github.com/abntex/trabalho-academico-pandoc-abntex2/blob/master/metadados.yaml)
9
- - A regra de como os templates serão gerados é implementada no arquivo [Rakefile](https://github.com/abntex/trabalho-academico-pandoc-abntex2/blob/master/Rakefile)
10
-
11
- Para maiores informações consulte:
12
-
13
- - [Manual do AbnTeX2](ftp://ftp.dante.de/tex-archive/macros/latex/contrib/abntex2/doc/abntex2.pdf) ou digite `texdoc abntex2`
14
- - [Documentação do Pandoc](http://pandoc.org/README.html)
15
- - [pandoc-templates/default.latex](https://github.com/jgm/pandoc-templates/blob/master/default.latex)
16
- - [Rakefile](https://github.com/abntex/trabalho-academico-pandoc-abntex2/blob/master/Rakefile)
17
-
@@ -1,10 +0,0 @@
1
- ---
2
- # Configurações técnicas passadas para o pandoc, serão mescladas com as
3
- # configurações lidas do PDF.
4
- fontsize: 12pt
5
- papersize: a4
6
- # Opção hyphens passada para quebrar os links longos
7
- classoption: openright,twoside,hyphens
8
- documentclass: abntex2
9
- lang: pt-BR
10
- ---
@@ -1,10 +0,0 @@
1
- % ----------------------------------------------------------
2
- % Início dos ELEMENTOS PÓS-TEXTUAIS
3
- % ----------------------------------------------------------
4
- \postextual
5
- % ----------------------------------------------------------
6
-
7
- % ----------------------------------------------------------
8
- % Referências bibliográficas
9
- % ----------------------------------------------------------
10
- \bibliography{xxx-referencias}
@@ -1,7 +0,0 @@
1
- % ----------------------------------------------------------
2
- % Glossário
3
- % ----------------------------------------------------------
4
- %
5
- % Consulte o manual da classe abntex2 para orientações sobre o glossário.
6
- %
7
- %\glossary
@@ -1,22 +0,0 @@
1
- % ----------------------------------------------------------
2
- % Apêndices
3
- % ----------------------------------------------------------
4
- $if(apendices)$
5
- %
6
- % ---
7
- % Inicia os apêndices
8
- % ---
9
- \begin{apendicesenv}
10
-
11
- % Imprime uma página indicando o início dos apêndices
12
- \partapendices
13
-
14
- $body$
15
-
16
- \end{apendicesenv}
17
- $else$
18
- %%
19
- % Seção de apendices configurada como desativada
20
- %%
21
- % ---
22
- $endif$
@@ -1,16 +0,0 @@
1
-
2
- $if(anexos)$
3
- % ----------------------------------------------------------
4
- % Anexos
5
- % ----------------------------------------------------------
6
- \begin{anexosenv}
7
- % Imprime uma página indicando o início dos anexos
8
- \partanexos
9
- $body$
10
- \end{anexosenv}
11
- $else$
12
- % ----------------------------------------------------------
13
- % Anexos desativados:
14
- % Seção de anexos configurada como desativada
15
- % ----------------------------------------------------------
16
- $endif$
@@ -1,8 +0,0 @@
1
- $if(indice-remissivo)$
2
- %---------------------------------------------------------------------
3
- % INDICE REMISSIVO
4
- %---------------------------------------------------------------------
5
- \phantompart
6
- \printindex
7
- %---------------------------------------------------------------------
8
- $endif$
@@ -1,24 +0,0 @@
1
- % ---
2
- % Folha de rosto: sempre será impressa
3
- % ---
4
- $if(incluir_ficha_catalografica)$
5
- \imprimirfolhaderosto* % (o * indica que haverá a ficha catalográfica)
6
- % ---
7
- % Inserir a ficha catalográfica
8
- % ---
9
- % Provavelmente a biblioteca da sua universidade lhe fornecerá um PDF
10
- % com a ficha catalográfica definitiva após a defesa do trabalho. Quando estiver
11
- % com o documento, salve-o como PDF no diretório do seu projeto e substitua todo
12
- % o conteúdo de implementação deste arquivo pelo comando abaixo:
13
- %
14
- \begin{fichacatalografica}
15
- \includepdf{imagens/ficha-catalografica.pdf}
16
- \end{fichacatalografica}
17
- $else$
18
- \imprimirfolhaderosto
19
- % ---
20
- % Sem ficha catalográfica
21
- % ---
22
- $endif$
23
- % ---
24
-
@@ -1,14 +0,0 @@
1
- $if(lista_tabelas)$
2
- % ---
3
- % Lista de tabelas (opcional)
4
- % ---
5
- \pdfbookmark[0]{\listtablename}{lot}
6
- \listoftables*
7
- \cleardoublepage
8
- % ---
9
- $else$
10
- % ---
11
- % Lista de tabelas (opcional): não utilizando
12
- % ---
13
- $endif$
14
-
@@ -1,14 +0,0 @@
1
- % ---
2
- % Lista de abreviaturas e siglas (opcional)
3
- % ---
4
- $if(siglas)$
5
- \begin{siglas}
6
- $for(siglas)$
7
- \item[$siglas.s$] $siglas.d$
8
- $endfor$
9
- \end{siglas}
10
- % ---
11
- $else$
12
- % SEM LISTA DE SIGLAS
13
- $endif$
14
-
@@ -1,15 +0,0 @@
1
- $if(simbolos)$
2
- % ---
3
- % Lista de símbolos (opcional): PRESENTE
4
- % ---
5
- \begin{simbolos}
6
- $for(simbolos)$
7
- \item[$$ \$simbolos.s$ $$] $simbolos.d$
8
- $endfor$
9
- \end{simbolos}
10
- % ---
11
- $else$
12
- % ---
13
- % Lista de símbolos (opcional): AUSENTE
14
- % ---
15
- $endif$
@@ -1,8 +0,0 @@
1
- % ---
2
- % Sumário
3
- % ---
4
- \pdfbookmark[0]{\contentsname}{toc}
5
- \tableofcontents*
6
- \cleardoublepage
7
- % ---
8
-
@@ -1,17 +0,0 @@
1
-
2
- $if(errata)$
3
- % ---
4
- % ERRATA
5
- % ---
6
- \begin{errata}
7
-
8
- $body$
9
-
10
- \end{errata}
11
- % ---
12
- $else$
13
- % ---
14
- % ERRATA: Sem errata
15
- % ---
16
- $endif$
17
-
@@ -1,68 +0,0 @@
1
- $if(incluir_folha_de_aprovacao)$
2
- % ---
3
- % Folha de aprovação incluída
4
- % ---
5
-
6
- % Após após aprovação do trabalho a folha deve ser assinada, escaneada e
7
- % incluída como abaixo:
8
- \begin{folhadeaprovacao}
9
- \includepdf{imagens/folha-de-aprovacao-escaneada.pdf}
10
- \end{folhadeaprovacao}
11
- $endif$
12
-
13
- $if(folha_de_aprovacao)$
14
- % ---
15
- % Folha de aprovação gerada
16
- % ---
17
-
18
- % Isto é um exemplo de Folha de aprovação, elemento obrigatório da NBR
19
- % 14724/2011 (seção 4.2.1.3).
20
- % Este modelo será utilizado antes da aprovação do trabalho.
21
- \begin{folhadeaprovacao}
22
-
23
- \begin{center}
24
- {\ABNTEXchapterfont\large\imprimirautor}
25
-
26
- \vspace*{\fill}\vspace*{\fill}
27
- \begin{center}
28
- \ABNTEXchapterfont\bfseries\Large\imprimirtitulo
29
- \end{center}
30
- \vspace*{\fill}
31
-
32
- \hspace{.45\textwidth}
33
- \begin{minipage}{.5\textwidth}
34
-
35
- \imprimirpreambulo
36
-
37
- \end{minipage}%
38
- \vspace*{\fill}
39
- \end{center}
40
-
41
- $tipo_do_trabalho$ aprovada. \imprimirlocal, $aprovacao_dia$ de $aprovacao_mes$ de $date$:
42
-
43
- \assinatura{\textbf{\imprimirorientador} \\ Orientador}
44
- $if(coorientador)$
45
- \assinatura{\textbf{$coorientador$} \\ Coorientador}
46
- $endif$
47
- \assinatura{\textbf{$avaliador1$} \\ Convidado}
48
- \assinatura{\textbf{$avaliador2$} \\ Convidado}
49
- $if(avaliador3)$
50
- \assinatura{\textbf{$avaliador3$} \\ Convidado}
51
- $endif$
52
-
53
- \begin{center}
54
- \vspace*{0.5cm}
55
- {\large\imprimirlocal}
56
- \par
57
- {\large\imprimirdata}
58
- \vspace*{1cm}
59
- \end{center}
60
-
61
- \end{folhadeaprovacao}
62
- $else$
63
- % ---
64
- % Sem Folha de aprovação
65
- % ---
66
- $endif$
67
- % ---
68
-
@@ -1,15 +0,0 @@
1
- % ---
2
- % Dedicatória
3
- % ---
4
- $if(dedicatoria)$
5
- \begin{dedicatoria}
6
- \vspace*{\fill}
7
- \centering
8
- \noindent
9
-
10
- $dedicatoria$
11
-
12
- \vspace*{\fill}
13
- \end{dedicatoria}
14
- % ---
15
- $endif$