"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/bookcommon.hva" (16 Jan 2021, 2031 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \setcounter {secnumdepth}{2}
    2 \newcounter {part}
    3 \newcounter {chapter}
    4 \newcounter {section}[chapter]
    5 \newcounter {subsection}[section]
    6 \newcounter {subsubsection}[subsection]
    7 \newcounter {paragraph}[subsubsection]
    8 \newcounter {subparagraph}[paragraph]
    9 \newcounter {footnote}[chapter]
   10 \newcounter {titlenote}
   11 \setenvclass{part}{part}
   12 \setenvclass{chapter}{chapter}
   13 \setenvclass{section}{section}
   14 \setenvclass{subsection}{subsection}
   15 \setenvclass{subsubsection}{subsubsection}
   16 \setenvclass{paragraph}{paragraph}
   17 \setenvclass{subparagraph}{subparagraph}
   18 \newcounter {anchornote}
   19 \renewcommand \theanchornote{{\@nostyle\arabic{chapter}.\arabic{anchornote}}}
   20 \renewcommand \thepart {\Roman{part}}
   21 \renewcommand \thesection {\thechapter.\arabic{section}}
   22 \renewcommand\thesubsection   {\thesection.\arabic{subsection}}
   23 \renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}}
   24 \renewcommand\theparagraph    {\thesubsubsection.\arabic{paragraph}}
   25 \renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}}
   26 \flushdef{chapter}
   27 \newcommand{\partname}{Part}
   28 \renewcommand{\chaptername}{Chapter}
   29 \newcommand{\appendixname}{Appendix}
   30 %%%%%%%%%%% Initial cutting
   31 \newcommand{\cuttingunit}{chapter}
   32 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   33 \newcommand{\appendix}{%
   34 \renewcommand{\chaptername}{\appendixname}%
   35 \setcounter{chapter}{0}%
   36 \renewcommand{\thechapter}{\Alph{chapter}}}
   37 \newcounter{equation}[chapter]
   38 \renewcommand{\theequation}{\thechapter.\arabic{equation}}
   39 \newcounter{figure}[chapter]
   40 \renewcommand{\thefigure}{\thechapter.\arabic{figure}}
   41 \newcounter{table}[chapter]
   42 \renewcommand{\thetable}{\thechapter.\arabic{table}}
   43 \newcommand\abstractname{Abstract}
   44 \setenvclass{abstract}{abstract}
   45 \newenvironment{abstract}
   46 {\setenvclass{quote}{abstract}
   47 \begin{quote}\ifthenelse{\equal{\abstractname}{}}{}{{\bf \abstractname:} }}
   48 {\end{quote}}
   49 \newcommand{\@indexsection}[1]{\chapter*{#1}}
   50 \newcommand{\@bibliosection}[1]{\chapter*{#1}}
   51 \newcommand{\@tocsection}[1]{\chapter*{#1}}
   52 \newcommand{\@base}{book}
   53 \setcounter{tocdepth}{2}