Skip to content

Fix a few typos #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions markup/build
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ task :default => [:foo] _
_
task :foo do _
@<&nbsp;&nbsp;>@puts "foo" _
end||##gray|<!@@--@@ if no target specifed on cmd line _
end||##gray|<!@@--@@ if no target specified on cmd line _
or as a default ant does nothing successfully @@--@@>## _
<project default="foo"> _
@<&nbsp;&nbsp;>@<target name="foo"> _
Expand Down Expand Up @@ -1021,7 +1021,7 @@ How to define a target with multiple recipes. If the target is invoked, all rec

If a target has multiple recipes, all of them must use the double colon syntax. The recipes are executed in the order in which they are defined in the Makefile.

Each recipe can have its own prerequisites. Recipes for which the the prerequisites exist and the target is newer than the prerequisites will not execute.
Each recipe can have its own prerequisites. Recipes for which the prerequisites exist and the target is newer than the prerequisites will not execute.

[[# empty-recipe-note]]
++ [#empty-recipe empty recipe]
Expand Down Expand Up @@ -1448,4 +1448,4 @@ We can define a property containing the value of an environment variable:
<PropertyGroup>
<Invoker>$(USERNAME)</Invoker>
</PropertyGroup>
[[/code]]
[[/code]]
12 changes: 6 additions & 6 deletions markup/c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func baz() { _
_
@<&nbsp;&nbsp;>@fmt.Println(foo.X + y + z) _
}||
||[[# uninitialized-var]][#uninitialized-var-note uninitialized variable]||##gray|//The behavior of reading from uninitialized stack variables or unitialized memory allocated by// malloc //is undefined. _
||[[# uninitialized-var]][#uninitialized-var-note uninitialized variable]||##gray|//The behavior of reading from uninitialized stack variables or uninitialized memory allocated by// malloc //is undefined. _
_
Global and static variables are zero-initialized. _
_
Expand Down Expand Up @@ -1243,7 +1243,7 @@ caller() { _
##gray|/* seconds */## _
int retval = sleep(10); _
if (retval != 0) { _
@<&nbsp;&nbsp;>@printf("interupted with %d s to go", retval); _
@<&nbsp;&nbsp;>@printf("interrupted with %d s to go", retval); _
} _
_
##gray|/* microseconds */## _
Expand Down Expand Up @@ -2375,7 +2375,7 @@ Unsigned integer types.

**c:**

Whether //char// is a signed or unsigned type depends on the implmentation.
Whether //char// is a signed or unsigned type depends on the implementation.

[[# float-type-note]]
++ [#float-type float type]
Expand Down Expand Up @@ -2424,7 +2424,7 @@ The square root function.
[[# sqrt-negative-one-note]]
++ [#sqrt-negative-one sqrt -1]

The result of attempting to find the square root of a negative nubmer.
The result of attempting to find the square root of a negative number.

[[# transcendental-func-note]]
++ [#transcendental-func transcendental functions]
Expand Down Expand Up @@ -2645,7 +2645,7 @@ The list of regular expression metacharacters.
A regular expression that does not contain any metacharacters matches itself as a string.

[[# char-class-abbrev-note]]
++ [#char-class-abbrev character class abbrevations]
++ [#char-class-abbrev character class abbreviations]

Abbreviations for character classes.

Expand Down Expand Up @@ -3752,4 +3752,4 @@ MAC SPECIFIC
+ [#top Go]

[http://golang.org/doc/go_spec.html Language Specification]
[http://golang.org/pkg/ Package Reference]
[http://golang.org/pkg/ Package Reference]
6 changes: 3 additions & 3 deletions markup/computer-algebra
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ numeric. */##||
@<&nbsp;>@||StringSplit["foo,bar,baz", ","]|| || ||split("foo,bar,baz", ",");||
||[[# str-subst]][#str-subst-note substitute] _
_
##gray|//first occurrence, all occurences//## ||s = "do re mi mi" _
##gray|//first occurrence, all occurrences//## ||s = "do re mi mi" _
re = RegularExpression["mi"] _
_
StringReplace[s, re -> "ma", 1] _
Expand Down Expand Up @@ -1198,7 +1198,7 @@ How to test whether a value is an element of a list.
[[# intersection-note]]
++ [#intersection intersection]

How to to find the intersection of two lists.
How to find the intersection of two lists.

[[# union-note]]
++ [#union union]
Expand Down Expand Up @@ -1397,4 +1397,4 @@ http://doc.sagemath.org/html/en/index.html
[[# sympy]]
+ [#top SymPy]

[http://docs.sympy.org/latest/index.html Welcome to SymPy’s documentation!]
[http://docs.sympy.org/latest/index.html Welcome to SymPy’s documentation!]
8 changes: 4 additions & 4 deletions markup/computer-algebra2
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ If a matrix //A// is symmetric, then a spectral decomposition //P ⋅ D ⋅ P^^-
[[# svd-note]]
++ [#svd singular value decomposition]

A singluar value decomposition of a matrix //A// is a factorization into a diagonal matrix //S// and unitary matrices //U// and //V// such that //A = U ⋅ S ⋅ V^^*^^//.
A singular value decomposition of a matrix //A// is a factorization into a diagonal matrix //S// and unitary matrices //U// and //V// such that //A = U ⋅ S ⋅ V^^*^^//.

Unlike the spectral decomposition, an SVD always exists, even if //A// is not square. The values on the diagonal of //S// are called the singular values, and they are the eigenvalues of //A ⋅ A^^*^^//.

Expand All @@ -2149,7 +2149,7 @@ A factorization of a square matrix into a unitary matrix //U// and a positive de

All invertible matrices have a polar decomposition.

A unitary matrix corresponds to a linear transformation representing a rotation, reflection, or a combination of the two. It is distance perserving, in that it maps vectors to vectors of the same length. A real valued unitary matrix is called an orthogonal matrix.
A unitary matrix corresponds to a linear transformation representing a rotation, reflection, or a combination of the two. It is distance preserving, in that it maps vectors to vectors of the same length. A real valued unitary matrix is called an orthogonal matrix.

[[# combinatorics-note]]
+ [#combinatorics Combinatorics]
Expand Down Expand Up @@ -3036,7 +3036,7 @@ How to change the size of the symbols used to mark points.
[[# scatter-plot-matrix-note]]
++ [#scatter-plot-matrix scatter plot matrix]

A scatter plot matrix is a way of displaying a multivariate data set by means of a grid of scatter plots. Off-diagonal plots are scatter plots of two of the variables. On-diagonal plots can be used to to display the name or a histogram of one of the variables.
A scatter plot matrix is a way of displaying a multivariate data set by means of a grid of scatter plots. Off-diagonal plots are scatter plots of two of the variables. On-diagonal plots can be used to display the name or a histogram of one of the variables.

[[# scatter-plot-3d-note]]
++ [#scatter-plot-3d 3d scatter plot]
Expand Down Expand Up @@ -3179,4 +3179,4 @@ http://doc.sagemath.org/html/en/index.html
[[# maxima]]
+ [#top Maxima]

http://maxima.sourceforge.net/docs/manual/maxima.html
http://maxima.sourceforge.net/docs/manual/maxima.html
6 changes: 3 additions & 3 deletions markup/cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2279,7 +2279,7 @@ The parens are necessary because compound assignment has lower precedence than t

The caveat about primitive types is necessary because the {{++}} operator can be overloaded. In fact the prefix and postfix versions can be overloaded separately.

In the case of the the postfix operator, the following are equivalent for primitive types:
In the case of the postfix operator, the following are equivalent for primitive types:

[[code]]
cout << i-- << endl;
Expand Down Expand Up @@ -3051,7 +3051,7 @@ How to iterate over a resizable array.

**C++**

The range-based for loop was introduced in C++11. It it can be used to iterate over an initialization list:
The range-based for loop was introduced in C++11. It can be used to iterate over an initialization list:

[[code]]
for (const auto& n: {1, 2, 3}) {
Expand Down Expand Up @@ -3839,4 +3839,4 @@ open("/Library/JVM/jdk7.0/Contents/Home/jre/lib/rt.jar\0", 0x0, 0x0) = 4 0

[http://standards.iso.org/ittf/PubliclyAvailableStandards/c042926_ISO_IEC_23270_2006(E).zip C# Standard: ECMA-334]
[http://www.go-mono.com/docs/ Mono API]
[http://msdn.microsoft.com/en-us/library/67ef8sbd.aspx C# Programming Guide] Microsoft
[http://msdn.microsoft.com/en-us/library/67ef8sbd.aspx C# Programming Guide] Microsoft
4 changes: 2 additions & 2 deletions markup/db
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ Query information_schema. This requires a language which can branch.
[[# postgresql]]
+ [#top PostgreSQL]

* [http://www.postgresql.org/docs/9.1/static/index.html PostgresSQL 9.1 Documentation]
* [http://www.postgresql.org/docs/9.1/static/index.html PostgreSQL 9.1 Documentation]

[[# mysql]]
+ [#top MySQL]
Expand All @@ -1411,4 +1411,4 @@ Query information_schema. This requires a language which can branch.
[[# sqlite]]
+ [#top SQLite]

* [http://www.sqlite.org/docs.html SQLite Documentation]
* [http://www.sqlite.org/docs.html SQLite Documentation]
4 changes: 2 additions & 2 deletions markup/fortran
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ write(*, *) 'elapsed time: ', t2 - t1||##gray|//none//##||
||[[# allocate-array-on-stack]][#allocate-array-on-stack-note allocate on stack]||##gray|! uninitialized values get zero values:## _
integer, dimension(3) :: a _
integer :: a2(3)||##gray|//none//##||
||[[# allocate-array-on-heap]][#allocate-array-on-heap-note allocate on heap]||##gray|! unitialized values get zero values:## _
||[[# allocate-array-on-heap]][#allocate-array-on-heap-note allocate on heap]||##gray|! uninitialized values get zero values:## _
integer, dimension(:), allocatable :: a _
allocate(a(3))||##gray|//all data is stored on heap//##||
||[[# free-array-on-heap]][#free-array-on-heap-note free heap]||##gray|! usually not necessary, since memory is freed _
Expand Down Expand Up @@ -834,4 +834,4 @@ The first issue one must resolve when getting started with APL is figuring out h

One technique is to add a input method to your desktop environment. Here are [https://github.com/clarkgrubb/latex-input/tree/master/apl APL input methods for Mac OS X and Windows]. The Windows input method uses AutoHotkey. If you don't have AutoHotkey installed, you can use the {{.exe}} file that was generated using AutoHotkey. Otherwise you can use the {{.ahk}} file.

The notation in the above input methods is derived from the [http://www.jsoftware.com/papers/APLDictionary1.htm#tab4 standard names and synonyms] for the symbols in the APL community. The standard name for {{⍋}} is "grade". The above input methods use an ampersand prefix in front of the standard name. Thus, to create a {{⍋}} character, one types "@grade" when the input method is in effect.
The notation in the above input methods is derived from the [http://www.jsoftware.com/papers/APLDictionary1.htm#tab4 standard names and synonyms] for the symbols in the APL community. The standard name for {{⍋}} is "grade". The above input methods use an ampersand prefix in front of the standard name. Thus, to create a {{⍋}} character, one types "@grade" when the input method is in effect.
4 changes: 2 additions & 2 deletions markup/gui
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ The syntax for a conditional expression.

**tcl**

To evaluate a relational expression outside of the the conditional of an {{if}} statement, the {{expr}} command can be used.
To evaluate a relational expression outside of the conditional of an {{if}} statement, the {{expr}} command can be used.

Use square brackets to make an expression an argument of a command:

Expand Down Expand Up @@ -1875,4 +1875,4 @@ Alternatively the JavaScript can be in a separate file served by the same server

To guard against websites serving malicious JavaScript code, the JavaScript interpreters in browsers do not provide the ability to interact with the local operating system. In particular, client-side JavaScript cannot read or write to files. Client-side JavaScript cannot spawn other processes.

Client-side JavaScript can make HTTP requests. Client-side JavaScript can modify the DOM of an HTML page which was served from the same [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript origin] as the JavaScript. To be from the same origin, the URLs must have the same protocol, domain, and port. Client-side JavaScript can also get and set cookies which share the same origin. The origin policy for cookies is slightly relaxed, since the JavaScript can also get and set cookies for a parent domain, excluding public top level domains such as {{.com}}, {{.net}}, and {{.org}}.
Client-side JavaScript can make HTTP requests. Client-side JavaScript can modify the DOM of an HTML page which was served from the same [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript origin] as the JavaScript. To be from the same origin, the URLs must have the same protocol, domain, and port. Client-side JavaScript can also get and set cookies which share the same origin. The origin policy for cookies is slightly relaxed, since the JavaScript can also get and set cookies for a parent domain, excluding public top level domains such as {{.com}}, {{.net}}, and {{.org}}.
4 changes: 2 additions & 2 deletions markup/lightweight-markup
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ ii. roman numeral two||##gray|//numbers in source are used://## _
2 ) numbered two _
_
i) roman numeral one _
ii) roma numberal two||# numbered one _
ii) roma numeral two||# numbered one _
# numbered two||##gray|//error if values in markup are not sequential starting from one://## _
1. numbered one _
2. numbered two|| ||
Expand Down Expand Up @@ -629,4 +629,4 @@ $ asciidoc -b slidy foo.txt
[[# org-mode]]
+ [#top Org-mode]

[http://orgmode.org/org.html The Org Manual]
[http://orgmode.org/org.html The Org Manual]
6 changes: 3 additions & 3 deletions markup/lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1578,12 +1578,12 @@ Code with balanced parens can be commented out in the following manner:
[[# id-note]]
++ [#id identifier]

Are identifiers case sensitive; which characters can be used in identifers.
Are identifiers case sensitive; which characters can be used in identifiers.

In Lisp, identifiers are called //symbols//.

[[# quoted-id-note]]
++ [#quoted-id quoted identifer]
++ [#quoted-id quoted identifier]

How to quote or escape characters in identifiers which are otherwise prohibited.

Expand Down Expand Up @@ -3220,4 +3220,4 @@ To bind the command to the key {{C-c l}} run the following in Lisp interaction m
(global-set-key "\C-cl" 'dired-emacs-lisp)
[[/code]]

If it is desired to have the above command and key binding always available when Emacs starts up, put them in {{~/.emacs.d/init.el}}.
If it is desired to have the above command and key binding always available when Emacs starts up, put them in {{~/.emacs.d/init.el}}.
4 changes: 2 additions & 2 deletions markup/misc-math
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ param pi := 3.14;||
@@&& || !@@||
||[[# relational-op]][#relational-op-note relational operators]||== != < > <= >= _
_
##gray|# string comparision:## _
##gray|# string comparison:## _
eq ne||@@=@@ <> < > <= >= _
_
== ##gray|//and//## != ##gray|//are synonyms of//## = ##gray|//and//## <> ||
Expand Down Expand Up @@ -665,4 +665,4 @@ Input data is declared with the {{param}} statement, and values to be found by t

//constraints and objective functions//

//data section; can everything be defined in model? data section or -d flag; what happens when data section misses parameters; data section limitations: parameters and sets, with just literals for values//
//data section; can everything be defined in model? data section or -d flag; what happens when data section misses parameters; data section limitations: parameters and sets, with just literals for values//
8 changes: 4 additions & 4 deletions markup/numerical-analysis2
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ points(rnorm(20) + 1, rnorm(20) + 1, _
'v': triangle (down) _
'^': triangle (up) _
'<': triangle (left) _
'>': traingle (right) _
'>': triangle (right) _
'p': pentagram _
'h': hexagram##||##gray|//Integer values for// pch //parameter:// _
_
Expand Down Expand Up @@ -1986,7 +1986,7 @@ How to compute the 1-norm, the 2-norm, the infinity norm, and the frobenius norm

How to construct a sparse matrix using coordinate format.

Coordinate format specifies a matrix with three arrays: the row indices, the the column indices, and the values.
Coordinate format specifies a matrix with three arrays: the row indices, the column indices, and the values.

[[# sparse-matrix-decomposition-note]]
++ [#sparse-matrix-decomposition sparse matrix decomposition]
Expand Down Expand Up @@ -2378,7 +2378,7 @@ The probability density, cumulative distribution, quantile, and random number ge

The uniform distribution is described by the parameters //a// and //b// which delimit the interval on which the density function is nonzero.

The uniform distribution the is maximum entropy probability distribution with support //[a, b]//.
The uniform distribution is the maximum entropy probability distribution with support //[a, b]//.

Consider the uniform distribution on //[0, b]//. Suppose that we take //k// samples from it, and //m// is the largest of the samples. The minimum variance unbiased estimator for //b// is

Expand Down Expand Up @@ -2922,4 +2922,4 @@ SciPy, Matplotlib, and Pandas are libraries which depend on Numpy.
[[# julia]]
+ [#top Julia]

http://julialang.org/
http://julialang.org/
4 changes: 2 additions & 2 deletions markup/pascal
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ Files use lower case letters and underscores, but are otherwise named after the
[[# plpgsql]]
+ [#top PL/SQL]

[http://www.postgresql.org/docs/9.1/interactive/plpgsql.html PostgreSQL 9.1 Documention: PL/pgSQL]
[http://www.postgresql.org/docs/9.1/interactive/plpgsql.html PostgreSQL 9.1 Documentation: PL/pgSQL]
[http://www.postgresql.org/docs/9.1/interactive/plpgsql-porting.html Porting from PL/SQL to PL/pgSQL]

Execute statement with no result:
Expand Down Expand Up @@ -1074,4 +1074,4 @@ Functions to prevent sql injection:

* quote_literal
* quote_nullable
* quote_ident
* quote_ident
Loading