diff --git a/build.sh b/build.sh index ef8868e..4f3560c 100755 --- a/build.sh +++ b/build.sh @@ -15,16 +15,16 @@ find -E $IMG -type f -name "*.eps" -exec rm -f {} \; # Сборка latex cd tex -$PDFLATEX $MAINTEX | $GREP +$PDFLATEX $MAINTEX BIBOUTPUT=$(bibtex $MAINTEX) # Показывать output bibtex'a только в случае ошибок if [[ "$BIBOUTPUT" =~ "error" ]]; then echo "$BIBOUTPUT" fi -$PDFLATEX $MAINTEX | $GREP +$PDFLATEX $MAINTEX cp $MAINTEX.pdf ../$PDF_NAME cd .. # Clear -find -E $TEX/ -type f ! -regex ".*\.(tex|bib|cls|sty|bst|clo|gitignore)" -exec rm -f {} \; ; +find -E $TEX/ -type f ! -regex ".*\.(tex|bib|cls|sty|bst|clo|asm|gitignore)" -exec rm -f {} \; ; diff --git a/tex/5-biblio.tex b/tex/5-biblio.tex index e45825b..89e25bc 100644 --- a/tex/5-biblio.tex +++ b/tex/5-biblio.tex @@ -1,3 +1,3 @@ \nocite{*} \bibliographystyle{gost780u} -\bibliography{main} \ No newline at end of file +\bibliography{0-main}