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

karl at gnu.org.ua karl at gnu.org.ua
Wed Feb 3 02:51:26 CET 2010


Author: karl
Date: 2010-02-03 03:51:26 +0200 (Wed, 03 Feb 2010)
New Revision: 7

Added:
   trunk/lit/ChangeLog
Modified:
   trunk/lit/Makefile
   trunk/lit/tex4ht-cpright.tex
   trunk/lit/xtpipes.tex
Log:
include derivation info and license notices in generated files

Added: trunk/lit/ChangeLog

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2010-01-19 01:59:06 UTC (rev 6)
+++ trunk/lit/Makefile	2010-02-03 01:51:26 UTC (rev 7)
@@ -1,5 +1,25 @@
-foo:
-	htlatex xtpipes "xhtml,3,next" "" "-d./"
-# Derived files are generated in work.dir.
+# Public domain.  Originally written 2010, Karl Berry.
+wd = work.dir
+
+xtpipes_derived = \
+  $(wd)/xtpipes/Xtpipes.java \
+  $(wd)/xtpipes/XtpipesPrintWriter.java \
+  $(wd)/xtpipes.java \
+  xtpipes.dtd \
+  xtpipes-map.dtd \
+  $(wd)/xtpipes/FileInfo.java \
+  $(wd)/xtpipes/InputObject.java \
+  $(wd)/xtpipes/XtpipesUni.java \
+  xtpipes-default.4xt \
+  $(wd)/xtpipes/util/ScriptsManager.java \
+  $(wd)/xtpipes/util/ScriptsManagerLH.java \
+
+$(xtpipes_derived): xtpipes.tex tex4ht-cpright.tex
+	htlatex xtpipes "xhtml,3,next" "" "-d./" "-interaction=nonstopmode"
+# Derived files are generated in . and $(wd).
 # (corresponds to src/java for xtpipes.tex)
-# Copyright notices are not included in this case.
+
+clean:
+	rm -rf $(wd)
+	rm -f *.4ct *.4tc *.aux *.css *.dvi *.idv *.lg *.log *.tmp *.trc *.xref
+	rm -f xtpipes*html $(xtpipes_derived)

Modified: trunk/lit/tex4ht-cpright.tex
===================================================================
--- trunk/lit/tex4ht-cpright.tex	2010-01-19 01:59:06 UTC (rev 6)
+++ trunk/lit/tex4ht-cpright.tex	2010-02-03 01:51:26 UTC (rev 7)
@@ -1,26 +1,18 @@
 \<TeX4ht copyright\><<<
-%                                                        
-% This work may be distributed and/or modified under the 
-% conditions of the LaTeX Project Public License, either 
-% version 1.3c 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.3c or later is part of all distributions 
-% of LaTeX version 2005/12/01 or later.                  
-%                                                        
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c 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.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
 % This work has the LPPL maintenance status "maintained".
-%                                                        
-% This Current Maintainer of this work                   
-% is the TeX4ht Project <tex4ht at tug.org>.                
-%                                                        
-% If you modify this program your changing its signature 
-% with a directive of the following form will be         
-% appreciated.                                           
-%            \message{signature}                         
-%                                                        
-%                                        tex4ht at tug.org  
-%                             http://www.tug.org/tex4ht  
 %
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+% 
+% If you modify this program, changing the 
+% version identification would be appreciated.
 >>>
-

Modified: trunk/lit/xtpipes.tex
===================================================================
--- trunk/lit/xtpipes.tex	2010-01-19 01:59:06 UTC (rev 6)
+++ trunk/lit/xtpipes.tex	2010-02-03 01:51:26 UTC (rev 7)
@@ -12,19 +12,8 @@
 % Copyright 1996--2009 Eitan M. Gurari
 % Copyright 2009, 2010 TeX Users Group.
 %
-% This work may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, either version 1.3c 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.3c
-% or later is part of all distributions of LaTeX version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status "maintained".
-%
-% The Current Maintainer of this work is
-% the TeX4ht Project <http://tug.org/tex4ht>.
-%
-% If you modify this file, changing this signature would be appreciated.
-\message{(<signature>)}
+% Please see tex4ht-cpright.tex for license text.
+\message{(<TeX4ht/dist>)}
 
 \documentclass{article}
    \usepackage{url}
@@ -41,13 +30,9 @@
    -\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
-}
+% #1 is the first year for Eitan.  The last year is always 2009.  RIP.
+\def\CopyYear.#1.{#1--2009}
 
