File: hthtml.sty

package info (click to toggle)
latex2html 2015-debian1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 7,652 kB
  • ctags: 3,386
  • sloc: perl: 30,941; makefile: 429; sh: 155
file content (61 lines) | stat: -rw-r--r-- 1,481 bytes parent folder | download | duplicates (15)
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
% $Id: hthtml.sty,v 1.1 1996/12/21 19:53:34 JCL Exp $
%
\ProvidesPackage{hthtml}
  [96/11/07 v1.1 Extended interface for LaTeX2HTML]
\RequirePackage{html}
%
% \htlink <text> <url>
% 
% a replacement for \htmladdnormallinkfoot which allows ~ and _ in the
% url. 
%
\newcommand\htlink[2]{#1\footnote{\ht@url{#2}}}
% redefine \htmladdnormallinkfoot to set in typewriterstyle
\renewcommand\htmladdnormallinkfoot[2]{{#1}\footnote{\texttt{#2}}}
%
% \hturl <url>
%
% give an url directly (anchor and text are the same).
%
\newcommand{\hturl}[1]{\ht@url{#1}}
%
% \htmailto <mail-address>
%
% set <mail-address> nice.
%
\newcommand{\htmailto}[1]{#1}
%
% \htsetvar <variable> <value>
%
% Offer the possibility to change the configuration of latex2html: 
% Set <variable> to <value>
%
\newcommand\htsetvar[2]{}
%
% \htaddress <text>
%
% Set <text> as an address.
%
\newcommand\htaddress[1]{\par\noindent\textit{#1}\par}
%
% \htmetainfo <field> <value>
%
\newcommand\htmetainfo[2]{}
%
% htdescription is like description, but allows footnotes.
%
\newenvironment{htdescription}{\list{}{%
\labelwidth 0pt\itemindent-\leftmargin%
\newcommand{\nolabel}[1]{{}}%
\let\makelabel\nolabel%
\let\olditem=\item%
\def\item[##1]{\olditem[]{\bf{##1}}\hspace\labelsep\ignorespaces}%
}}{\endlist}%
%
% Implement \ht@url, which converts ~ and _ tokens to text. (Taken
% from the TeX-Book)
\def\ht@strip#1>{}
\def\ht@url#1{{\def\ht@next{#1}%
    \tt\frenchspacing\expandafter\ht@strip\meaning\ht@next%
    }}
%