limarka 0.3.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 +7 -0
- data/.github_changelog_generator +6 -0
- data/.gitignore +201 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +77 -0
- data/CODE_OF_CONDUCT.md +71 -0
- data/Gemfile +4 -0
- data/ISSUE_TEMPLATE.md +8 -0
- data/LICENSE +21 -0
- data/README.md +33 -0
- data/Rakefile +58 -0
- data/anexos.md +9 -0
- data/apendices.md +9 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/configuracao.odt +0 -0
- data/errata.md +6 -0
- data/exe/limarka +7 -0
- data/imagens/configuracao/agradecimentos.png +0 -0
- data/imagens/configuracao/capa.png +0 -0
- data/imagens/configuracao/capitulos-e-secoes.png +0 -0
- data/imagens/configuracao/consulta-vigencia-normas-abnt.png +0 -0
- data/imagens/configuracao/dedicatoria.png +0 -0
- data/imagens/configuracao/epigrafe.png +0 -0
- data/imagens/configuracao/errata.png +0 -0
- data/imagens/configuracao/folha-de-aprovacao.png +0 -0
- data/imagens/configuracao/folha-de-rosto.png +0 -0
- data/imagens/configuracao/lista-nao-ordenada.png +0 -0
- data/imagens/configuracao/lista-ordenada-numericamente1.png +0 -0
- data/imagens/configuracao/lista-ordenada-por-letras-parentese.png +0 -0
- data/imagens/configuracao/lista-ordenada-por-letras-ponto.png +0 -0
- data/imagens/configuracao/lista-siglas.png +0 -0
- data/imagens/configuracao/lista-simbolos.png +0 -0
- data/imagens/configuracao/mapa-arquivos.mm +130 -0
- data/imagens/configuracao/mapa-arquivos.svg +908 -0
- data/imagens/configuracao/trabalho-academico-elementos.png +0 -0
- data/imagens/ficha-catalografica.odt +0 -0
- data/imagens/ficha-catalografica.pdf +0 -0
- data/imagens/folha-de-aprovacao-escaneada.pdf +0 -0
- data/imagens/passaro.jpg +0 -0
- data/lib/limarka/cli.rb +124 -0
- data/lib/limarka/configuracao.rb +46 -0
- data/lib/limarka/conversor.rb +238 -0
- data/lib/limarka/pdfconf.rb +186 -0
- data/lib/limarka/trabalho.rb +170 -0
- data/lib/limarka/version.rb +3 -0
- data/lib/limarka.rb +8 -0
- data/limarka.gemspec +35 -0
- data/referencias.bib +344 -0
- data/templates/README.md +17 -0
- data/templates/configuracao-tecnica.yaml +10 -0
- data/templates/postextual1-referencias.latex +10 -0
- data/templates/postextual2-glossario.latex +7 -0
- data/templates/postextual3-apendices.latex +22 -0
- data/templates/postextual4-anexos.latex +16 -0
- data/templates/postextual5-indice.latex +8 -0
- data/templates/pretextual1-folha_de_rosto.latex +24 -0
- data/templates/pretextual10-lista_tabelas.latex +14 -0
- data/templates/pretextual11-lista_siglas.latex +14 -0
- data/templates/pretextual12-lista_simbolos.latex +15 -0
- data/templates/pretextual13-sumario.latex +8 -0
- data/templates/pretextual2-errata.latex +17 -0
- data/templates/pretextual3-folha_de_aprovacao.latex +68 -0
- data/templates/pretextual4-dedicatoria.latex +15 -0
- data/templates/pretextual5-agradecimentos.latex +11 -0
- data/templates/pretextual6-epigrafe.latex +15 -0
- data/templates/pretextual7-resumo.latex +17 -0
- data/templates/pretextual8-abstract.latex +41 -0
- data/templates/pretextual9-lista_ilustracoes.latex +12 -0
- data/templates/trabalho-academico.latex +266 -0
- data/trabalho-academico.md +79 -0
- metadata +258 -0
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
module Limarka
|
4
|
+
class Trabalho
|
5
|
+
# Todas as chaves de configuração devem ser string (e não utilizar simbolos!)
|
6
|
+
attr_accessor :configuracao
|
7
|
+
attr_accessor :texto, :anexos, :apendices, :errata
|
8
|
+
attr_reader :referencias
|
9
|
+
|
10
|
+
def initialize(configuracao: {}, texto: nil, anexos: nil, apendices: nil, referencias_bib: nil, errata: nil)
|
11
|
+
self.configuracao = configuracao
|
12
|
+
self.texto = texto
|
13
|
+
self.anexos = anexos
|
14
|
+
self.apendices = apendices
|
15
|
+
self.referencias_bib = referencias_bib
|
16
|
+
self.errata = errata
|
17
|
+
end
|
18
|
+
|
19
|
+
# def configuracao=(c)
|
20
|
+
# # http://stackoverflow.com/questions/800122/best-way-to-convert-strings-to-symbols-in-hash
|
21
|
+
# @configuracao = c.inject({}){|h,(k,v)| h[k.to_s] = v; h} # convert to strings
|
22
|
+
# end
|
23
|
+
|
24
|
+
def configuracao=(configuracao)
|
25
|
+
@configuracao = configuracao or {}
|
26
|
+
siglas = @configuracao['siglas']
|
27
|
+
if siglas and siglas.empty? then
|
28
|
+
@configuracao['siglas'] = nil
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
|
33
|
+
def anexos=(a)
|
34
|
+
@anexos = a
|
35
|
+
if (a) then
|
36
|
+
@configuracao.merge!('anexos' => true)
|
37
|
+
else
|
38
|
+
@configuracao.merge!('anexos' => false)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def anexos?
|
43
|
+
@configuracao['anexos']
|
44
|
+
end
|
45
|
+
|
46
|
+
def errata?
|
47
|
+
@configuracao['errata']
|
48
|
+
end
|
49
|
+
|
50
|
+
def errata=(e)
|
51
|
+
@errata = e
|
52
|
+
if (e) then
|
53
|
+
@configuracao.merge!('errata' => true)
|
54
|
+
else
|
55
|
+
@configuracao.merge!('errata' => false)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
|
60
|
+
def apendices=(a)
|
61
|
+
@apendices = a
|
62
|
+
if (a) then
|
63
|
+
@configuracao.merge!('apendices' => true)
|
64
|
+
else
|
65
|
+
@configuracao.merge!('apendices' => false)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
def apendices?
|
70
|
+
@configuracao['apendices']
|
71
|
+
end
|
72
|
+
|
73
|
+
def anexos?
|
74
|
+
@configuracao['anexos']
|
75
|
+
end
|
76
|
+
|
77
|
+
def referencias_bib?
|
78
|
+
@referencias
|
79
|
+
end
|
80
|
+
|
81
|
+
def referencias_bib=(ref)
|
82
|
+
@referencias = ref
|
83
|
+
end
|
84
|
+
|
85
|
+
def self.default_texto_file
|
86
|
+
"trabalho-academico.md"
|
87
|
+
end
|
88
|
+
def self.default_errata_file
|
89
|
+
"errata.md"
|
90
|
+
end
|
91
|
+
def self.default_anexos_file
|
92
|
+
"anexos.md"
|
93
|
+
end
|
94
|
+
def self.default_apendices_file
|
95
|
+
"apendices.md"
|
96
|
+
end
|
97
|
+
|
98
|
+
def self.default_referencias_bib_file
|
99
|
+
"referencias.bib"
|
100
|
+
end
|
101
|
+
|
102
|
+
def self.default_configuracao_file
|
103
|
+
'configuracao.yaml'
|
104
|
+
end
|
105
|
+
|
106
|
+
def atualiza_de_arquivos(options)
|
107
|
+
self.configuracao = ler_configuracao(options)
|
108
|
+
puts "Configuração lida: #{configuracao}" if options[:verbose]
|
109
|
+
# transforma os simbolos em string: http://stackoverflow.com/questions/8379596/how-do-i-convert-a-ruby-hash-so-that-all-of-its-keys-are-symbols?noredirect=1&lq=1
|
110
|
+
# @configuracao.inject({}){|h,(k,v)| h[k.intern] = v; h}
|
111
|
+
self.texto = ler_texto
|
112
|
+
self.referencias_bib = ler_referencias(self.configuracao)
|
113
|
+
self.apendices = ler_apendices if apendices?
|
114
|
+
self.anexos = ler_anexos if anexos?
|
115
|
+
end
|
116
|
+
|
117
|
+
def ler_configuracao(options)
|
118
|
+
if options and options[:configuracao_yaml] then
|
119
|
+
raise IOError, "Arquivo configuracao.yaml não foi encontrado, talvez esteja executando dentro de um diretório que não contém um projeto válido?" unless File.exist?('configuracao.yaml')
|
120
|
+
File.open('configuracao.yaml', 'r') {|f| YAML.load(f.read)}
|
121
|
+
else
|
122
|
+
raise IOError, "Arquivo configuracao.pdf não foi encontrado, talvez esteja executando dentro de um diretório que não contém um projeto válido?" unless File.exist?('configuracao.pdf')
|
123
|
+
ler_configuracao_pdf 'configuracao.pdf'
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def ler_configuracao_pdf(file)
|
128
|
+
raise IOError, 'Arquivo não encontrado: ' + file unless File.exist? (file)
|
129
|
+
pdf = PdfForms::Pdf.new file, (PdfForms.new 'pdftk'), utf8_fields: true
|
130
|
+
pdfconf = Limarka::Pdfconf.new(pdf: pdf)
|
131
|
+
pdfconf.exporta
|
132
|
+
end
|
133
|
+
|
134
|
+
def ler_apendices
|
135
|
+
File.open('apendices.md', 'r') {|f| f.read} if apendices?
|
136
|
+
end
|
137
|
+
|
138
|
+
def ler_anexos
|
139
|
+
File.open('anexos.md', 'r') {|f| f.read} if anexos?
|
140
|
+
end
|
141
|
+
|
142
|
+
def ler_texto
|
143
|
+
File.open('trabalho-academico.md', 'r') {|f| f.read}
|
144
|
+
end
|
145
|
+
|
146
|
+
def ler_referencias(configuracao)
|
147
|
+
arquivo_de_referencias = configuracao['referencias_caminho']
|
148
|
+
File.open(arquivo_de_referencias, 'r') {|f| f.read}
|
149
|
+
end
|
150
|
+
|
151
|
+
def self.save_yaml(hash, caminho)
|
152
|
+
File.open(caminho, 'w') do |f|
|
153
|
+
f.write YAML.dump(hash)
|
154
|
+
f.write "\n---\n"
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
def save(dir)
|
159
|
+
Dir.chdir(dir) do
|
160
|
+
File.open(Trabalho.default_texto_file, 'w'){|f| f.write texto} if texto
|
161
|
+
File.open(configuracao['referencias_caminho'], 'w'){|f| f.write referencias} if referencias_bib?
|
162
|
+
File.open(Trabalho.default_anexos_file, 'w'){|f| f.write anexos} if anexos?
|
163
|
+
File.open(Trabalho.default_apendices_file, 'w'){|f| f.write apendices} if apendices?
|
164
|
+
File.open(Trabalho.default_errata_file, 'w'){|f| f.write errata} if errata?
|
165
|
+
Limarka::Trabalho.save_yaml(configuracao, Trabalho.default_configuracao_file)
|
166
|
+
end
|
167
|
+
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
data/lib/limarka.rb
ADDED
data/limarka.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'limarka/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "limarka"
|
8
|
+
spec.version = Limarka::VERSION
|
9
|
+
spec.authors = ["Eduardo de Santana Medeiros Alexandre"]
|
10
|
+
spec.email = ["eduardo.ufpb@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Ferramenta para compilação de trabalhos acadêmicos com markdown e abnTeX2}
|
13
|
+
spec.description = %q{Com essa ferramenta você poderá escrever sua monografia, dissertação ou tese utilizando Markdown (linguagem mais simples que Latex).}
|
14
|
+
spec.homepage = "https://github.com/abntex/limarka"
|
15
|
+
spec.license = "MIT"
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
22
|
+
spec.add_development_dependency "rake", "~> 11.0"
|
23
|
+
spec.add_development_dependency "rspec", "~> 3.5"
|
24
|
+
spec.add_development_dependency "pry-byebug"
|
25
|
+
spec.add_dependency "github_changelog_generator"
|
26
|
+
|
27
|
+
spec.add_dependency "colorize"
|
28
|
+
spec.add_dependency "pdf-forms", "~> 1.1.1"
|
29
|
+
spec.add_dependency "pandoc-ruby"
|
30
|
+
spec.add_dependency "thor"
|
31
|
+
spec.add_dependency 'bibtex-ruby'
|
32
|
+
|
33
|
+
|
34
|
+
end
|
35
|
+
|
data/referencias.bib
ADDED
@@ -0,0 +1,344 @@
|
|
1
|
+
%% This BibTeX bibliography file was created using BibDesk.
|
2
|
+
%% http://bibdesk.sourceforge.net/
|
3
|
+
|
4
|
+
|
5
|
+
%% Created for Lauro Cesar Araujo at 2015-04-27 19:43:45 -0300
|
6
|
+
|
7
|
+
|
8
|
+
%% Saved with string encoding Unicode (UTF-8)
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
@book{ibge1993,
|
13
|
+
Address = {Rio de Janeiro},
|
14
|
+
Author = {IBGE},
|
15
|
+
Date-Added = {2013-08-21 13:56:10 +0000},
|
16
|
+
Date-Modified = {2013-08-21 13:56:10 +0000},
|
17
|
+
Edition = {3},
|
18
|
+
Organization = {http://biblioteca.ibge.gov.br/visualizacao/livros/liv23907.pdf},
|
19
|
+
Publisher = {Centro de Documenta{\c c}{\~a}o e Dissemina{\c c}{\~a}o de Informa{\c c}{\~o}es. Funda{\c c}{\~a}o Intituto Brasileiro de Geografia e Estat{\'\i}stica},
|
20
|
+
Title = {Normas de apresenta{\c c}{\~a}o tabular},
|
21
|
+
Urlaccessdate = {21 ago 2013},
|
22
|
+
Year = {1993}}
|
23
|
+
|
24
|
+
@misc{abntex2-wiki-como-customizar,
|
25
|
+
Author = {Lauro C{\'e}sar Araujo},
|
26
|
+
Date-Added = {2013-03-23 21:39:21 +0000},
|
27
|
+
Date-Modified = {2015-04-27 22:43:06 +0000},
|
28
|
+
Howpublished = {Wiki do abnTeX2},
|
29
|
+
Keywords = {wiki},
|
30
|
+
Title = {Como customizar o abnTeX2},
|
31
|
+
Url = {https://github.com/abntex/abntex2/wiki/ComoCustomizar},
|
32
|
+
Urlaccessdate = {27 abr 2015},
|
33
|
+
Year = {2015},
|
34
|
+
Bdsk-Url-1 = {https://github.com/abntex/abntex2/wiki/ComoCustomizar}}
|
35
|
+
|
36
|
+
@manual{talbot2012,
|
37
|
+
Author = {Nicola L.C. Talbot},
|
38
|
+
Date-Added = {2013-03-11 12:06:04 +0000},
|
39
|
+
Date-Modified = {2013-03-11 12:06:56 +0000},
|
40
|
+
Month = {Nov.},
|
41
|
+
Title = {User Manual for glossaries.sty},
|
42
|
+
Url = {http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.pdf},
|
43
|
+
Urlaccessdate = {11 mar. 2013},
|
44
|
+
Year = {2012},
|
45
|
+
Bdsk-Url-1 = {http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.pdf}}
|
46
|
+
|
47
|
+
@manual{babel,
|
48
|
+
Author = {Johannes Braams},
|
49
|
+
Date-Added = {2013-02-17 13:37:14 +0000},
|
50
|
+
Date-Modified = {2013-02-17 13:38:38 +0000},
|
51
|
+
Month = {Apr.},
|
52
|
+
Title = {Babel, a multilingual package for use with LATEX's standard document classes},
|
53
|
+
Url = {http://mirrors.ctan.org/info/babel/babel.pdf},
|
54
|
+
Urlaccessdate = {17 fev. 2013},
|
55
|
+
Year = {2008},
|
56
|
+
Bdsk-Url-1 = {http://mirrors.ctan.org/info/babel/babel.pdf}}
|
57
|
+
|
58
|
+
@manual{abntex2modelo-artigo,
|
59
|
+
Annote = {Este documento {\'e} derivado do \cite{abnt-bibtex-doc}},
|
60
|
+
Author = {Lauro C{\'e}sar Araujo},
|
61
|
+
Date-Added = {2013-01-15 00:10:35 +0000},
|
62
|
+
Date-Modified = {2015-04-27 22:43:13 +0000},
|
63
|
+
Organization = {Equipe abnTeX2},
|
64
|
+
Title = {Modelo Can{\^o}nico de Artigo Cient{\'\i}fico com abnTeX2},
|
65
|
+
Url = {http://www.abntex.net.br/},
|
66
|
+
Year = {2015},
|
67
|
+
Bdsk-Url-1 = {http://www.abntex.net.br/}}
|
68
|
+
|
69
|
+
@manual{abntex2modelo-relatorio,
|
70
|
+
Annote = {Este documento {\'e} derivado do \cite{abnt-bibtex-doc}},
|
71
|
+
Author = {Lauro C{\'e}sar Araujo},
|
72
|
+
Date-Added = {2013-01-15 00:05:34 +0000},
|
73
|
+
Date-Modified = {2015-04-27 22:43:18 +0000},
|
74
|
+
Organization = {Equipe abnTeX2},
|
75
|
+
Title = {Modelo Can{\^o}nico de Relat{\'o}rio T{\'e}cnico e/ou Cient{\'\i}fico com abnTeX2},
|
76
|
+
Url = {http://www.abntex.net.br/},
|
77
|
+
Year = {2015},
|
78
|
+
Bdsk-Url-1 = {http://www.abntex.net.br/}}
|
79
|
+
|
80
|
+
@manual{abntex2modelo,
|
81
|
+
Annote = {Este documento {\'e} derivado do \cite{abnt-bibtex-doc}},
|
82
|
+
Author = {Lauro C{\'e}sar Araujo},
|
83
|
+
Date-Added = {2013-01-12 22:55:32 +0000},
|
84
|
+
Date-Modified = {2015-04-27 22:43:32 +0000},
|
85
|
+
Organization = {Equipe abnTeX2},
|
86
|
+
Title = {Modelo Can{\^o}nico de Trabalho Acad{\^e}mico com abnTeX2},
|
87
|
+
Url = {http://www.abntex.net.br/},
|
88
|
+
Year = {2015},
|
89
|
+
Bdsk-Url-1 = {http://www.abntex.net.br/}}
|
90
|
+
|
91
|
+
@mastersthesis{araujo2012,
|
92
|
+
Address = {Bras{\'\i}lia},
|
93
|
+
Author = {Lauro C{\'e}sar Araujo},
|
94
|
+
Date-Added = {2013-01-09 11:04:42 +0000},
|
95
|
+
Date-Modified = {2013-01-09 11:04:42 +0000},
|
96
|
+
Month = {mar.},
|
97
|
+
School = {Universidade de Bras{\'\i}lia},
|
98
|
+
Subtitle = {uma perspectiva de {A}rquitetura da {I}nforma{\c c}{\~a}o da {E}scola de {B}ras{\'\i}lia},
|
99
|
+
Title = {Configura{\c c}{\~a}o},
|
100
|
+
Year = {2012}}
|
101
|
+
|
102
|
+
@manual{memoir,
|
103
|
+
Address = {Normandy Park, WA},
|
104
|
+
Author = {Peter Wilson and Lars Madsen},
|
105
|
+
Date-Added = {2013-01-09 10:37:50 +0000},
|
106
|
+
Date-Modified = {2013-03-21 13:23:25 +0000},
|
107
|
+
Organization = {The Herries Press},
|
108
|
+
Title = {The Memoir Class for Configurable Typesetting - User Guide},
|
109
|
+
Url = {http://mirrors.ctan.org/macros/latex/contrib/memoir/memman.pdf},
|
110
|
+
Urlaccessdate = {19 dez. 2012},
|
111
|
+
Year = {2010},
|
112
|
+
Bdsk-Url-1 = {http://ctan.tche.br/macros/latex/contrib/memoir/memman.pdf}}
|
113
|
+
|
114
|
+
@manual{abntex2cite-alf,
|
115
|
+
Annote = {Este documento {\'e} derivado do \cite{abnt-bibtex-alf-doc}},
|
116
|
+
Author = {Lauro C{\'e}sar Araujo},
|
117
|
+
Date-Added = {2013-01-09 10:37:45 +0000},
|
118
|
+
Date-Modified = {2015-04-27 22:43:44 +0000},
|
119
|
+
Organization = {Equipe abnTeX2},
|
120
|
+
Title = {O pacote abntex2cite: t{\'o}picos espec{\'\i}ficos da ABNT NBR 10520:2002 e o estilo bibliogr{\'a}fico alfab{\'e}tico (sistema autor-data)},
|
121
|
+
Url = {http://www.abntex.net.br/},
|
122
|
+
Year = {2015},
|
123
|
+
Bdsk-Url-1 = {http://www.abntex.net.br/}}
|
124
|
+
|
125
|
+
@manual{abntex2cite,
|
126
|
+
Annote = {Este documento {\'e} derivado do \cite{abnt-bibtex-doc}},
|
127
|
+
Author = {Lauro C{\'e}sar Araujo},
|
128
|
+
Date-Added = {2013-01-09 10:37:45 +0000},
|
129
|
+
Date-Modified = {2015-04-27 22:43:38 +0000},
|
130
|
+
Organization = {Equipe abnTeX2},
|
131
|
+
Title = {O pacote abntex2cite: Estilos bibliogr{\'a}ficos compat{\'\i}veis com a ABNT NBR 6023},
|
132
|
+
Url = {http://www.abntex.net.br/},
|
133
|
+
Year = {2015},
|
134
|
+
Bdsk-Url-1 = {http://www.abntex.net.br/}}
|
135
|
+
|
136
|
+
@manual{abntex2classe,
|
137
|
+
Author = {Lauro C{\'e}sar Araujo},
|
138
|
+
Date-Added = {2013-01-09 10:37:38 +0000},
|
139
|
+
Date-Modified = {2015-04-27 22:42:47 +0000},
|
140
|
+
Organization = {Equipe abnTeX2},
|
141
|
+
Title = {A classe abntex2: Modelo can{\^o}nico de trabalhos acad{\^e}micos brasileiros compat{\'\i}vel com as normas ABNT NBR 14724:2011, ABNT NBR 6024:2012 e outras},
|
142
|
+
Url = {http://www.abntex.net.br/},
|
143
|
+
Year = {2015},
|
144
|
+
Bdsk-Url-1 = {http://www.abntex.net.br/}}
|
145
|
+
|
146
|
+
@manual{NBR10520:2002,
|
147
|
+
Address = {Rio de Janeiro},
|
148
|
+
Date-Added = {2012-12-15 21:43:38 +0000},
|
149
|
+
Date-Modified = {2013-01-12 22:17:20 +0000},
|
150
|
+
Month = {ago.},
|
151
|
+
Org-Short = {ABNT},
|
152
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
153
|
+
Pages = 7,
|
154
|
+
Subtitle = {Informa{\c c}\~ao e documenta{\c c}\~ao --- Apresenta{\c c}\~ao de cita{\c c}\~oes em documentos},
|
155
|
+
Title = {{NBR} 10520},
|
156
|
+
Year = 2002}
|
157
|
+
|
158
|
+
@manual{NBR6024:2012,
|
159
|
+
Address = {Rio de Janeiro},
|
160
|
+
Date-Added = {2012-12-15 21:24:06 +0000},
|
161
|
+
Date-Modified = {2012-12-15 21:24:28 +0000},
|
162
|
+
Month = {fev.},
|
163
|
+
Org-Short = {ABNT},
|
164
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
165
|
+
Pages = 4,
|
166
|
+
Subtitle = {Numera{\c c}\~ao progressiva das se{\c c}\~oes de um documento},
|
167
|
+
Title = {{NBR} 6024},
|
168
|
+
Year = 2012}
|
169
|
+
|
170
|
+
@manual{NBR6028:2003,
|
171
|
+
Address = {Rio de Janeiro},
|
172
|
+
Date-Added = {2012-12-15 21:02:12 +0000},
|
173
|
+
Date-Modified = {2012-12-15 21:02:50 +0000},
|
174
|
+
Month = {nov.},
|
175
|
+
Org-Short = {ABNT},
|
176
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
177
|
+
Pages = 2,
|
178
|
+
Subtitle = {Resumo - Apresenta{\c c}{\~a}o},
|
179
|
+
Title = {{NBR} 6028},
|
180
|
+
Year = 2003}
|
181
|
+
|
182
|
+
@manual{NBR14724:2001,
|
183
|
+
Address = {Rio de Janeiro},
|
184
|
+
Date-Added = {2012-12-15 20:34:08 +0000},
|
185
|
+
Date-Modified = {2012-12-15 20:34:08 +0000},
|
186
|
+
Month = {jul.},
|
187
|
+
Org-Short = {ABNT},
|
188
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
189
|
+
Pages = 6,
|
190
|
+
Subtitle = {Informa{\c c}\~ao e documenta{\c c}\~ao --- trabalhos acad\^emicos --- apresenta{\c c}\~ao},
|
191
|
+
Title = {{NBR} 14724},
|
192
|
+
Year = 2001}
|
193
|
+
|
194
|
+
@manual{NBR14724:2002,
|
195
|
+
Address = {Rio de Janeiro},
|
196
|
+
Date-Added = {2012-12-15 20:34:17 +0000},
|
197
|
+
Date-Modified = {2012-12-15 20:34:17 +0000},
|
198
|
+
Month = {ago.},
|
199
|
+
Org-Short = {ABNT},
|
200
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
201
|
+
Pages = 6,
|
202
|
+
Subtitle = {Informa{\c c}\~ao e documenta{\c c}\~ao --- trabalhos acad\^emicos --- apresenta{\c c}\~ao},
|
203
|
+
Title = {{NBR} 14724},
|
204
|
+
Year = 2002}
|
205
|
+
|
206
|
+
@manual{NBR14724:2005,
|
207
|
+
Address = {Rio de Janeiro},
|
208
|
+
Date-Added = {2012-12-15 20:34:08 +0000},
|
209
|
+
Date-Modified = {2012-12-15 20:35:25 +0000},
|
210
|
+
Month = {dez.},
|
211
|
+
Org-Short = {ABNT},
|
212
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
213
|
+
Pages = 9,
|
214
|
+
Subtitle = {Informa{\c c}\~ao e documenta{\c c}\~ao --- trabalhos acad\^emicos --- apresenta{\c c}\~ao},
|
215
|
+
Title = {{NBR} 14724},
|
216
|
+
Year = 2005}
|
217
|
+
|
218
|
+
@manual{NBR14724:2011,
|
219
|
+
Address = {Rio de Janeiro},
|
220
|
+
Date-Added = {2012-12-15 20:34:08 +0000},
|
221
|
+
Date-Modified = {2012-12-15 20:35:25 +0000},
|
222
|
+
Month = {mar.},
|
223
|
+
Note = {Substitui a Ref.~\citeonline{NBR14724:2005}},
|
224
|
+
Org-Short = {ABNT},
|
225
|
+
Organization = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
|
226
|
+
Pages = 15,
|
227
|
+
Subtitle = {Informa{\c c}\~ao e documenta{\c c}\~ao --- trabalhos acad\^emicos --- apresenta{\c c}\~ao},
|
228
|
+
Title = {{NBR} 14724},
|
229
|
+
Year = 2011}
|
230
|
+
|
231
|
+
@article{van86,
|
232
|
+
Author = {{van}, Gigch, John P. and Leo L. Pipino},
|
233
|
+
Journal = {Future Computing Systems},
|
234
|
+
Number = {1},
|
235
|
+
Pages = {71-97},
|
236
|
+
Title = {In search for a paradigm for the discipline of information systems},
|
237
|
+
Volume = {1},
|
238
|
+
Year = {1986}}
|
239
|
+
|
240
|
+
@phdthesis{guizzardi2005,
|
241
|
+
Address = {Enschede, The Netherlands},
|
242
|
+
Author = {Giancarlo Guizzardi},
|
243
|
+
Date-Added = {2012-04-23 11:35:28 +0000},
|
244
|
+
Date-Modified = {2012-04-23 11:35:28 +0000},
|
245
|
+
School = {Centre for Telematics and Information Technology, University of Twente},
|
246
|
+
Title = {Ontological Foundations for Structural Conceptual Models},
|
247
|
+
Url = {http://www.loa.istc.cnr.it/Guizzardi/SELMAS-CR.pdf},
|
248
|
+
Urlaccessdate = {3 jul. 2011},
|
249
|
+
Year = {2005},
|
250
|
+
Bdsk-Url-1 = {http://www.loa.istc.cnr.it/Guizzardi/SELMAS-CR.pdf}}
|
251
|
+
|
252
|
+
@mastersthesis{macedo2005,
|
253
|
+
Author = {Fl{\'a}via L. Macedo},
|
254
|
+
Date-Added = {2012-04-23 11:35:13 +0000},
|
255
|
+
Date-Modified = {2012-04-23 11:35:13 +0000},
|
256
|
+
Keywords = {arquitetura da informa{\c c}{\~a}o},
|
257
|
+
School = {Universidade de Bras{\'\i}lia},
|
258
|
+
Title = {Arquitetura da Informa{\c c}{\~a}o: aspectos espistemol{\'o}gicos, cient{\'\i}ficos e pr{\'a}ticos.},
|
259
|
+
Type = {Disserta{\c c}{\~a}o de Mestrado},
|
260
|
+
Year = {2005}}
|
261
|
+
|
262
|
+
@manual{EIA649B,
|
263
|
+
Address = {EUA},
|
264
|
+
Date-Added = {2012-04-23 11:34:59 +0000},
|
265
|
+
Date-Modified = {2012-04-23 11:34:59 +0000},
|
266
|
+
Keywords = {norma},
|
267
|
+
Month = {June},
|
268
|
+
Organization = {TechAmerica},
|
269
|
+
Title = {ANSI/EIA 649-B: Configuration Management Standard},
|
270
|
+
Year = {2011}}
|
271
|
+
|
272
|
+
@inproceedings{masolo2010,
|
273
|
+
Author = {Claudio Masolo},
|
274
|
+
Booktitle = {Proceedings of the Twelfth International Conference on the Principles of Knowledge Representation and Reasoning (KR 2010)},
|
275
|
+
Date-Added = {2012-04-23 11:34:38 +0000},
|
276
|
+
Date-Modified = {2012-04-23 11:34:38 +0000},
|
277
|
+
Editor = {Lin, F. and Sattler, U.},
|
278
|
+
Pages = {258-268},
|
279
|
+
Publisher = {AAAI Press},
|
280
|
+
Title = {Understanding Ontological Levels},
|
281
|
+
Url = {http://wiki.loa-cnr.it/Papers/kr10v0.7.pdf},
|
282
|
+
Urlaccessdate = {2 jan. 2012},
|
283
|
+
Year = {2010},
|
284
|
+
Bdsk-Url-1 = {http://wiki.loa-cnr.it/Papers/kr10v0.7.pdf}}
|
285
|
+
|
286
|
+
@inbook{guarino1995,
|
287
|
+
Address = {Vienna},
|
288
|
+
Author = {Nicola Guarino},
|
289
|
+
Booktitle = {Philosophy and the Cognitive Science},
|
290
|
+
Date-Added = {2012-04-23 11:34:29 +0000},
|
291
|
+
Date-Modified = {2012-04-23 11:34:29 +0000},
|
292
|
+
Editor = {R. Casati and B. Smith and G. White},
|
293
|
+
Month = {Sept.},
|
294
|
+
Pages = {443-456},
|
295
|
+
Publisher = {Holder-Pivhler-Tempsky},
|
296
|
+
Title = {The Ontological Level},
|
297
|
+
Url = {http://wiki.loa-cnr.it/Papers/OntLev.pdf},
|
298
|
+
Urlaccessdate = {2 jan. 2012},
|
299
|
+
Year = {1995},
|
300
|
+
Bdsk-Url-1 = {http://wiki.loa-cnr.it/Papers/OntLev.pdf}}
|
301
|
+
|
302
|
+
@incollection{bates2010,
|
303
|
+
Address = {New York},
|
304
|
+
Author = {Marcia J. Bates},
|
305
|
+
Booktitle = {Encyclopedia of Library and Information Sciences},
|
306
|
+
Date-Added = {2012-04-23 11:34:29 +0000},
|
307
|
+
Date-Modified = {2012-04-23 11:34:29 +0000},
|
308
|
+
Edition = {3rd},
|
309
|
+
Editor = {Marcia J. Bates and Mary Niles Maack},
|
310
|
+
Pages = {2347-2360},
|
311
|
+
Publisher = {CRC Press},
|
312
|
+
Title = {Information},
|
313
|
+
Url = {http://pages.gseis.ucla.edu/faculty/bates/articles/information.html},
|
314
|
+
Urlaccessdate = {24 out. 2011},
|
315
|
+
Volume = {3},
|
316
|
+
Year = {2010},
|
317
|
+
Bdsk-Url-1 = {http://pages.gseis.ucla.edu/faculty/bates/articles/information.html}}
|
318
|
+
|
319
|
+
@book{doxiadis1965,
|
320
|
+
Author = {Constantinos A. Doxiadis},
|
321
|
+
Date-Added = {2012-04-23 11:34:20 +0000},
|
322
|
+
Date-Modified = {2012-04-23 11:34:20 +0000},
|
323
|
+
Publisher = {Ceira - Coimbra},
|
324
|
+
Title = {Arquitetura em Transi{\c c}{\~a}o},
|
325
|
+
Year = {1965}}
|
326
|
+
|
327
|
+
@book{dewey1980,
|
328
|
+
Address = {New York, NY, USA},
|
329
|
+
Author = {John Dewey},
|
330
|
+
Date-Added = {2012-04-23 11:34:16 +0000},
|
331
|
+
Date-Modified = {2012-04-23 11:34:16 +0000},
|
332
|
+
Publisher = {Perigee Books},
|
333
|
+
Title = {Art as Experience},
|
334
|
+
Year = {1980}}
|
335
|
+
|
336
|
+
@misc{limarka,
|
337
|
+
Author = {Eduardo de Santana Medeiros Alexandre},
|
338
|
+
Date-Added = {Seg Set 5 14:30:25 BRT 2016},
|
339
|
+
Date-Modified = {2016-09-05},
|
340
|
+
Howpublished = {Página do projeto},
|
341
|
+
Title = {Limarka},
|
342
|
+
Url = {https://github.com/abntex/limarka},
|
343
|
+
Urlaccessdate = {5 de set 2016},
|
344
|
+
Year = {2016}}
|
data/templates/README.md
ADDED
@@ -0,0 +1,17 @@
|
|
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
|
+
|
@@ -0,0 +1,10 @@
|
|
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
|
+
---
|
@@ -0,0 +1,10 @@
|
|
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}
|
@@ -0,0 +1,22 @@
|
|
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$
|
@@ -0,0 +1,16 @@
|
|
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$
|
@@ -0,0 +1,8 @@
|
|
1
|
+
$if(indice-remissivo)$
|
2
|
+
%---------------------------------------------------------------------
|
3
|
+
% INDICE REMISSIVO
|
4
|
+
%---------------------------------------------------------------------
|
5
|
+
\phantompart
|
6
|
+
\printindex
|
7
|
+
%---------------------------------------------------------------------
|
8
|
+
$endif$
|
@@ -0,0 +1,24 @@
|
|
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
|
+
|