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: text output from DocBook


> On Wed, Nov 08, 2000 at 04:32:25PM -0500, Norman Walsh wrote:
> > / Nik Clayton <nik@nothing-going-on.demon.co.uk> was heard to say:
> > | I assume you're going from DocBook (XML) to Plain Text to produce these.
> > | Out of interest, are you doing the "XML -> HTML -> Text" route, or do you
> > | have a processor that goes XML -> Text?
> > 
> > I'm going the HTML->Text route with w3m[1], a very spiffy text-only
> > HTML browser. From the W3M Home Page:
> 
> Right.  That's the same route we're (FreeBSD) doing (and the reason why
> I wanted the 'ASCII art' support working in <mediaobject>.


We're using a similar method over at the LDP, but we're using Lynx by
default, as it seems to do a slightly better job with anchor tags.
Now for a real question.  I can create some markup like <ulink
type="http" url="http://www.LinuxDoc.org/FAQ">Faq Section of the
LDP</ulink>, and it looks and works fine for HTML, and produces
something like <a href="http://www.LinuxDoc.org/FAQ">Faq Section of the
LDP</a>.  When I convert this to text using lynx (with no url list) or
with w3m, then I just get "Faq Section of the LDP" inline in my
document.  Is there a way to specify something in our DSSSL stylesheets
that will change that to a more useful format for print output?  I'd
like to see "Faq Section of the LDP (http://www.LinuxDoc.org/FAQ)" or
something else that puts the URL near the text that would call it in
HTML.  This isn't just an issue for text, as we also produce PDF and PS
from a non-chunked version of the HTML using htmldoc, as it tends to
give us better output than we've seen with other tools.  Thanks,

    Greg



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


Powered by eList eXpress LLC