diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/common.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/common.tex | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/common.tex b/Master/texmf-dist/source/generic/tex4ht/common.tex new file mode 100644 index 00000000000..66c74a69ed6 --- /dev/null +++ b/Master/texmf-dist/source/generic/tex4ht/common.tex @@ -0,0 +1,43 @@ +% $Id: common.tex 411 2018-06-11 13:12:17Z michal_h21 $ +% A few common TeX definitions for literate sources. Not installed in runtime. +% +% Copyright 2009-2017 TeX Users Group +% Copyright 1996-2009 Eitan M. Gurari +% +% 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 program, changing the +% version identification would be appreciated. + +\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} + +% a fixed-string version that can be enabled for debugging. +%\edef\versionDebug{000-00-00-00:00} +%\let\version\versionDebug + +% #1 is the first year for Eitan. The last year is always 2009. RIP. +\def\CopyYear.#1.{#1-2009} + +% command for write to terminal and the log file +% this version is used in the .4ht files build +% identical command is defined also in tex4ht-sty.tex, +% it is used in TeX document compilation +\def\writesixteen#1{\immediate\write1616{#1}} |