gb-java-devel/j-spec.tex

77 lines
1.4 KiB
TeX

\immediate\write18{texcount -sum -1 -inc j-spec.tex > /tmp/wordcount.tex}
% report is for the complete book
%\documentclass[a4paper,12pt]{report}
% article is for single section compilation
\documentclass[a4paper,12pt]{article}
\usepackage[english,russian]{babel}
\usepackage{ifthen}
\input{settings/main-style-preamble}
\input{settings/fancy-listings-preamble}
\graphicspath{{./pics/}}
\title{Техническая специализация Java}
\author{Иван Игоревич Овчинников}
\date{\today{} (\DTMcurrenttime)}
% defining if document is compiled as book or as articles
\def\isSingle{1}
\usepackage{subfiles}
\begin{document}
\maketitle
\ifx\isSingle\undefined
\tableofcontents
\fi
\pagestyle{plain}
\sloppy
\newpage
\ifx\isSingle\undefined
\chapter{Java Core}
\fi
\subfile{jtc1-01-abstract}
\newpage
\subfile{jtc2-02-abstract}
\newpage
\subfile{jtc3-03-abstract}
\newpage
\subfile{jtc4-04-abstract}
\newpage
\subfile{jtc5-05-abstract}
\newpage
\ifx\isSingle\undefined
\chapter{Java Development Kit}
\fi
%\subfile{jtd6-11a}
\appendix
\setcounter{secnumdepth}{5}
\ifx\isSingle\undefined
\printnomenclature[40mm]
\appendix
\chapter*{Семинары}
\addcontentsline{toc}{chapter}{Семинары}
\fi
\renewcommand{\thesection}{\Asbuk{section}}
\subfile{jtc1-01-workshop}
\newpage
\subfile{jtc2-02-workshop}
\newpage
\subfile{jtc3-03-workshop}
\newpage
\subfile{jtc4-04-workshop}
\newpage
\subfile{jtc5-05-workshop}
\end{document}