[tex4ht-commits] [SCM] tex4ht updated: r9 - in trunk: . lit

karl at gnu.org.ua karl at gnu.org.ua
Sat Feb 6 01:59:42 CET 2010


Author: karl
Date: 2010-02-06 02:59:42 +0200 (Sat, 06 Feb 2010)
New Revision: 9

Modified:
   trunk/ChangeLog
   trunk/lit/
   trunk/lit/.svnignore
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/README
   trunk/lit/tex4ht-xhtmml-xtpipes.tex
   trunk/lit/xtpipes.tex
Log:
license notices and Makefile rules for tex4ht-xhtmml-xtpipes.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/ChangeLog	2010-02-06 00:59:42 UTC (rev 9)
@@ -9,8 +9,4 @@
 	daniel.flipo at univ-lille1.fr to improve compatibility
 	with different versions of frenchb.
 
-Copyright 2010 TeX Users Group.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
+This file is public domain.  Started 2010, Karl Berry.


Property changes on: trunk/lit
___________________________________________________________________
Name: svn:ignore
   - *.aux
*.log
*.html
*.dvi
*.tmp

   + work.dir
*.4ct
*.4tc
*.aux
*.css
*.dvi
*.html
*.idv
*.lg
*.log
*.tmp
*.trc
*.xref


Modified: trunk/lit/.svnignore
===================================================================
--- trunk/lit/.svnignore	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/lit/.svnignore	2010-02-06 00:59:42 UTC (rev 9)
@@ -1,5 +1,13 @@
+work.dir
+*.4ct
+*.4tc
 *.aux
+*.css
+*.dvi
+*.html
+*.idv
+*.lg
 *.log
-*.html
-*.dvi
 *.tmp
+*.trc
+*.xref

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/lit/ChangeLog	2010-02-06 00:59:42 UTC (rev 9)
@@ -1,3 +1,8 @@
+2010-02-05  Karl Berry  <karl at gnu.org>
+
+	* tex4ht-xhtmml-xtpipes.tex: add license notices.
+	* Makefile: add derivations.
+
 2010-02-03  Karl Berry  <karl at gnu.org>
 
 	* wripro.tex: add license notice.
@@ -9,8 +14,4 @@
 	* tex4ht-cpright.tex: minimize lines.
 	* Makefile: start at new file.
 
-Copyright 2010 TeX Users Group.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
+This file is public domain.  Started 2010, Karl Berry.

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/lit/Makefile	2010-02-06 00:59:42 UTC (rev 9)
@@ -1,10 +1,19 @@
 # $Id$
-# Public domain.  Originally written 2010, Karl Berry.
+# This file is public domain.  Originally written 2010, Karl Berry.
 
 wd = work.dir
 
+common = tex4ht-cpright.tex common.tex
+derived =
+
+derived += $(tex4ht_xhtmml_xtpipes_derived)
+tex4ht_xhtmml_xtpipes_derived = \
+  xhtmml.4xt \
+  XhtmmlUtilities.java \
+
 # wripro.tex generates nothing (not literate).
 
+derived += $(xtpipes_derived)
 xtpipes_derived = \
   $(wd)/xtpipes.java \
   $(wd)/xtpipes/FileInfo.java \
@@ -18,19 +27,29 @@
   xtpipes-map.dtd \
   xtpipes.dtd \
 
-$(xtpipes_derived): xtpipes.tex tex4ht-cpright.tex common.tex
-	htlatex xtpipes "xhtml,3,next" "" "-d./" "-interaction=nonstopmode"
+default all: $(derived)
+
+$(tex4ht_xhtmml_xtpipes_derived): tex4ht-xhtmml-xtpipes.tex $(common)
+	htlatex $< "xhtml,3,next" "" "-d./" "-interaction=nonstopmode"
+
+$(xtpipes_derived): xtpipes.tex $(common)
+	htlatex $< "xhtml,3,next" "" "-d./" "-interaction=nonstopmode"
 # Derived files are generated in . and $(wd).
 # (corresponds to src/java for xtpipes.tex)
 
 destdir = ..
 update:
+	$(update) XhtmmlUtilities.java $(destdir)/src/java/
+	$(update) xhtmml.4xt $(destdir)/texmf/tex4ht/xtpipes/
 	rmdir $(wd)/bin
