This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: dsssl problem with jadetex: hbox overfull in table
- From: Ian Castle <ian dot castle at openjade dot org>
- To: Roberto Posenato <Roberto dot Posenato at univr dot it>,docbook-apps at lists dot oasis-open dot org
- Date: Thu, 21 Nov 2002 19:59:00 +0000
- Subject: Re: DOCBOOK-APPS: dsssl problem with jadetex: hbox overfull in table
- References: <00d101c2917c$409eb3f0$72fc1b9d@posenato>
Overfull hbox isn't really a problem. The hbox is something like the bounding
box round the word (or whatever object tex is processing at the time). The
result will, usually be, bad justfication etc. - or possibly over run on a
line. So you will invariably see one or two of these in any reasonably sized
document. There is a good "FAQ" on overful hbox in the tex faq which will
explain the issue properly.
To improve your table layout you may want to try specifying column widths -
either relative or abosolute.
Have a look at "releasenotes.xml" which comes the openjade 1.3.1 distribution
(not sure if Red Hat have put it in the RPM - it will be in the source RPM
though) - and see how the tables are done in that one.
On Thursday 21 Nov 2002 4:37 pm, Roberto Posenato wrote:
> Hello everybody.
>
> I wrote a sgml document (http://www.sci.univr.it/documenti/test.sgml)
> containing tables in DocBook 4.1 format.
>
> If I compile with 'docbook2html' command, the result file is an excellent
> html document.
>
> If I compile with 'docbook2ps' command, in the result file some tables have
> a bad layout: columns are overlapped.
>
> I have tried to compile step-by-step the document:
>
> 1. jade -t tex -d
> /usr/share/sgml/docbook/dsssl-stylesheets-1.76/print/docbook.dsl test.sgml
> There is no warning & c. output
>
> 2. jadetex test.tex
> The output is:
> --------------------------------------------
> This is TeX, Version 3.14159 (Web2C 7.3.1)
> (test.tex
> JadeTeX 2002/01/25: 3.12
> (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
> Elements will be labelled
> Jade begin document sequence at 21
> No file test.aux.
> (/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
> (/usr/share/texmf/tex/latex/base/ts1cmr.fd)
> (/usr/share/texmf/tex/latex/hyperref/nameref.sty)
> (/usr/share/texmf/tex/latex/psnfss/t1phv.fd) [1.0.41] [2.0.41]
> <delete missing cross reference warnings>
> [4.0.41]
> Overfull \hbox (18.47855pt too wide) in paragraph at lines 809--809
> []|[]\T1/phv/b/n/10 Mandatory
>
> Overfull \hbox (1.60876pt too wide) in paragraph at lines 845--845
> []|[]\T1/phv/b/n/10 Hidden
> <others Overfull warning>
> ----------------------------------------------
>
> Question: Do you known any workaround to remove this problem?
>
> I believe that there are some problems/bad definitions in the docbook.dsl,
> but I'm not so confident with dsssl language...
> I would link to have a good layout of table too. ;-|
>
> Some other details:
>
> I work on a RedHat 7.3 system where I installed the following packages:
> docbook-dtds-1.0-8
> docbook-style-xsl-1.49-1
> docbook-3.1-7
> docbook-style-dsssl-1.76-1
> docbook-utils-pdf-0.6.9-25
> docbook-utils-0.6.9-25
>
> $> jade -v
> jade:I: OpenJade version "1.3.1"
> jade:I: OpenSP version "1.3.4"
>
>
> Thanks,
> Roberto
> ________________
> Roberto Posenato_______________________________________________________
> Dipartimento di Informatica Università degli Studi di Verona
> Email: Roberto.Posenato 'at' univr.it
> WWW: http://profs.sci.univr.it/~posenato PGP KeyID: 1024/C1A208C5