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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2005-04-05 14:14:41 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050405141441-x4dojdgz3frkfyet
Tags: 20050402.1817-1
* New upstream release (2005-04-02-18:17). Closes: #299934.
* See README.src, README.validate, README.Debian and copyright
  for information on minor changes.
* This upload fixes a some .htf files. Closes: #295109.
* Updated the description to reflect recent changes.
* Fixed some typos in src/tex4ht-mkht.tex and consequently
  in the mk4ht script.
* Updated the man page to include mk4ht. 
* Updated the description of options for the scripts in the man page.
  Put more information in the man page about the way the system works.
  Closes: #219348, #219347.
* Added debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
2
% mempatch.4ht                          2005-03-27-10:43 %
 
3
% Copyright (C) 2003--2005       Eitan M. Gurari         %
 
4
%                                                        %
 
5
% This work may be distributed and/or modified under the %
 
6
% conditions of the LaTeX Project Public License, either %
 
7
% version 1.3 of this license or (at your option) any    %
 
8
% later version. The latest version of this license is   %
 
9
% in                                                     %
 
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.                  %
 
13
%                                                        %
 
14
% This work has the LPPL maintenance status "maintained".%
 
15
%                                                        %
 
16
% This Current Maintainer of this work                   %
 
17
% is Eitan M. Gurari.                                    %
 
18
%                                                        %
 
19
% If you modify this program your changing its signature %
 
20
% with a directive of the following form will be         %
 
21
% appreciated.                                           %
 
22
%            \message{signature}                         %
 
23
%                                                        %
 
24
%                             gurari@cse.ohio-state.edu  %
 
25
%                 http://www.cse.ohio-state.edu/~gurari  %
 
26
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
27
\immediate\write-1{version 2005-03-27-10:43}
 
28
 
 
29
\let\no@Msect\M@sect
 
30
\NewConfigure{@sec @ssect}[1]{%
 
31
   \def\rdef:sec##1{#1\csname no@##1\endcsname}}
 
32
\:CheckOption{sections-}     \if:Option
 
33
   \Configure{@sec @ssect}{}
 
34
\else
 
35
   \Configure{@sec @ssect}{%
 
36
      \let\sv:Sc\:Sc \let\sv:sect\@sect \let\sv:ssect\@ssect
 
37
\let\sv:Msect\M@sect
 
38
\let\:Sc\:gobble
 
39
      \def\M@sect##1##2##3##4##5##6[##7][##8]##9{%
 
40
   \ifx \o:@seccntformat:\:UnDef
 
41
  \let\o:@seccntformat:\@seccntformat
 
42
\fi
 
43
\let\@seccntformat\:gobble
 
44
%
 
45
   \let\M@sect\no@Msect   \xdef\c:secnumdepth{##2}%
 
46
   {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII \let\mark\:gobble
 
47
    \no@Msect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}][{##8}]{}}%
 
48
   \let\:Sc\sv:Sc \let\@sect\sv:sect \let\@ssect\sv:ssect
 
49
\let\M@sect\sv:Msect
 
50
%
 
51
   \let\@seccntformat=\o:@seccntformat:
 
52
%
 
53
   \HtmlEnv    \Toc:Title{##8}\csname no:#1\endcsname{##9}}%
 
54
%
 
55
      \def\@sect##1##2##3##4##5##6[##7]##8{%
 
56
   \ifx \o:@seccntformat:\:UnDef
 
57
  \let\o:@seccntformat:\@seccntformat
 
58
\fi
 
59
\let\@seccntformat\:gobble
 
60
%
 
61
   \let\@sect\no@sect   \xdef\c:secnumdepth{##2}%
 
62
   {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII \let\mark\:gobble
 
63
    \no@sect{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
 
64
   \let\:Sc\sv:Sc \let\@sect\sv:sect \let\@ssect\sv:ssect
 
65
\let\M@sect\sv:Msect
 
66
%
 
67
   \let\@seccntformat=\o:@seccntformat:
 
68
%
 
69
   \HtmlEnv    \Toc:Title{##7}\csname no:#1\endcsname{##8}}%
 
70
%
 
71
      \def\@ssect##1##2##3##4##5{%
 
72
   \let\@ssect\no@ssect
 
73
   {\def\addcontentsline####1####2####3{}%
 
74
    \no@ssect{##1}{##2}{##3}{##4}{}}%
 
75
   \let\:Sc\sv:Sc \let\@sect\sv:sect \let\@ssect\sv:ssect
 
76
\let\M@sect\sv:Msect
 
77
%
 
78
   \HtmlEnv   \csname :like#1\endcsname{##5}}%
 
79
\IgnorePar}
 
80
\fi
 
81
 
 
82
\Hinput{mempatch}
 
83
\endinput
 
84