~ubuntu-branches/debian/sid/tex4ht/sid

« back to all changes in this revision

Viewing changes to texmf/tex/generic/tex4ht/web.4ht

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2008-09-12 10:32:36 UTC
  • mfrom: (1.3.2 upstream) (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080912103236-tgw2q5g6f5hp2pnm
Tags: 20080701-2
* debian/patches/add_manpage.diff: Modified the man page
  to recommend that "mk4ht" be used for conversions other than
  from TeX/LaTeX to HTML. This is in response to #495768.
* debian/control: Replaced "sun-java5-jre" with "openjdk-6-jre-headless"
  in the "Suggests" field for "tex4ht-common". The latter java runtime
  seems to work with "xtpipes.jar" and the former is non-free.
  (Closes: #486482)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
 
% web.4ht                               2006-08-29-04:36 %
3
 
% Copyright (C) 1999--2006       Eitan M. Gurari         %
 
2
% web.4ht                               2008-07-01-10:26 %
 
3
% Copyright (C) 1999--2008       Eitan M. Gurari         %
4
4
%                                                        %
5
5
% This work may be distributed and/or modified under the %
6
6
% conditions of the LaTeX Project Public License, either %
7
 
% version 1.3 of this license or (at your option) any    %
 
7
% version 1.3c of this license or (at your option) any   %
8
8
% later version. The latest version of this license is   %
9
9
% in                                                     %
10
10
%   http://www.latex-project.org/lppl.txt                %
11
 
% and version 1.3 or later is part of all distributions  %
12
 
% of LaTeX version 2003/12/01 or later.                  %
 
11
% and version 1.3c or later is part of all distributions %
 
12
% of LaTeX version 2005/12/01 or later.                  %
13
13
%                                                        %
14
14
% This work has the LPPL maintenance status "maintained".%
15
15
%                                                        %
24
24
%                             gurari@cse.ohio-state.edu  %
25
25
%                 http://www.cse.ohio-state.edu/~gurari  %
26
26
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27
 
\immediate\write-1{version 2006-08-29-04:36}
 
27
\immediate\write-1{version 2008-07-01-10:26}
28
28
 
29
29
\let\web:startsection=\@startsection
30
30
\def\@startsection{\def\@seccntformat##1{}\web:startsection}
54
54
\NewConfigure{HColor}[2]{\if !#1!\if!#2!\let\HColor\relax \else \edef\HColor{#2}\fi
55
55
\else
56
56
   \expandafter\edef\csname CLR:#1\endcsname{#2}\fi}
57
 
\pend:defIII\definecolor{%
58
 
  \expandafter\ifx\csname HColor:##2\endcsname\relax\else
59
 
     \csname HColor:##2\endcsname ##3 //%
60
 
     \edef\:temp{{HColor}{##1}{\HColor}}%
61
 
     \expandafter\Configure\:temp
62
 
  \fi}
 
57
\def\:temp#1#2#3{%
 
58
  \@ifundefined{color@#2}%
 
59
    {\c@lor@error{model `#2'}}%
 
60
    {\@ifundefined{\string\color @#1}{}%
 
61
      {\PackageInfo{color}{Redefining color #1}}%
 
62
     \csname color@#2\expandafter\endcsname
 
63
         \csname\string\color @#1\endcsname{#3}}}
 
64
\ifx \definecolor\:temp
 
65
   \pend:defIII\definecolor{%
 
66
     \expandafter\ifx\csname HColor:##2\endcsname\relax\else
 
67
        \csname HColor:##2\endcsname ##3 //%
 
68
        \edef\:temp{{HColor}{##1}{\HColor}}%
 
69
        \expandafter\Configure\:temp
 
70
     \fi}
 
71
\fi
63
72
 
64
73
\Hinput{web}
65
74
\endinput