Skip to content

Commit

Permalink
Merge branch 'andre'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefreitas committed Oct 18, 2015
2 parents 57a9cc7 + 6aff043 commit d09660e
Show file tree
Hide file tree
Showing 66 changed files with 16,846 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@ dist/*

venv/*
README.rst
htmlcov/*
.coverage

res/Rplots.pdf
res/Rplots.pdf

*.pdf
15 changes: 15 additions & 0 deletions article/LEIAME.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Este arquivo contém exemplos para escrita dos resumos requeridos pelo
MIEIC:
- resumo-pt.tex - junto com a Makefile produz resumo-pt.pdf
- Makefile - para ser usada com o pdflatex
- resumo-pt.pdf - resultado final em PDF
- para a versão em Inglês é necessário alterar a Makefile, o .tex
nos sítios assinalados e, obviamente, o texto
- os ficheiros usam a codificação UTF-8; para outras codificações
é necessário alterar \usepackage[utf8]{inputenc} para a codificação
usada.
- é necessário usar uma versão recente do pacote caption (por exemplo,
procurar no CTAN uma com "\ProvidesPackage{caption}[2008/08/24 v3.1j",
ou mais recente

JCL, Mon Jul 6 23:39:47 2009
88 changes: 88 additions & 0 deletions article/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#
# Makefile for feupteses/feupthesis
#
# Version: Sat May 17 22:36:50 2008
# Written by JCL
#

## Basename for result in PT
TARGET=resumo-pt

## Basename for result in EN
#TARGET=resumo-en

## programs
LATEX=latex
PDFLATEX=pdflatex
BIBTEX=bibtex
DVIDVI=dvidvi -m '2:0(3mm,-14mm),1(193mm,-14mm)'
DVIPS=dvips -Ppdf
DVI2PS=dvips -t landscape -x 707
PS2PDF=ps2pdf -dEmbedAllFonts#true
MKIDX=makeindex

## .tex files
TEXFILES=$(wildcard *.tex **/*.tex)

## BibTeX files
BIB=$(wildcard *.bib)

## paper
PAPERSIZE=a4

main: $(TARGET).pdf

index:
$(MKIDX) $(TARGET)

biblio:
$(BIBTEX) $(TARGET)

.tex.pdf:
rm -f $(TARGET).pdf
$(PDFLATEX) $< $@ || { rm -f $*.aux $*.idx && false ; }
if grep 'There were undefined references' $*.log ; then \
$(BIBTEX) $(TARGET); $(PDFLATEX) $< $@; fi
while grep 'Rerun to get cross-references right.' $*.log ; do \
$(PDFLATEX) $< $@ || { rm -f $*.aux $*.idx && false ; } ; done

.tex.dvi:
rm -f $*.ps $*.pdf
$(LATEX) $< || { rm -f $*.dvi $*.aux $*.idx && false ; }
if grep 'There were undefined references' $*.log ; then \
$(BIBTEX) $(TARGET); $(LATEX) $< $@; fi
while grep 'Rerun to get cross-references right.' $*.log ; do \
$(LATEX) $< || { rm -f $*.dvi $*.aux $*.idx && false ; } ; done

.dvi.ps:
$(DVIPS) -t $(PAPERSIZE) $< -o $@

.dvi.dvi2:
$(DVIDVI) $< $@

.dvi2.ps2:
$(DVI2PS) $< -o $@

.ps.pdf:
$(PS2PDF) $< $@

$(TARGET).pdf: $(TEXFILES)
$(TARGET).dvi: $(TEXFILES)
$(TARGET).ps: $(TARGET).dvi
$(TARGET).ps2: $(TARGET).dvi2
$(TARGET).dvi2: $(TARGET).dvi

## Extensions
EXTS=aux toc idx ind ilg log out lof lot lol bbl blg

##clean
clean:
for EXT in ${EXTS}; do \
find `pwd` -name \*\.$${EXT} -exec rm -v \{\} \; ; done

##show PDF
display: $(TARGET).pdf
acroread $(TARGET).pdf &

### misc
.SUFFIXES: .tex .aux .toc .lof .lot .log .dvi .dvi2 .ps .ps2 .pdf .bib .bbl
Binary file added article/caption/caption-eng.dvi
Binary file not shown.
Loading

0 comments on commit d09660e

Please sign in to comment.