I am new to LaTeX. I downloaded all files listed in the TUG India website. I tried to pdflatex
their code with no success. I wrote to them twice and received no response.
Could someone help me pdflatex
these files to reproduce their beautiful 17 chapters ?
-
1Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – texenthusiast Aug 26 '13 at 21:57
-
2What was the errors ? and which source code was used. Is this ltxprimer-src-1.0.tar.gz ? BTW you can submit all issues, No Idea whether CVR and others maintainers are still active on site. Some of them are built on custom classes developed by TUG India . What's wrong with using the screen or print version of Chap 17. – texenthusiast Aug 26 '13 at 22:02
If you have a look to the sources you have linked you will find an file named tutor.tex
. Download all given files into a new directory on your computer. Then compile tutor.tex
(be aware to receive errors, the code is a little bit old).
An first run shows something like 155 errors, starting with an \theoremstyle
.
To get rid of these errors (but showing 11 pages) a little research has to be done. It seems that amsthm
has changed since the document was written. The option mystyles
with content in file mystyles.thm
does not work.
So change in file tutor.tex
line 22 to the following (adding mystyles.thm
into the main file):
%\usepackage[mystyles]{amsthm} % <=========== line 22
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}
\newtheorem{thmsec}{Theorem}[section]
\newtheorem{cor}[thmsec]{Corollary}
\newtheorem{lem}[thmsec]{Lemma}
\theoremstyle{definition}
\newtheorem{dfn}{Definition}[section]
\theoremstyle{remark}
\newtheorem{note}{Note}[section]
\newtheoremstyle{mystyle}{}{}{\slshape}{}{\scshape}{.}{ }{}
\theoremstyle{mystyle}
\newtheorem{mythm}{Theorem}[section]
\newtheoremstyle{mynewstyle}{3pt}{3pt}{\itshape}{}{\sffamily}{:}{\newline}{}
\theoremstyle{mynewstyle}
\newtheorem{mynewthm}{Theorem}[section]
\newtheoremstyle{diffnotenonum}{}{}{\itshape}{}{\bfseries}{.}{ }%
{#1 (\mdseries #3)}
\theoremstyle{diffnotenonum}
\newtheorem{Cauchy}{Cauchy's Theorem}
\newtheorem{Riemann}{Riemann Mapping Theorem}
\newtheoremstyle{newdiffnotenonum}{}{}{\itshape}{}{\bfseries}{.}{ }%
{\thmname{#1}\thmnote{( \mdseries #3)}}
\theoremstyle{newdiffnotenonum}
\newtheorem{newRiemann}{Riemann Mapping Theorem}
\newtheoremstyle{citing}{}{}{\itshape}{}{\bfseries}{.}%
{ }{\thmnote{#3}}
\theoremstyle{citing}
\newtheorem{cit}{}
\newtheorem*{numlessthm}{Theorem}
\swapnumbers
\theoremstyle{plain}
\newtheorem{numfirstthm}{Theorem}[section]
Now I got only one error I can live with:
bibliography not compatible with natbib
You receive the screen version as result. If you want the print version just add the class option print
in file tutor.tex
.