textnote2html

Package: WA2L/WinTools 1.2.08
Section: Library Commands (3)
Updated: 10 May 2018
Index Return to Main Contents

 

NAME

textnote2html - convert textnote file to HTML

 

SYNOPSIS

WA2LWinTools/lib/textnote2html [ -h | -V ]

type infile.txt | textnote2html [ -n ] [ -t "title" ] > outfile.html

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

convert a TEXT file to HTML without to change the text formatting/alignment.

The textnote2html provides some features to use a text file containing notes more interactively without to have to enter formatting commands (which would make the text file itself often less readable).

Files and URLs:
web-links, links to files, email-addresses and phone-numbers are clickable.

Titles:
Text entered as *** Text *** is set as bold text.

Subtitles:
text written in capital letters beginning in the leftmost column are treated as titles and set in red color.

Index-menu:
For identified subtitles, an index-pop-up-menu is created in the bottom right corner of the browser window to allow quick navigation within the file.

Symbols:
Some character combinations are translated into symbols: /!\, :::, >>>, _O_, (i), ///.

 

OPTIONS

-h
program usage.

-V
print program version.

-n
add line numbers to HTML file.

-t "title"
title displayed in the browser window title or tab.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

4
usage message printed.

5
program version printed.

 

FILES

textnote2html.css
optional CSS file to change output file appearance.

The CSS file must be located beside the source infile.txt file.

 

EXAMPLES

-

 

SEE ALSO

wintoolsintro(1), textnoteview(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

textnote2html was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:33:07 GMT, September 14, 2024