-	$(update) -r $(wd)/* $(destdir)/src/java/
-	$(update) -r xtpipes.dtd xtpipes-map.dtd xtpipes-default.4xt \
+	$(update) $(wd)/* $(destdir)/src/java/
+	$(update) xtpipes.dtd xtpipes-map.dtd xtpipes-default.4xt \
 	  $(destdir)/texmf/tex4ht/xtpipes/
 
-clean:
+clean: mostlyclean
 	rm -rf $(wd)
 	rm -f *.4ct *.4tc *.aux *.css *.dvi *.idv *.lg *.log *.tmp *.trc *.xref
-	rm -f xtpipes*html $(xtpipes_derived)
+	rm -f *.html
+
+mostlyclean:
+	rm -f $(derived)

Modified: trunk/lit/README
===================================================================
--- trunk/lit/README	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/lit/README	2010-02-06 00:59:42 UTC (rev 9)
@@ -1,5 +1,5 @@
 $Id$
-Public domain.  Originally written 2010, Karl Berry.
+This file is public domain.  Originally written 2010, Karl Berry.
 
 Eitan devised his own literate programming system, which supports
 multiple output files from a single source.  The files here are all the

Modified: trunk/lit/tex4ht-xhtmml-xtpipes.tex
===================================================================
--- trunk/lit/tex4ht-xhtmml-xtpipes.tex	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/lit/tex4ht-xhtmml-xtpipes.tex	2010-02-06 00:59:42 UTC (rev 9)
@@ -1,40 +1,27 @@
+% $Id$
 % htlatex tex4ht-xhtmml-xtpipes "xhtml,next,3" "" "-d./"
 
+% Copyright 1996--2009 Eitan M. Gurari
+% Copyright 2009, 2010 TeX Users Group.
+% Released under LPPL 1.3c+.
+% Please see tex4ht-cpright.tex for license text.
+\message{[<TeX4ht/dist/\jobname>]}
+
 \documentclass{article}
     \Configure{ProTex}{log,<<<>>>,title,list,`,[[]]}
     \usepackage{url}
+    \input{common.tex}
 \begin{document}
+\input tex4ht-cpright.tex
 
 
-%%%%%%%%%%%%%%%%%%%%% definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\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
-}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-
-
-
-
 %%%%%%%%%%%%%%%%%%
-\part{Post Processing for Html Output Mode}
+\part{Post Processing for HTML Output Mode}
 %%%%%%%%%%%%%%%%%%
 
 
 %%%%%%%%%%%%%%%%%%
-\section{Outline}
+\section{Outline} 
 %%%%%%%%%%%%%%%%%%
 
 \AtEndDocument{\OutputCodE\<xhtmml.4xt\>}
@@ -44,6 +31,10 @@
 \<xhtmml.4xt\><<<
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE xtpipes SYSTEM "xtpipes.dtd" >
+<!-- xhtmml.4xt (`version), generated from `jobname.tex
+     Copyright (C) `CopyYear.2008. Eitan M. Gurari
+     Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> -->
 <xtpipes preamble="yes" signature="xhtmml.4xt (`version)">
    <sax content-handler="xtpipes.util.ScriptsManager" 
         lexical-handler="xtpipes.util.ScriptsManagerLH" >
@@ -58,7 +49,7 @@
 >>>
 
 
-
+% 
 \AtEndDocument{\OutputCodE\<XhtmmlUtilities.java\>}
 
 \Needs{"
@@ -67,10 +58,10 @@
 
 \<XhtmmlUtilities.java\><<<
 package tex4ht;
-`<copy right`>
-/* XHtmmlUtilities.java                      `version */
-/* Copyright (C) `CopyYear.2008.    Eitan M. Gurari            */
-`<cont copy right`>
+/* XhtmmlUtilities.java (`version), generated from `jobname.tex
+   Copyright (C) `CopyYear.2008. Eitan M. Gurari
+   Copyright (C) 2009, 2010 TeX Users Group
+`<TeX4ht copyright`> */
 
 import org.w3c.dom.*;
 public class XhtmmlUtilities {


Property changes on: trunk/lit/tex4ht-xhtmml-xtpipes.tex
___________________________________________________________________
Name: svn:keywords
   + Date Author Id

Modified: trunk/lit/xtpipes.tex
===================================================================
--- trunk/lit/xtpipes.tex	2010-02-06 00:36:30 UTC (rev 8)
+++ trunk/lit/xtpipes.tex	2010-02-06 00:59:42 UTC (rev 9)
@@ -12,7 +12,7 @@
 % Copyright 2009, 2010 TeX Users Group.
 % Released under LPPL 1.3c+.
 % Please see tex4ht-cpright.tex for license text.
-\message{(<TeX4ht/dist/\jobname>)}
+\message{[<TeX4ht/dist/\jobname>]}
 
 \documentclass{article}
    \usepackage{url}
@@ -21,6 +21,7 @@
    % make ` be the escape character, instead of ||
    \Configure{ProTex}{java,<<<>>>,title,list,`}
 \begin{document}
+\input tex4ht-cpright.tex
 
 \def\CNT{0}
 \bgroup
@@ -37,8 +38,6 @@
    }   %
 \egroup
 
-\input tex4ht-cpright.tex
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % \AddFile[optional: target file name; default: given file name]
 %         (optional: target home dir; default MYDIR)



More information about the tex4ht-commits mailing list