diff options
author | Sashi20 | 2020-01-24 11:25:05 +0530 |
---|---|---|
committer | Sashi20 | 2020-01-24 11:25:05 +0530 |
commit | c99b5774efc703602100e315da8b3994670d773c (patch) | |
tree | d6835100be79bba741c52c1773221793729c71f0 /latex | |
parent | d74065d3c2cb2c22cfed9aa69806291c2541629b (diff) | |
download | r_textbook_companion-c99b5774efc703602100e315da8b3994670d773c.tar.gz r_textbook_companion-c99b5774efc703602100e315da8b3994670d773c.tar.bz2 r_textbook_companion-c99b5774efc703602100e315da8b3994670d773c.zip |
Remove Appendix, College teacher name in the pdf generated
Diffstat (limited to 'latex')
-rwxr-xr-x | latex/Initial_body | 3 | ||||
-rwxr-xr-x | latex/latex_test.sh | 40 |
2 files changed, 21 insertions, 22 deletions
diff --git a/latex/Initial_body b/latex/Initial_body index 571a3af..e77c823 100755 --- a/latex/Initial_body +++ b/latex/Initial_body @@ -54,5 +54,4 @@ \makeatother \newcommand{\coderef}[1]{Exa~\ref{#1}} -\newcommand{\figref}[1]{Fig.~\ref{#1}} - +\newcommand{\figref}[1]{Fig.~\ref{#1}}
\ No newline at end of file diff --git a/latex/latex_test.sh b/latex/latex_test.sh index 9197ab4..c3b3f98 100755 --- a/latex/latex_test.sh +++ b/latex/latex_test.sh @@ -41,9 +41,9 @@ colB4=${colB4/&/\\&}; colB5=${colB5/&/\\&}; colB6=${colB6/&/\\&}; colB7=${colB7/&/\\&}; -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 https://r.fossee.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 - \href{http://spoken-tutorial.org/NMEICT-Intro}{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 - \href{https://r.fossee.in}{https://r.fossee.in}.}}" >>$CURDIR/TEX -echo \\author\{ Created by \\\\$col1\\\\$col2\\\\$col3\\\\$col4\\\\ College Teacher\\\\$col5\\\\Cross\-Checked by \\\\$col6\\\\$col8}>>$CURDIR/TEX +echo \\author\{ Created by \\\\$col1\\\\$col2\\\\$col3\\\\$col4\\\\ Cross\-Checked by \\\\$col6\\\\$col8}>>$CURDIR/TEX IFS="$IFS_old" @@ -70,7 +70,7 @@ echo R numbering policy used in this document and the relation to the above book 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\(R 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 R code whose theory is explained in Section 2.3 of the book.">>$CURDIR/TEX echo>>$CURDIR/TEX @@ -154,26 +154,26 @@ j=$col1 done < database_sort #rm Figure_files -if [ -s $Dep_dat ] -then +# if [ -s $Dep_dat ] +# then -i=1; -echo \\chapter*{Appendix} >>$CURDIR/TEX +# i=1; +# echo \\chapter*{Appendix} >>$CURDIR/TEX -while IFS=# read col1 col2 col3 col4; do -col3=${col3/&/\\&}; -echo \\curlable{AP~$i} >> $CURDIR/TEX; -echo \\begin{code} >> $CURDIR/TEX; -echo \\label{AP:$col4} >> $CURDIR/TEX -echo \\tcaption {$col3}{$col3} >> $CURDIR/TEX -echo \\lstinputlisting{../$col2} >> $CURDIR/TEX -echo \\end{code} >> $CURDIR/TEX -echo >> $CURDIR/TEX -let "i+=1" -done < $Dep_dat +# while IFS=# read col1 col2 col3 col4; do +# col3=${col3/&/\\&}; +# echo \\curlable{AP~$i} >> $CURDIR/TEX; +# echo \\begin{code} >> $CURDIR/TEX; +# echo \\label{AP:$col4} >> $CURDIR/TEX +# echo \\tcaption {$col3}{$col3} >> $CURDIR/TEX +# echo \\lstinputlisting{../$col2} >> $CURDIR/TEX +# echo \\end{code} >> $CURDIR/TEX +# 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 -clear +clear
\ No newline at end of file |