summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hardwrap
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-13 23:35:13 +0000
committerKarl Berry <karl@freefriends.org>2011-02-13 23:35:13 +0000
commit559fa5fe1412df424f60e00b33d20ef1ca773b22 (patch)
tree2781bccca4510a6adb7b7104ea03a7fddd02c9e5 /Master/texmf-dist/tex/latex/hardwrap
parent0853d35f07a831485e3e4233dd3d24fd04b8faab (diff)
hardwrap (12feb11)
git-svn-id: svn://tug.org/texlive/trunk@21396 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hardwrap')
-rw-r--r--Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty b/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
index b8158647723..8a50abd9083 100644
--- a/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
+++ b/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
@@ -7,12 +7,12 @@
%% hardwrap.dtx (with options: `package')
%% ____________________________
%% The HARDWRAP package
-%% (C) 2010 Will Robertson
+%% (C) 2010-2011 Will Robertson
%% (C) 2010 Kevin Godby
%% License information appended
%%
\ProvidesPackage{hardwrap}
- [2010/11/11 v0.1 Hard wrap messages]
+ [2011/02/12 v0.2 Hard wrap messages]
\IfFileExists{ifplatform.sty}{%
\RequirePackage{ifplatform}
}{%
@@ -67,7 +67,7 @@
}
\newcommand*\HardWrap[5]{%
\begingroup
- \hw@maxprintline=#2\relax
+ \hw@maxprintline=\numexpr#2\relax
\let\space\hw@protected@space
\def\ {\space}%
\let\\\hw@insert@newline
@@ -97,10 +97,10 @@
\def\next{\afterassignment\hw@scan\let\@tempa= }%
\else\ifx\let@token\hw@insert@newline
\hw@process@messagebreak
- \def\next{\expandafter\hw@dochar\@gobble}%
+ \def\next{\expandafter\hw@scan\@gobble}%
\else\ifx\let@token^^J
\hw@process@messagebreak
- \def\next{\expandafter\hw@dochar\@gobble}%
+ \def\next{\expandafter\hw@scan\@gobble}%
\else\ifx\let@token\bgroup
\def\next{\expandafter\hw@dochar\hw@process@group}%
\else