File: guts.cfg

package info (click to toggle)
flick 2.1-1.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 11,700 kB
  • ctags: 10,069
  • sloc: ansic: 57,561; cpp: 51,275; sh: 1,913; yacc: 1,755; lex: 984; makefile: 892; lisp: 140
file content (92 lines) | stat: -rw-r--r-- 3,221 bytes parent folder | download | duplicates (2)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
%% -*- mode: LaTeX -*-
%%
%% Copyright (c) 1999 The University of Utah and the Computer Systems
%% Laboratory at the University of Utah (CSL).
%%
%% This file is part of Flick, the Flexible IDL Compiler Kit.
%%
%% Flick is free software; you can redistribute it and/or modify it under the
%% terms of the GNU General Public License as published by the Free Software
%% Foundation; either version 2 of the License, or (at your option) any later
%% version.
%%
%% Flick is distributed in the hope that it will be useful, but WITHOUT ANY
%% WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
%% FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
%% details.
%%
%% You should have received a copy of the GNU General Public License along with
%% Flick; see the file COPYING.  If not, write to the Free Software Foundation,
%% 59 Temple Place #330, Boston, MA 02111, USA.
%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% This file is the `TeX4ht' configuration file for producing the HTML version
%% of the Flick Programmer's Manual.

\Preamble{}

%% Define how we want certain elements to appear.  Font scaling seems to be a
%% big lose, so we disable it.
%%
\Css{BODY { background-color: white; }}
\Css{P.indent { text-indent: 0em; }}
\Css{div.maketitle { margin-bottom: 0em; }}
\Css{.cmtt-10--109 {font-size: 100\%; }}
\Css{.cmtt-12 { font-size: 100\%; }}
\Css{.cmitt-10--109 { font-size: 100\%; }}
\Css{.cmtt-9 { font-size: 100\%; }}
\Css{.cmtt-8 { font-size: 100\%; }}
\Css{.SUB, .SUP { font-size: 100\%; }}
\Css{.partToc { line-height: 200\%; font-weight: bold; font-style: italic; }}
\Css{.sectionToc { text-indent: 1em; }}

%% More font hacking.  Rather than set these things here, maybe we should add
%% the proper entries to TeX4ht's `htfcss.env' file instead.
%%
%% Make bold text bold:
\Css{.ptmb-7t { font-weight: bold; }}
%% Ineffective if the user doesn't have a small-caps font:
%%   \Css{.ptmrc-7t { font-variant: small-caps; }}
%% So we uppercase all uses of Times-Roman small caps (e.g., our acronyms):
\Css{.ptmrc-7t { text-transform: uppercase; }}
\Css{.ptmrc-7t--90 { text-transform: uppercase; }}
\Css{.ptmbc-7t { font-weight: bold; text-transform: uppercase; }}

%% Translate sectioning commands into various levels of HTML headers.
%%
\Configure{part}%
  {}{}%
  {\IgnorePar\HCode{<h1>}\thepart\ }{\HCode{</h1>}\NoIndent}
\Configure{chapter}%
  {}{}%
  {\IgnorePar\HCode{<h1>}\thechapter\ }{\HCode{</h1>}\NoIndent}
\Configure{section}%
  {}{}%
  {\IgnorePar\HCode{<h2>}\thesection\ }{\HCode{</h2>}\NoIndent}
\Configure{subsection}%
  {}{}%
  {\IgnorePar\HCode{<h3>}\thesubsection\ }{\HCode{</h3>}\NoIndent}
\Configure{subsubsection}%
  {}{}%
  {\IgnorePar\HCode{<h4>}}{\HCode{</h4>}\NoIndent}
% \Configure{paragraph} ...
% \Configure{subparagraph} ...

%% Format our copyright notice appropriately.
%%
\NewConfigure{copyrightnotice}[2]{%
  \copyrightnoticebegin{#1}%
  \copyrightnoticeend{#2}%
  }
\Configure{copyrightnotice}%
  {\HCode{<div class="copyright" align="left">}}{\HCode{</div>}}
\Css{div.copyright { margin-top: 1em; margin-left: 2em; margin-right: 2em; }}

\begin{document}

\EndPreamble

%% End of file.