|
| 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 | +} |