Debian Codegraph @

texmf-dist/doc/latex/shipunov/scripts/biokey2html2.pl

raw
1 #!/usr/bin/perl -w
2
3 print STDERR "Making HTML title and paragrafs tags... \n";
4
5 while(<>){
6 s@^\s+?$@\n<p>@g;
7 print;
8 }
9
10 BEGIN {
11 print <<END_OF_BEGIN
12 <!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">
13 <html>
14 <head>
15 \t<meta http-equiv=\"Content-Type\" content=\"text/html\">
16 \t<link type="text/css" rel="stylesheet" href="ws_key.css">
17 </head>
18 <body>
19
20 END_OF_BEGIN
21 }
22
23 END{
24 print <<END_OF_END
25
26 </body>
27 </html>
28 END_OF_END
29 }
30
31 #