diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx b/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx index aeba5405e00..65d24f0fd09 100644 --- a/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx +++ b/Master/texmf-dist/source/latex/fancyvrb/fvrb-ex.dtx @@ -3,27 +3,23 @@ %% Package `fvrb-ex' (`fvrb-ex', `hbaw' and `hcolor') %% %% COPYING: -%% The files of this package "fvrb-ex" are released under the Artistic -%% License Version 2. A copy of that license is included in the file -%% artistic2.txt inside the fancyvrb package. This package consists of -%% the following files: -%% README fvrb-ex.dtx fvrb-ex.ins +%% This package may be distributed under the terms of the LaTeX Project Public +%% License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. %% -%% Denis Girou (CNRS/IDRIS - France) <Denis.Girou@idris.fr> -%% March 27, 1998 +%% Denis Girou (CNRS/IDRIS - France) <Denis.Girou@idris.fr> March 27, 1998 %% % \fi % +% \changes{v1.9}{2010/05/16}{Use LPPL as license and fix bug with loading pstricks (hv)} % \changes{v1.8}{2010/01/04}{Use ^^ instead of eight-bits chars. [KB/ER]} % \changes{v1.7}{1998/03/26}{First public release.} % \changes{v0.1}{1995}{First personal version.} % -% \CheckSum{1322} -% % \newif\ifmulticols -% \IfFileExists{multicol.sty}{\multicolstrue}{} +% \IfFileExists{multicol.sty}{\multicolstrue}{\multicolsfalse} % \newif\ifpstricks -% \IfFileExists{pstricks.sty}{\pstrickstrue}{} +% \IfFileExists{pstricks.sty}{\pstrickstrue}{\pstricksfalse} % % \DoNotIndex{\\,\^,\£,\§,\µ,\¶} ^^A Unefficient... % \DoNotIndex{\@defpar,\@gobble,\@ifnextchar,\@tempdimb} @@ -64,8 +60,7 @@ % Example environments\\with the \FVrbPackage{} package} % \author{Denis Girou\\CNRS/IDRIS\\Orsay -- France\\ % {\footnotesize email: Denis.Girou@idris.fr}} -% \date{Version 1.7\\March 27, 1998\\ -% {\small Documentation revised March 27, 1998}} +% \date{Version 1.9\\\today} % % \maketitle % @@ -483,7 +478,6 @@ % Rolf \textsc{Niepraschk}\break\relax \verb+<niepraschk@ptb.de>+ for their % tests and comments on preliminary versions of this package. % -% \StopEventually{} % % ^^A .................... End of the documentation part .................... % @@ -498,12 +492,11 @@ %<*driver> \documentclass{ltxdoc} \GetFileInfo{fvrb-ex.dtx} -\IfFileExists{pstricks.sty}{\usepackage[baw,pstricks]{fvrb-ex}}% - {\usepackage[baw]{fvrb-ex}} +\usepackage[baw,pstricks]{fvrb-ex} \EnableCrossrefs \CodelineIndex \RecordChanges -\OnlyDescription % Comment it for implementation details +%%\OnlyDescription % Comment it for implementation details %\Oldmakeindex % Uncomment if your MakeIndex is pre-0.9 \hbadness=7000 % Over and under full box warnings \begin{document} @@ -536,22 +529,18 @@ % % Who we are. % \begin{macrocode} -\def\fileversion{1.7} -\def\filedate{1998/03/26} +\def\fileversion{1.9} +\def\filedate{2010/05/16} \ProvidesPackage{fvrb-ex}[\filedate] \message{`fvrb-ex' v\fileversion, \filedate\space (Denis Girou)} % \end{macrocode} % -% Require the \FVrbPackage{} package. -% \begin{macrocode} -\RequirePackage{fancyvrb} -% \end{macrocode} -% % Require PSTricks if specified (to define the \texttt{PCenterExample} and % \texttt{PSideBySideExample} environments). % \begin{macrocode} -\DeclareOption{pstricks}{% -\ifx\PSTricksLoaded\endinput\else\input pstricks.tex\fi} +\newif\ifpstricks\pstricksfalse +\let\LoadPStricks=\relax +\DeclareOption{pstricks}{\def\LoadPStricks{\RequirePackage{pstricks}}\pstrickstrue} % \end{macrocode} % % Declaration of the explicit black and white version. @@ -571,7 +560,14 @@ % % Process the options. % \begin{macrocode} -\ProcessOptions +\ProcessOptions\relax +\LoadPStricks +% \end{macrocode} +% +% Require the \FVrbPackage{} package. +% \begin{macrocode} +\ifpstricks\RequirePackage{pstricks}\fi +\RequirePackage{fancyvrb} % \end{macrocode} % % To ask an interactive question if necessary (code from `docstrip'). @@ -1373,10 +1369,13 @@ $\setbox\z@\hbox{\begingroup#3\endgroup}% % \begin{macrocode} \documentclass{article} -\newif\ifpstricks -\IfFileExists{pstricks.sty} -{\usepackage[bawcolor,pstricks]{fvrb-ex}\pstrickstrue} -{\usepackage[bawcolor]{fvrb-ex}} +\usepackage[bawcolor,pstricks]{fvrb-ex} +\pstrickstrue +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage[charter]{mathdesign} +\usepackage{url} +\usepackage{xcolor} \begin{document} |