summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-11-05 13:28:23 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-11-05 13:28:23 +0100
commit8c787c3591c1c885b91a54128835b400858c5cca (patch)
treeeca1b776912a305c4d45b3964038278a2fae1ead /debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty
parentfe188b907cdf30dfdfe0eba9412e7f8749fec158 (diff)
downloadextra-dependencies-8c787c3591c1c885b91a54128835b400858c5cca.tar.gz
extra-dependencies-8c787c3591c1c885b91a54128835b400858c5cca.zip
DEB htdig: Added to repository.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty')
-rw-r--r--debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty40
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty b/debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty
new file mode 100644
index 00000000..fccfb8ee
--- /dev/null
+++ b/debian/htdig/htdig-3.2.0b6/contrib/doc2html/doc2html.sty
@@ -0,0 +1,40 @@
+Any Font 8 On ="<H6>"
+Any Font 8 Off ="</H6>"
+Any Font 9 On =" "
+Any Font 9 Off =" "
+Any Font 10 On =" "
+Any Font 10 Off =" "
+Any Font 11 On =" "
+Any Font 11 Off =" "
+Any Font 12 On ="<H4>"
+Any Font 12 Off ="</H4>"
+Any Font 14 On ="<H3>"
+Any Font 14 Off ="</H3>"
+Any Font 18 On ="<H3>"
+Any Font 18 Off ="</H3>"
+Any Font 24 On ="<H2>"
+Any Font 24 Off ="</H2>"
+Any Font 28 On ="<H2>"
+Any Font 28 Off ="</H2>"
+Any Font 32 On ="<H1>"
+Any Font 32 Off ="</H1>"
+Any Font 36 On ="<H1>"
+Any Font 36 Off ="</H1>"
+
+# Now the really specific stuff for WWW Urls
+# This one decodes the special Url macro which puts the URL reference
+# inside a WP Comment (so it is hidden but editable) and makes the
+# link text blue and underline
+# If we find a comment inside an Url style pair defined by the user
+# we can be pretty sure it was deliberate ( done by MACRO), so we
+# have this special translation just for Comments inside Url Styles
+# Course, if not defined (UrlComment) it will default to standard
+#
+UrlOn="%e" # Eat style codes
+UrlOnEnd="%f" # Style end for UrlOn, restart output
+# the comment text, passed as parameter 2 text, is the URL
+UrlCommentOn="<a href=\""
+UrlCommentOff="\">" # URL link
+UrlOff="</a>%e" # Anchor Off and eat style codes
+UrlOffEnd="%f" # Style end for UrlOff, restart output
+