- To: "Yogesh Kumar K" <yogeshk@xxxxxxxxx>
- Subject: Re: [SLUG] Convert Document with ascii Text to Html
- From: Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 May 2008 07:03:26 +1000
- Cc: slug@xxxxxxxxxxx, Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx>
- Organization: Gelato@UNSW
- User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 MULE XEmacs/21.4 (patch 21) (Educational Television) (x86_64-linux-gnu)
>>>>> "Yogesh" == Yogesh Kumar K <yogeshk@xxxxxxxxx> writes:
Yogesh> Mr.Peter but this is 1000 pages of one file for the linux
Yogesh> example and structures has been define in the file , so i need
Yogesh> to put them as blog , for that i need some help
If it's just an example, then stick a <pre> tag before it and a </pre>
tag after it. So your document will look like
<html><body><pre>
contents of your file
</pre></body></html>
It won't look very good, but it's a start. If you want more than
that, then you either need to add formatting by hand, or the document
must already be structured in a way that some tool can
understand (i.e., has SGML, XML, troff, texinfo or LaTeX markup, etc)
or it must be structured in a such a way that you can write a script
to add HTML markup.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
A university is a non-profit organisation only in the sense that it
spends everything it gets ... Luca Turin.