public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: .pdf generation error using the "newer" tools
@ 2000-12-27  6:36 Alan W. Irwin
  2000-12-02 19:17 ` Alan W. Irwin
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Alan W. Irwin @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2757 bytes --]

Sorry for bringing this up again from the recent archives, but I am a newbie
on this list. 

I have exactly the same problem as Bill Brooks, and the suggested fix
doesn't work.

>    Using stylesheet:
>    /usr/share/sgml/docbook/dsssl-stylesheets-1.57/print/docbook.dsl
>    Working on: /home/wbrooks/box/work/foo/helloworld.docbook
>    This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
>    (Fatal format file error; I'm stymied)

Éric Bischoff responded:

TeX classical problem. The default configuration files do not allow
enough resources for docbook.

I believe Eric's response is correct, but his patch to texmf.cnf doesn't
solve the problem since it updates only the jadetex parameters which are
already generous on Redhat 6.2 and not the critical pdfjadetex ones.

On my other box (running Debian potato where I do not have this problem with
pdfjadetex) I have the following jadetex and pdfjadtex parameters.

grep 'jadetex =' texmf.cnf
TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,plain,generic,}//
pool_size.jadetex = 500000
pool_size.pdfjadetex = 500000
string_vacancies.jadetex = 45000
string_vacancies.pdfjadetex = 45000
max_strings.jadetex = 58500
max_strings.pdfjadetex = 58500
pool_free.jadetex = 47500
pool_free.pdfjadetex = 47500
nest_size.jadetex = 500
nest_size.pdfjadetex = 500
param_size.jadetex = 1504
param_size.pdfjadetex = 1504
save_size.jadetex = 10000
save_size.pdfjadetex = 10000
stack_size.jadetex = 1503
stack_size.pdfjadetex = 1503
extra_mem_bot.jadetex = 85000
extra_mem_bot.pdfjadetex = 8500
 
On my RH 6.2 box with exactly the same XML Cygnus system as Bill
(where I do have the pdfjadetex
problem) the parameters are

grep 'jadetex =' texmf.cnf
TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,plain,generic,}//
hash_extra.jadetex = 25000
pool_size.jadetex = 750000
max_strings.jadetex = 55000
save_size.jadetex = 15000

So all the jadextex parameters that Eric recommended updating are already
quite generous on RH 6.2, but there are no pdfjadetex parameters at all so I
presume that takes the small default which causes the "I am stymied"
problem.

I will now copy the Debian parameters that work for pdfjadetex to texmf.cnf
on my RedHat box, but I don't know how to proceed from there.  Is there some
command I run to reconfigure everything to use the new parameters?

Alan

email: irwin@beluga.phys.uvic.ca
phone: 250-727-2902	FAX: 250-721-7715
snail-mail:
Dr. Alan W. Irwin
Department of Physics and Astronomy,
University of Victoria, P.O. Box 3055,
Victoria, British Columbia, Canada, V8W 3P6 
__________________________

Linux-powered astrophysics
__________________________

^ permalink raw reply	[flat|nested] 32+ messages in thread
* .pdf generation error using the "newer" tools
@ 2000-12-27  6:36 Bill Brooks
  2000-10-10 21:52 ` Bill Brooks
  2000-12-27  6:36 ` Eric Bischoff
  0 siblings, 2 replies; 32+ messages in thread
From: Bill Brooks @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

Okay,

I'm using the rpm's of the docbook tools. I did a clean install of RedHat
6.2, and followed the recommendation of the page at
http://i18n.kde.org/doc/install.html by de-installing the RPM's that ship
with RedHat and installing the following:

   docbook-dtd30-sgml-1.0-6.noarch.rpm
   docbook-dtd31-sgml-1.0-6.noarch.rpm
   docbook-dtd40-sgml-1.0-6.noarch.rpm
   docbook-dtd41-sgml-1.0-6.noarch.rpm
   docbook-style-dsssl-1.57-2.noarch.rpm
   docbook-utils-0.5.5-1.noarch.rpm
   jade-1.2.1-6.i386.rpm
   jadetex-2.20-2.noarch.rpm
   perl-SGMLSpm-1.03ii-3.noarch.rpm
   sgml-common-0.3-1.noarch.rpm

I copied the simple "Hello World" example from
http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro/get-going.html#HELLO-WORLD
into a file called "helloworld.docbook". 

As people have mailed this list pointing out, the documentation on the
sources site is outdated, so I had to guess as to what flags would work
with the docbook utilities. Here's what I tried:

   docbook2pdf \
   ?  -c /usr/share/sgml/docbook/sgml-dtd-3.1/catalog \
   ?  -d /usr/share/sgml/docbook/dsssl-stylesheets-1.57/print/docbook.dsl
   helloworld.docbook

Is this right? I'd be happy to mail Mark Galassi a patch to the
http://sources.redhat.com/docbook-tools/ web page that documents how to
use the flags with the file locations where the RPM's put things if
someone can get me started on the right path.

Also, it seems like there is a problem actually producing a .pdf, here's
what I get:

   Using catalogs: /etc/sgml/sgml-docbook-3.0.cat,
   /usr/share/sgml/docbook/sgml-dtd-3.1/catalog
   Using stylesheet:
   /usr/share/sgml/docbook/dsssl-stylesheets-1.57/print/docbook.dsl
   Working on: /home/wbrooks/box/work/foo/helloworld.docbook
   This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
   (Fatal format file error; I'm stymied)


...are other people able to get this working? 

Bill

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2000-12-27  6:36 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 .pdf generation error using the "newer" tools Alan W. Irwin
2000-12-02 19:17 ` Alan W. Irwin
2000-12-27  6:36 ` Alan W. Irwin
2000-12-02 22:58   ` Alan W. Irwin
2000-12-27  6:36   ` pdfjadetex does not work! (was .pdf generation error using the"newer" tools) Alan W. Irwin
2000-12-04  9:46     ` Alan W. Irwin
2000-12-27  6:36     ` jade catalog problems for Cygnus DocBook 4.1 XML Alan W. Irwin
2000-12-06 14:27       ` Alan W. Irwin
2000-12-27  6:36       ` Eric Bischoff
2000-12-07  2:41         ` Eric Bischoff
2000-12-27  6:36 ` .pdf generation error using the "newer" tools Bill Brooks
2000-12-08 18:16   ` Bill Brooks
2000-12-27  6:36   ` Eric Bischoff
2000-12-09  3:49     ` Eric Bischoff
2000-12-27  6:36     ` Tim Waugh
2000-12-09  3:56       ` Tim Waugh
2000-12-27  6:36       ` Mirko Streckenbach
2000-12-13  1:32         ` Mirko Streckenbach
2000-12-27  6:36         ` Eric Bischoff
2000-12-13  2:45           ` Eric Bischoff
2000-12-27  6:36   ` Alan W. Irwin
2000-12-08 19:39     ` Alan W. Irwin
2000-12-27  6:36     ` Eric Bischoff
2000-12-09  4:05       ` Eric Bischoff
  -- strict thread matches above, loose matches on Subject: below --
2000-12-27  6:36 Bill Brooks
2000-10-10 21:52 ` Bill Brooks
2000-12-27  6:36 ` Eric Bischoff
2000-10-11  4:53   ` Eric Bischoff
2000-12-27  6:36   ` Bill Brooks
2000-10-11 15:28     ` Bill Brooks
2000-12-27  6:36     ` Eric Bischoff
2000-10-12  4:54       ` Eric Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).