gb-java-devel/j-spec.tex

93 lines
1.9 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]{article}
\usepackage[english,russian]{babel}
\usepackage{ifthen}
\input{settings/main-style-preamble}
\input{settings/fancy-listings-preamble}
\titleformat{\chapter}[block]{\larger[4]\bfseries}{\thechapter.~}{.5em}{}
\titleformat{\section}[block]{\larger[3]\bfseries}{\thesection.~}{.5em}{}
\titleformat{\subsection}[block]{\larger[2]\bfseries}{\thesubsection.~}{.5em}{}
\titleformat{\subsubsection}[block]{\larger\bfseries}{\thesubsubsection.~}{.5em}{}
\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}
\fontsize{12}{12}\selectfont
\maketitle
\tableofcontents
\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{jtd1-06-abstract}
\newpage
\subfile{jtd2-07-abstract}
\newpage
\subfile{jtd3-08-abstract}
\newpage
% \subfile{jtd6-11a}
\ifx\isSingle\undefined
\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}
\newpage
\subfile{jtd1-06-workshop}
\newpage
\subfile{jtd2-07-workshop}
\newpage
\subfile{jtd3-08-workshop}
\printnomenclature[40mm]
\end{document}