summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/hhtensor/ChangeLog5
-rw-r--r--Master/texmf-dist/doc/latex/hhtensor/Makefile (renamed from Master/texmf-dist/source/latex/hhtensor/Makefile)34
-rw-r--r--Master/texmf-dist/doc/latex/hhtensor/README6
-rw-r--r--Master/texmf-dist/doc/latex/hhtensor/getversion.tex7
-rw-r--r--Master/texmf-dist/doc/latex/hhtensor/hhtensor.pdfbin178889 -> 360629 bytes
-rw-r--r--Master/texmf-dist/source/latex/hhtensor/hhtensor.dtx21
-rw-r--r--Master/texmf-dist/source/latex/hhtensor/hhtensor.ins4
-rw-r--r--Master/texmf-dist/tex/latex/hhtensor/hhtensor.sty12
8 files changed, 48 insertions, 41 deletions
diff --git a/Master/texmf-dist/doc/latex/hhtensor/ChangeLog b/Master/texmf-dist/doc/latex/hhtensor/ChangeLog
new file mode 100644
index 00000000000..004264604eb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hhtensor/ChangeLog
@@ -0,0 +1,5 @@
+2011/12/29 0.61 Harald Harders (harald.harders@gmx.de)
+ - Avoid usage of \fileversion etc.
+
+2003/10/15 0.6 Harald Harders (h.harders@tu-bs.de)
+ - Total new implementation
diff --git a/Master/texmf-dist/source/latex/hhtensor/Makefile b/Master/texmf-dist/doc/latex/hhtensor/Makefile
index a6a521b28ac..2c4daf366fd 100644
--- a/Master/texmf-dist/source/latex/hhtensor/Makefile
+++ b/Master/texmf-dist/doc/latex/hhtensor/Makefile
@@ -2,32 +2,32 @@
SRCDIR=hhtensor
INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/hhtensor
DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/hhtensor
-VERSION=`grep '^\\\\def\\\\fileversion' hhtensor.dtx | sed 's/^\\\\def\\\\fileversion{\\(.*\\)\\.\\(.*\\)}/\\1_\\2/'`
+VERSION=`latex getversion | grep '^VERSION' | sed 's/^VERSION \\(.*\\)\\.\\(.*\\)/\\1_\\2/'`
.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf
.ins.sty:
- latex $<
+ pdflatex $<
-.dtx.dvi:
- latex $<
- latex $<
+.dtx.pdf:
+ pdflatex $<
+ pdflatex $<
makeindex -s gind.ist $(*D)/$(*F)
makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo
- latex $<
+ pdflatex $<
-all: hhtensor hhtensor.dvi
+all: hhtensor hhtensor.pdf
hhtensor: hhtensor.sty
-hhtensor.dvi: hhtensor.dtx hhtensor.ins
- latex hhtensor.dtx
- latex hhtensor.dtx
+hhtensor.pdf: hhtensor.dtx hhtensor.ins
+ pdflatex hhtensor.dtx
+ pdflatex hhtensor.dtx
makeindex -s gind.ist hhtensor
makeindex -s gglo.ist -o hhtensor.gls hhtensor.glo
- latex hhtensor.dtx
+ pdflatex hhtensor.dtx
clean:
@-rm -f hhtensor.glo hhtensor.gls hhtensor.idx hhtensor.ilg
@@ -35,18 +35,21 @@ clean:
@-rm -f *~
distclean: clean
- @-rm -f hhtensor.sty hhtensor.dvi
+ @-rm -f hhtensor.sty hhtensor.pdf
tar: all clean
echo Lege hhtensor-$(VERSION).tar.gz an
-rm -f hhtensor-$(VERSION).tar.gz
tar czCf .. hhtensor-$(VERSION).tar.gz \
$(SRCDIR)/README \
+ $(SRCDIR)/ChangeLog \
$(SRCDIR)/Makefile \
+ $(SRCDIR)/hhtensor.pdf \
$(SRCDIR)/hhtensor.dtx \
$(SRCDIR)/hhtensor.ins \
- $(SRCDIR)/hhtensor.dvi \
+ $(SRCDIR)/getversion.tex \
$(SRCDIR)/hhtensor.xml
+ rm getversion.log
zip: all clean
-@rm -f hhtensor-$(VERSION).zip
@@ -56,15 +59,16 @@ zip: all clean
mv hhtensor.sty tex/latex/hhtensor
cp hhtensor.dtx hhtensor.ins hhtensor.xml source/latex/hhtensor
cp Makefile source/latex/hhtensor
- cp README hhtensor.dvi doc/latex/hhtensor
+ cp README hhtensor.pdf doc/latex/hhtensor
zip -r hhtensor-$(VERSION).zip tex doc source
rm -r tex/ doc/ source/
+ rm getversion.log
install: all
if [ ! -d $(INSTALLDIR) ]; then mkdirhier $(INSTALLDIR); fi
if [ ! -d $(DOCDIR) ]; then mkdirhier $(DOCDIR); fi
install -m644 hhtensor.sty $(INSTALLDIR)
- install -m644 hhtensor.dvi $(DOCDIR)
+ install -m644 hhtensor.pdf $(DOCDIR)
texhash
diff --git a/Master/texmf-dist/doc/latex/hhtensor/README b/Master/texmf-dist/doc/latex/hhtensor/README
index 3f8e932eafc..c037158102b 100644
--- a/Master/texmf-dist/doc/latex/hhtensor/README
+++ b/Master/texmf-dist/doc/latex/hhtensor/README
@@ -6,7 +6,7 @@ with different styles (arrows as the \LaTeX\ default, underlined,
and bold).
-Copyright 2003 Harald Harders
+Copyright 2003-2011 Harald Harders
This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN
@@ -42,6 +42,6 @@ by hand: - execute latex on hhtensor.ins
-2003-10-15
+2011-12-29
Harald Harders
-h.harders@tu-bs.de
+harald.harders@gmx.de
diff --git a/Master/texmf-dist/doc/latex/hhtensor/getversion.tex b/Master/texmf-dist/doc/latex/hhtensor/getversion.tex
new file mode 100644
index 00000000000..ab1df503921
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hhtensor/getversion.tex
@@ -0,0 +1,7 @@
+\documentclass[english]{ltxdoc}
+\nofiles
+\usepackage{hhtensor}
+\GetFileInfo{hhtensor.sty}
+\typeout{VERSION \fileversion}
+\begin{document}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/hhtensor/hhtensor.pdf b/Master/texmf-dist/doc/latex/hhtensor/hhtensor.pdf
index 950c6269505..5627d172e9a 100644
--- a/Master/texmf-dist/doc/latex/hhtensor/hhtensor.pdf
+++ b/Master/texmf-dist/doc/latex/hhtensor/hhtensor.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/hhtensor/hhtensor.dtx b/Master/texmf-dist/source/latex/hhtensor/hhtensor.dtx
index bdf63628997..c4280433b79 100644
--- a/Master/texmf-dist/source/latex/hhtensor/hhtensor.dtx
+++ b/Master/texmf-dist/source/latex/hhtensor/hhtensor.dtx
@@ -1,14 +1,9 @@
% \iffalse meta comment
-% File: hhtensor.dtx Copyright (C) 2003 Harald Harders
+% File: hhtensor.dtx Copyright (C) 2003-2011 Harald Harders
% \fi
%
% \iffalse
%
-%<*package>
-\def\fileversion{0.6}
-\def\filedate{2003/10/15}
-\def\docdate{2003/10/15}
-%</package>
%<*driver>
\listfiles
\documentclass[ngerman,english,a4paper]{ltxdoc}
@@ -24,10 +19,10 @@
Generate hhtensor.sty by (La)TeXing hhtensor.ins, process
hhtensor.dtx again)^^J}\stop
}
+\GetFileInfo{hhtensor.sty}
\title{The \texttt{hhtensor} package\thanks{This file has version
- \fileversion\ last revised \filedate, documentation dated
- \docdate.}}
-\author{Harald Harders\\\texttt{h.harders@tu-bs.de}}
+ \fileversion\ last revised \filedate.}}
+\author{Harald Harders\\\texttt{harald.harders@gmx.de}}
\date{File Date \filedate, Printed \today}
\newlength{\tempdima}%
\makeatletter
@@ -79,6 +74,7 @@
%</driver>
% \fi
%
+% \changes{0.61}{2011/12/29}{Avoid usage of \cs{fileversion} etc.}%
% \changes{0.6}{2003/10/15}{Total new implementation}%
%
% \maketitle
@@ -93,7 +89,7 @@
%
% \section*{Copyright}
%
-% Copyright 2003 Harald Harders.
+% Copyright 2003--2011 Harald Harders.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
@@ -155,9 +151,8 @@
% Heading of the package:
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{hhtensor}[\filedate\space v\fileversion\space
- Print numbers]
-\message{Package `hhtensor', Version \fileversion\space of \filedate.}
+\ProvidesPackage{hhtensor}
+ [2011/12/29 v0.61 Print vectors and tensors]
% \end{macrocode}
% |ushort| underlines with shorter lines than \cs{underline}.
% \begin{macrocode}
diff --git a/Master/texmf-dist/source/latex/hhtensor/hhtensor.ins b/Master/texmf-dist/source/latex/hhtensor/hhtensor.ins
index 052e5cab5e4..846cde63da2 100644
--- a/Master/texmf-dist/source/latex/hhtensor/hhtensor.ins
+++ b/Master/texmf-dist/source/latex/hhtensor/hhtensor.ins
@@ -3,14 +3,14 @@
hhtensor package
- Copyright 2003 Harald Harders
+ Copyright 2003-2011 Harald Harders
This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN
archives in directory macros/latex/base/lppl.txt; either
version 1 of the License, or any later version.
- h.harders@tu-bs.de
+ harald.harders@gmx.de
\endpreamble
diff --git a/Master/texmf-dist/tex/latex/hhtensor/hhtensor.sty b/Master/texmf-dist/tex/latex/hhtensor/hhtensor.sty
index 555f1a8fdd2..196d6f06962 100644
--- a/Master/texmf-dist/tex/latex/hhtensor/hhtensor.sty
+++ b/Master/texmf-dist/tex/latex/hhtensor/hhtensor.sty
@@ -8,22 +8,18 @@
%%
%% hhtensor package
%%
-%% Copyright 2003 Harald Harders
+%% Copyright 2003-2011 Harald Harders
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%%
-%% h.harders@tu-bs.de
+%% harald.harders@gmx.de
%%
-\def\fileversion{0.6}
-\def\filedate{2003/10/15}
-\def\docdate{2003/10/15}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{hhtensor}[\filedate\space v\fileversion\space
- Print numbers]
-\message{Package `hhtensor', Version \fileversion\space of \filedate.}
+\ProvidesPackage{hhtensor}
+ [2011/12/29 v0.61 Print vectors and tensors]
\RequirePackage{ushort}
\RequirePackage{amsmath}
\newif\iftensor@bold