Skip to content

Commit

Permalink
add example course
Browse files Browse the repository at this point in the history
  • Loading branch information
JPTIZ committed Jul 23, 2018
1 parent 065ef77 commit 97800a9
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,13 @@ venv.bak/

# mypy
.mypy_cache/


# Generated
examples/*.aux
examples/*.bbl
examples/*.blg
examples/*.out
examples/*.pdf
examples/*.tex

16 changes: 16 additions & 0 deletions examples/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
OBJS := plan.pdf
LATEX := xelatex
BIBREF := references

all: $(OBJS)

%.pdf: %.tex $(BIBREF).bib
$(LATEX) $(basename $@)
bibtex $(basename $@)
$(LATEX) $(basename $@)
$(LATEX) $(basename $@)

.PHONY: clean

clean:
rm -f *.{aux,bbl,blg,pdf,log}
43 changes: 43 additions & 0 deletions examples/plan.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"kind": "minicurso",
"title": "Minicurso de Exemplo",
"hours": {
"theoretical": 2,
"practice": 2
},
"start": 3,
"end": 5,
"year": 2018,
"targets": [
"Ciência da Computação",
"Sistemas de Informação"
],
"requires": [
"Nenhum."
],
"goals": {
"general": "Servir de exemplo de um plano de ensino.",
"specific": [
"Ter vários objetivos específicos",
"Para demonstrar como dá para colocar eles separados",
"Que o gerador entenderá como diferentes itens do plano de ensino",
["Inclusive, se for um item muito grande,",
" é possível quebrá-lo em uma lista de strings JSON",
" para poder deixar o arquivo mais legível"]
]
},
"topics": {
"Tópico de exemplo": {
"duration": 2,
"items": [
"Ter duração especificada",
"Demonstrar o uso de ítens nos tópicos"
]
}
},
"schedule": [
"Neste exemplo, o cronograma segue a mesma ordenação do Conteúdo",
" Programático, sendo cada item uma aula separada."
],
"references": ["references.bib"]
}
21 changes: 21 additions & 0 deletions examples/references.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@misc{oracle-java-doc,
author = "Oracle",
title = "{Java Platform SE 10 Documentation}",
url = "https://docs.oracle.com/javase/10/docs/api/index.html",
note = "https://docs.oracle.com/javase/10/docs/api/index.html",
}

@book{Cormen:2001:IA:580470,
author = {Cormen, Thomas H. and Stein, Clifford and Rivest, Ronald L. and Leiserson, Charles E.},
title = {Introduction to Algorithms},
year = {2001},
isbn = {0070131511},
edition = {2nd},
publisher = {McGraw-Hill Higher Education},
}

@book{Wazlawick:2012,
author = "Raul Sidnei Wazlawick",
title = {Engenharia de Software para Sistemas de Informação: Conceitos e práticas que fazem sentido},
year = {2012},
}

0 comments on commit 97800a9

Please sign in to comment.