[tex4ht-commits] [SCM] tex4ht updated: r13 - trunk/lit

karl at gnu.org.ua karl at gnu.org.ua
Tue Feb 9 20:55:53 CET 2010


Author: karl
Date: 2010-02-09 21:55:53 +0200 (Tue, 09 Feb 2010)
New Revision: 13

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/tex4ht-cpright.tex
   trunk/lit/tex4ht-tei.tex
   trunk/lit/tex4ht-unicode.tex
   trunk/lit/tex4ht-word.tex
Log:
tex4ht-tei derivations; new "|TeX4ht copywrite" outputs license notice and \write

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2010-02-08 18:11:09 UTC (rev 12)
+++ trunk/lit/ChangeLog	2010-02-09 19:55:53 UTC (rev 13)
@@ -1,3 +1,10 @@
+2010-02-09  Karl Berry  <karl at gnu.org>
+
+	* tex4t-tei.tex: add license notices.
+	* Makefile: add derivations.
+	* tex4ht-cpright.tex: new macro |TeX4ht copywrite,
+	to output the license notice with a \write to the log file.
+
 2010-02-08  Karl Berry  <karl at gnu.org>
 
 	* tex4ht-unicode.tex: add license notices.

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2010-02-08 18:11:09 UTC (rev 12)
+++ trunk/lit/Makefile	2010-02-09 19:55:53 UTC (rev 13)
@@ -3,19 +3,28 @@
 
 wd = work.dir
 
+default: all
+
 common = tex4ht-cpright.tex common.tex
 derived =
 
+derived += $(tex4ht_tei_derived)
+tex4ht_tei_derived = \
+  tei.4ht \
+  tei-mml.4ht \
+  tei-math.4ht \
+  tei-mmltei.4ht \
+
 derived += $(tex4ht_unicode_derived)
 tex4ht_unicode_derived = \
   unicode.4ht \
 
 derived += $(tex4ht_word_derived)
-tex4ht_xhtml_xtpipes_derived = \
+tex4ht_word_derived = \
   htmlw.4ht \
 
 derived += $(tex4ht_xhtml_xtpipes_derived)
-tex4ht_word_derived = \
+tex4ht_xhtml_xtpipes_derived = \
   xhtml.4xt \
   XhtmlEmails.java \
 
@@ -40,8 +49,12 @@
   xtpipes-map.dtd \
   xtpipes.dtd \
 
-default all: $(derived)
+# 
+all: $(derived)
 
+$(tex4ht_tei_derived): tex4ht-tei.tex $(common)
+	mk4ht xhlatex $< "html,3,sections+"
+
 $(tex4ht_unicode_derived): tex4ht-unicode.tex $(common)
 	mk4ht xhlatex $< "html,3,sections+"
 
@@ -59,9 +72,12 @@
 # Derived files are generated in . and $(wd).
 # (corresponds to src/java for xtpipes.tex)
 
+# 
 destdir = ..
 update = cp -pr
 update: all
+	$(update) tei*.4ht $(destdir)/texmf/tex/generic/tex4ht/
+#
 	$(update) unicode.4ht $(destdir)/texmf/tex/generic/tex4ht/
 #
 	$(update) htmlw.4ht $(destdir)/texmf/tex/generic/tex4ht/

Modified: trunk/lit/tex4ht-cpright.tex
===================================================================
--- trunk/lit/tex4ht-cpright.tex	2010-02-08 18:11:09 UTC (rev 12)
+++ trunk/lit/tex4ht-cpright.tex	2010-02-09 19:55:53 UTC (rev 13)
@@ -16,3 +16,9 @@
 % If you modify this program, changing the 
 % version identification would be appreciated.
 >>>
+
+% License text + \write to log file.
+\<TeX4ht copywrite\><<<
+|<TeX4ht copyright|>
+\immediate\write-1{version |version}
+>>>

Modified: trunk/lit/tex4ht-tei.tex
===================================================================
--- trunk/lit/tex4ht-tei.tex	2010-02-08 18:11:09 UTC (rev 12)
+++ trunk/lit/tex4ht-tei.tex	2010-02-09 19:55:53 UTC (rev 13)
@@ -1,33 +1,12 @@
+% $Id$
 % compile 3 times:     latex   tex4ht-tei   
 %                  or  xhlatex tex4ht-tei "html,3,sections+"
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% tex4ht-tei.tex                                         %
-% Copyright (C) 2000--            Eitan M. Gurari        %
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3 of this license or (at your option) any    %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3 or later is part of all distributions  %
-% of LaTeX version 2003/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this file your changing the signature    %
-% in \message{(signature)} below will be appreciated.    %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
-\message{(<signature>)}
+% Copyright (C) 2000--2009 Eitan M. Gurari
+% Copyright 2009, 2010 TeX Users Group.
+% Released under LPPL 1.3c+.
+% See tex4ht-cpright.tex for license text.
 
