\immediate\write18{texcount -sum -1 -inc j-spec.tex > /tmp/wordcount.tex}

\documentclass[a4paper,12pt]{report}
\usepackage[english,russian]{babel}

\input{settings/main-style-preamble}
\input{settings/fancy-listings-preamble}

\graphicspath{{./pics/}}
\title{Техническая специализация Java}
\author{Иван Игоревич Овчинников}
\date{\today{} (\DTMcurrenttime)}

\usepackage{subfiles}

\begin{document}
\maketitle
\tableofcontents
\pagestyle{plain}
\sloppy

\newpage
\chapter{Java Core}
\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
\chapter{Java Development Kit}
%\subfile{jtd6-11a}

\newpage
\appendix
\printnomenclature[40mm]

\chapter{Семинары}
\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}
