public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Eric Bischoff <ebisch@cybercable.tm.fr>
To: Bill Brooks <wbrooks@lug.ee.calpoly.edu>
Cc: docbook-tools-discuss@sources.redhat.com
Subject: Re: .pdf generation error using the "newer" tools
Date: Wed, 11 Oct 2000 04:53:00 -0000	[thread overview]
Message-ID: <39E45487.12751DB0@cybercable.tm.fr> (raw)
Message-ID: <20001011045300.OQQiv9G4D6Fzxw33xGYrSHzAkgRJda4sECDZCabs3o4@z> (raw)
In-Reply-To: <Pine.LNX.4.10.10010102112170.16660-100000@lug.calpoly.edu>

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

Bill Brooks wrote:
> 
> 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".

You can find an updated and completed version of this tutorial at

	http://www.caldera.de/~eric/crash-course/HTML/index.html

It also has updated "hello world" examples in it.

> 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

The two -c and -d flags should not be necessary. But they ensure you use
"bare bones" Norman Walsh's stuff, and not our default stylesheet.

> 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.

If you volunteer to update the web pages, to me you're welcome ;-).
Mark?

> 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

The 3.0 catalog has been auto-detected by the docbook-utils because
you're trying to render a 3.0 (outdated) document.
The 3.1 catalog is used because you specified it on the command line.
This tells you you should remove the "-c" argument that forces here to
use a wrong 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)

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

I think we have a corrected version on the web site. Attached is also a
patch we use at KDE.


-- 
Éric Bischoff  -  Documentation and Localization
Caldera (Deutschland) GmbH - Linux for eBusiness
Tel: +49 9131 7192 300 -  Fax: +49 9131 7192 399
http://www.caldera.de/
--- texmf.cnf.orig       Thu Sep 24 21:40:14 1998
+++ texmf.cnf    Tue Oct  6 01:45:12 1998
@@ -371,6 +371,7 @@

 % Extra space for the hash table of control sequences (which allows 10K
 % names as distributed).
+hash_extra.jadetex = 15000
 hash_extra.context = 15000
 hash_extra.cont-en = 15000
 hash_extra.cont-nl = 15000
@@ -379,6 +380,7 @@

 % Max number of characters in all strings, including all error messages,
 % help texts, font names, control sequences.  These values apply to TeX and MP.
+pool_size.jadetex = 200000
 pool_size.context = 500000
 pool_size.cont-en = 500000
 pool_size.cont-nl = 500000
@@ -391,6 +393,7 @@
 string_vacancies.cont-nl = 45000
 string_vacancies.cont-de = 45000
 string_vacancies = 25000
+max_strings.jadetex = 50000
 max_strings.context = 55000
 max_strings.cont-en = 55000
 max_strings.cont-nl = 55000
@@ -434,6 +437,7 @@
 param_size.cont-nl = 1500
 param_size.cont-de = 1500
 param_size = 500        % simultaneous macro parameters
+save_size.jadetex = 15000
 save_size.context = 5000
 save_size.cont-en = 5000
 save_size.cont-nl = 5000

  parent reply	other threads:[~2000-10-11  4:53 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-27  6:36 Bill Brooks
2000-10-10 21:52 ` Bill Brooks
2000-12-27  6:36 ` Eric Bischoff [this message]
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
2000-12-27  6:36   ` Red Hat 7.0 PNG problem Peter Toft
2000-10-11 12:24     ` Peter Toft
2000-12-27  6:36     ` Peter Toft
2000-11-10 15:36       ` Peter Toft
2000-12-27  6:36       ` Tim Waugh
2000-11-11  4:39         ` Tim Waugh
2000-12-27  6:36         ` Peter Toft
2000-11-11 15:18           ` Peter Toft
2000-12-27  6:36           ` Tim Waugh
2000-11-13  2:11             ` Tim Waugh
2000-12-27  6:36             ` Peter Toft
2000-11-13 10:48               ` Peter Toft
2000-12-27  6:36               ` Tim Waugh
2000-11-13 13:21                 ` Tim Waugh
2000-12-27  6:36                 ` Peter Toft
2000-11-13 13:53                   ` Peter Toft
  -- strict thread matches above, loose matches on Subject: below --
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 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39E45487.12751DB0@cybercable.tm.fr \
    --to=ebisch@cybercable.tm.fr \
    --cc=docbook-tools-discuss@sources.redhat.com \
    --cc=wbrooks@lug.ee.calpoly.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).