This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: docbook2txt and mediaobjects
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Ben Hratshorne <docbook at green dot hartshorne dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 03 Jun 2003 06:06:32 -0400
- Subject: [docbook-apps] Re: docbook2txt and mediaobjects
- References: <20030313203107.GB16259@radix.cryptio.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Ben Hratshorne <docbook@green.hartshorne.net> was heard to say:
| I find that when I run docbook2txt, it first uses the HTML conversion,
| then uses lynx or something to make the conversion from HTML to text.
| All in all, that seems like a fine idea., except that none of my figures
| and pictures come out. The pictures there's no getting around, but I
| figured I could add a <textobject> to the <mediaobject> and then draw
| some ascii art to replace my .pdf or .png.
|
| No luck, since .png is the preferred <mediaobject> type for html.
Tag all the appropriate text objects with role="text", then use
use.role.for.mediaobject="1"
preferred.mediaobject.role="text"
It's a bit of a hack, but it works. I suppose there should be some other
parameter to indicate that text is preferred, but in the short term...
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | We are more ready to try the
http://www.oasis-open.org/docbook/ | untried when what we do is
Chair, DocBook Technical Committee | inconsequential. Hence the fact
| that many inventions had their
| birth as toys.--Eric Hoffer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE+3HMoOyltUcwYWjsRAns3AKCbh2rUEIkTsxpd0oELjECxKS6FyQCfUX24
ycDTe9pH6vslactw+Sdi/YA=
=S+Bo
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org