diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-23 21:29:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-23 21:29:12 +0000 |
commit | b74f40314c53a9b3e912e4e81e4729a6ba6f4327 (patch) | |
tree | 5160a33f950b87b8a8b7e76f3df1435536b9a3bb | |
parent | 962fafc31aa04f3ce45d9f90e89f18fcb7c373f4 (diff) |
fancypar (23jan19)
git-svn-id: svn://tug.org/texlive/trunk@49801 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/fancypar/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fancypar/fancypar.pdf | bin | 128016 -> 117532 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/fancypar/fancypar.dtx | 44 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/fancypar/fancypar.ins | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fancypar/fancypar.sty | 29 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 |
6 files changed, 45 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/latex/fancypar/README b/Master/texmf-dist/doc/latex/fancypar/README index ee9347ee866..3edddda8318 100644 --- a/Master/texmf-dist/doc/latex/fancypar/README +++ b/Master/texmf-dist/doc/latex/fancypar/README @@ -1,7 +1,7 @@ ============================================================================== -The `fancypar' package v1.1 -Copyright (C) 2010 Gonzalo Medina (gmedinaar@unal.edu.co) +The `fancypar' package v1.2 +Copyright (C) 2010, 2019 Gonzalo Medina (gmedinaar@unal.edu.co) License: LPPL = LaTeX Project Public Licence Maintenance Status: maintained (by Gonzalo Medina) diff --git a/Master/texmf-dist/doc/latex/fancypar/fancypar.pdf b/Master/texmf-dist/doc/latex/fancypar/fancypar.pdf Binary files differindex 106c5da6dbb..8fcfe3e5c1a 100644 --- a/Master/texmf-dist/doc/latex/fancypar/fancypar.pdf +++ b/Master/texmf-dist/doc/latex/fancypar/fancypar.pdf diff --git a/Master/texmf-dist/source/latex/fancypar/fancypar.dtx b/Master/texmf-dist/source/latex/fancypar/fancypar.dtx index 8173baad411..68a8e6926c7 100644 --- a/Master/texmf-dist/source/latex/fancypar/fancypar.dtx +++ b/Master/texmf-dist/source/latex/fancypar/fancypar.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2010 by Gonzalo Medina +% Copyright (C) 2010, 2019 by Gonzalo Medina % % -------------------------------------------------------------------------- % @@ -116,6 +116,7 @@ % Right brace \} Tilde \~} % % \changes{v 1.1}{2010/04/25}{First revision} +% \changes{v 1.2}{2019/01/18}{Second revision} % % \GetFileInfo{fancypar.sty} % @@ -129,7 +130,7 @@ % \maketitle % % \begin{abstract} -% \noindent This package offers five predefined decorative styles for individual text +% \noindent This package offers five predefined decorative styles for text % paragraphs of a document; the user can easily control the styles' attributes using the % key-value mechanism. The package also allows the creation of new fancy designs. % \end{abstract} @@ -362,7 +363,7 @@ % |\vbox{#1\par\AddFancyFormat}|. Schematically the definition of a new style % (called, for example, |\MyStylePar|) should have the following aspect: % \begin{mycode} -% |\newcommand*\MyStylePar[1]{%|\\ +% |\newcommand\MyStylePar[1]{%|\\ % | \renewcommand\FancyPreFormat{%|\\ % | ...some commands...|\\ % | \renewcommand\FancyFormat{%|\\ @@ -482,7 +483,7 @@ % |\usepackage{fancypar}|\\ % |\usepackage{intcalc}|\\ % -% |\renewcommand*{\FancyZColor}{%|\\ +% |\renewcommand{\FancyZColor}{%|\\ % | \ifcase\intcalcMod{\value{fancycount}}{3}%|\\ % | OliveDrab4!100!white!90\or Chocolate3!100!white!80%|\\ % | \or LightGoldenrod3\fi|\\ @@ -493,7 +494,7 @@ % |\end{document}| % \end{mycode} % -% \renewcommand*{\FancyZColor}{% +% \renewcommand{\FancyZColor}{% % \ifcase\intcalcMod{\value{fancycount}}{3}% % OliveDrab4!100!white!90\or Chocolate3!100!white!80\or LightGoldenrod3\fi % } @@ -513,7 +514,7 @@ % % |\newcounter{mycount}|\\ % -% |\newcommand*\MyStylePar[1]{%|\\ +% |\newcommand\MyStylePar[1]{%|\\ % | \renewcommand\FancyPreFormat{\setcounter{mycount}{0}}|\\ % | \renewcommand\FancyFormat{%|\\ % | \stepcounter{mycount}|\\ @@ -534,7 +535,7 @@ % \end{mycode} % \newcounter{mycount} % -% \newcommand*\MyStylePar[1]{% +% \newcommand\MyStylePar[1]{% % \renewcommand\FancyPreFormat{\setcounter{mycount}{0}} % \renewcommand\FancyFormat{% % \stepcounter{mycount} @@ -583,7 +584,7 @@ % Standard identification: % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fancypar}[2010/04/25 v1.1 fancy paragraphs] +\ProvidesPackage{fancypar}[2019/01/18 v1.2 fancy paragraphs] % \end{macrocode} % @@ -757,9 +758,10 @@ % % \begin{macro}{\NotebookPar} % Now, to the definition of the five predefined styles. |\NotebookPar| comes first. +% \changes{v 1.2}{2019/01/18}{NotebookPar admits more than one paragraph. Thanks to Frank Mittelbach} % \begin{macrocode} %%%% notebook %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\NotebookPar[2][]{% +\newcommand\NotebookPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1} \renewcommand\FancyPreFormat{\smallskip} @@ -787,7 +789,9 @@ \node (a) {\colorbox{\FancyNlColor}{% \vbox{% \vskip-0.5mm\parshape 1 0cm \FancyNTWidth% - #2\par\add@fancy@format% + \def\par{{\@@par}}% A trick that executes the real "par" = \@@par inside a group so that the parshape is restored. Thanks to Frank Mittelbach. + #2\@@par + \add@fancy@format% }% }% } {}; @@ -810,8 +814,8 @@ % sophisticated zebra-like designs. % \begin{macrocode} \newcounter{fancycount} -\newcommand*\FancyZColor{} -\renewcommand*\FancyZColor{%alternate line colors +\newcommand\FancyZColor{} +\renewcommand\FancyZColor{%alternate line colors \ifodd\thefancycount % \FancyZColorOne% \else @@ -819,8 +823,8 @@ \fi } -\newcommand*\FancyZTextColor{} -\renewcommand*\FancyZTextColor{%alternate text colors +\newcommand\FancyZTextColor{} +\renewcommand\FancyZTextColor{%alternate text colors \ifodd\thefancycount % \FancyZTextColorOne% \else @@ -837,7 +841,7 @@ % Now, the definition of |\ZebraPar|. % \begin{macrocode} %%%% zebra %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\ZebraPar[2][]{% +\newcommand\ZebraPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1}% \renewcommand\FancyPreFormat{\setcounter{fancycount}{0}}% @@ -871,7 +875,7 @@ % The turn now is for |\DashedPar|. % \begin{macrocode} %%%% dashed %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\DashedPar[2][]{% +\newcommand\DashedPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1}% \renewcommand\FancyPreFormat{% @@ -896,7 +900,7 @@ % The definition of |\MarkedPar|. % \begin{macrocode} %%%% marked %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\MarkedPar[2][]{% +\newcommand\MarkedPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1} \renewcommand\FancyPreFormat{} @@ -917,7 +921,7 @@ % And last, but not least, the definition of |\UnderlinedPar|. % \begin{macrocode} %%%% underlined %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\UnderlinedPar[2][]{ +\newcommand\UnderlinedPar[2][]{ \begingroup \setkeys[FP]{fancypar}{#1} \renewcommand\FancyPreFormat{}% @@ -939,13 +943,15 @@ % this macro is the core of this package; it is invoked in each one of the five predefined % styles (and must be used in newly defined ones). A description can be found in % \cite{eijk}. +% \changes{v 1.2}{2019/01/18}{Now all other styles also admit more than one paragraph. Thanks to Frank Mittelbach} % \begin{macrocode} \newsavebox\linebox% \def\add@fancy@format{% \setbox\linebox\lastbox \ifvoid\linebox\FancyPreFormat\else \unskip - \unpenalty + \unpenalty + \unskip %Allows more than one paragraph in MarkedPar, DashedPar, ZebraPar, and UnderlinedPar. Thanks to Frank Mittelbach {\add@fancy@format}% \FancyFormat \fi diff --git a/Master/texmf-dist/source/latex/fancypar/fancypar.ins b/Master/texmf-dist/source/latex/fancypar/fancypar.ins index ca825b502c5..95b84903944 100644 --- a/Master/texmf-dist/source/latex/fancypar/fancypar.ins +++ b/Master/texmf-dist/source/latex/fancypar/fancypar.ins @@ -2,7 +2,7 @@ \keepsilent \preamble -Copyright (C) 2010 Gonzalo Medina (gmedinaar@unal.edu.co) +Copyright (C) 2010, 2019 Gonzalo Medina (gmedinaar@unal.edu.co) -------------------------------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/fancypar/fancypar.sty b/Master/texmf-dist/tex/latex/fancypar/fancypar.sty index ea9ac90276a..8cbd3761e94 100644 --- a/Master/texmf-dist/tex/latex/fancypar/fancypar.sty +++ b/Master/texmf-dist/tex/latex/fancypar/fancypar.sty @@ -6,7 +6,7 @@ %% %% fancypar.dtx (with options: `package') %% -%% Copyright (C) 2010 Gonzalo Medina (gmedinaar@unal.edu.co) +%% Copyright (C) 2010, 2019 Gonzalo Medina (gmedinaar@unal.edu.co) %% %% -------------------------------------------------------------------------- %% @@ -26,7 +26,7 @@ %% and the derived files fancypar.sty and fancypar.pdf. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fancypar}[2010/04/25 v1.1 fancy paragraphs] +\ProvidesPackage{fancypar}[2019/01/18 v1.2 fancy paragraphs] \@ifpackageloaded{xkeyval}{}{\RequirePackage{xkeyval}} \@ifpackageloaded{tikz}{\usetikzlibrary{calc}} @@ -67,7 +67,7 @@ \def\FancyMarkPosition{\llap{\mbox{\FancyMark\quad}}\box\linebox} \or \def\FancyMarkPosition{\box\linebox\rlap{\mbox{\quad\FancyMark}}} - \fi + \fi }{% \PackageWarning{fancypar}{erroneous input ignored}% } @@ -107,7 +107,7 @@ } %%%% notebook %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\NotebookPar[2][]{% +\newcommand\NotebookPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1} \renewcommand\FancyPreFormat{\smallskip} @@ -135,7 +135,9 @@ \node (a) {\colorbox{\FancyNlColor}{% \vbox{% \vskip-0.5mm\parshape 1 0cm \FancyNTWidth% - #2\par\add@fancy@format% + \def\par{{\@@par}}% A trick that executes the real "par" = \@@par inside a group so that the parshape is restored. Thanks to Frank Mittelbach. + #2\@@par + \add@fancy@format% }% }% } {}; @@ -145,8 +147,8 @@ } \newcounter{fancycount} -\newcommand*\FancyZColor{} -\renewcommand*\FancyZColor{%alternate line colors +\newcommand\FancyZColor{} +\renewcommand\FancyZColor{%alternate line colors \ifodd\thefancycount % \FancyZColorOne% \else @@ -154,8 +156,8 @@ \fi } -\newcommand*\FancyZTextColor{} -\renewcommand*\FancyZTextColor{%alternate text colors +\newcommand\FancyZTextColor{} +\renewcommand\FancyZTextColor{%alternate text colors \ifodd\thefancycount % \FancyZTextColorOne% \else @@ -164,7 +166,7 @@ } %%%% zebra %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\ZebraPar[2][]{% +\newcommand\ZebraPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1}% \renewcommand\FancyPreFormat{\setcounter{fancycount}{0}}% @@ -186,7 +188,7 @@ } %%%% dashed %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\DashedPar[2][]{% +\newcommand\DashedPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1}% \renewcommand\FancyPreFormat{% @@ -205,7 +207,7 @@ }% %%%% marked %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\MarkedPar[2][]{% +\newcommand\MarkedPar[2][]{% \begingroup \setkeys[FP]{fancypar}{#1} \renewcommand\FancyPreFormat{} @@ -220,7 +222,7 @@ } %%%% underlined %%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand*\UnderlinedPar[2][]{ +\newcommand\UnderlinedPar[2][]{ \begingroup \setkeys[FP]{fancypar}{#1} \renewcommand\FancyPreFormat{}% @@ -240,6 +242,7 @@ \ifvoid\linebox\FancyPreFormat\else \unskip \unpenalty + \unskip %Allows more than one paragraph in MarkedPar, DashedPar, ZebraPar, and UnderlinedPar. Thanks to Frank Mittelbach {\add@fancy@format}% \FancyFormat \fi diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index af73ec9a3be..995bc6ee4f4 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -123,6 +123,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'arial', "die 'skipping, nonfree Aladdin license'", 'armenian', "&MAKEcopy", 'armtex', "die 'skipping, use armenian'", + 'armymemo', "die 'skipping, requires arial'", 'arphic', "&MAKEarphic", 'arrayjob', "die 'skipping, use arrayjobx'", 'artthreads', "die 'skipping, per author (dps) request'", |