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]

[docbook-apps] 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-----

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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