From fa4ed2b4c7c469d8715891e7ca740fa3a72e6a3a Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 23 Aug 2018 16:35:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- espdsections.inc | 126 +++++++++++++++++++++++------------------------ 1 file changed, 62 insertions(+), 64 deletions(-) diff --git a/espdsections.inc b/espdsections.inc index 98c4b1c..be56c36 100644 --- a/espdsections.inc +++ b/espdsections.inc @@ -34,23 +34,23 @@ Style "Раздел" InsertCotext 1 EndArgument Font - Series Bold - Size Larger + Series Bold + Size Larger EndFont HTMLTag h2 Preamble \newcommand{\ESPDsection}[1]{ - \section{#1} - \setcounter{point}{\value{section}} - \setcounter{subpoint}{0} - } + \section{#1} + \setcounter{point}{\value{section}} + \setcounter{subpoint}{0} + } EndPreamble End Style "Подраздел" CopyStyle "Раздел" - LabelCounter subsection + LabelCounter subsection LabelString \thesubsection. TocLevel 2 LatexName ESPDsubsection @@ -60,23 +60,23 @@ Style "Подраздел" BottomSep 0.5 ParSep 0.5 Font - Series Bold - Size Large + Series Bold + Size Large EndFont HTMLTag h3 Preamble \newcommand{\ESPDsubsection}[1]{ - \subsection{#1} - \setcounter{point}{\value{subsection}} - \setcounter{subpoint}{0} - } + \subsection{#1} + \setcounter{point}{\value{subsection}} + \setcounter{subpoint}{0} + } EndPreamble End Style "Подподраздел" CopyStyle "Подраздел" - LabelCounter subsubsection + LabelCounter subsubsection LabelString \thesubsubsection. TocLevel 3 LatexName ESPDsubsubsection @@ -85,16 +85,16 @@ Style "Подподраздел" TopSep 0.7 BottomSep 0.4 Font - Series Bold - Size Normal + Series Bold + Size Normal EndFont HTMLTag h4 Preamble \newcommand{\ESPDsubsubsection}[1]{ - \subsubsection{#1} - \setcounter{point}{\value{subsubsection}} - \setcounter{subpoint}{0} - } + \subsubsection{#1} + \setcounter{point}{\value{subsubsection}} + \setcounter{subpoint}{0} + } EndPreamble End @@ -189,55 +189,53 @@ End Style "Обязательное" - Category "Приложение" - Margin Dynamic - LabelType Static - LabelString "Прил. Обязат. " - LabelCounter appendix - TocLevel 1 - LatexType Command - LatexName ESPDappendixReq - NeedProtect 1 - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Block - AlignPossible Block, Left - Font - Series Bold - Size Larger - EndFont - - Preamble - \newcommand{\ESPDappendixReq}[1]{ - \ESPDappendix{"Обязательное"}{#1} - } - EndPreamble + Category "Приложение" + Margin Dynamic + LabelType Static + LabelString "Прил. Обязат. " + LabelCounter appendix + TocLevel 1 + LatexType Command + LatexName ESPDappendixReq + NeedProtect 1 + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Block + AlignPossible Block, Left + Font + Series Bold + Size Larger + EndFont + Preamble + \newcommand{\ESPDappendixReq}[1]{ + \ESPDappendix{"Обязательное"}{#1} + } + EndPreamble End Style "Справочное" - CopyStyle "Обязательное" - LabelString "Прил. Справоч. " - LatexName ESPDappendixRef - - Preamble - \newcommand{\ESPDappendixRef}[1]{ - \ESPDappendix{"Справочное"}{#1} - } - EndPreamble + CopyStyle "Обязательное" + LabelString "Прил. Справоч. " + LatexName ESPDappendixRef + Preamble + \newcommand{\ESPDappendixRef}[1]{ + \ESPDappendix{"Справочное"}{#1} + } + EndPreamble End Style "Рекомендуемое" - CopyStyle "Обязательное" - LabelString "Прил. Рекоменд. " - LatexName ESPDappendixRec - Preamble - \newcommand{\ESPDappendixRec}[1]{ - \ESPDappendix{"Рекомендуемое"}{#1} - } - EndPreamble + CopyStyle "Обязательное" + LabelString "Прил. Рекоменд. " + LatexName ESPDappendixRec + Preamble + \newcommand{\ESPDappendixRec}[1]{ + \ESPDappendix{"Рекомендуемое"}{#1} + } + EndPreamble End