Re: FAQ formatting

---------

era eriksson (reriksso@cc.helsinki.fi)
Mon, 27 Jan 1997 17:57:06 +0200 (EET)


On Mon, 27 Jan 1997 10:15:14 -0500, wanderer@cyberbeach.net wrote:
>> Lars Idema <idema@dds.nl> asked:
>> >> QUESTION: How does one manage to maintain only *one* 'rich-text' document
>> >> and draw both HTML and plain ascii documents from it?
> I used to maintain an ASCII *and* HTML versions and imagine the pain of
> updating both versions. One day I realized I could just save the HTML as
> ASCII and be done with it. :)

The semi-obvious solution is to use an abstract format which can
encapsulate both HTML and ASCII, perhaps with different realizations
of different constucts (for example, links could display as indented
URL:s in the ASCII version, whereas the HTML version can use different
phrasing with "click here" and live links instead). Various SGML
engines will do this; sgmldoc (ex Linuxdoc) is rather popular and in
widespread use. Docbook was brought up last time this was discussed
here.

/* era */

-- 
See <http://www.ling.helsinki.fi/~reriksso/> for mantra, disclaimer, etc.
* If you enjoy getting spam, I'd appreciate it if you'd register yourself
  at the following URL:  <http://www.ling.helsinki.fi/~reriksso/spam.html>


[ Usenet Hypertext FAQ Archive | Search Mail Archive | Authors | Usenet ]
[ 1993 | 1994 | 1995 | 1996 | 1997 ]

---------

faq-admin@landfield.com

© Copyright The Landfield Group, 1997
All rights reserved