-
-
 \def\CNT{0}
 \bgroup
    \catcode`\^=7
@@ -63,10 +48,8 @@
    }   %
 \egroup
 
+\input tex4ht-cpright.tex
 
-
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % \AddFile[optional: target file name; default: given file name]
 %         (optional: target home dir; default MYDIR)
@@ -273,25 +256,23 @@
 }
 
 
-% \Needs{"cp xtpipes.dtd xtpipes.dtd.1"}
-% \AddFile[xtpipes.dtd](/home/4/gurari/xtpipes.dir/xtpipes/bin){xtpipes.dtd.1}{xtpipes/lib}
-
-
 \ifOption{win} {
     \def\BIN{}
 }{
     \def\BIN{(/home/4/gurari/xtpipes.dir)}
 }
 
+% 
 \expandafter\AddFile\BIN{xtpipes.dtd}{xtpipes\Slash lib}
 
 \AddFile{Xtpipes.java}{xtpipes}
 
 \<Xtpipes.java\><<<
 package xtpipes;
-/*
-Xtpipes.java (`version)
-*/
+/* Xtpipes.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 `<xtpipes imports`>
 `<class XtpipesPrintWriter  `>
 public class Xtpipes {
@@ -905,6 +886,7 @@
 }
 >>>
 
+% 
 \AtEndDocument{
    \OutputCodE\<XtpipesPrintWriter.java\>
 }
@@ -912,9 +894,10 @@
 
 \<XtpipesPrintWriter.java\><<<
 package xtpipes;
-/*
-XtpipesPrintWriter.java (`version)
-*/
+/* XtpipesPrintWriter.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 import java.io.*;
 public class XtpipesPrintWriter extends PrintWriter {
    public XtpipesPrintWriter() {
@@ -1243,6 +1226,10 @@
 \end{verbatim}
 
 \<xtpipes.dtd\><<<
+<!-- xtpipes.dtd (`version), generated from `jobname.tex
+     Copyright (C) `CopyYear.2002. Eitan M. Gurari
+     Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> -->
 <!ELEMENT xtpipes (#PCDATA `<xtpipes entries`>)* >
 <!ATTLIST xtpipes
           preamble  CDATA #IMPLIED DEFAULT (yes | no) "no"
@@ -1250,16 +1237,18 @@
 >>>
 
 
-
+% 
 \AtEndDocument{
    \OutputCodE\<xtpipes-map.dtd\>
 }
 
 \expandafter\AddFile\BIN{xtpipes-map.dtd}{xtpipes\Slash lib}
 
-
 \<xtpipes-map.dtd\><<<
-<!-- xtpipes-map.dtd (`version) -->
+<!-- xtpipes-map.dtd (`version), generated from `jobname.tex
+     Copyright (C) `CopyYear.2002. Eitan M. Gurari
+     Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> -->
 <!ELEMENT xtpipes-map (when | processing-instruction
                             | select
                             | command-line)*  >
@@ -2614,24 +2603,23 @@
 
 
 
-
+% 
 \AtEndDocument{
    \OutputCodE\<FileInfo.java\>
 }
 
 \AddFile{FileInfo.java}{xtpipes}
 
-
-
 \<FileInfo.java\><<<
 package xtpipes;
-/*
-FileInfo.java (`version)
-*/
+/* FileInfo.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 `<FileInfo imports`>
 public class FileInfo{
      `<FileInfo fields`>
-   public FileInfo(PrintWriter log, String iii_scriptDir, boolean trace){
+   public FileInfo(PrintWriter log, String iii_scriptDir, boolean trace) {
       FileInfo.log = log;
       FileInfo.ii_scriptDir = iii_scriptDir;
       FileInfo.trace = trace;
@@ -2828,7 +2816,7 @@
 \subsection{Outline}
 %%%%%%%%%%%%%
 
-
+% 
 \AtEndDocument{
    \OutputCodE\<InputObject.java\>
 }
@@ -2838,9 +2826,10 @@
 
 \<InputObject.java\><<<
 package xtpipes;
-/*
-InputObject.java (`version)
-*/
+/* InputObject.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 `<InputObject imports`>
 
 public class InputObject{
@@ -3613,11 +3602,11 @@
 
 
 
-%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%% 
 \subsection{Unicode Filter}
 %%%%%%%%%%%%%%%%%%
 
-Non ascii characters are translated into unicode hexadecimal entities.
+Non-ASCII characters are translated into unicode hexadecimal entities.
 The same holds for ascii characters listed within the filter.
 
 \AtEndDocument{
@@ -3627,7 +3616,10 @@
 
 
 \<XtpipesUni.java\><<<
-// `version
+/* XtpipesUni.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 package xtpipes;
 public class XtpipesUni{
    `<String toUni( char[], start, length, filter )`>
@@ -3972,22 +3964,22 @@
 
 
 
-%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%% 
 \subsection{Default Script}
 %%%%%%%%%%%%%%%%%%
 
-
 \AtEndDocument{
    \OutputCodE\<xtpipes-default.4xt\>
 }
-
 \expandafter\AddFile\BIN{xtpipes-default.4xt}{xtpipes\Slash lib}
 
-
-
 \<xtpipes-default.4xt\><<<
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE xtpipes PUBLIC "-//GURARI//DTD xtpipes//EN" "xtpipes.dtd"  >
+<!-- xtpipes-default.4xt (`version), generated from `jobname.tex
+     Copyright (C) `CopyYear.2002. Eitan M. Gurari
+     Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> -->
 <xtpipes />
 >>>
 
@@ -4016,19 +4008,20 @@
 \label{ScriptsManager}
 
 
-%%%%%%%%%%%%%
+%%%%%%%%%%%%% 
 \subsection{Outline}
 %%%%%%%%%%%%%
 
-
 \AtEndDocument{
    \OutputCodE\<ScriptsManager.java\>
 }
 \AddFile{ScriptsManager.java}{xtpipes\Slash util}
 
-
 \<ScriptsManager.java\><<<
-// `version
+/* ScriptsManager.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 package xtpipes.util;
 `<ScriptsManager imports`>
 public class ScriptsManager extends DefaultHandler {
@@ -4341,27 +4334,24 @@
 
 
 
-%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%% 
 \section{ScriptsManagerLH: A Lexical Handler}
 %%%%%%%%%%%%%%%%%%
 
 \label{ScriptsManagerLH}
 
-
 The lexical handler sends its strings to the content hadler.
 
-
-
 \AtEndDocument{
    \OutputCodE\<ScriptsManagerLH.java\>
 }
-
 \AddFile{ScriptsManagerLH.java}{xtpipes\Slash util}
 
-
-
 \<ScriptsManagerLH.java\><<<
-// `version
+/* ScriptsManagerLH.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2002. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 package xtpipes.util;
 import org.xml.sax.ext.LexicalHandler;
 // import org.xml.sax.ContentHandler;



More information about the tex4ht-commits mailing list