Skip to content

Commit a5ec86a

Browse files
committed
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.
1 parent fa171dd commit a5ec86a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/src/sgml/jadetex.cfg

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
% $PostgreSQL: pgsql/doc/src/sgml/jadetex.cfg,v 1.1 2010/04/29 16:32:41 tgl Exp $
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+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy