This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

default dsssl and off-center address


--eAbsdosE1cNLO4uF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,
  I'm just beginning to use docbook, and I love it so far.  But I'm
having an annoying problem.  In the <artheader> section, I specified an
author tag as follows:
   <author>
      <firstname>Ben</firstname>
      <surname>Hartshorne</surname>
      <affiliation>
	 <jobtitle>Network Support Engineer</jobtitle>
         <orgname>Adax, Inc.</orgname>
         <address>
            <street>614 Bancroft Way</street>
            <city>Berkeley</city>, <state>CA</state> <postcode>94710</postc=
ode>
            <country>USA</country>
            <email>sales at adax dot com</email>
	    <phone>510-548-7047</phone>
	    <fax>510-548-5526</fax>
         </address>
      </affiliation>
   </author>
Pretty standard, right?  Well, the output when I send it to PDF indents
the address section 5 spaces or something, except that the address is
also centered.  This leads to it being just slightly off-center, which
looks absolutely atrocious. =20

You can see this at http://cryptio.net/~ben/not_centered.png

I need to figure out how to change this, and I have had no luck trying
to get through the dsssl sheets themselves.  There is an variable
%indent-address-lines% that I set to #f, but it seems to have no effect. =
=20

Could you help me?

I am using the SGML stuff instead of the XML stuff I think, my document
header says:
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [

I have the following packages installed (I'm running Debian):
ben at orange ...tunnel/m2tun/docs % dpkg -l "docbook*"
Desired=3DUnknown/Install/Remove/Purge/Hold
| Status=3DNot/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=3D(none)/Hold/Reinst-required/X=3Dboth-problems (Status,Err: upperc=
ase=3Dbad)
||/ Name                  Version               Description
+++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
ii  docbook               4.2-2                 SGML DTD for authors of tec=
hnical documentation
un  docbook-book          <none>                (no description available)
ii  docbook-defguide      2.0.3-2               DocBook: The Definitive Gui=
de - HTML version
un  docbook-doc           <none>                (no description available)
ii  docbook-dsssl         1.77-2                Modular DocBook DSSSL style=
sheets, for print and HTML
un  docbook-dsssl-doc     <none>                (no description available)
ii  docbook-simple        1.0cr2-1              Simplified DocBook XML Doct=
ype and css stylesheets.
un  docbook-stylesheets   <none>                (no description available)
un  docbook-stylesheets-d <none>                (no description available)
ii  docbook-to-man        2.0.0-10              Converter from DocBook SGML=
 into roff -man macros.
un  docbook-to-man-ans    <none>                (no description available)
ii  docbook-utils         0.6.12-3              Convert Docbook files to ot=
her formats (HTML, RTF, Postscr
ii  docbook-xml           4.2-6                 Standard XML documentation =
system, for software and system
ii  docbook-xml-simple    4.1.2.4-2             Simplified DocBook XML Doct=
ype and css stylesheets.
un  docbook-xsl           <none>                (no description available)
ii  docbook-xsl-styleshee 1.40-1                Stylesheets for processing =
DocBook XML files to HTML and F
un  docbook-xsl-styleshee <none>                (no description available)
un  docbook2man           <none>                (no description available)
un  docbook2texi          <none>                (no description available)
un  docbook2x-doc         <none>                (no description available)
ii  docbookide            0.1-3                 An Emacs Major Mode for Edi=
ting DocBook Documents

(apologies for the >72char width)

Many thanks for what enlightenment you may provide,

-ben


--=20
Ben Hartshorne
email: ben at hartshorne dot net
http://ben.hartshorne.net

--eAbsdosE1cNLO4uF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+WncPKeT3tvTdv64RArdyAJwPmpSpyPYhvOGfaKYuO9p3PoeBgQCfcuaM
zS0jHYxnXpyOpXVaovpSDJ0=
=DheZ
-----END PGP SIGNATURE-----

--eAbsdosE1cNLO4uF--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]