Skip to content

Commit

Permalink
Revert b45cb41. See #19
Browse files Browse the repository at this point in the history
  • Loading branch information
farosas committed Jul 30, 2015
1 parent ff33d58 commit 6ea5d7a
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions utfpr-pg.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -666,31 +666,35 @@ placement=tbhp,
% \begin{macrocode}
\AfterEndPreamble{
\edef\autocitefile{autocitacao.bib}
\typeout{Creating/Overwriting autocitacao.bib}
\newwrite\@autocite
\immediate\openout\@autocite=autocitacao.bib\relax
\write\@autocite{%
@thesis{autocitacaoen,
author={\imprimirautor},
title = {\thetitle},
type={\imprimirtipotrabalho\ (\imprimircurso)},
school={\futpr},
pages={\pageref{LastPage}},
pagename={f.},
year={\imprimirdata},
type={\imprimirtipotrabalho}
\IfFileExists{\autocitefile}{
\typeout{File autocitacao.bib exists. Using it.}
}{
\typeout{File autocitacao.bib does not exist. Creating a new one.}
\newwrite\@autocite
\immediate\openout\@autocite=autocitacao.bib\relax
\write\@autocite{%
@thesis{autocitacaoen,
author={\imprimirautor},
title = {\thetitle},
type={\imprimirtipotrabalho\ (\imprimircurso)},
school={\futpr},
pages={\pageref{LastPage}},
pagename={f.},
year={\imprimirdata},
type={\imprimirtipotrabalho}
}
}
}
\write\@autocite{%
@thesis{autocitacaopt,
author={\imprimirautor},
title = {\imprimirtitulo},
type={\imprimirtipotrabalho\ (\imprimircurso)},
school={\utfpr},
pages={\pageref{LastPage}},
pagename={f.},
year={\imprimirdata},
type={\imprimirtipotrabalho}
\write\@autocite{%
@thesis{autocitacaopt,
author={\imprimirautor},
title = {\imprimirtitulo},
type={\imprimirtipotrabalho\ (\imprimircurso)},
school={\utfpr},
pages={\pageref{LastPage}},
pagename={f.},
year={\imprimirdata},
type={\imprimirtipotrabalho}
}
}
}
}
Expand Down

0 comments on commit 6ea5d7a

Please sign in to comment.