diff --git a/Makefile b/Makefile index 3962d46..1e63641 100644 --- a/Makefile +++ b/Makefile @@ -21,19 +21,20 @@ $(NAME).pdf: $(NAME).dtx dummy: $(DUM)/dummy.tex $(NAME).pdf pdflatex -shell-escape --output-directory=$(DUM) -recorder $(DUM)/dummy.tex cp $(DUM)/dummy.bib ./ - cp $(DUM)/autocitacao_dummy.bib ./ + cp $(DUM)/autocitacao.bib ./ bibtex $(DUM)/dummy.aux - bibtex $(DUM)/autopt.aux - bibtex $(DUM)/autoen.aux + bibtex $(DUM)/autocitacaopt.aux + bibtex $(DUM)/autocitacaoen.aux pdflatex --recorder --interaction=nonstopmode --output-directory=$(DUM) $(DUM)/dummy.tex pdflatex --recorder --interaction=nonstopmode --output-directory=$(DUM) $(DUM)/dummy.tex make clean tcc: $(TCC).tex $(NAME).pdf pdflatex -shell-escape -recorder --output-directory=$(EX) $(TCC).tex cp $(TCC).bib ./ + cp $(EX)/autocitacao.bib ./ bibtex $(TCC).aux - bibtex $(EX)/this.aux - bibtex $(EX)/thisen.aux + bibtex $(EX)/autocitacaopt.aux + bibtex $(EX)/autocitacaoen.aux pdflatex --recorder --interaction=nonstopmode --output-directory=$(EX) $(TCC).tex > /dev/null pdflatex --recorder --interaction=nonstopmode --output-directory=$(EX) $(TCC).tex > /dev/null make clean diff --git a/exemplos/exemplo-tcc.tex b/exemplos/exemplo-tcc.tex index 1aaee34..025469a 100644 --- a/exemplos/exemplo-tcc.tex +++ b/exemplos/exemplo-tcc.tex @@ -55,7 +55,7 @@ \imprimirfolhaderosto \begin{resumo} - \refthis{exemplo-tcc} + \autocitacao \lipsum[23] \vspace{\onelineskip} \noindent @@ -64,7 +64,7 @@ \begin{resumo}[Abstract] \begin{otherlanguage*}{english} - \refthis[en]{exemplo-tcc} + \autocitacao[en] This is the english lipsum. \lipsum[2] \vspace{\onelineskip} \noindent