txt2html 2.06 - Converts plain text to HTML

  • Thread starter Thread starter Gordon Darling
  • Start date Start date
G

Gordon Darling

About:
txt2html is a Perl program that uses the HTML::TextToHTML perl module to
convert plain text to HTML. It supports headings, lists, tables, simple
character markup, hyperlinking and is highly customizable. It recognizes
some of the apparent structure of the source document (mostly whitespace
and typographic layout) and attempts to mark that structure explicitly
using HTML.

Changes:
This version fixes a bug with the processing of standard input, along with
other minor bugs.

Release focus: Minor bugfixes
License: Perl License
Project URL: http://freshmeat.net/projects/txt2html/

Regards
Gordon
 
Gordon said:
About:
txt2html is a Perl program that uses the HTML::TextToHTML perl module to
convert plain text to HTML. It supports headings, lists, tables, simple
character markup, hyperlinking and is highly customizable. It recognizes
some of the apparent structure of the source document (mostly whitespace
and typographic layout) and attempts to mark that structure explicitly
using HTML.

Changes:
This version fixes a bug with the processing of standard input, along with
other minor bugs.

Release focus: Minor bugfixes
License: Perl License
Project URL: http://freshmeat.net/projects/txt2html/

Regards
Gordon

I downloaded txt2html-2.06.tar.gz. When opened, it has no executable.

Comment?

Mike Sa
 
Bjorn said:
Gordon Darling wrote:
txt2html is a Perl program that uses the
HTML::TextToHTML perl module to
convert plain text to HTML. [snip]
Project URL: http://freshmeat.net/projects/txt2html/
I downloaded txt2html-2.06.tar.gz. When opened, it has no executable.

Comment?

You need Perl to run it:

http://www.cpan.org/ports/#win32

// Bjorn A

Thanks.

I would only use Perl to run this one program. On that page are about 15
Perl choices.

Can you recommend one for W98 that is executable (no install) and small
size?

Mike Sa
 
Bjorn said:
Gordon Darling wrote:
txt2html is a Perl program that uses the
HTML::TextToHTML perl module to
convert plain text to HTML. [snip]
Project URL: http://freshmeat.net/projects/txt2html/
You need Perl to run it:

http://www.cpan.org/ports/#win32

// Bjorn A
Can you recommend one for W98 that is executable
(no install) and small size?

Sorry, I gave up on Perl many years ago at the same time as I put my
Linux-projects on ice...

Perhaps "Gordon Darling" can suggest a good one?

// Bjorn A
 
On Mon, 17 Nov 2003 11:16:00 +0000, ms wrote:

snip
Thanks.

I would only use Perl to run this one program. On that page are about 15
Perl choices.

Can you recommend one for W98 that is executable (no install) and small
size?

Mike Sa

One of the easiest is
http://people.netscape.com/richm/nsPerl/nsPerl5.004_05-12-MSWin32-x86.zip

"nsPerl is a binary distribution of dynamic Perl. To install it:

cd # to the directory in which you want to install it.
unzip nsPerl5.004_05-12-MSWin32-x86.zip
cd nsPerl5.004_05
.\install

bin\nsperl is your new Perl interpreter. For example:

bin\nsperl -v

To make it easy to run Perl from a command prompt, copy the file
bin\nsperl.exe into one of the directories named in your
PATH environment variable. Once that's done, the command `nsperl`
will run Perl. If you prefer the command `perl`, rename the copy
from nsperl.exe to perl.exe.

bin contains various Perl scripts. To make it easier to run them
from a command prompt, copy them into one of the directories named
in your PATH evironment variable.

lib\MSWin32-x86\nsPerl contains software that reconfigures Perl
to work on your machine. Its source code is in the subdirectory src
(which you can discard, without affecting other programs' behavior).

The rest of this package was built from standard Perl source code.
You can get a copy from http://www.perl.com/CPAN/src/5.0/maint/
or http://www.perl.org

To make Perl occupy less disk space, you can remove its documentation;
that is lib/pod/html or lib/pod. There's a copy of the documentation
at http://www.perl.com/CPAN/doc/ , although it's not the same version
as this copy of Perl.

If you want to automate the installation of nsPerl, the algorithm
supported in all versions is to execute .\install, with the current
working directory set to the only directory unpacked from the archive
file. .\install creates a Perl interpreter program named nsperl.exe,
which can be moved or copied elsewhere without loss of functionality."

Regards
Gordon
 
Gordon Darling wrote:
snip


Thanks, Gordon. I'll save the data.

Today, I found what may be a better W98 one for me in the FWT newsletter
in another post.

Mike Sa

Good luck with it Mike. Hope you get it working OK. There is a lot of
interesting cross-platform perl programs out there.

Regards
Gordon
 
Gordon Darling said:

Perl 5.4 is pretty old, though. The most current version is 5.8.1.

You might try TinyPerl: http://tinyperl.sourceforge.net/ It's only
622 KB, and is Perl 5.8.0 instead of 5.4. You can also use it to
create executables from Perl programs.

If you want a complete version, Activestate is probably the most
widespread port for win32:
http://activestate.com/Products/ActivePerl/

IndigoPerl is also well-thought-of, and has an integrated Apache web
server for developing CGI programs:
http://www.indigostar.com/indigoperl.htm

The latter two are quite large, but if by some chance you get serious
about Perl you'll want one of them.

If you want write your own scripts/programs but don't like Perl, you
might try Python or Tcl. They're good languages, too.
 
Back
Top