\documentclass[11.5pt,twoside]{book}
\usepackage{log}
\newfontfamily\dejavu{DejaVu Sans}

% to links in the pdf version and other additional pdf attributes, 
% no effect on the printed document
\usepackage[colorlinks=false, pdfborder={0 0 0}, pdftitle={Logbook of an Observer},
  pdfauthor={Jinesh K J}, pdfsubject={Blog}, pdfkeywords={Jinesh, jinsbond}]{hyperref}

\begin{document}
%% Set mininum characters on left and right for hyphenation
\lefthyphenmin=3
\righthyphenmin=5
%\normalsize=11.5pt

%-----------------------------Cover Page----------------------------------------

%\includepdf{cover}

%------------------------------Title Page --------------------------------------
~
\vfill
{

\centerline{\Huge\bf\lsstyle ഒരു നിരീക്ഷകന്റെ കുറിപ്പുകള്‍}
%\centerline{\\}
\centerline{\bf\lsstyle }
%\centerline{\\}
\centerline{\Large \lsstyle \begin{english} Logbook of an Observer\end{english}}

}

\vfill
\centerline{\huge ജിനേഷ് കെ.ജെ.}
\vfill
~
\vfill
~
\newpage
~
\vfill

%\centerline{{\dejavu ♡}Copyheart 2012. Copying is an act of love. Love is not subject to law. Please copy and share.}
%\centerline{{\dejavu ♡}പകര്‍പ്പിഷ്ടം 2012.  ഇഷ്ടപ്പെടുന്നവരാണു് പകര്‍ത്തുന്നതു്. ഇഷ്ടത്തിനു് നിയമമില്ല. പകര്‍ത്തുവിന്‍ പങ്കുവെയ്ക്കുവിന്‍ }
\begin{center}{\dejavu ♡}Copyheart 2012. Copying is an act of love. Love is not subject to law. Please copy and share.\\
{\dejavu ♡}പകര്‍പ്പിഷ്ടം 2012.  ഇഷ്ടപ്പെടുന്നവരാണു് പകര്‍ത്തുന്നതു്. ഇഷ്ടത്തിനു് നിയമമില്ല. പകര്‍ത്തുവിന്‍ പങ്കുവെയ്ക്കുവിന്‍.\end{center}

\vfill
~

\begin{flushleft}
ഒരു നിരീക്ഷകന്റെ കുറിപ്പുകള്‍ \\
Logbook of an Observer \\
(Blog Postings) \\
Jinesh K.J \\[2ex]

Typeset using \XeTeX \\
Font Rachana Unicode \\[2ex]

Printed by Root, Thrissur \\[2ex]

Published by \\
Akam Books \\
Opp. Mata Amruthanandamayi Ashram \\
Kannur - 670002\\
Phone 0497 2708 901, 9446 835 926 \\
\url{akambooks@gmail.com} \\[2ex]

First Edition April 2013 \\
₹ 200.00
\end{flushleft}

\newpage

%------------------------------Dedication --------------------------------------
\frontmatter

\input{poem.tex}
\cleardoublepage
\input{akam-hashim-foreword.tex}
\cleardoublepage

%------------------------------Thanks-------------------------------------------
\input{thanks-mal.tex}
\input{thanks-eng.tex}
%------------------------------Define Page Headers------------------------------

%\fancyhead[RO,LE]{\thepage}
%\fancyfoot[CO,CE]{\thepage}
\fancyhead[LO]{\color{gray}\emph{ജിനേഷ്}}
\fancyhead[RO]{\emph{\thepage}}
\fancyhead[RE]{\color{gray}\emph{ഒരു നിരീക്ഷകന്റെ കുറിപ്പുകള്‍}}
\fancyhead[LE]{\emph{\thepage}}
\fancypagestyle{plain}{%
  \fancyhead{}
  \fancyfoot{}

  \fancyhead[LO]{\color{gray}\emph{ജിനേഷ്}}
  \fancyhead[RO]{\emph{\thepage}}
  \fancyhead[RE]{\color{gray}\emph{ഒരു നിരീക്ഷകന്റെ കുറിപ്പുകള്‍}}
  \fancyhead[LE]{\emph{\thepage}}
%  \fancyfoot[CO,CE]{\thepage}
%  \fancyfoot[CE]{\thepage}
}

