Skip to content

Commit

Permalink
Updated iiththesis.cls to version 1.3 with support for multiple packa…
Browse files Browse the repository at this point in the history
…ges as listed in the Changelog. Added makefile and restructured the contents of the repo.
  • Loading branch information
utpalbora committed Sep 9, 2021
1 parent 88ba5e6 commit ba560f6
Show file tree
Hide file tree
Showing 15 changed files with 675 additions and 417 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
*.aux
*.fdb_latexmk
*.toc
*.d
37 changes: 37 additions & 0 deletions .latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
$ENV{'TEXINPUTS'}='./common//:' . $ENV{'TEXINPUTS'};
$ENV{'BSTINPUTS'}='./common//:' . $ENV{'BSTINPUTS'};
#ensure_path( 'TEXINPUTS', './common//' ); #needs latexmk v4.70b
#ensure_path( 'BSTINPUTS', './common//' ); #needs latexmk v4.70b

add_cus_dep( 'nlo', 'nls', 0, 'makenlo2nls' );
sub makenlo2nls {
system( "makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"" );
}

$pdf_mode = 1; # tex -> pdf
#$pdf_mode = 2; # tex -> ps -> pdf
#$postscript_mode = 1; # tex -> ps

$pdf_previewer = "start evince";
#$dvi_previewer = 'start xdvi -watchfile 1.5';
#$ps_previewer = 'start gv --watch';

# $latex, $pdflatex, $lualatex, and $xelatex
# Uncomment for pdflatex
#$pdflatex = 'pdflatex %O %S';
# Uncomment below 2 line for luaflatex
#$pdflatex = "lualatex %O %S";
#$pdf_mode = 1; $postscript_mode = $dvi_mode = 0;
# Uncomment below 2 line for xeflatex
$pdflatex = "xelatex %O %S";
$pdf_mode = 1; $postscript_mode = $dvi_mode = 0;

@default_files = ('thesis.tex');
$clean_ext = "bbl nav out snm";

#$bibtex_use = 0 # Never run bibtex or biber
$bibtex_use = 2 # Use bibtex

#$latex = 'latex -interaction=nonstopmode -shell-escape';
#$pdflatex = 'pdflatex -interaction=nonstopmode -shell-escape';

7 changes: 7 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
v1.3:
* Predefined department, degree, and document type.
iiththesis.cls now supports key-value pair options for
department, degree, and document-type (book).
* clickable citations with hyperref
* added indexing support
* IITH Logo using Tikz by sbjoshi
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
all: thesis.pdf
.PHONY: clean distclean

thesis.pdf:
latexmk thesis.tex -M -MP -MF thesis.d

-include *.d

clean:
rm -f *.out *.aux *.bbl *.blg *.fdb_latexmk \
*.fls *.log *.toc *.brf thesis.d \
*.idx *.ilg *.ind *.lof *.lot *.loa *.los \
*.nlo *.nls */*.aux

distclean: clean
rm -f thesis.pdf
2 changes: 1 addition & 1 deletion chapter-1/chapter-1.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\chapter{Chapter 1}
\label{chap:ch1}

This is Chapter 1 of my thesis. Why not cite Cormen et. at.~\cite{cormen2009algo}.
This is Chapter 1 of my thesis. Why not cite Cormen \etal~\cite{Cormen:book:2009}.
File renamed without changes.
Loading

0 comments on commit ba560f6

Please sign in to comment.