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

karl at gnu.org.ua karl at gnu.org.ua
Thu Mar 31 19:46:45 CEST 2016


Author: karl
Date: 2016-03-31 20:46:44 +0300 (Thu, 31 Mar 2016)
New Revision: 164

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/tex4ht-docbook.tex
   trunk/lit/tex4ht-html-speech.tex
   trunk/lit/tex4ht-html0.tex
   trunk/lit/tex4ht-html32.tex
   trunk/lit/tex4ht-html4.tex
   trunk/lit/tex4ht-javahelp.tex
   trunk/lit/tex4ht-ooffice.tex
   trunk/lit/tex4ht-tei.tex
Log:
remove timestamps from output by default, https://puszcza.gnu.org.ua/bugs/index.php?277

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/ChangeLog	2016-03-31 17:46:44 UTC (rev 164)
@@ -1,3 +1,27 @@
+2016-03-31  Karl Berry  <karl at freefriends.org>
+
+	* Makefile (tex4ht_info_html4_derived, tex4ht_info_javahelp_derived,
+	tex4ht_misc_derived): new variables, targets.
+	
+	* tex4ht-docbook.tex,
+	* tex4ht-html-speech.tex,
+	* tex4ht-html0.tex,
+	* tex4ht-html32.tex,
+	* tex4ht-ooffice.tex,
+	* tex4ht-tei.tex: likewise make timestamps (\:today) in output
+	off by default, enabled with timestamp option.  In css files
+	and other contexts where an option is inconvenient, just remove them.
+	
+	* tex4ht-javahelp.tex,
+	* tex4ht-docbook.tex: reference tug rather than ohio-state.edu
+	web site.
+
+2016-03-31  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): remove timestamp from the HTML4
+	output.  It can be enabled with ``timestamp'' option.
+	https://puszcza.gnu.org.ua/bugs/index.php?277
+
 2016-03-16  Karl Berry  <karl at freefriends.org>
 
 	* Makefile (tex4ht_4ht_derived): add biblatex.4ht.

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/Makefile	2016-03-31 17:46:44 UTC (rev 164)
@@ -30,12 +30,12 @@
 derived += $(tex4ht_cond4ht_derived)
 tex4ht_cond4ht_derived = cond4ht.4ht mktex4ht.4ht
 
+derived += $(tex4ht_docbook_derived)
+tex4ht_docbook_derived = docbook.4ht docbook-math.4ht docbook-mml.4ht
+
 derived += $(tex4ht_docbook_xtpipes_derived)
 tex4ht_docbook_xtpipes_derived = docbook.4xt DbUtilities.java
 
-derived += $(tex4ht_docbook_derived)
-tex4ht_docbook_derived = docbook.4ht docbook-math.4ht docbook-mml.4ht
-
 derived += $(tex4ht_env_derived)
 tex4ht_env_derived = tex4ht.env-unix tex4ht.env-win32 tex4ht.env
 
@@ -66,12 +66,12 @@
 #derived += $(tex4ht_htcmd_derived)
 #tex4ht_htcmd_derived = htcmd.c
 
+derived += $(tex4ht_html_speech_derived)
+tex4ht_html_speech_derived = html-speech.4ht html-speech-math.4ht emacspeak.4ht
+
 derived += $(tex4ht_html_speech_xtpipes_derived)
 tex4ht_html_speech_xtpipes_derived = htspk.4xt HtSpk.java
 
-derived += $(tex4ht_html_speech_derived)
-tex4ht_html_speech_derived = html-speech.4ht html-speech-math.4ht emacspeak.4ht
-
 derived += $(tex4ht_html0_derived)
 tex4ht_html0_derived = html0.4ht
 
@@ -84,6 +84,15 @@
   html4-l2-url.4ht html4-russian-accents.4ht \
   onmouseover.4ht exerqz.4ht  
 
+#xx big changes for unknown reasons derived += $(tex4ht_info_derived)
+tex4ht_info_derived = info4ht.4ht
+
+derived += $(tex4ht_info_html4_derived)
+tex4ht_info_html4_derived = infoht4.4ht
+
+derived += $(tex4ht_info_javahelp_derived)
+tex4ht_info_javahelp_derived = infojh.4ht
+
 derived += $(tex4ht_info_mml_derived)
 tex4ht_info_mml_derived = infomml.4ht
 
