Okay. Problem:
Code: Select all
\documentclass[11pt, twoside, b5paper]{book}
\newtheorem{First}{Theorem}
\newtheorem{Second}{Theorem}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{amssymb}%baki
%\usepackage{amsthm}%za dokaz
\usepackage{amsmath}%baki
\usepackage{fancyhdr}
\usepackage[dvipdf]{graphicx}
\usepackage{xunicode}
\usepackage{fontspec,xltxtra,xunicode}
\usepackage{url}
\usepackage{pdfpages}
\usepackage{multicol}
\usepackage{slashbox}
\usepackage{multirow}
\XeTeXinputencoding utf-8
\setmainfont[Mapping=tex-text]{Times New Roman}
\title{blaaaa}
\author{bla bla}
\date{Јуни 28, 2011}
\begin{document} % pocetok
\chapter{КОНЕЧНИ БУЛОВИ АЛГЕБРИ И БУЛОВИ ФУНКЦИИ}
\section{Конечни алгебри.}
\begin{First}
Ако A е k-множество, тогаш во A постојат ${k^k}^n$ различни n-арни операции.
\end{First}
%\begin{proof}
% ako go smenis imeto dava greska environment proof undefined
%\end{proof}
\begin{Second}
Ако A е k-множество, тогаш постојат точно $k^{k^{n_{1}}+k^{n_{2}}+...+k^{n_{r}}}$ алгебри со носач A и со тип ($n_{1}$, $n_{2}$, ..., $n_{r}$).
\end{Second}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{proof}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\end{proof}
\end{document}
Two problem in the code above:
1. In the pdf file, the theorems are all named Theorem 1. I want the first one to be named Theorem 1, the sedonc to be named Theorem 2 etc. How do I do this?
2. if I uncomment the %\usepackage{amsthm} line, and the \begin and \end proof parts, I get the error: ! LaTeX Error: No counter 'Theorem' defined.
Also, a few more questions:
3. How to make the first chapter to be Chapter 2? Because a friend of mine and I print a book and she writes the first chapter, I write the second.
4. On the pdf output it's written Chapter, but I don't write in English (as you noticed

) and I need instead of 'chapter', the name to be 'glava'