forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [issues] New comment: (FOR-125) produce formated plain text output
Date Thu, 01 Jan 1970 00:00:00 GMT
The following comment has been added to this issue:

     Author: Diwaker Gupta
    Created: Sun, 1 Aug 2004 6:53 AM
I would like to point out an alternate solution, that seems to me is much easier to implement,
and works pretty well. This is also what is used by most Docbook DSSL/XSL stylesheets.

What we can do is first render a "clean" HTML version of the page. This should be pretty easy,
since the HTML conversion infrastructure is already in place. (just remove the menu and that
tabs basically)

After this, we just run it through a text browser (like lynx, w3m, or elinks) and take a text
dump. This way, all the formatting issues -- lists, lists inside lists, headings, borders,
tables, images -- all of it is taken care of automatically, and we don't need to reinvent
the wheel doing that.

I've done a LOT of text outputting with docbook and this method seems to work perfectly. IMFO,
formatting directly to text might be more difficult, and perhaps redundant given that the
text based browsers can already do a really good job.
View the issue:

Here is an overview of the issue:
        Key: FOR-125
    Summary: produce formated plain text output
       Type: New Feature

     Status: Assigned
   Priority: Minor

    Project: Forrest
  Component: Core operations
    Fix For: 0.7

   Assignee: Ross Gardler
   Reporter: Nick Chalko

    Created: Sun, 28 Mar 2004 1:51 AM
    Updated: Sun, 1 Aug 2004 5:16 AM

Please provide the option of generating formated plain text output.
All request ending in .txt should generate a plain text output.

Word wrapping should default to 80 characters
It should allow for as much formating as possible
footnotes to hyperlinks
Strong and em.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message