~ubuntu-branches/ubuntu/precise/postgresql-9.1/precise-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/jadetex.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% doc/src/sgml/jadetex.cfg
 
2
%
 
3
% This file redefines FlowObjectSetup to eliminate one of the two control
 
4
% sequences it normally creates, thereby substantially reducing string usage
 
5
% and permitting the complete Postgres documentation to be built without
 
6
% overflowing a hard-to-expand TeX limit.  The only known penalty is an
 
7
% increased number of TeX warnings about ignoring duplicate definitions.
 
8
%
 
9
% Curiously, we only see the failure when building PDF output --- plain PS
 
10
% output does not come anywhere close to overflowing the string table.
 
11
% There may be another solution hidden in that observation.
 
12
%
 
13
\def\FlowObjectSetup#1{%
 
14
\ifDoFOBSet
 
15
  \ifLabelElements
 
16
     \ifx\Label\@empty\let\Label\Element\fi
 
17
  \fi
 
18
  \ifx\Label\@empty\else
 
19
       \bgroup
 
20
         \ifNestedLink
 
21
         \else
 
22
           \hyper@anchorstart{\Label}\hyper@anchorend
 
23
           \PageLabel{\Label}%
 
24
         \fi
 
25
       \egroup
 
26
       \let\Label\@empty
 
27
       \let\Element\@empty
 
28
  \fi
 
29
\fi
 
30
}