Skip to content

Commit 0a265e4

Browse files
committed
Add some information about increasing JadeTeX parameters.
1 parent 465269b commit 0a265e4

File tree

1 file changed

+33
-12
lines changed

1 file changed

+33
-12
lines changed

doc/src/sgml/docguide.sgml

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.59 2006/10/23 18:10:30 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/docguide.sgml,v 1.60 2006/12/10 02:37:40 petere Exp $ -->
22

33
<appendix id="docguide">
44
<title>Documentation</title>
@@ -20,7 +20,7 @@
2020
</listitem>
2121
<listitem>
2222
<para>
23-
PDF or Postscript, for printing
23+
PDF or PostScript, for printing
2424
</para>
2525
</listitem>
2626
<listitem>
@@ -38,7 +38,7 @@
3838
<para>
3939
<acronym>HTML</acronym> documentation and man pages are part of a
4040
standard distribution and are installed by default. PDF and
41-
Postscript format documentation is available separately for
41+
PostScript format documentation is available separately for
4242
download.
4343
</para>
4444

@@ -149,7 +149,7 @@
149149
<productname>JadeTeX</productname> to use
150150
<productname>TeX</productname> as a formatting backend for
151151
<productname>Jade</productname>.
152-
<application>JadeTeX</application> can create Postscript or
152+
<application>JadeTeX</application> can create PostScript or
153153
<acronym>PDF</acronym> files (the latter with bookmarks).
154154
</para>
155155

@@ -250,10 +250,12 @@ CATALOG "/usr/local/share/sgml/docbook/4.2/docbook.cat"
250250
available for <productname>Debian GNU/Linux</productname>.
251251
To install, simply use:
252252
<programlisting>
253-
apt-get install jade
253+
apt-get install openjade1.3
254254
apt-get install docbook
255-
apt-get install docbook-stylesheets
255+
apt-get install docbook-dsssl
256256
</programlisting>
257+
(The plain <literal>openjade</literal> package installs
258+
OpenJade 1.4, which seems not to work.)
257259
</para>
258260
</sect2>
259261

@@ -449,7 +451,7 @@ CATALOG "docbook-dsssl-1.<replaceable>xx</>/catalog"
449451
<productname>url</productname> and
450452
<productname>ot2enc</productname>. All of these can be found on
451453
your friendly neighborhood <ulink url="http://www.ctan.org">
452-
<acronym>CTAN site</acronym></ulink>.
454+
<acronym>CTAN</acronym> site</ulink>.
453455
The installation of the <application>TeX</application> base
454456
system is far beyond the scope of this introduction. Binary
455457
packages should be available for any system that can run
@@ -589,7 +591,7 @@ gmake man.tar.gz
589591
</sect2>
590592

591593
<sect2>
592-
<title>Print Output via <application>JadeTex</application></title>
594+
<title>Print Output via <application>JadeTeX</application></title>
593595

594596
<para>
595597
If you want to use <application>JadeTex</application> to produce a
@@ -608,7 +610,7 @@ gmake man.tar.gz
608610

609611
<listitem>
610612
<para>
611-
To generate Postscript from the <acronym>DVI</acronym>:
613+
To generate PostScript from the <acronym>DVI</acronym>:
612614
<screen>
613615
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres.ps</userinput>
614616
</screen>
@@ -622,12 +624,31 @@ gmake man.tar.gz
622624
<prompt>doc/src/sgml$ </prompt><userinput>gmake postgres.pdf</userinput>
623625
</screen>
624626
(Of course you can also make a <acronym>PDF</acronym> version
625-
from the Postscript, but if you generate <acronym>PDF</acronym>
627+
from the PostScript, but if you generate <acronym>PDF</acronym>
626628
directly, it will have hyperlinks and other enhanced features.)
627629
</para>
628630
</listitem>
629631
</itemizedlist>
630632
</para>
633+
634+
<para>
635+
When using JadeTeX to build the PostgreSQL documentation, you will
636+
probably need to increase some of TeX's internal parameters. These
637+
can be set in the file <filename>texmf.cnf</filename>. The following
638+
settings worked at the time of this writing:
639+
<programlisting>
640+
hash_extra.jadetex = 200000
641+
hash_extra.pdfjadetex = 200000
642+
pool_size.jadetex = 2000000
643+
pool_size.pdfjadetex = 2000000
644+
string_vacancies.jadetex = 150000
645+
string_vacancies.pdfjadetex = 150000
646+
max_strings.jadetex = 300000
647+
max_strings.pdfjadetex = 300000
648+
save_size.jadetex = 10000
649+
save_size.pdfjadetex = 10000
650+
</programlisting>
651+
</para>
631652
</sect2>
632653

633654
<sect2>
@@ -638,7 +659,7 @@ gmake man.tar.gz
638659
documentation by converting it to <acronym>RTF</acronym> and
639660
applying minor formatting corrections using an office suite.
640661
Depending on the capabilities of the particular office suite, you
641-
can then convert the documentation to Postscript of
662+
can then convert the documentation to PostScript of
642663
<acronym>PDF</acronym>. The procedure below illustrates this
643664
process using <productname>Applixware</productname>.
644665
</para>
@@ -861,7 +882,7 @@ gmake man.tar.gz
861882
<step performance="required">
862883
<para>
863884
<quote>Print</quote> the document
864-
to a file in Postscript format.
885+
to a file in PostScript format.
865886
</para>
866887
</step>
867888
</procedure>

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