diff --git a/chapters/Introduction.lyx b/chapters/Introduction.lyx index 35c4158..925eadb 100644 --- a/chapters/Introduction.lyx +++ b/chapters/Introduction.lyx @@ -10,7 +10,6 @@ \usepackage{xcolor} -\usepackage[sort]{natbib} %\graphicspath{{figures/}} \usepackage{hyperref} \end_preamble diff --git a/chapters/Publication.lyx b/chapters/Publication.lyx index 1d35df4..c29647c 100644 --- a/chapters/Publication.lyx +++ b/chapters/Publication.lyx @@ -8,7 +8,7 @@ \begin_preamble %Created by jmcui -\usepackage{bibentry,natbib} +\usepackage{bibentry} \usepackage{hyperref} %\graphicspath{{figures/}} \end_preamble diff --git a/release.sh b/release.sh index beb8dc3..6717060 100755 --- a/release.sh +++ b/release.sh @@ -15,12 +15,12 @@ cp ./ustcthesis/ustcthesis.cls ./release/ cp -R ./ustcthesis/figures ./release/ cp ./USTCthesis.layout ./release/ - -cp -R ./chapters ./release/ +mkdir ./release/chapters +cp ./chapters/*.lyx ./release/chapters/ cp ./ustcthesis/ustcthesis.cls ./release/chapters/ cp ./USTCthesis.layout ./release/chapters/ -FINDED_FILES=`find ./release/chapters -name *.lyx~` +FINDED_FILES=`find . -name *.lyx~` for file in ${FINDED_FILES} do rm -rf ${file}