Skip to content
Snippets Groups Projects
Commit a5ec86a7 authored by Tom Lane's avatar Tom Lane
Browse files

Install a workaround for 'TeX capacity exceeded' problem

when building PDF output for recent versions of the documentation.
There is probably a better answer out there somewhere, but
we need something now so we can build beta releases.
parent fa171dd8
No related branches found
No related tags found
No related merge requests found
% $PostgreSQL: pgsql/doc/src/sgml/jadetex.cfg,v 1.1 2010/04/29 16:32:41 tgl Exp $
%
% 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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment