1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type"
content="text/html;charset=iso-8859-1">
<TITLE>
Perl Text to HTML Conversion Project
</TITLE>
<STYLE TYPE="text/css">
a
{
text-decoration: none;
}
address
{
font-size: 0.8em;
}
samp.file
{
color: blue;
}
samp.code
{
color: navy;
}
i.show
{
color: #228b00;
}
i.show2
{
color: blue;
}
em.show
{
color: #228b00;
}
span.link
{
color: teal;
font-size: 0.7em;
font-family: verdana, sans-serif;
}
a:hover
{
text-decoration: none;
color: purple;
background: #afb;
}
a.main:hover
{
text-decoration: none;
color: purple;
background: #afb;
/* font-weight: bolder; */
}
</STYLE>
</HEAD>
<BODY onLoad="BMTtimeDisplay(0);">
<!-- .......................................................................
PROJECT TITLE
.......................................................................
-->
<HR NOSHADE SIZE=1>
<TABLE BORDER=0
bgcolor="#EEEEF8"
WIDTH="100%"
CELLPADDING="2"
CELLSPACING="0"
>
<TR>
<TD ALIGN="center">
</TD>
<TD ALIGN="center">
<FONT SIZE="+10">
Perl Text to HTML Project
</FONT>
</TD>
</TR>
</TABLE>
<HR NOSHADE SIZE=1>
<!-- .......................................................................
START OF BODY TEXT
.......................................................................
-->
<H1> Links and download </H1>
<em>
Note: that the most up to date version is in version control. See
development page instructions how get latest source code.
</em>
<UL>
<LI>
<A HREF="http://freecode.com/projects/perlwebget"
CLASS="main">
Main project page
</A>
(never changes; bookmark this one)
<a name="devel" id="devel"></a>
<LI>
<A HREF="https://savannah.nongnu.org/projects/perl-webget"
CLASS="main">Development page</A>
(Source code, bug tracker etc.)
<LI>
<A HREF="https://savannah.nongnu.org/files/?group=perl-webget"
class="main">
Downloads
</A>
<LI>
<A HREF="manual/"
class="main">
Manual
</A>
<LI>
<A HREF="conversion/"
class="main">
Conversion
</A>
(how it all works)
<LI>
<A HREF="http://git.savannah.gnu.org/gitweb/?p=perl-text2html.git;a=blob;f=bin/ChangeLog;hb=master" class="main">
ChangeLog
</A>
Generated by editing the code in Emacs and pressing
key binding (C-x 4 a).
</UL>
Other pages
<UL>
<LI>Old program binary from days of early development.
Please do not use file from Perl CPAN archive
<A HREF="http://cpan.perl.org/modules/by-authors/id/J/JA/JARIAALTO/"
CLASS="main">
http://cpan.perl.org/modules/by-authors/id/J/JA/JARIAALTO/
</A>
</UL>
<!-- .......................................................................
HEADING
.......................................................................
-->
<H1>
Description
</H1>
<P> The <I class="show">t2html</I> is a spicy little
tool that can help turning simple text files into nice looking
documents. In fact many of the pages in this site has been been
built using that little tool. Please see
<I>conversion</I> page link above to learn more about the utility.
After you have installed the program, invoke program
with <I>--test-page</I> option to see some examples. follow
the links to see the original page and how it was rendered
according to passed options. <b>Note:</b> you can write any CSS
file to change the layout of the HTML. These only show you some
defaults that the program uses. One demonstration of custom CSS
can be seen at
<A HREF="http://pm-doc.sourceforge.net/pm-tips.html">
Procmail Documentation Project
</A>.
<PRE>
Run cmd : t2html --css-font-normal t2html-1.txt > t2html-1.html
Original text : <A HREF="examples/t2html-1.txt">t2html-1.txt</A>
Generated html: <A HREF="examples/t2html-1.html">t2html-1.html</A>
Run cmd : t2html --css-font-readable t2html-2.txt > t2html-2.html
Original text : <A HREF="examples/t2html-2.txt">t2html-2.txt</a>
Generated html: <A HREF="examples/t2html-2.html">t2html-2.html</A>
Run cmd : t2html --html-frame --css-font-normal t2html-3.txt
Original text : <A HREF="examples/t2html-3.txt">t2html-3.txt</a>
Generated html: <A HREF="examples/t2html-3.html">t2html-3.html</A>
</PRE>
Here are options <SAMP>--css-code-*</SAMP> which affect the CODE section
layout by adding the text into a TABLE and then rendering the table
background with colors.
<PRE>
Run cmd : t2html.pl --css-code-bg --css-code-note="(?:Notice|Note):" t2html-4.txt > t2html-4.html
Original text : <A HREF="examples/t2html-4.txt">t2html-4.txt</a>
Generated html: <A HREF="examples/t2html-4.html">t2html-4.html</A>
</PRE>
<!-- .......................................................................
HEADING
.......................................................................
-->
<a name="contact" id="contact"></a>
<H1>
Contact
</H1>
<P> There is no mailing list for the project. See
<a href="#links">
Development page
</a>
how to contact maintainer and submit feature requests and bug
reports.
<!-- .......................................................................
FOOTER
.......................................................................
-->
<HR NOSHADE SIZE="1">
<TABLE BORDER = "0"
WIDTH = "100%"
bgcolor = "#C6C6C6"
CELLPADDING = "2"
CELLSPACING = "0"
>
<TR>
<!-- http://www.gnu.org/graphics/behroze/behroze-gnu-button2.png
-->
<!--
width = "100"
height = "40"
-->
<TD>
<A REL="license" HREF="http://www.gnu.org/licenses">
<IMG ALT = "GNU GPL"
BORDER = "0"
SRC = "http://www.nongnu.org/emacs-tiny-tools/pic/gnu.png">
</A>
</TD>
<TD>
All files in this project are licensed under
<A REL="license"
HREF="http://www.gnu.org/licenses/">
GNU GPL</A>.
</TD>
<TD>
<A HREF="http://www.sanannah.org">
<IMG SRC ="http://www.gnu.org/graphics/meditate-tiny.jpg"
width ="60"
height ="60"
border ="0"
alt ="Savannah Logo"
>
</A>
</TD>
<TD >
<FONT SIZE="-1">
<I>
This project, as well as many other projects
is hosted by
<A HREF="http://www.savannah.org">Savannah</A>.
</I>
</FONT>
</TD>
</TR>
</TABLE>
<TABLE BORDER="0"
bgcolor="#EEEEF8"
WIDTH="100%"
CELLPADDING="2"
CELLSPACING="0"
>
<TR>
<TD>
<A HREF="http://validator.w3.org/check?uri=referer">
<IMG SRC ="http://www.w3.org/Icons/valid-html401-blue"
width ="81"
height ="31"
border ="0"
alt ="Savannah Logo"
>
</A>
</TD>
<TD>
<A HREF="http://jigsaw.w3.org/css-validator/validator?uri=referer">
<IMG SRC ="http://jigsaw.w3.org/css-validator/images/vcss-blue"
width ="81"
height ="31"
border ="0"
alt ="W3C CSS logo"
>
</A>
<TD WIDTH="100%">
<FONT SIZE="-1">
<I>
<A HREF="http://www.w3.org">
W3
</A>
validated.
</I>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
|