summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/tex-label/README23
-rw-r--r--Master/texmf-dist/doc/latex/tex-label/tex-label-demo.pdfbin0 -> 11625 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tex-label/tex-label-demo.tex27
-rw-r--r--Master/texmf-dist/doc/latex/tex-label/tex-label-doc.pdfbin0 -> 30098 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tex-label/tex-label-doc.tex30
-rw-r--r--Master/texmf-dist/source/latex/tex-label/Makefile10
-rw-r--r--Master/texmf-dist/tex/latex/tex-label/tex-label.sty34
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/tex-label.tlpsrc0
10 files changed, 126 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/tex-label/README b/Master/texmf-dist/doc/latex/tex-label/README
new file mode 100644
index 00000000000..ce738183a98
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tex-label/README
@@ -0,0 +1,23 @@
+== About tex-label
+
+This package can be used to label pages of a document just like
+labelling e-mail to classify them. This is useful when you are
+preparing notes and you want to sort through pages quickly looking for
+keywords.
+
+Currently, the labels are displayed at the bottom-right corner of
+pages.
+
+== Setup
+
+Copy tex-label.sty to a place where latex can find it.
+
+$ make doc # To build documentation
+$ make demo # To build usage demo
+
+== Dependencies
+o fancyhdr
+o color
+
+This work (includes all source and derived files in this folder) is
+distributed under LaTex Project Public License.
diff --git a/Master/texmf-dist/doc/latex/tex-label/tex-label-demo.pdf b/Master/texmf-dist/doc/latex/tex-label/tex-label-demo.pdf
new file mode 100644
index 00000000000..f7c8bf23407
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tex-label/tex-label-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tex-label/tex-label-demo.tex b/Master/texmf-dist/doc/latex/tex-label/tex-label-demo.tex
new file mode 100644
index 00000000000..b636c686f4d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tex-label/tex-label-demo.tex
@@ -0,0 +1,27 @@
+\documentclass{article}
+
+
+\usepackage{tex-label}
+
+\begin{document}
+
+\labels{sample page, demo, tex-labels}
+this is a sample page.
+
+this page doesn't contain any useful info.
+just demonstrating use of labels.
+
+\vfil
+\break
+
+\labels{second page, demo, labels}
+
+This is another page with different labels.
+
+\vfill
+\break
+
+If a page starts without any label. It shows last page's labels.
+
+\end{document}
+
diff --git a/Master/texmf-dist/doc/latex/tex-label/tex-label-doc.pdf b/Master/texmf-dist/doc/latex/tex-label/tex-label-doc.pdf
new file mode 100644
index 00000000000..2f035cf388a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tex-label/tex-label-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tex-label/tex-label-doc.tex b/Master/texmf-dist/doc/latex/tex-label/tex-label-doc.tex
new file mode 100644
index 00000000000..5ce605d8a79
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tex-label/tex-label-doc.tex
@@ -0,0 +1,30 @@
+\documentclass{article}
+
+\newcommand{\texlabel}{{\em tex-label}}
+\newcommand{\labelscom}{{\em \textbackslash labels}}
+
+\begin{document}
+
+\section{Introduction}
+The \texlabel{} package allows you to label parts of your document
+just like labelling e-mail.
+
+\section{Usage}
+You can use the \labelscom{} command when you want to label some part of
+your document. The labels remain effective until you issue the next
+\labelscom{} command.
+
+\section{Example}
+See tex-label-demo.tex and tex-label-demo.pdf
+
+\section{Customizing}
+You can change the color of label text and label background by
+redefining {\em label-color} and {\em label-bg-color} respectievely.
+
+For ex:- to redefine label text to white use
+
+\begin{verbatim}
+\definecolor{label-color}{rgb}{1,1,1}
+\end{verbatim}
+
+\end{document}
diff --git a/Master/texmf-dist/source/latex/tex-label/Makefile b/Master/texmf-dist/source/latex/tex-label/Makefile
new file mode 100644
index 00000000000..681176d01cc
--- /dev/null
+++ b/Master/texmf-dist/source/latex/tex-label/Makefile
@@ -0,0 +1,10 @@
+.PHONY: demo doc all clean
+
+all: demo doc
+
+demo:
+ latex -output-format=pdf tex-label-demo.tex
+doc:
+ latex -output-format=pdf tex-label-doc.tex
+clean:
+ rm -rf *.aux *~ *.log
diff --git a/Master/texmf-dist/tex/latex/tex-label/tex-label.sty b/Master/texmf-dist/tex/latex/tex-label/tex-label.sty
new file mode 100644
index 00000000000..d8b10cdcbc9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tex-label/tex-label.sty
@@ -0,0 +1,34 @@
+%% tex-label.sty
+%% Copyright Balagopal Komarath
+%% <baluks@gmail.com>
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% 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.3 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 Balagopal Komarath.
+%
+% This work consists of the files tex-label.sty, demo.tex, and
+% doc.tex
+
+\ProvidesPackage{tex-label}
+
+\RequirePackage{color}
+\RequirePackage{fancyhdr}
+
+\pagestyle{fancy}
+
+\definecolor{label-bg-color}{rgb}{0.8,0.8,0.8}
+\definecolor{label-color}{rgb}{0,0,0}
+
+\newtoks\labels
+
+\rfoot{\colorbox{label-bg-color}{\color{label-color}\the\labels}}
+
+\endinput
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 1fc7f11306d..45f8029915f 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -253,7 +253,7 @@ my @WorkingTLP = qw(
tabulary tabvar talk
tamethebeast tdclock tdsfrmath
technics ted templates-fenn templates-sommer tengwarscript
- tensor termcal termlist teubner tex-ewd tex-gyre texcount
+ tensor termcal termlist teubner tex-ewd tex-gyre tex-label texcount
texdiff texdirflatten texilikecover texloganalyser texmate texments
texpower texshade
textcase textfit textopo textpath textpos
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 99c29746927..c2398620242 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -559,6 +559,7 @@ depend technics
depend ted
depend termcal
depend termlist
+depend tex-label
depend texilikecover
depend texlogos
depend texmate
diff --git a/Master/tlpkg/tlpsrc/tex-label.tlpsrc b/Master/tlpkg/tlpsrc/tex-label.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/tex-label.tlpsrc