summaryrefslogtreecommitdiff
path: root/doc/src/sgml/jadetex.cfg
blob: 25b79312ebc35df0c155b9672b8bde7a4ccb4f85 (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
% doc/src/sgml/jadetex.cfg
%
% This file redefines FlowObjectSetup to eliminate one of the two control
% sequences it normally creates, thereby substantially reducing string usage
% and permitting the complete Postgres documentation to be built without
% overflowing a hard-to-expand TeX limit.  The only known penalty is an
% increased number of TeX warnings about ignoring duplicate definitions.
%
% Curiously, we only see the failure when building PDF output --- plain PS
% output does not come anywhere close to overflowing the string table.
% There may be another solution hidden in that observation.
%
\def\FlowObjectSetup#1{%
\ifDoFOBSet
  \ifLabelElements
     \ifx\Label\@empty\let\Label\Element\fi
  \fi
  \ifx\Label\@empty\else
       \bgroup
         \ifNestedLink
         \else
           \hyper@anchorstart{\Label}\hyper@anchorend
           \PageLabel{\Label}%
         \fi
       \egroup
       \let\Label\@empty
       \let\Element\@empty
  \fi
\fi
}