@@ -93,15 +102,12 @@
 derived += $(tex4ht_info_svg_derived)
 tex4ht_info_svg_derived = infosvg.4ht
 
-#xx derived += $(tex4ht_info_derived)
-tex4ht_info_derived = info4ht.4ht
+derived += $(tex4ht_javahelp_derived)
+tex4ht_javahelp_derived = javahelp.4ht javahelp-a.4ht
 
 derived += $(tex4ht_javahelp_xtpipes_derived)
 tex4ht_javahelp_xtpipes_derived = javahelp.4xt
 
-derived += $(tex4ht_javahelp_derived)
-tex4ht_javahelp_derived = javahelp.4ht javahelp-a.4ht
-
 derived += $(tex4ht_jsmath_derived)
 tex4ht_jsmath_derived = jsmath.4ht html-jsmath.4ht
 
@@ -122,6 +128,9 @@
 derived += $(tex4ht_mathplayer_derived)
 tex4ht_mathplayer_derived = mathplayer.4ht
 
+derived += $(tex4ht_misc_derived)
+tex4ht_misc_derived = lettrine.4ht
+
 derived += $(tex4ht_mkht_derived)
 tex4ht_mkht_derived = mkht.4ht mk4ht.perl mkht-scripts.4ht
 
@@ -195,10 +204,10 @@
 	tex $(tex_opts) $<
 	tex $(tex_opts) cond4ht.4ht
 
-$(tex4ht_docbook_xtpipes_derived): tex4ht-docbook-xtpipes.tex $(common)
+$(tex4ht_docbook_derived): tex4ht-docbook.tex $(common)
 	xhlatex $< "html,3" "" "-d./" $(tex_1opt)
 
-$(tex4ht_docbook_derived): tex4ht-docbook.tex $(common)
+$(tex4ht_docbook_xtpipes_derived): tex4ht-docbook-xtpipes.tex $(common)
 	xhlatex $< "html,3" "" "-d./" $(tex_1opt)
 
 $(tex4ht_env_derived): tex4ht-env.tex $(common)
@@ -235,6 +244,12 @@
 	cp html4.4ht-released html4.4ht && latex $(tex_opts) $<
 	latex $(tex_opts) $<
 
+$(tex4ht_info_html4_derived): tex4ht-info-html4.tex $(common_info)
+	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
+
+$(tex4ht_info_javahelp_derived): tex4ht-info-javahelp.tex $(common_info)
+	htlatex $< "html,sections+" "" "-d./" $(tex_1opt)
+
 $(tex4ht_info_mml_derived): tex4ht-info-mml.tex $(common_info)
 	htlatex $< "html,sections+" "" "-d./" $(tex_1opt)
 
@@ -247,12 +262,12 @@
 $(tex4ht_info_derived): tex4ht-info.tex $(common)
 	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
 
+$(tex4ht_javahelp_derived): tex4ht-javahelp.tex $(common)
+	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
+
 $(tex4ht_javahelp_xtpipes_derived): tex4ht-javahelp-xtpipes.tex $(common)
 	htlatex $< "xhtml,next,3" "" "-d./" $(tex_1opt)
 
-$(tex4ht_javahelp_derived): tex4ht-javahelp.tex $(common)
-	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
-
 $(tex4ht_jsmath_derived): tex4ht-jsmath.tex $(common)
 	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
 
@@ -271,6 +286,9 @@
 $(tex4ht_mathplayer_derived): tex4ht-mathplayer.tex $(common)
 	xhlatex $< "html,3,sections+" "" "-d./" $(tex_1opt)
 
+$(tex4ht_misc_derived): tex4ht-misc.tex $(common)
+	ht tex $<
+
 $(tex4ht_mkht_derived): tex4ht-mkht.tex $(common)
 	latex $(tex_opts) $<
 	perl -c mk4ht.perl  # syntax check

Modified: trunk/lit/tex4ht-docbook.tex
===================================================================
--- trunk/lit/tex4ht-docbook.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-docbook.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -2,7 +2,7 @@
 % compile 3 times:     latex tex4ht-docbook   
 %                or  xhlatex tex4ht-docbook "html,3,sections+"
 %
-% Copyright (C) 2009-2013 TeX Users Group
+% Copyright (C) 2009-2016 TeX Users Group
 % Copyright (C) 2000-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -352,9 +352,8 @@
 
 
 \<tex4ht sig\><<<