%--------Autogenerated Table of Contents----------------------------------------
\thispagestyle{empty}	% don't print page header on new chapter
\tableofcontents
\thispagestyle{empty}	% don't print page header on new chapter



%-----------------Articles------------------------------------------------------
\mainmatter

\setlength{\parskip}{5pt plus 1pt minus 1pt} %define vertical space between paragraphs
\chapter{ഓര്‍മ്മയിലെ ജിനേഷ്}
\thispagestyle{empty}	% don't print page header on new chapter
\pagestyle{empty}	% don't print page header on following blank page
\cleardoublepage
\pagestyle{fancy}	% we had set pagestyle to plain for chapter/ToC

\input{by-jawahar.tex}
\input{by-neeba.tex}
\input{by-sebin.tex}
\input{by-santhosh.tex}
\input{by-anivar.tex}
\input{by-praveen.tex}
\input{by-suresh.tex}
\input{by-hussain.tex}
\input{by-vasudev.tex}
\input{by-sathyan-mash.tex}
\input{by-hrishi.tex}
\pagestyle{empty}	% don't print page header on following blank page

% Blog Posts
\chapter{Blog Posts}
\thispagestyle{empty}	% don't print page header on new chapter
\pagestyle{empty}	% don't print page header on following blank page
\cleardoublepage
\pagestyle{fancy}	% we had set pagestyle to plain for chapter/ToC
\input{firstpost.tex}
\input{politics.tex}
\input{mobile.tex}
\input{sari.tex}
\input{freesoftware.tex}
\input{gangwar.tex}
\input{viewonwomen.tex}
\input{softwarefreedom.tex}
\input{beinglonely.tex}
\input{microsoft-mammooty.tex}
\input{religion-science.tex}
\input{cricket-nationality.tex}
\input{pleaseread.tex}
\input{social-science.tex}
\input{social-science2.tex}
\input{bindra.tex}
\input{pinarayi.tex}
\input{cricket-money-ipl.tex}
\input{asuseeepchotkeys.tex}
\input{asuseeepcmigo.tex}
\input{studentpolitics.tex}
\input{evaluatingfosscontributions.tex}
\pagestyle{empty}	% don't print page header on following blank page
%--------------------
% Articles published in Malayal.am
\chapter{മലയാളം ഇന്റര്‍നെറ്റ് വാര്‍ത്താ\\ \hspace*{2.3em}പോര്‍ട്ടലില്‍ നിന്നും}
\thispagestyle{empty}	% don't print page header on new chapter
\pagestyle{empty}	% don't print page header on following blank page
\cleardoublepage
\pagestyle{fancy}	% we had set pagestyle to plain for chapter/ToC
\input{formula1.tex}
\input{cricket-spirit.tex}
\input{ambani-mallya.tex}
\input{small-teams.tex}
\input{ipl-party.tex}
\input{spanish-leg.tex}
\input{monte-carlo.tex}
\input{istanbul.tex}
\input{canada.tex}
\input{buji.tex}
\input{reliance.tex}
\input{valencia.tex}
\input{sahishnutha.tex}
\input{britishgrant.tex}
\input{german.tex}
\input{budapest.tex}
\input{editorial.tex}
\input{belgian.tex}
\input{asterix.tex}
\input{f1-India.tex}
\input{hair.tex}
\input{socialcriticism.tex}
\input{us-sitcom.tex}
\input{enthukondu-pathrangal.tex}
\pagestyle{empty}	% don't print page header on following blank page
%--------------------

% Hospital Logs
\chapter{Hospital Logs}
\thispagestyle{empty}	% don't print page header on new chapter
\pagestyle{empty}	% don't print page header on following blank page
\cleardoublepage
\pagestyle{fancy}	% we had set pagestyle to plain for chapter/ToC
\input{blog1.tex}
\input{blog2.tex}
\input{blog3.tex}
\input{blog4.tex}
\input{blog5.tex}
\input{blog6.tex}
\input{blog7.tex}
\input{blog8.tex}
\pagestyle{empty}	% don't print page header on following blank page

%----------------------

%------------------------------ Appendix ----------------------------------------
\appendix
\chapter*{Appendix}
\thispagestyle{empty}	% don't print page header on new chapter
\clearpage
\input{copyheart.tex}
\input{freeculture.tex}
%----------------------------- Back Matter --------------------------------------
\backmatter

%----------------------------- Back Cover ---------------------------------------

%\includepdf{backcover}

%--------------------------------------------------------------------

\end{document}
