diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-17 15:59:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-17 15:59:17 +0000 |
commit | 56ec8c53ac310cde6dd954392834d1cf4b97271e (patch) | |
tree | b06150c1fae690d349029fc232d8d2303c49841f | |
parent | c632275d3ae54aead904bce94035f7a780fc909a (diff) |
fancybox 1.4 (15may10)
git-svn-id: svn://tug.org/texlive/trunk@18304 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/fancybox/Changes | 38 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancybox/Makefile | 62 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancybox/README | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancybox/fancybox-doc.pdf | bin | 0 -> 283697 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancybox/fancybox-doc.tex (renamed from Master/texmf-dist/doc/latex/fancybox/fancybox.doc) | 175 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancybox/fancybox.pdf | bin | 194444 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/fancybox/fancybox.sty | 54 |
7 files changed, 147 insertions, 191 deletions
diff --git a/Master/texmf-dist/doc/latex/fancybox/Changes b/Master/texmf-dist/doc/latex/fancybox/Changes new file mode 100644 index 00000000000..2bf0d52a55f --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancybox/Changes @@ -0,0 +1,38 @@ +--- fancybox.sty +1.4 2010/05/15 - small changes to the code +1.3, September 19, 2000 (D.G./S.R.) + - Corrections of the output routine for \LaTeX{} 2e compatibility + (from Marcin Wolinski and Heiko Oberdiek). + - Add a "\ProvidesPackage" command (from Heiko Oberdiek). +1.2, February 27, 1998 (D.G./S.R.) + - Other adaptations for \LaTeX{} 2e. +1.1, 1997 (D.G./S.R.) + - Minimal adaptations for \LaTeX{} 2e compatibility (macros + "\fancypage", "\thisfancypage", "\fancyput", "\thisfancyput", + "\@Landscape", "\LandScape"). +1.0, February 10, 1993 + - Fixed bugs in "\boxput". + - New "Beqnarray" environment. +0.93, January 20, 1993 + - New "\EndVerbatimTokens" for tokens that precede "\end{Verbatim}". + - New "\AltGetVerbatim", to allow any tokens to precede "\end{Verbatim}". + - Fixed bug in "\BVerbatimInput" that caused second line to be repeated. + - New "LandScape" environment, for rotating pages without rotating + headers and footers. + - Slide frames "Oval", "oval", "shadow" and "double" are defined when + "seminar.sty" v0.93 (and maybe later) is loaded. +0.92, December 20, 1992 + - New "\boxput" command for superimposing boxes. + - New "\VerbatimFootnotes" command. + - New "\VerbBox" command for verbatim boxes. + - New "Sbox" environment. Makes "\beginsbox" and "\endsbox" + obsolete, but the latter have been retained for compatibility. +0.91, November 25, 1992 + - "\shadowsize" is now a length, to be set + with "\setlength" or "\addtolength". + - "\fancypage" split into "\fancypage" and "\fancyput" +0.9 November 23, 1992} First release. + + +--- fancybox-doc.sty +2010/05/15 - revised documentation
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/fancybox/Makefile b/Master/texmf-dist/doc/latex/fancybox/Makefile new file mode 100644 index 00000000000..a27c7cdaba8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancybox/Makefile @@ -0,0 +1,62 @@ + +# `Makefile' for 'fancybox-doc', hv, 2010/05/15 + +.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps + +PACKAGE = fancybox + +MAIN = $(PACKAGE)-doc + +TDS = ~/PSTricks/PSTricks-TDS + +LATEX = pdflatex + +ARCHNAME = $(MAIN)-$(shell date +%y%m%d) + +ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(MAIN).tex README Changes Makefile + +all : doc clean +doc: $(MAIN).tex + $(LATEX) $< + $(LATEX) $< + if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi + if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi + makeindex -t $(basename $<).ilg -s pst-doc.ist -o $(basename $<).ind $(basename $<).idx + makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \ + $(basename $<).glo +# bibtex $(basename $<) + $(LATEX) $< + $(LATEX) $< + +clean : + $(RM) $(addprefix $(MAIN), .cb .cb? .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .bbl ) + $(RM) $(addprefix $(MAIN), .dvi .ps .xcp .ex1) + +veryclean : clean + $(RM) $(addprefix $(MAIN), .pdf .bbl .blg) + +arch : + zip $(ARCHNAME).zip $(ARCHFILES) + +tds: + cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/ + cp -u README $(TDS)/doc/generic/$(PACKAGE)/ + cp -u $(MAIN).pdf $(TDS)/doc/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/ + cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/ +# + cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/ + cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/ +# + cp -u Changes $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/ + cp -u $(PACKAGE).pro ~/Links/dvips-local/ +# + cp -u Changes $(TDS)/source/$(PACKAGE)/ + cp -u $(MAIN).tex $(TDS)/source/$(PACKAGE)/ + cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/ + cp -u Makefile $(TDS)/source/$(PACKAGE)/ + + +# EOF diff --git a/Master/texmf-dist/doc/latex/fancybox/README b/Master/texmf-dist/doc/latex/fancybox/README new file mode 100644 index 00000000000..fbe49914db1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancybox/README @@ -0,0 +1,9 @@ +Save the file fancybox.sty in a directory, which is part of your +local TeX tree. +Then do not forget to run texhash to update this tree. +For more information see the documentation of your LATEX distribution +on installing packages into your LATEX distribution or the +TeX Frequently Asked Questions: +(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages). + + diff --git a/Master/texmf-dist/doc/latex/fancybox/fancybox-doc.pdf b/Master/texmf-dist/doc/latex/fancybox/fancybox-doc.pdf Binary files differnew file mode 100644 index 00000000000..89eed1dc26c --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancybox/fancybox-doc.pdf diff --git a/Master/texmf-dist/doc/latex/fancybox/fancybox.doc b/Master/texmf-dist/doc/latex/fancybox/fancybox-doc.tex index 0bd8aced4ca..8dca71a29d4 100644 --- a/Master/texmf-dist/doc/latex/fancybox/fancybox.doc +++ b/Master/texmf-dist/doc/latex/fancybox/fancybox-doc.tex @@ -1,10 +1,9 @@ -%% BEGIN fancybox.doc +%% BEGIN fancybox-doc %% %% COPYRIGHT 1992, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu. -%% For copying restrictions, see fancybox.sty. +%% COPYRIGHT 2010, by Herbert Voss hvoss@tug.org. %% %% Documentation for fancybox.sty. -%% Run through LaTeX, with or without the NFSS. %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.2 of this license @@ -17,92 +16,19 @@ %% 1999/12/01 or later. %% %% -\def\FileVersion{1.3} -\def\FileDate{2000/09/19} %% %% This creates two temporary files: \jobname.ex1 and \jobname.tmp \documentclass[12pt]{article} - -\makeatletter - -%% INPUT FANCYBOX.STY HERE TO CHECK FILE VERSION. +\usepackage [T1]{fontenc} +\usepackage{mathpazo,url} \usepackage{fancybox} - -\ifx\FileVersion\fileversion\else - \@latexerr{Fancybox style file and documentation do not have the same - version}\@ehd -\fi - -%% DATES, VERSIONS AND TITLES: - -\def\expanddate#1/#2/#3/{\year=#1 \month=#2 \day=#3} -\begingroup - \expandafter\expanddate\filedate/ - \xdef\thefiledate{\today} -\endgroup - -\title{Documentation for fancybox.sty:\\ - Box tips and tricks for \LaTeX} -\author{Timothy Van Zandt\\ Timothy.VAN-ZANDT@insead.edu} -\date{Version \fileversion\\ \thefiledate} - -\def\@maketitle{% - \begin{center} - {\Large\bf \@title \par} - \vskip 1.2em {\lineskip .5em - \begin{tabular}[t]{c}\@author\end{tabular}\par} - \vskip .8em {\@date}% - \end{center} - \par - \vskip .5em} - -%% PAGE STYLE: - -\pagestyle{myheadings} -\if@twoside - \markboth{Documentation for fancybox.sty}% - {Version \fileversion, \thefiledate}% -\else - \markright{fancybox.sty, Version \fileversion} -\fi - -%% PAGE PARAMETERS: - -% Paragraphs are marked by large space rather than indentation: -\parindent 0pt -\parskip 7pt plus 1pt minus 1pt - -\setlength{\topmargin}{0pt} -\setlength{\headheight}{12pt} % height of running head -\setlength{\headsep}{30pt} % distance between header and text -\setlength{\textheight}{8.2in} % height of text on page - -%% TABLE OF CONTENTS - -\newskip\myskip - -\def\tableofcontents{% - \par\vfill - \begin{quote} - \begin{center} \Large\bf Contents \end{center} - \def\numberline##1{\hbox to 0pt{\hss##1\hskip 1em}}% - \let\oldaddvspace\addvspace - \def\addvspace##1{% - \myskip##1\relax - \oldaddvspace{.5\myskip}} - \@starttoc{toc}% - \end{quote} - \thispagestyle{empty} - \vfill - \clearpage} - - -%% VERBATIM HACKS: +\let\FBfv\fileversion +\usepackage{url} \VerbatimFootnotes - +\makeatletter % Short meta (works in verbatim. Can't use < for other purposes. \catcode`\<=13 \def<#1>{{\rm\it #1\/}} % <meta> (works in verbatim) @@ -125,46 +51,44 @@ % 3. Input again with \catcode\`"=9 (" is ignored). \renewcommand{\EveryVerbatimLine}[2]{} - \renewcommand{\EveryVerbOutLine}[2]{} - -\newcommand{\BeginExample}{% +\newcommand\BeginExample{% \VerbatimEnvironment\begin{VerbatimOut}{\jobname.tmp}} - -\newcommand{\EndExample}{% +\newcommand\EndExample{% \end{VerbatimOut}%. \renewcommand{\EveryVerbatimLine}{}% \renewcommand{\EveryVerbatimCodes}{\catcode`\"=14}% \LVerbatimInput{\jobname.tmp}% \catcode`\"=9} - \newenvironment{example}{\BeginExample}{\EndExample \begin{center}\input{\jobname.tmp}\end{center}} - \newenvironment{example*}{\BeginExample}% {\EndExample \input{\jobname.tmp}} - \newenvironment{example**}{\BeginExample}% {\EndExample \globaldefs=1 \input{\jobname.tmp}} - \end{VerbatimOut} \input{\jobname.ex1} - -%% END PREAMBLE: \makeatother +\title{Documentation for fancybox.sty:\\ + Box tips and tricks for \LaTeX\thanks{Documentation revised by Herbert Vo\ss}} +\author{Timothy Van Zandt\\ \url{Timothy.VAN-ZANDT@insead.edu}} +\date{Version \FBfv\\ \today} + + \begin{document} -\setcounter{page}{0} \maketitle -\begin{quote} +\begin{abstract} "fancybox.sty", together with its documentation, gives extensive answers to and solutions for many questions about how to frame or rotate this or that in \LaTeX. It also contains commands for shadow, double and oval frames. -\end{quote} - +\end{abstract} +\vfill +Thanks to Heiko Oberdiek, Marcin Wolinski. +\clearpage \tableofcontents - +\clearpage \section{Fancy frames} "fancybox.sty" has five variants of \LaTeX's "\fbox" command: @@ -1217,63 +1141,6 @@ Finally, without further comment, here are the definitions of the "example" and "example*" environments that were used for the examples in this document: {\renewcommand{\EveryVerbatimLine}{}\LVerbatimInput{\jobname.ex1}} -\section{Changes} -\raggedright - -\paragraph*{Version 0.9, November 23, 1992} First release. - -\paragraph*{Version 0.91, November 25, 1992} -\begin{enumerate} - \item "\shadowsize" is now a length, to be set with "\setlength" or -"\addtolength". - \item "\fancypage" split into "\fancypage" and "\fancyput" -\end{enumerate} - -\paragraph*{Version 0.92, December 20, 1992} -\begin{enumerate} - \item New "\boxput" command for superimposing boxes. - \item New "\VerbatimFootnotes" command. - \item New "\VerbBox" command for verbatim boxes. - \item New "Sbox" environment. Makes "\beginsbox" and "\endsbox" - obsolete, but the latter have been retained for compatibility. -\end{enumerate} - -\paragraph{Version 0.93, January 20, 1993} -\begin{enumerate} - \item New "\EndVerbatimTokens" for tokens that precede "\end{Verbatim}". - \item New "\AltGetVerbatim", to allow any tokens to precede -"\end{Verbatim}". - \item Fixed bug in "\BVerbatimInput" that caused second line to be repeated. - \item New "LandScape" environment, for rotating pages without rotating -headers and footers. - \item Slide frames "Oval", "oval", "shadow" and "double" are defined when -"seminar.sty" v0.93 (and maybe later) is loaded. -\end{enumerate} - -\paragraph{Version 1.0, February 10, 1993} -\begin{enumerate} - \item Fixed bugs in "\boxput". - \item New "Beqnarray" environment. -\end{enumerate} - -\paragraph{Version 1.1, 1997 (D.G./S.R.)} -\begin{enumerate} - \item Minimal adaptations for \LaTeX{} 2e compatibility (macros - "\fancypage", "\thisfancypage", "\fancyput", "\thisfancyput", - "\@Landscape", "\LandScape"). -\end{enumerate} - -\paragraph{Version 1.2, February 27, 1998 (D.G./S.R.)} -\begin{enumerate} - \item Other adaptations for \LaTeX{} 2e. -\end{enumerate} - -\paragraph{Version 1.3, September 19, 2000 (D.G./S.R.)} -\begin{enumerate} - \item Corrections of the output routine for \LaTeX{} 2e compatibility - (from Marcin Wolinski and Heiko Oberdiek). - \item Add a "\ProvidesPackage" command (from Heiko Oberdiek). -\end{enumerate} \end{document} %% END fancybox.doc diff --git a/Master/texmf-dist/doc/latex/fancybox/fancybox.pdf b/Master/texmf-dist/doc/latex/fancybox/fancybox.pdf Binary files differdeleted file mode 100644 index 13583e4394c..00000000000 --- a/Master/texmf-dist/doc/latex/fancybox/fancybox.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/latex/fancybox/fancybox.sty b/Master/texmf-dist/tex/latex/fancybox/fancybox.sty index 6d1d75a1529..a39d1f4a6c2 100644 --- a/Master/texmf-dist/tex/latex/fancybox/fancybox.sty +++ b/Master/texmf-dist/tex/latex/fancybox/fancybox.sty @@ -1,25 +1,6 @@ %% BEGIN fancybox.sty %% -%% With corrections and suggestions from: -%% - Marcin Wolinski <wolinski@melkor.mimuw.edu.pl> -%% - Heiko Oberdiek <oberdiek@ruf.uni-freiburg.de> -%% -\def\fileversion{1.3} -\def\filedate{2000/09/19} -% DG/SR modification begin - September 19, 2000 -% (suggested by Heiko Oberdiek <oberdiek@ruf.uni-freiburg.de>) -\@ifundefined{ProvidesPackage}{}{% - \ProvidesPackage{fancybox}[\filedate\space\fileversion]} -% DG/SR modification end -% DG/SR modification begin - May 16, 1997 -\providecommand\@begindvi{} % For rather old versions of LaTeX 2e -% DG/SR modification end -% DG/SR modification begin - Feb. 27, 1997 -% Now defined only in latex209.def -\def\@lquote{\leavevmode{\kern\z@}`} -% DG/SR modification end -%% -%% COPYRIGHT 1993, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu +%% COPYRIGHT 1993-2010, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu %% %% DESCRIPTION: %% fancybox.sty is a LaTeX style option, consisting of: @@ -45,6 +26,21 @@ %% 1999/12/01 or later. %% %% +%% +\def\fileversion{1.4} +\def\filedate{2010/05/15} +% DG/SR modification begin - September 19, 2000 +% (suggested by Heiko Oberdiek <oberdiek@ruf.uni-freiburg.de>) +\@ifundefined{ProvidesPackage}{}{% + \ProvidesPackage{fancybox}[\filedate\space\fileversion]} +% DG/SR modification end +% DG/SR modification begin - May 16, 1997 +\providecommand\@begindvi{} % For rather old versions of LaTeX 2e +% DG/SR modification end +% DG/SR modification begin - Feb. 27, 1997 +% Now defined only in latex209.def +\def\@lquote{\leavevmode{\kern\z@}`} +% DG/SR modification end %% CODE: \expandafter\ifx\csname fb@framepage\endcsname\relax\else \expandafter\endinput @@ -219,7 +215,7 @@ \leavevmode \@pboxswfalse \if#1b\@empty\vbox\else\if#1t\@empty\vtop\else - \ifmmode\vcenter\else\@pboxswtrue$\vcenter\fi + \ifmmode\vcenter\else\@pboxswtrue$\vcenter\fi% $ \fi\fi\bgroup} \def\@Btrivlistcr{\@ifstar @@ -809,37 +805,21 @@ \def\VerbatimSpace{\ } {\catcode`\ =12\gdef\ttspace{{\tt }}} - \def\VerbSpace{\ } - \def\VerbatimTab{\ \ \ \ \ \ \ \ } - \def\VerbTab{\ } - \def\EveryVerbatim{} - \def\EveryVerb{} - \def\ThisVerb{} - \def\EveryVerbatimLine{}% - \def\EveryVerbOutLine{} - \def\VerbatimFont{\tt} - \def\VerbFont{\tt} - \def\VerbatimFuzz{2pt}% - \def\EveryVerbatimCodes{} - \def\EveryVerbCodes{} - \def\EveryVerbOutCodes{} - \def\ThisVerbCodes{} - \def\Verbatim@List#1{% \if@minipage\else\vskip\parskip\fi \leftskip\@totalleftmargin |