-\HCode{\Hnewline<!--translated from \jobname.tex, on \:today,
-     \Hnewline by TeX4ht  (http://www.cse.ohio-state.edu/\string
-       ~gurari/TeX4ht/) 
+\HCode{\Hnewline<!--translated from \jobname.tex
+     \Hnewline by TeX4ht  (http://tug.org/tex4ht/) 
      \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline}
 \:CheckOption{-xtpipes} \if:Option 
    \Log:Note{Use the `-xtpipes' command line option to 
@@ -2697,7 +2696,7 @@
 \Configure{Preamble}
    {|<default cascade style sheets|>} {}
 \Configure{CssFile}{\jobname.css}
-  {/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
+  {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
 \Configure{Needs}{l. 
    \the\inputlineno\space--- needs --- #1 ---}
 \Configure{Needs-}{l.

Modified: trunk/lit/tex4ht-html-speech.tex
===================================================================
--- trunk/lit/tex4ht-html-speech.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-html-speech.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -3,7 +3,7 @@
 %           or   xhlatex tex4ht-html-speech "html,3,sections+"
 % (html4*.4ht must be up to date.)
 %
-% Copyright 2009-2015 TeX Users Group
+% Copyright 2009-2016 TeX Users Group
 % Copyright 2006-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -398,8 +398,12 @@
     \expandafter\:gobbleM\meaning\Preamble}
 \Configure{@HEAD}
    {\HCode{<meta name="src" content="\jobname.tex"></meta>\Hnewline}} 
+\:CheckOption{timestamp}\if:Option
 \Configure{@HEAD}
    {\HCode{<meta name="date" content="\:today"></meta>\Hnewline}} 
+\else
+  \Log:Note{To print a timestamp, use the command line option timestamp}
+\fi
 >>>
 
 \<html extension file name\><<<
@@ -7322,8 +7326,12 @@
     \expandafter\:gobbleM\meaning\Preamble}
 \Configure{@HEAD}
    {\HCode{<meta name="src" content="\jobname.tex"\xml:empty>\Hnewline}} 
+\:CheckOption{timestamp}\if:Option
 \Configure{@HEAD}
    {\HCode{<meta name="date" content="\:today"\xml:empty>\Hnewline}} 
+\else
+  \Log:Note{To print a timestamp, use the command line option timestamp}
+\fi
 >>>
 
 
@@ -24115,7 +24123,7 @@
 \def\d:HA{\ifvmode \IgnorePar \fi \EndP\HCode{</td>}|<td recall EndP|>}
 \Configure{HVerbatim+}{\z@}{\:nbsp}
 \Configure{CssFile}{\jobname.css}
-  {/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
+  {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
 \Configure{Picture+}{}{}
 \Configure{Picture*}{}{}
 \Configure{Picture-alt}{[Picture]}

Modified: trunk/lit/tex4ht-html0.tex
===================================================================
--- trunk/lit/tex4ht-html0.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-html0.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -2,7 +2,7 @@
 %        latex tex4ht-html0
 % or   xhlatex tex4ht-html0 "html,3,sections+"
 %
-% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2009-2016 TeX Users Group
 % Copyright (C) 1996-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -2684,7 +2684,7 @@
 \def\d:HA{\HCode{</td>}}
 \Configure{HVerbatim+}{\z@}{\:nbsp}
 \Configure{CssFile}{\jobname.css}
-  {/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
+  {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
 \Configure{Picture+}{}{}
 \Configure{Picture*}{}{}
 \Configure{Needs}{l. 
@@ -3349,7 +3349,7 @@
 
 \<src note\><<<
 <!--\FileName\space from \jobname.tex
-(TeX4ht, \:today)-->%
+(TeX4ht)-->%
 >>>
 
 

Modified: trunk/lit/tex4ht-html32.tex
===================================================================
--- trunk/lit/tex4ht-html32.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-html32.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -2,7 +2,7 @@
 %      latex tex4ht-html32
 % or xhlatex tex4ht-html32 "html,3,sections+"
 %
-% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2009-2016 TeX Users Group
 % Copyright (C) 1996-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -4972,7 +4972,7 @@
 \def\d:HA{\HCode{</td>}}
 \Configure{HVerbatim+}{\z@}{\:nbsp}
 \Configure{CssFile}{\jobname.css}
-  {/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
+  {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
 \Configure{Picture+}{}{}
 \Configure{Picture*}{}{}
 \Configure{Needs}{l. 
@@ -6526,11 +6526,11 @@
 
 \<src note\><<<
 <!--\FileName\space from \jobname.tex
-(TeX4ht, \:today)-->%
+(TeX4ht)-->%
 >>>
 
 \<4 src note\><<<
-<!--\FileName\space from \jobname.tex (\:today)-->%
+<!--\FileName\space from \jobname.tex -->%
 >>>
 
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-html4.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -3,7 +3,7 @@
 % Copy html4.4ht into the work directory before each of the 
 %            first two compilations
 %
-% Copyright 2009-2015 TeX Users Group
+% Copyright 2009-2016 TeX Users Group
 % Copyright 1996-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -436,9 +436,13 @@
 \Configure{@HEAD}
    {\HCode{<meta name="src"
                  content="\jobname.tex"\xml:empty>\Hnewline}} 
+\:CheckOption{timestamp}\if:Option
 \Configure{@HEAD}
    {\HCode{<meta name="date"
                  content="\:today"\xml:empty>\Hnewline}} 
+\else
+  \Log:Note{To print a timestamp, use the command line option timestamp}
+\fi
 >>>
 
 
@@ -20493,7 +20497,7 @@
 \def\d:HA{\ifvmode \IgnorePar \fi \EndP\HCode{</td>}|<td recall EndP|>}
 \Configure{HVerbatim+}{\z@}{\:nbsp}
 \Configure{CssFile}{\jobname.css}
-  {/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
+  {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
 \Configure{Picture+}{}{}
 \Configure{Picture*}{}{}
 \Configure{Picture-alt}{[Picture]}

Modified: trunk/lit/tex4ht-javahelp.tex
===================================================================
--- trunk/lit/tex4ht-javahelp.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-javahelp.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -2,7 +2,7 @@
 % compile 3 times: latex tex4ht-javahelp   
 %             or  xhlatex tex4ht-javahelp "html,3,sections+"
 %
-% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2009-2016 TeX Users Group
 % Copyright (C) 2003-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -946,8 +946,8 @@
 \def\jhNote{%
      Created for JavaHelp
      (http://java.sun.com/products/javahelp/)\Hnewline
-     by TeX4ht (http://www.cse.ohio-state.edu/\string
-     ~gurari/TeX4ht/)\Hnewline from \jobname.tex at \:today \space
+     by TeX4ht (http://tug.org/tex4ht/)\Hnewline
+     from \jobname.tex \space
   }
 >>>
 

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-ooffice.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -1,7 +1,7 @@
 % $Id$
 % compile 3 times: latex tex4ht-ooffice
 %      htlatex tex4ht-ooffice "xhtml,4,sections+"
-% Copyright 2009-2015 TeX Users Group
+% Copyright 2009-2016 TeX Users Group
 % Copyright 2001-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -663,10 +663,14 @@
 \Configure{META}
    {<meta:generator>|<creator/generator|>\Hnewline
     </meta:generator>\Hnewline}
+\:CheckOption{timestamp}\if:Option
 \Configure{META}
    {<meta:creation-date>\:today</meta:creation-date>\Hnewline}
 \Configure{META}
    {<dc:date>\:today</dc:date>\Hnewline}
+\else
+  \Log:Note{To print a timestamp, use the command line option timestamp}
+\fi
 >>>
 
 

Modified: trunk/lit/tex4ht-tei.tex
===================================================================
--- trunk/lit/tex4ht-tei.tex	2016-03-16 17:07:48 UTC (rev 163)
+++ trunk/lit/tex4ht-tei.tex	2016-03-31 17:46:44 UTC (rev 164)
@@ -2,7 +2,7 @@
 % compile 3 times:     latex   tex4ht-tei   
 %                  or  xhlatex tex4ht-tei "html,3,sections+"
 %
-% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2009-2016 TeX Users Group
 % Copyright (C) 2000-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -270,7 +270,7 @@
 \Configure{TITLE+} 
    {\HCode{<publicationStmt> <p></p> </publicationStmt>\Hnewline
            <sourceDesc><p>\FileName\space from \jobname.tex
-                          (TeX4ht, \:today)</p></sourceDesc>\Hnewline
+                          (TeX4ht)</p></sourceDesc>\Hnewline
    }}
 >>>
 



More information about the tex4ht-commits mailing list