From 42603b43b47aad681630a062bd8b23773d1bc22c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 13 Aug 2012 17:55:58 +0000 Subject: new old independent punk-latex support git-svn-id: svn://tug.org/texlive/trunk@27389 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/punk-latex/README | 23 +++++++ Master/texmf-dist/doc/latex/punk-latex/punk.pdf | Bin 0 -> 156181 bytes Master/texmf-dist/doc/latex/punk-latex/punk.tex | 74 +++++++++++++++++++++++ Master/texmf-dist/tex/latex/punk-latex/ot1pnk.fd | 27 +++++++++ Master/texmf-dist/tex/latex/punk-latex/punk.sty | 10 +++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc | 1 + Master/tlpkg/tlpsrc/punk-latex.tlpsrc | 0 8 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/punk-latex/README create mode 100644 Master/texmf-dist/doc/latex/punk-latex/punk.pdf create mode 100644 Master/texmf-dist/doc/latex/punk-latex/punk.tex create mode 100644 Master/texmf-dist/tex/latex/punk-latex/ot1pnk.fd create mode 100644 Master/texmf-dist/tex/latex/punk-latex/punk.sty create mode 100644 Master/tlpkg/tlpsrc/punk-latex.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/punk-latex/README b/Master/texmf-dist/doc/latex/punk-latex/README new file mode 100644 index 00000000000..4bce7306106 --- /dev/null +++ b/Master/texmf-dist/doc/latex/punk-latex/README @@ -0,0 +1,23 @@ +This is a small package that provides some (poor) LaTeX support for +the punk fonts. The punk fonts are part of many tex installations, and +is found on the TeX Live distribution. + +*Installation* + +Unpack the archive, and move the files into their proper directories + +The files + +punk.sty +ot1pnk.fd + +should be placed in +TEXMF/tex/latex/punk + +punk.pdf + +should be placed in +TEXMF/doc/latex/punk + +punk.tex is the source of punk.pdf and no installation of it is +required. It can be deleted at will... diff --git a/Master/texmf-dist/doc/latex/punk-latex/punk.pdf b/Master/texmf-dist/doc/latex/punk-latex/punk.pdf new file mode 100644 index 00000000000..d9a10c8570b Binary files /dev/null and b/Master/texmf-dist/doc/latex/punk-latex/punk.pdf differ diff --git a/Master/texmf-dist/doc/latex/punk-latex/punk.tex b/Master/texmf-dist/doc/latex/punk-latex/punk.tex new file mode 100644 index 00000000000..71f6b62a44b --- /dev/null +++ b/Master/texmf-dist/doc/latex/punk-latex/punk.tex @@ -0,0 +1,74 @@ +\documentclass{article} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{listings} +\title{The \texttt{punk} package\medskip\\ + \large\LaTeX\ support for the punk fonts} +\author{version 1.1 \today} +\lstset{language=[latex]tex,breaklines=true} +\date{Palle J\o rgensen} + +\begin{document} +\maketitle +\section{Introduction} +\label{sec:introduction} +The \texttt{punk} package provides support for the punk fonts. The +punk fonts are already installed on many systems, this is only support +for using the punk fonts with \LaTeX. + +The license of the punk package and the related files is GNU General +Public License. + +\section{Using the punk package} +\label{sec:using-punk-fonts} + +If you want some text typeset with the punk fonts for a short +text you can use one of the commands + +\begin{lstlisting} + \textpunk{...}, \textpunksl{...}, \textpunkbf{...} +\end{lstlisting} +which typesets the text with Punk, Punk Slanted and Punk Bold. + +If you want to typeset longer passages of text with the punk fonts, +you can use the environment + +\begin{lstlisting} + punkfamily +\end{lstlisting} +Inside \texttt{punkfamily} the normal \LaTeX\ font switches +\verb+\slshape+ and \verb+\bfseries+ works. Furthermore \verb+\emph+ +works too. + +It is possible to use the command +\begin{lstlisting} + \punkfamily +\end{lstlisting} +but this command also changes the current fontencoding; use with +caution\dots + +\clearpage +\appendix +\enlargethispage*{5mm} +\section{Source of the files in the punk bundle} +\label{sec:source} + +\subsection{punk.sty} +\label{sec:punk.sty} +\lstinputlisting{punk.sty} + +\subsection{ot1pnk.fd} +\label{sec:ot1pnr.fd} +\lstinputlisting{ot1pnr.fd} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/tex/latex/punk-latex/ot1pnk.fd b/Master/texmf-dist/tex/latex/punk-latex/ot1pnk.fd new file mode 100644 index 00000000000..0f364b198d9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/punk-latex/ot1pnk.fd @@ -0,0 +1,27 @@ +\ProvidesFile{ot1pnk.fd} + [2006/01/31 v1.1 LaTeX font definitions for Punk (PJ)] + +\DeclareFontFamily{OT1}{pnk}{} +\DeclareFontShape{OT1}{pnk}{m}{n}% + {<5><6><7><8><9><10>punk10% + <12><10.95>punk12% + <14.4><17.28><20.74><24.88>punk20}{} + +\DeclareFontShape{OT1}{pnk}{m}{sl}% + {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>punksl20}{} + +\DeclareFontShape{OT1}{pnk}{bx}{n} + {<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>punkbx20}{} + +\DeclareFontShape{OT1}{pnk}{m}{sc}{<->ssub * pnk/m/n}{} +\DeclareFontShape{OT1}{pnk}{m}{it}{<->ssub * pnk/m/sl}{} + +\DeclareFontShape{OT1}{pnk}{bx}{sl}{<->ssub * pnk/bx/n}{} +\DeclareFontShape{OT1}{pnk}{bx}{it}{<->ssub * pnk/bx/n}{} +\DeclareFontShape{OT1}{pnk}{bx}{sc}{<->ssub * pnk/bx/n}{} + +\DeclareFontShape{OT1}{pnk}{b}{n}{<->ssub * pnk/bx/n}{} +\DeclareFontShape{OT1}{pnk}{b}{sl}{<->ssub * pnk/bx/sl}{} +\DeclareFontShape{OT1}{pnk}{b}{it}{<->ssub * pnk/bx/it}{} +\DeclareFontShape{OT1}{pnk}{b}{sc}{<->ssub * pnk/bx/sc}{} +\endinput \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/punk-latex/punk.sty b/Master/texmf-dist/tex/latex/punk-latex/punk.sty new file mode 100644 index 00000000000..20a976b1ed5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/punk-latex/punk.sty @@ -0,0 +1,10 @@ +\ProvidesPackage{punk} + [2006/01/31 v1.1 LaTeX support for punk fonts] + +\newcommand*\punkfamily{% + \fontencoding{OT1}\fontfamily{pnk}\selectfont} + +\DeclareTextFontCommand{\textpunk}{\punkfamily} +\DeclareTextFontCommand{\textpunksl}{\punkfamily\slshape} +\DeclareTextFontCommand{\textpunkbf}{\punkfamily\bfseries} +\endinput \ No newline at end of file diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index d2c2f99560a..9898ff5c532 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -342,7 +342,7 @@ my @TLP_working = qw( pst-vowel pst-vue3d pst2pdf pstool pstricks pstricks-add pstricks-examples pstricks-examples-en pstricks_calcnotes - psu-thesis ptptex punk punknova purifyeps + psu-thesis ptptex punk punk-latex punknova purifyeps pxfonts pxgreeks pxtxalfa python qcm qobitree quoting qstest qsymbols qtree quotchap quotmark r_und_s randbild randomwalk randtext rccol rcs rcs-multi rcsinfo diff --git a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc index f9c17ace6a4..056138705e8 100644 --- a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc @@ -146,6 +146,7 @@ depend prodint depend psafm depend pxtxalfa depend punk +depend punk-latex depend punknova depend recycle depend romande diff --git a/Master/tlpkg/tlpsrc/punk-latex.tlpsrc b/Master/tlpkg/tlpsrc/punk-latex.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3