Skip to content

Commit 31a9e8a

Browse files
committed
a few more proposed typos
1 parent 8598a89 commit 31a9e8a

File tree

20 files changed

+24
-24
lines changed

20 files changed

+24
-24
lines changed

assets/tex/pg.sty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
\input{PGML.tex}
2727

2828
% The macro alternatives for < should be used in math in PG problems to help
29-
% avoid issus with a bare < in HMTL or XML output. The alternatives for > are
29+
% avoid issues with a bare < in HTML or XML output. The alternatives for > are
3030
% provided for parity.
3131
\newcommand{\lt}{<}
3232
\newcommand{\gt}{>}
@@ -36,7 +36,7 @@
3636
% semantic macro definitions used by PG
3737
\newcommand{\answerRule}[2][]{\raisebox{-3pt}{\parbox[t]{#2ex}{\hrulefill}}}
3838

39-
% height of a strut, used for example to possition the top border of an inline image
39+
% height of a strut, used for example to position the top border of an inline image
4040
% unit is initialized here, but value is set locally where needed
4141
\newlength{\strutheight}
4242

bin/parse-problem-doc.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ ($filename, %global)
9292
return;
9393
}
9494

95-
# Ouput index files.
95+
# Output index files.
9696
for (qw(categories subjects macros techniques)) {
9797
my $options = {
9898
metadata => $index_table,

bin/run-perltidy.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ =head1 OPTIONS
6464
# Validate options that were passed.
6565
my %options;
6666
my $err = Perl::Tidy::perltidy(argv => \@args, dump_options => \%options);
67-
exit $err if $err;
68-
die "The -pro option is not suppored by this script.\n" if defined $options{profile};
67+
exit $err if $err;
68+
die "The -pro option is not supported by this script.\n" if defined $options{profile};
6969

7070
unshift(@args, '-bext=/') unless defined $options{'backup-file-extension'};
7171

bin/update-localization-files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ -z "$PG_ROOT" ]; then
4545
fi
4646

4747
command -v xgettext.pl >/dev/null 2>&1 || {
48-
echo >&2 "xgettext.pl needs to be installed. It is inlcuded in the perl package Locale::Maketext::Extract. Aborting.";
48+
echo >&2 "xgettext.pl needs to be installed. It is included in the perl package Locale::Maketext::Extract. Aborting.";
4949
exit 1;
5050
}
5151

lib/Parser.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ sub push { push(@{ (shift)->{stack} }, @_) }
191191
sub state { (shift)->top->{type} }
192192

193193
#
194-
# Report an error at a given possition (if possible)
194+
# Report an error at a given position (if possible)
195195
#
196196
sub Error {
197197
my $self = shift;

lib/Value/AnswerChecker.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@ sub cmp_compare {
13331333
}
13341334

13351335
#
1336-
# Check for wrong enpoints and wrong type of endpoints
1336+
# Check for wrong endpoints and wrong type of endpoints
13371337
#
13381338
sub cmp_postprocess {
13391339
my $self = shift;

lib/WeBWorK/PG/Constants.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use warnings;
1111

1212
# ImageGenerator
1313

14-
# Arguments to pass to dvipng. This is dependant on the version of dvipng.
14+
# Arguments to pass to dvipng. This is dependent on the version of dvipng.
1515
#
1616
# For dvipng versions 0.x
1717
# $ImageGenerator::DvipngArgs = "-x4000.5 -bgTransparent -Q6 -mode toshiba -D180";

macros/misc/randomPerson.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ =head2 Usage
4949
5050
Depending on the he/she/they pronoun, the methods C<they>, C<them>, C<their> and
5151
C<theirs> (with or without capitalization) will select the correct subject, object,
52-
possession, possesive forms of the pronoun. Also, note that C<go> is one of a
52+
possession, possessive forms of the pronoun. Also, note that C<go> is one of a
5353
few special verbs with irregular conjugation.
5454
5555
If you would like multiple people to be randomly choosen with unique names, use

t/macros/numerical_methods.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ subtest 'Quadrature' => sub {
101101

102102
is trapezoid($f, 0, 2, steps => 4), 2.75, 'Trapezoid rule of x^2 on [0,2]';
103103

104-
is romberg($f, 0, 2), 8 / 3, 'Romberg interation for x^2 on [0,2]';
105-
is romberg($g, 0, 1), exp(1) - 1, 'Romberg interation on e^x on [0,1]';
104+
is romberg($f, 0, 2), 8 / 3, 'Romberg integration for x^2 on [0,2]';
105+
is romberg($g, 0, 1), exp(1) - 1, 'Romberg integration on e^x on [0,1]';
106106

107107
is inv_romberg($g, 0, exp(1) - 1), 1.0, 'Inverse Romberg to find b with int of e^x on [0,b] returns 1';
108108
};

t/math_objects/matrix.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,15 @@ subtest 'Test if Matrix is in (R)REF' => sub {
183183
subtest 'Transpose a Matrix' => sub {
184184
my $A = Matrix([ [ 1, 2, 3, 4 ], [ 5, 6, 7, 8 ], [ 9, 10, 11, 12 ] ]);
185185
my $B = Matrix([ [ 1, 5, 9 ], [ 2, 6, 10 ], [ 3, 7, 11 ], [ 4, 8, 12 ] ]);
186-
is $A->transpose->TeX, $B->TeX, 'Test the tranpose of a matrix';
186+
is $A->transpose->TeX, $B->TeX, 'Test the transpose of a matrix';
187187

188188
my $row = Matrix([ 1, 2, 3, 4 ]);
189189
my $row_trans = Matrix([ [1], [2], [3], [4] ]);
190190
is $row->transpose->TeX, $row_trans->TeX, 'Transpose of a degree 1 Matrix';
191191

192192
my $C = Matrix([ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ]);
193193
my $D = Matrix([ [ [ 1, 3 ], [ 2, 4 ] ], [ [ 5, 7 ], [ 6, 8 ] ] ]);
194-
is $C->transpose->TeX, $D->TeX, 'Test the tranpose of a degree 3 tensor';
194+
is $C->transpose->TeX, $D->TeX, 'Test the transpose of a degree 3 tensor';
195195
};
196196

197197
subtest 'Extract an element' => sub {

0 commit comments

Comments
 (0)