diff options
author | Karl Berry <karl@freefriends.org> | 2012-01-01 23:05:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-01-01 23:05:44 +0000 |
commit | 23ab143d707b8fa83fb9c63646807bc43b9456af (patch) | |
tree | 9c240f06526e7d7c5e08a9f5bbbd39f0a1535370 /Master/texmf-dist/doc/latex/typogrid | |
parent | 053930a0ae346b5d7e31ad8e9e576cac0ea1bb70 (diff) |
typogrid 0.21 (1jan12)
git-svn-id: svn://tug.org/texlive/trunk@24994 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/typogrid')
-rw-r--r-- | Master/texmf-dist/doc/latex/typogrid/ChangeLog | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/typogrid/Makefile | 68 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/typogrid/README | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/typogrid/getversion.tex | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/typogrid/testtypogrid.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/typogrid/typogrid.pdf | bin | 60201 -> 293839 bytes |
6 files changed, 112 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/typogrid/ChangeLog b/Master/texmf-dist/doc/latex/typogrid/ChangeLog new file mode 100644 index 00000000000..6b791a71280 --- /dev/null +++ b/Master/texmf-dist/doc/latex/typogrid/ChangeLog @@ -0,0 +1,10 @@ +2011/12/31 0.21 Harald Harders (harald.harders@gmx.de) + - Change Makefile in order to produce pdf documentation + - Set date and version explicitly in \ProvidesPackage + +2003/11/09 0.20 Harald Harders (harald.harders@gmx.de), Rolf Niepraschk + - Reimplementation, provide grid for headings and a frame for + the margin + +2003/10/30 0.10 Harald Harders (harald.harders@gmx.de) + - First version diff --git a/Master/texmf-dist/doc/latex/typogrid/Makefile b/Master/texmf-dist/doc/latex/typogrid/Makefile new file mode 100644 index 00000000000..8ea95b17b8a --- /dev/null +++ b/Master/texmf-dist/doc/latex/typogrid/Makefile @@ -0,0 +1,68 @@ + +SRCDIR=typogrid +INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/typogrid +DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/typogrid +VERSION=`latex getversion | grep '^VERSION' | sed 's/^VERSION \\(.*\\)\\.\\(.*\\)/\\1_\\2/'` + + +.SUFFIXES: .sty .ins .dtx .pdf .ps .pdf + +.ins.sty: + pdflatex $< + +.dtx.pdf: + pdflatex $< + pdflatex $< + makeindex -s gind.ist $(*D)/$(*F) + makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo + pdflatex $< + +all: typogrid.sty typogrid.pdf + + +clean: + @-rm -f typogrid.glo typogrid.gls typogrid.idx typogrid.ilg + @-rm -f typogrid.ind typogrid.aux typogrid.log typogrid.toc + @-rm -f testtypogrid.aux testtypogrid.log + @-rm -f *~ + +distclean: clean + @-rm -f typogrid.sty typogrid.pdf + @-rm -f testtypogrid.pdf + +tar: all clean + -rm -f typogrid-$(VERSION).tar.gz + tar czCf .. typogrid-$(VERSION).tar.gz \ + $(SRCDIR)/README \ + $(SRCDIR)/ChangeLog \ + $(SRCDIR)/Makefile \ + $(SRCDIR)/typogrid.dtx \ + $(SRCDIR)/typogrid.ins \ + $(SRCDIR)/typogrid.pdf \ + $(SRCDIR)/getversion.tex \ + $(SRCDIR)/testtypogrid.tex + rm -f getversion.log + +zip: all clean + -@rm -f typogrid-$(VERSION).zip + mkdirhier tex/latex/typogrid + mkdirhier doc/latex/typogrid + mkdirhier source/latex/typogrid + mv typogrid.sty tex/latex/typogrid + cp typogrid.dtx typogrid.ins typogrid.xml source/latex/typogrid + cp Makefile source/latex/typogrid + cp README ChangeLog typogrid.pdf testtypogrid.tex doc/latex/typogrid + zip -r typogrid-$(VERSION).zip tex doc source + rm -r tex/ doc/ source/ + rm -f getversion.log + +install: all + if [ ! -d $(INSTALLDIR) ]; then mkdirhier $(INSTALLDIR); fi + if [ ! -d $(DOCDIR) ]; then mkdirhier $(DOCDIR); fi + install -m644 typogrid.sty $(INSTALLDIR) + install -m644 typogrid.pdf $(DOCDIR) + texhash + + +typogrid.sty: typogrid.ins typogrid.dtx + diff --git a/Master/texmf-dist/doc/latex/typogrid/README b/Master/texmf-dist/doc/latex/typogrid/README index 82ffa8bc0e3..2b2f4478ce8 100644 --- a/Master/texmf-dist/doc/latex/typogrid/README +++ b/Master/texmf-dist/doc/latex/typogrid/README @@ -7,7 +7,7 @@ text block into columns. This may be useful to get the horizontal measures (distances etc.) into good values. -Copyright 2003 Harald Harders +Copyright 2003, 2011 Harald Harders, Rolf Niepraschk This program can be redistributed and/or modified under the terms of the LaTeX Project Public License Distributed from CTAN @@ -42,10 +42,6 @@ by hand: - execute latex on typogrid.ins again -Change log: -- 0.10 2003/10/30 New version - - -2003-10-30 +2011-12-31 Harald Harders -h.harders@tu-bs.de +harald.harders@gmx.de diff --git a/Master/texmf-dist/doc/latex/typogrid/getversion.tex b/Master/texmf-dist/doc/latex/typogrid/getversion.tex new file mode 100644 index 00000000000..689da0b89c5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/typogrid/getversion.tex @@ -0,0 +1,7 @@ +\documentclass[english]{ltxdoc} +\nofiles +\usepackage{typogrid} +\GetFileInfo{typogrid.sty} +\typeout{VERSION \fileversion} +\begin{document} +\end{document} diff --git a/Master/texmf-dist/doc/latex/typogrid/testtypogrid.tex b/Master/texmf-dist/doc/latex/typogrid/testtypogrid.tex index d0362f41e49..532dbb142a0 100644 --- a/Master/texmf-dist/doc/latex/typogrid/testtypogrid.tex +++ b/Master/texmf-dist/doc/latex/typogrid/testtypogrid.tex @@ -1,27 +1,40 @@ -\documentclass[draft]{article} -\usepackage[columns=4]{typogrid} +\documentclass[draft,a4paper]{article} +%\usepackage[columns=4,headings=false,margin=false]{typogrid} +\usepackage[columns=4,colorgrid]{typogrid} +\usepackage[dvips]{geometry} +\flushbottom \long\def\text{This is a sample text without any meaning. It contains some arbitrary text. But I don't know more. I really have no idea what I could now write. This is the next try to build a new sentence. Somehow, I have to fill the page with arbitrary text.\par} +\pagestyle{headings} + \begin{document} \text \text \text \text \text +\section{Test} \text + +\noindent\rule{\gridwidth}{2pt} + \text \text +\marginpar[This is left margin text.]{This is right margin text.} \text \text \text \text \text \text -\typogridsetup{columns=6}% +\typogridsetup{columns=6,margin=false}% \text + +\noindent\rule{\gridwidth}{2pt} + \text \text \text @@ -29,4 +42,12 @@ \text \text \text +\begin{figure} + \centering + \thicklines + \framebox[2\gridwidth][c]{Hello}% + \caption{A figure fitting into the grid}% + \label{fig:grid}% +\end{figure} + \end{document} diff --git a/Master/texmf-dist/doc/latex/typogrid/typogrid.pdf b/Master/texmf-dist/doc/latex/typogrid/typogrid.pdf Binary files differindex 18054fae1c7..9a50141f9bc 100644 --- a/Master/texmf-dist/doc/latex/typogrid/typogrid.pdf +++ b/Master/texmf-dist/doc/latex/typogrid/typogrid.pdf |