From 63333fe041edaca37d85e97797d61193691243fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 15 Sep 2023 16:16:57 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20unused=20bibliography=20files=20for=20?= =?UTF-8?q?Collard=E2=80=99s=20guide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also add a dependency of dr.pdf on dr.bib. --- .gitignore | 1 - doc/Makefile.am | 9 ++--- doc/bibmad.sty | 105 ------------------------------------------------ doc/guide.bbl | 16 -------- 4 files changed, 4 insertions(+), 127 deletions(-) delete mode 100644 doc/bibmad.sty delete mode 100644 doc/guide.bbl diff --git a/.gitignore b/.gitignore index 1d868a00f..f3363ee11 100644 --- a/.gitignore +++ b/.gitignore @@ -59,7 +59,6 @@ checksum /doc/manual/build /doc/manual/utils/version.py /doc/manual/utils/__pycache__/* -!/doc/guide.bbl !/doc/parallel/AvenueParadigm.pdf !/doc/parallel/iVaNo_*.pdf !/doc/parallel/netbook_*.pdf diff --git a/doc/Makefile.am b/doc/Makefile.am index 925ed8cf0..fed49937b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,9 +5,9 @@ SUBDIRS += manual pdf-local: guide.pdf bvar-a-la-sims.pdf dr.pdf sylvester.pdf tl.pdf endif -EXTRA_DIST = guide.tex guide.bbl bibmad.sty bvar-a-la-sims.tex dr.tex dr.bib dynare.plots +EXTRA_DIST = guide.tex bvar-a-la-sims.tex dr.tex dr.bib dynare.plots -guide.pdf: guide.tex guide.bbl bibmad.sty +guide.pdf: guide.tex $(PDFLATEX) guide $(PDFLATEX) guide @@ -15,7 +15,7 @@ bvar-a-la-sims.pdf: bvar-a-la-sims.tex $(PDFLATEX) bvar-a-la-sims $(PDFLATEX) bvar-a-la-sims -dr.pdf: dr.tex +dr.pdf: dr.tex dr.bib $(PDFLATEX) dr $(BIBTEX) dr $(PDFLATEX) dr @@ -30,5 +30,4 @@ tl.pdf: tl.tex $(PDFLATEX) tl clean-local: -# Do not delete guide.bbl which is not autogenerated - rm -f *~ *.pdf *.log *.aux *.out *.blg dr.bbl + rm -f *~ *.pdf *.log *.aux *.out *.blg *.bbl diff --git a/doc/bibmad.sty b/doc/bibmad.sty deleted file mode 100644 index d25236e06..000000000 --- a/doc/bibmad.sty +++ /dev/null @@ -1,105 +0,0 @@ -\message{harvard bibliography,} - -\def\@hiteml[#1]#2#3#4{\item[]\if@filesw% - { \def\protect##1{\string ##1\space}\immediate% -\write\@auxout{\string\harvardcite{#4}{#2}{#1}{#3}}}\fi% -\protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces} - -\def\@hitem#1#2#3{\item[]\if@filesw% - { \def\protect##1{\string ##1\space}\immediate% -\write\@auxout{\string\harvardcite{#3}{#1}{#1}{#2}}}\fi% -\protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces} - -\def\harvarditem{\@ifnextchar [{\@hiteml}{\@hitem}} - -\def\harvardcite#1#2#3#4{ - \global\@namedef{bhf@#1}{#2} - \global\@namedef{bha@#1}{#3} - \global\@namedef{bhy@#1}{#4}\global\@namedef{b@#1}{\csname bhf@#1\endcsname} -} - -\def\citeasnoun{\@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}} -\def\cite{\@ifnextchar [{\@tempswatrue\@citexasnoun} - {\@tempswafalse\@citexasnoun[]} -} -\def\citeyear{\@ifnextchar [{\@tempswatrue\@citexyear} - {\@tempswafalse\@citexyear[]} -} -\def\citename{\@ifnextchar [{\@tempswatrue\@citexname} - {\@tempswafalse\@citexname[]} -} - -% \def\@enamedef#1{\expandafter\edef\csname #1\endcsname} -% Previous line should be replaced by the following to prevent -% problems with the NFSS. Solution by Bernd Raichle. -\def\@enamedef#1{\expandafter\def\csname #1\expandafter\endcsname\expandafter} - -\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi - \def\@citea{}\@cite{\@for\@citeb:=#2\do - {\@citea\def\@citea{\@hisep\penalty\@m\ }\@ifundefined - {b@\@citeb}{{\bf ?}\@warning - {Citation `\@citeb' on page \thepage \space undefined}}% -{{\csname b@\@citeb\endcsname\@hysep\csname bhy@\@citeb\endcsname}% -\global\@enamedef{b@\@citeb}{\csname bha@\@citeb\endcsname}}% -}}{#1}} - -\def\@citexasnoun[#1]#2{% -\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi% -\@citeasnoun{{\@ifundefined% -{b@#2}% -{[{\bf ?}\@warning{Citation `#2' on page \thepage \space undefined}}% -{{\csname b@#2\endcsname\ [\csname bhy@#2\endcsname}% -\global\@namedef{b@#2}{\csname bha@#2\endcsname}}% -}}{#1}} - -\def\@citexname[#1]#2{% -\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi% -\@citename{{\@ifundefined% -{b@#2}% -{{\bf ?}\@warning{Citation `#2' on page \thepage \space undefined}}% -{{\csname bhf@#2\endcsname}}% -}}{#1}} - -\def\@citexyear[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi - \def\@citeayear{}\@cite{\@for\@citebyear:=#2\do - {\@citeayear\def\@citeayear{\@hisep\penalty\@m\ }\@ifundefined - {b@\@citebyear}{{\bf ?}\@warning - {Citation `\@citebyear' on page \thepage \space undefined}}% -{{\csname bhy@\@citebyear\endcsname}% -}% -}}{#1}} - -\gdef\hysep@agsm{\ }\gdef\hisep@agsm{,}% -\gdef\hysep@dcu{, }\gdef\hisep@dcu{;}% -\let\@hysep\hysep@agsm \let\@hisep\hisep@agsm -\def\citationstyle#1{% -\global\@namedef{@hysep}{\csname hysep@#1\endcsname}% -\global\@namedef{@hisep}{\csname hisep@#1\endcsname}} - -%DEFAULT DEFINITIONS -\def\@cite#1#2{({#1\if@tempswa , #2\fi})} -\def\@citeasnoun#1#2{{#1\if@tempswa , #2\fi]}} -\def\@citename#1#2{{#1\if@tempswa \ (#2)\fi}} - -% CHANGE \end{document} - to handle double definitions -\def\enddocument{\@checkend{document}\clearpage\begingroup -\if@filesw \immediate\closeout\@mainaux -\def\global\@namedef##1##2{}\def\newlabel{\@testdef r}% -\def\bibcite{\@testdef b}% -\def\harvardcite{\@testbibh}\@tempswafalse \makeatletter\input \jobname.aux -\if@tempswa \@warning{Label(s) may have changed. Rerun to get -cross-references right}\fi\fi\endgroup\deadcycles\z@\@@end} - -\def\@testbibh #1#2#3{ - \def\@tempa{#2}\expandafter - \ifx \csname bhf@#1\endcsname \@tempa - \def\@tempa{#3}\expandafter - \ifx \csname bha@#1\endcsname \@tempa - \else \@tempswatrue - \fi - \else - \@tempswatrue - \fi -} - -% \ No newline at end of file diff --git a/doc/guide.bbl b/doc/guide.bbl deleted file mode 100644 index cdfc64ca0..000000000 --- a/doc/guide.bbl +++ /dev/null @@ -1,16 +0,0 @@ -\ifx\undefined\bysame -\newcommand{\bysame}{\leavevmode\hbox to\leftmargin{\hrulefill\,\,}} -\fi -\begin{thebibliography}{xx} - -\harvarditem[Collard and Juillard]{Collard and Juillard}{2001}{COLL/JUIL/01a} -{ Collard, F. and M.~Juillard}, Accuracy of stochastic perturbation methods: - The case of asset pricing models, {\it Journal of Economic Dynamics and - Control}, 2001, {\it 25}, 979--999. - -\harvarditem[Schmitt-Grohe and Uribe]{Schmitt-Grohe and Uribe}{2002}{SGU/02} -{ Schmitt-Grohe, S. and M.~Uribe}, {\it Solving Dynamic General Equilibrium - Models Using a Second-Order Approximation to the Policy Function}, technical - working paper, Rutgers Univsersity 2002. - -\end{thebibliography}