From 1cd62a262eb0789c37a72a517c82fe276b360e6f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Apr 2008 17:17:47 +0000 Subject: dashrule update (28apr08) git-svn-id: svn://tug.org/texlive/trunk@7721 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/dashrule/dashrule.sty | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/tex/latex/dashrule') diff --git a/Master/texmf-dist/tex/latex/dashrule/dashrule.sty b/Master/texmf-dist/tex/latex/dashrule/dashrule.sty index 826407dd13b..bc0d0919d0e 100644 --- a/Master/texmf-dist/tex/latex/dashrule/dashrule.sty +++ b/Master/texmf-dist/tex/latex/dashrule/dashrule.sty @@ -8,21 +8,21 @@ %% %% This is a generated file. %% -%% Copyright (C) 2001 Scott Pakin -%% ------------------------------------------------------- +%% Copyright (C) 2008 by Scott Pakin +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: %% -%% This package may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.2 -%% of this license or (at your option) any later version. -%% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.2 or later is part of all distributions of LaTeX -%% version 1999/12/01 or later. %% -%% File: dashrule.dtx Copyright (C) 2001 Scott Pakin -\NeedsTeXFormat{LaTeX2e} +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2006/05/20 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{dashrule} - [2001/04/23 v1.00 Dashed rules (SDP)] + [2008/04/27 v1.1 Dashed rules] \def\hdr@do@rule[#1]#2#3{% \rule[#1]{#2}{#3}% \let\hdr@do@something=\hdr@do@skip @@ -36,10 +36,10 @@ \ifx#1!% \else \addtocounter{hdr@segments}{1}% - \expandafter\hdr@tally@segments% + \expandafter\hdr@tally@segments \fi } -\DeclareRobustCommand{\hdashrule}{\@testopt{\hdashrule@i}{0pt}} +\DeclareRobustCommand{\hdashrule}{\mbox{}\@testopt{\hdashrule@i}{0pt}} \def\hdashrule@i[#1]{\@testopt{\hdashrule@ii[#1]}\empty} \def\hdashrule@ii[#1][#2]#3#4#5{% \let\hdr@do@something=\hdr@do@rule @@ -47,20 +47,20 @@ \ifx##1!% \else \hdr@do@something[#1]{##1}{#4}% - \expandafter\hdr@parse@dash% + \expandafter\hdr@parse@dash \fi }% \setcounter{hdr@segments}{0}% \hdr@tally@segments#5 ! \ifodd\c@hdr@segments - \csname#2leaders\endcsname% + \csname#2leaders\endcsname \hbox{\hdr@parse@dash#5 #5 ! }% \hskip#3\relax \else - \csname#2leaders\endcsname% + \csname#2leaders\endcsname \hbox{\hdr@parse@dash#5 ! }% \hskip#3\relax - \fi% + \fi } \endinput %% -- cgit v1.2.3