summaryrefslogtreecommitdiff
path: root/Build/source/utils/vlna/csmac.tex
blob: 0860a70f4f00e48deaac36d65e9345333d4278a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
\chyph
\font\ninerm=csr9
\font\eightrm=csr8
\let\sc=\eightrm % small caps (NOT a caps-and-small-caps font)
\font\titlefont=csr7 scaled\magstep4 % title on the contents page
\font\ttitlefont=cstt10 scaled\magstep2 % typewriter type in title
\def\postATL#1 #2 {\bf písmeno \\{\uppercase{\char"#1}}
   v~.c kódu jako \tentex "#2"\egroup\par}
\def\ATH{\X\kern-.5em:Definice pro preprocesor\X}
\def\A{\note{Viz také sekci}} % xref for doubly defined section name
\def\As{\note{Viz také sekce}} % xref for multiply defined section name
\def\ET{ a~} % conjunction between two section numbers
\def\ETs{ a~} % conjunction between the last two of several section numbers
\def\Q{\note{Tento kód je citován v~sekci}} % xref for mention of a section
\def\Qs{\note{Tento kód je citován v~sekcích}} % xref for mentions of a section
\def\U{\note{Tento kód je pou¾it v~sekci}} % xref for use of a section
\def\Us{\note{Tento kód je pou¾it v~sekcích}} % xref for uses of a section
\def\ch{\note{Následující sekce byly zmìnìny prostøednictvím zmìnového
    souboru:} \let\*=\relax}
\def\fin{\par\vfill\eject % this is done when we are ending the index
  \ifpagesaved\null\vfill\eject\fi % output a null index column
  \if L\lr\else\null\vfill\eject\fi % finish the current page
  \parfillskip 0pt plus 1fil
  \def\grouptitle{NÁZVY SEKCÍ}
  \let\topsecno=\nullsec
  \message{Section names:}
  \output={\normaloutput\page\lheader\rheader}
  \setpage
  \def\note##1##2.{\quad{\eightrm##1~##2.}}
  \def\Q{\note{Citováno v~sekci}} % crossref for mention of a section
  \def\Qs{\note{Citováno v~sekcích}} % crossref for mentions of a section
  \def\U{\note{Pou¾ito v~sekci}} % crossref for use of a section
  \def\Us{\note{Pou¾ito v~sekcích}} % crossref for uses of a section
  \def\I{\par\hangindent 2em}\let\*=*
  \readsections}
\def\contentsline#1#2#3#4{\ifnum#2=0 \smallbreak\fi
    \line{\consetup{#2}#1
      \rm\leaders\hbox to .5em{.\hfil}\hfil\ #3\hbox to4em{\hss#4}}}
\def\con{\par\vfill\eject % finish the section names
% \ifodd\pageno\else\titletrue\null\vfill\eject\fi % for duplex printers
  \rightskip 0pt \hyphenpenalty 50 \tolerance 200
  \setpage \output={\normaloutput\page\lheader\rheader}
  \titletrue % prepare to output the table of contents
  \pageno=\contentspagenumber
  \def\grouptitle{OBSAH}
  \message{Table of contents:}
  \topofcontents
  \line{\hfil Sekce\hbox to4em{\hss Strana}}
  \let\ZZ=\contentsline
  \readcontents\relax % read the contents info
  \botofcontents \end} % print the contents page(s) and terminate
\def\today{\number\day.~\ifcase\month\or ledna\or února\or bøezna\or
  dubna\or kvìtna\or èervna\or èervence\or srpna\or záøí\or øíjna\or
  listopadu\or prosince\fi \space\number\year}
\def\datethis{\def\startsection{\leftline{\sc\today\ v~\hours}\bigskip
  \let\startsection=\stsec\stsec}}
\def\datecontentspage{%
  \def\topofcontents{\leftline{\sc\today\ v~\hours}\bigskip
   \centerline{\titlefont\title}\vfill}} % timestamps the contents page

\def\allowhyphens{\nobreak\hskip0pt\relax}
\def \uv#1{\char254 \allowhyphens#1\allowhyphens\char255 }