Paul N. Lee wrote:
...I do my web pages the old fashioned way (by hand using Notepad),..
[bwg] And I thought *I* was macho because I do mine using vi (gvim, actually)!
Actually, using the vi Editor (along with the ex Editor) would make some things much easier than the old Win-95/98 Notepad. Especially when I need to do mass replacements. ;-}
I cannot recommend highly enough "gvim", which is "GUI vim", which is a window version of vim, which is a charityware version of vi...on steroids! 100% compatible with vi (in all important respects), plus much, much more. It's been my primary editor for years! (You even find a lot of unix platforms that have aliased it for "vi".) Vim (Vi iMproved): http://www.vim.org/
But if the input contains HTML, then I can see it getting pretty tough!
The FOTDs do not usually contain instances of HTML, but they have had many places where the greater-than and less-than symbols are used around specific values: <atan> <imag>
And, then there are the formulae containing the greater-than and less-than symbols,...
I understand. I think I have a "source" file for (g)vi(m) that does the necessary replacements (the only gotcha is to remember you must do the & => & FIRST or things get very broken). Let me see if I can find it.... heh, yeah, thought so...three lines: :%s#\&#g :%s#<#\<#g :%s#>#\>#g Open the file, type ":so txt2html.vim", press [Enter], Done! ;-) (Someone in your position might alias it to a function key....)
|Z| <a }
[...] A portion of the last line was not showing up on browsers.
ROFL! I wonder why.... ;-O -- |_ CJSonnack <Chris@Sonnack.com> _____________| How's my programming? | |_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL | |_____________________________________________|_______________________|