summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/shipunov/scripts/biokey2html2.pl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-08 03:00:28 +0000
committerNorbert Preining <norbert@preining.info>2019-10-08 03:00:28 +0000
commite5ffc42ed260285f76383ae18dd0f4a603c07fa8 (patch)
tree7d901aebae17ed14f1c9812c9339a88d68dc74e4 /macros/latex/contrib/shipunov/scripts/biokey2html2.pl
parentba86549c94b1e8b6b19bc82b01e85a7e513e7586 (diff)
CTAN sync 201910080300
Diffstat (limited to 'macros/latex/contrib/shipunov/scripts/biokey2html2.pl')
-rw-r--r--macros/latex/contrib/shipunov/scripts/biokey2html2.pl31
1 files changed, 31 insertions, 0 deletions
diff --git a/macros/latex/contrib/shipunov/scripts/biokey2html2.pl b/macros/latex/contrib/shipunov/scripts/biokey2html2.pl
new file mode 100644
index 0000000000..75801f4430
--- /dev/null
+++ b/macros/latex/contrib/shipunov/scripts/biokey2html2.pl
@@ -0,0 +1,31 @@
+#!/usr/bin/perl -w
+
+print STDERR "Making HTML title and paragrafs tags... \n";
+
+while(<>){
+ s@^\s+?$@\n<p>@g;
+print;
+}
+
+BEGIN {
+print <<END_OF_BEGIN
+<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">
+<html>
+<head>
+ \t<meta http-equiv=\"Content-Type\" content=\"text/html\">
+ \t<link type="text/css" rel="stylesheet" href="ws_key.css">
+</head>
+<body>
+
+END_OF_BEGIN
+}
+
+END{
+print <<END_OF_END
+
+</body>
+</html>
+END_OF_END
+}
+
+# \ No newline at end of file