From 4de24e502d9c59f44bb96e5c50739378188feefd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 6 May 2010 16:04:01 +0000 Subject: doc + separate package nopageno git-svn-id: svn://tug.org/texlive/trunk@18128 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/nopageno/nopageno.pdf | Bin 0 -> 174970 bytes Master/texmf-dist/doc/latex/nopageno/nopageno.tex | 42 +++++++++++++ Master/texmf-dist/tex/latex/carlisle/nopageno.sty | 27 --------- Master/texmf-dist/tex/latex/ltxmisc/nolbreaks.sty | 68 ---------------------- Master/texmf-dist/tex/latex/nopageno/nopageno.sty | 27 +++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + Master/tlpkg/tlpsrc/nopageno.tlpsrc | 0 8 files changed, 71 insertions(+), 96 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/nopageno/nopageno.pdf create mode 100644 Master/texmf-dist/doc/latex/nopageno/nopageno.tex delete mode 100644 Master/texmf-dist/tex/latex/carlisle/nopageno.sty delete mode 100644 Master/texmf-dist/tex/latex/ltxmisc/nolbreaks.sty create mode 100644 Master/texmf-dist/tex/latex/nopageno/nopageno.sty create mode 100644 Master/tlpkg/tlpsrc/nopageno.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/nopageno/nopageno.pdf b/Master/texmf-dist/doc/latex/nopageno/nopageno.pdf new file mode 100644 index 00000000000..ec2c67cc4d3 Binary files /dev/null and b/Master/texmf-dist/doc/latex/nopageno/nopageno.pdf differ diff --git a/Master/texmf-dist/doc/latex/nopageno/nopageno.tex b/Master/texmf-dist/doc/latex/nopageno/nopageno.tex new file mode 100644 index 00000000000..cf40653764b --- /dev/null +++ b/Master/texmf-dist/doc/latex/nopageno/nopageno.tex @@ -0,0 +1,42 @@ +\documentclass[pagesize=auto, parskip=full, fontsize=14pt, DIV=9]{scrartcl} + +\usepackage{fixltx2e} +\usepackage{etex} +\usepackage{xspace} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage{microtype} +\usepackage{hyperref} + +\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} +\newcommand*{\pkg}[1]{\textsf{#1}} +\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} +\makeatletter +\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} +\makeatother + +\addtokomafont{title}{\rmfamily} +\deffootnote{1em}{1em}{\textsuperscript{\thefootnotemark}} + +\title{The \pkg{nopageno} package} +\author{David Carlisle} +\date{1989/01/01\thanks{Actually the above date is probably wrong, I can not remember how long I have had this lying around\ldots}} + + +\begin{document} + +\maketitle + +\LaTeX's standard styles use two page styles, one on normal +pages and one on `opening' pages with \cmd{\maketitle} or \cmd{\chapter} etc\@. +Unfortunately there is only easy access to changing one of these +two so if you want something other than `\texttt{plain}' on the opening +pages you must use \verb+\thispagestyle{...}+ on \emph{each} such page. + +The \pkg{fancyheadings} package does provide a more flexible interface, +but if you just want an empty page style on all pages then\\[0.6ex] +\verb+ \usepackage{nopageno}+\\[0.6ex] +will do the job. + +\end{document} diff --git a/Master/texmf-dist/tex/latex/carlisle/nopageno.sty b/Master/texmf-dist/tex/latex/carlisle/nopageno.sty deleted file mode 100644 index 2aa273e76e0..00000000000 --- a/Master/texmf-dist/tex/latex/carlisle/nopageno.sty +++ /dev/null @@ -1,27 +0,0 @@ -%% -%% nopageno package: No page numbers in LaTeX documents. -%% -%% Copyright 1998 David Carlisle -%% -%% This file may be distributed under the terms of the LPPL. -%% See 00readme.txt for details. - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{nopageno}[1989/01/01 no page numbers (DPC)] -% Actually the above date is probably wrong, I can not remember -% How long I have had this lying around... - -% LaTeX's standard styles use two page styles, one on normal -% pages and one on `opening' pages with \maketitle or \chapter etc. -% Unfortunately there is only easy access to changing one of these -% two so if you want something other than `plain' on the opening -% pages you must use \thispagestyle{...} on _each_ such page. - -% The fancyheadings package does provide a more flexible interface, -% but if you just want an empty page style on all pages then -% \usepackage{nopageno} -% will do the job. - -% Another 4 token package... -\let\ps@plain\ps@empty -\ps@empty diff --git a/Master/texmf-dist/tex/latex/ltxmisc/nolbreaks.sty b/Master/texmf-dist/tex/latex/ltxmisc/nolbreaks.sty deleted file mode 100644 index 70238b56451..00000000000 --- a/Master/texmf-dist/tex/latex/ltxmisc/nolbreaks.sty +++ /dev/null @@ -1,68 +0,0 @@ -% nolbreaks.sty by Donald Arseneau -% Public domain software -- please improve and submit to CTAN - -\ProvidesPackage{nolbreaks}[2002/09/19 \space v 1.0 \space - - no linebreaks in text] - -% Use \nolbreaks{some text} to prevent linebreaks in "some text". -% This has the advantage over \mbox{} that glue (rubber space) -% remains flexible. It has the disadvantage of not working in -% all cases! Most common cases are handled here (\linebreak is -% disabled, for example) but spaces hidden in macros or { } -% can still create break-points. -% -% Large pieces of text with no breaks can cause problems with -% paragraph justification. Giving the package option [ragged] -% allows a line before the unbreakable text to be cut short. -% -% You should declare \sloppy in your document. - -\let\nb@ragged\relax - -\DeclareOption{ragged}{ - \def\nb@ragged{% - \skip@\lastskip \unskip - \nb@counter \lastpenalty - \hskip \z@ plus 2cm\relax - \penalty\nb@counter - \advance\skip@ \z@ plus -2cm\relax - \hskip\skip@ - }} -\ProcessOptions - -\let\nb@@iwspace=\ % -\let\nb@@hskip=\hskip -\let\nb@@penalty=\penalty -\newcount\nb@counter -\ifx\langwohyphens\undefined - \newlanguage\nb@lang -\else - \let\nb@lang\langwohyphens -\fi - -\DeclareRobustCommand{\nolbreaks}[1]{% - \leavevmode - \begingroup - % Apply flexible lead-in - \nb@ragged - % Prevent hyphenation - \language\nb@lang - % Disable commands that give breakpoints - \let\ \nb@iwspace - \let\hskip\nb@hskip - \let\penalty\nb@penalty - \let\language\nb@counter - % Prevent breaks in math - \relpenalty\@M - \binoppenalty\@M - % Prevent breaks at spaces (only outermost visible spaces) - \@PreserveSpaces \@empty #1 \@PreserveSpaces - \endgroup -} - -\def\@PreserveSpaces#1 {#1\@ifnextchar\@PreserveSpaces{\@gobble}% - {\@firstofone{\nb@@penalty\@M} \@PreserveSpaces\@empty}} - -\def\nb@iwspace{\nb@@penalty\@M \nb@@iwspace} -\def\nb@hskip {\nb@@penalty\@M \nb@@hskip} -\def\nb@penalty{\nb@@penalty\@M \nb@counter} diff --git a/Master/texmf-dist/tex/latex/nopageno/nopageno.sty b/Master/texmf-dist/tex/latex/nopageno/nopageno.sty new file mode 100644 index 00000000000..2aa273e76e0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/nopageno/nopageno.sty @@ -0,0 +1,27 @@ +%% +%% nopageno package: No page numbers in LaTeX documents. +%% +%% Copyright 1998 David Carlisle +%% +%% This file may be distributed under the terms of the LPPL. +%% See 00readme.txt for details. + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{nopageno}[1989/01/01 no page numbers (DPC)] +% Actually the above date is probably wrong, I can not remember +% How long I have had this lying around... + +% LaTeX's standard styles use two page styles, one on normal +% pages and one on `opening' pages with \maketitle or \chapter etc. +% Unfortunately there is only easy access to changing one of these +% two so if you want something other than `plain' on the opening +% pages you must use \thispagestyle{...} on _each_ such page. + +% The fancyheadings package does provide a more flexible interface, +% but if you just want an empty page style on all pages then +% \usepackage{nopageno} +% will do the job. + +% Another 4 token package... +\let\ps@plain\ps@empty +\ps@empty diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 814c9a46aca..359844448fb 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -210,7 +210,7 @@ my @TLP_working = qw( nag namespc natbib nath nature ncclatex ncctools needspace newfile newlfm newspaper newverbs nextpage nfssext-cfr niceframe nicetext nih nkarta noitcrul nolbreaks - nomencl nomentbl nonfloat nostarch notes notes2bib + nomencl nomentbl nonfloat nopageno nostarch notes notes2bib nrc ntgclass ntheorem-vn numname numprint oberdiek ocgtools ocr-latex octavo ofs ogham oldlatin oldstyle onlyamsmath onrannual opcit diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 8be4ecd44fc..f6f8c72591f 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -411,6 +411,7 @@ depend nolbreaks depend nomencl depend nomentbl depend nonfloat +depend nopageno depend notes depend ntabbing depend ntheorem diff --git a/Master/tlpkg/tlpsrc/nopageno.tlpsrc b/Master/tlpkg/tlpsrc/nopageno.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3