-
 %%%%%%%%%%%%%%%%%% load style files %%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \ifx \HTML\UnDef
@@ -39,33 +18,17 @@
    \expandafter\next
 \fi
 
-%%%%%%%%%%%%%%%%%%%%% definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\input{common.tex}
+\input{tex4ht-cpright.tex}
 
-\newcount\tmpcnt  \tmpcnt\time  \divide\tmpcnt  60
-\edef\temp{\the\tmpcnt}
-\multiply\tmpcnt  -60 \advance\tmpcnt  \time
-
-\edef\version{\the\year-\ifnum \month<10 0\fi
-  \the\month-\ifnum \day<10 0\fi\the\day
-   -\ifnum \temp<10 0\fi \temp
-   :\ifnum \tmpcnt<10 0\fi\the\tmpcnt}
-
-\def\CopyYear.#1.{%
-   \ifnum #1=\year #1\space\space\space\space\space\space
-    \else          #1--\the\year\fi
-}
-
-
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter{File Organization}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \<tei\><<<
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
-% tei.4ht                               |version %
-|<TeX4ht copyright|>
+% tei.4ht (|version), generated from |jobname.tex
+% Copyright (C) |CopyYear.2000. Eitan M. Gurari
+|<TeX4ht copywrite|>
 >>>
 
 \<configure tei tex4ht\><<<
@@ -90,62 +53,29 @@
 
 \<tei-mml\><<<
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
-% tei-mml.4ht                           |version %
-|<TeX4ht copyright|>
+% tei-mml.4ht (|version), generated from |jobname.tex
+% Copyright (C) |CopyYear.2000. Eitan M. Gurari
+|<TeX4ht copywrite|>
 >>>
 
 
 \<tei-math\><<<
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
-% tei-math.4ht                          |version %
-|<TeX4ht copyright|>
+% tei-math.4ht (|version), generated from |jobname.tex
+% Copyright (C) |CopyYear.2000. Eitan M. Gurari
+|<TeX4ht copywrite|>
 >>>
 
 
 \<tei-mmltei\><<<
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
-% tei-mmltei.4ht                        |version %
-|<TeX4ht copyright|>
+% tei-mmltei.4ht (|version), generated from |jobname.tex
+% Copyright (C) |CopyYear.2000. Eitan M. Gurari
+|<TeX4ht copywrite|>
 >>>
 
 
 
-\<TeX4ht copyright\><<<
-% Copyright (C) |CopyYear.2000.      Eitan M. Gurari         % 
-%                               Sebastian Rahtz         % 
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3 of this license or (at your option) any    %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3 or later is part of all distributions  %
-% of LaTeX version 2003/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version |version}
->>>
-
-
-
-
-
-
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter{Origin of Hooks}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/lit/tex4ht-unicode.tex
===================================================================
--- trunk/lit/tex4ht-unicode.tex	2010-02-08 18:11:09 UTC (rev 12)
+++ trunk/lit/tex4ht-unicode.tex	2010-02-09 19:55:53 UTC (rev 13)
@@ -237,9 +237,8 @@
 
 \<unicode\><<<
 % unicode.4ht (|version), generated from |jobname.tex
-% Copyright (C) |CopyYear.1998.       Eitan M. Gurari
-|<TeX4ht copyright|>
-\immediate\write-1{version |version}
+% Copyright (C) |CopyYear.1998. Eitan M. Gurari
+|<TeX4ht copywrite|>
 >>>
 
 

Modified: trunk/lit/tex4ht-word.tex
===================================================================
--- trunk/lit/tex4ht-word.tex	2010-02-08 18:11:09 UTC (rev 12)
+++ trunk/lit/tex4ht-word.tex	2010-02-09 19:55:53 UTC (rev 13)
@@ -28,8 +28,7 @@
 % htmlw.4ht (|version), generated from |jobname.tex
 % Copyright (C) |CopyYear.2000. Eitan M. Gurari
 % Copyright (C) 2009, 2010 TeX Users Group
-|<TeX4ht copyright|>
-\immediate\write-1{version |version}
+|<TeX4ht copywrite|>
 >>>
 
 



More information about the tex4ht-commits mailing list