diff --git a/build.sh b/build.sh index 7fedded..6961e47 100755 --- a/build.sh +++ b/build.sh @@ -4,11 +4,11 @@ PDFLATEX='pdflatex -interaction=nonstopmode -shell-escape -file-line-error' GREP='grep ".*:[0-9]*:.*"' # показывает на выходе только ошибки # Файлы/Папки -PDF='thesis.pdf' +PDF_NAME='thesis.pdf' TEX='tex' INC='inc' GOST='gost' -MAINTEX='thesis' +MAINTEX='main' # Копирование файлов из папки gost cd $GOST @@ -35,7 +35,7 @@ if [[ "$BIBOUTPUT" =~ "error" ]]; then echo "$BIBOUTPUT" fi $PDFLATEX $MAINTEX | $GREP -cp $PDF .. +cp $MAINTEX.pdf ../$PDF_NAME cd .. # Clear diff --git a/tex/81-biblio.tex b/tex/81-biblio.tex index c8faf6e..e45825b 100644 --- a/tex/81-biblio.tex +++ b/tex/81-biblio.tex @@ -1,3 +1,3 @@ \nocite{*} \bibliographystyle{gost780u} -\bibliography{thesis} \ No newline at end of file +\bibliography{main} \ No newline at end of file diff --git a/tex/thesis.bib b/tex/main.bib similarity index 100% rename from tex/thesis.bib rename to tex/main.bib diff --git a/tex/thesis.tex b/tex/main.tex similarity index 100% rename from tex/thesis.tex rename to tex/main.tex diff --git a/thesis.pdf b/thesis.pdf index 56cb0fb..853de1f 100644 Binary files a/thesis.pdf and b/thesis.pdf differ