OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: instant(1), and collapsing white space


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

Anyone here still using instant(1)?

I'm writing a transpec to convert DocBook to the doc *roff macro
package.  For those not familiar with this package, it's an alternative
for writing man pages in *roff that concentrate on semantic markup where
possible.  .Pa for paths, .Ev for environment variables, .Ar for
arguments, and so on.

In this respect, it's quite similar to DocBook.  instant(1) parses the
ESIS output from nsgmls.

The problem I'm having is that nsgmls outputs all the white space in the
original document as part of the ESIS, so if you write:

    <para><command>apropos</command> searches a set of database files
      containing short descriptions of system commands for keywords and
      displays the result on the standard output.</para>

you get all that leading white space in the output, which fouls up the
man page.

Does anyone know how to turn this behaviour off?  After going through
the instant(1) and nsgmls(1) man pages I can't see anything that looks
like it might do it, but I thought it worth a shot on the 'net.

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtCNvsACgkQk6gHZCw343VvGACgktmEVH3gwwwEOfq/n/pvF2V0
OCkAoI1ThnSqSpV/1JsUPQBLakUsnWTc
=bFwx
-----END PGP SIGNATURE-----

--mhOzvPhkurUs4vA9--


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC