[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: docbook2txt and mediaobjects
-----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-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]