summaryrefslogtreecommitdiff
path: root/latex/latex_test.sh
diff options
context:
space:
mode:
authorSashi202019-08-26 16:26:08 +0530
committerSashi202019-08-26 16:26:08 +0530
commitc4b7c243bf045dab16e62fc5d5990430c0ade608 (patch)
tree5e7d5b1d9a8a73ca35b45a6457055d30f834e658 /latex/latex_test.sh
parent100027ecf8a36eb12052b2772edf16f9bd3f8eed (diff)
downloadr_textbook_companion-c4b7c243bf045dab16e62fc5d5990430c0ade608.tar.gz
r_textbook_companion-c4b7c243bf045dab16e62fc5d5990430c0ade608.tar.bz2
r_textbook_companion-c4b7c243bf045dab16e62fc5d5990430c0ade608.zip
Add fields to edit main and subcategories for completed books and Download pdf option
Diffstat (limited to 'latex/latex_test.sh')
-rwxr-xr-xlatex/latex_test.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/latex/latex_test.sh b/latex/latex_test.sh
index ebd71eb..4e88d63 100755
--- a/latex/latex_test.sh
+++ b/latex/latex_test.sh
@@ -41,7 +41,7 @@ colB4=${colB4/&/\\&};
colB5=${colB5/&/\\&};
colB6=${colB6/&/\\&};
colB7=${colB7/&/\\&};
-echo \\title\{Scilab Textbook Companion \for "\\\\"$colB1"\\\\"by $colB2"\\footnote{Funded by a grant from the National Mission on Education through ICT, http://spoken-tutorial.org/NMEICT-Intro. This Textbook Companion and Scilab codes written in it can be downloaded from the \"Textbook Companion Project\" section at the website http://scilab.in}}" >>$CURDIR/TEX
+echo \\title\{R Textbook Companion \for "\\\\"$colB1"\\\\"by $colB2"\\footnote{Funded by a grant from the National Mission on Education through ICT, http://spoken-tutorial.org/NMEICT-Intro. This Textbook Companion and R codes written in it can be downloaded from the \"Textbook Companion Project\" section at the website http://R.in}}" >>$CURDIR/TEX
echo \\author\{ Created by \\\\$col1\\\\$col2\\\\$col3\\\\$col4\\\\ College Teacher\\\\$col5\\\\Cross\-Checked by \\\\$col6\\\\$col8}>>$CURDIR/TEX
@@ -66,13 +66,13 @@ echo >> $CURDIR/TEX
echo \\newpage >> $CURDIR/TEX
echo \\vspace*{3cm}>>$CURDIR/TEX
-echo Scilab numbering policy used in this document and the relation to the above book.>>$CURDIR/TEX
+echo R numbering policy used in this document and the relation to the above book.>>$CURDIR/TEX
echo \\begin{description}>>$CURDIR/TEX
echo \\item[Exa] Example \(Solved example\)>>$CURDIR/TEX
echo \\item[Eqn] Equation \(Particular equation of the above book\)>>$CURDIR/TEX
-echo \\item[AP] Appendix to Example\(Scilab Code that is an Appednix to a particular Example of the above book\)>>$CURDIR/TEX
+echo \\item[AP] Appendix to Example\(R Code that is an Appednix to a particular Example of the above book\)>>$CURDIR/TEX
echo \\end{description}>>$CURDIR/TEX
-echo "For example, Exa~3.51 means solved example 3.51 of this book. Sec~2.3 means a scilab code whose theory is explained in Section 2.3 of the book.">>$CURDIR/TEX
+echo "For example, Exa~3.51 means solved example 3.51 of this book. Sec~2.3 means a R code whose theory is explained in Section 2.3 of the book.">>$CURDIR/TEX
echo>>$CURDIR/TEX
echo \\tableofcontents >>$CURDIR/TEX
@@ -132,7 +132,7 @@ fi
if [ $col7 = X ]
then
-echo This code can be downloaded from the website wwww.scilab.in >> $CURDIR/TEX
+echo This code can be downloaded from the website wwww.R.in >> $CURDIR/TEX
fi
if [ $col7 = R ]
@@ -154,7 +154,6 @@ j=$col1
done < database_sort
#rm Figure_files
-
if [ -s $Dep_dat ]
then
@@ -173,7 +172,7 @@ echo >> $CURDIR/TEX
let "i+=1"
done < $Dep_dat
-fi
+fi
cat Initial_body TEX > TEX_final.tex
echo \\end{document} >> $CURDIR/TEX_final.tex