From f0d676ba6e09d51deae9fdabd03146ad6e3e20dd Mon Sep 17 00:00:00 2001 From: Miguel de Benito Date: Fri, 17 Aug 2012 14:47:11 +0000 Subject: [PATCH] Typos --- devel/format/stylesheet/prim-macro.en.tm | 56 ++++++++++++------------ main/interface/man-session-input.en.tm | 9 +++- 2 files changed, 34 insertions(+), 31 deletions(-) diff --git a/devel/format/stylesheet/prim-macro.en.tm b/devel/format/stylesheet/prim-macro.en.tm index 42c802c..dcf4425 100644 --- a/devel/format/stylesheet/prim-macro.en.tm +++ b/devel/format/stylesheet/prim-macro.en.tm @@ -1,4 +1,4 @@ - + @@ -15,13 +15,12 @@ . <\explain> - >|var-n|body>>|var-n|body> <|explain> This primitive returns a macro (the analogue of a - >-expression) with - arguments, named after the literal strings until - . + >-expression) with arguments, named after the + literal strings until . New tags are defined by storing macros in the environment. Most of the time, macros are stored without scope with , but it is @@ -33,7 +32,7 @@ Definition of the tag <\tm-fragment> - >>>> + >>>> @@ -42,7 +41,7 @@ <\explain> - >|index-n>>|index-n> <|explain> This primitive is used to retrieve the arguments of a macro within its @@ -64,11 +63,11 @@ When more than one arguments are specified, - >|index-n> - expands to a subtree of the argument . The value of the - named argument must be a compound tree (not a string). The operands - until must all evaluate to positive - integers and give the path to the subtree of the macro argument. + >|index-n> expands to a + subtree of the argument . The value of the named argument + must be a compound tree (not a string). The operands until + must all evaluate to positive integers and give the + path to the subtree of the macro argument. <\explain> @@ -76,11 +75,11 @@ arity> <|explain> This primitive returns a macro (the analogue of a - >-expression) capable of taking any number of - arguments. The arguments are stored in the macro variable with name - (a literal string) during the evaluation of the - . The -th individual argument can then be - accessed using . + >-expression) capable of taking any number of arguments. + The arguments are stored in the macro variable with name (a + literal string) during the evaluation of the . The + -th individual argument can then be accessed using + . <\explain> @@ -98,13 +97,12 @@ By default, the macro is applied to all children. If has been specified, then we rather start at the - -th child of , where is - the result of evaluating . If has been - specified too, then we stop at the -th child of - (the -th child not being included), where - is the result of evaluating . In this - last case, the arity of the returned tree is therefore - . + -th child of , where is the result of + evaluating . If has been specified too, + then we stop at the -th child of (the -th + child not being included), where is the result of evaluating + . In this last case, the arity of the returned tree is + therefore . Stated otherwise, applies to all subtrees of the macro argument (or a range of subtrees if @@ -142,7 +140,7 @@ <\explain> - >|arg-n>>|arg-n> <|explain> This primitive is useful to expand macros which are the result of a @@ -180,7 +178,7 @@ <\explain> - >|prop-n|val-n>>|prop-n|val-n> properties of a tag> <|explain> The arity and children accessibility of tags defined by macros are @@ -190,8 +188,8 @@ are: <\description-dash> - )>Sets the arity to the - given fixed value (literal integer). + )>Sets the arity to the given fixed value + (literal integer). Make it impossible to deactivate the tag with normal editor actions. Inaccessible children become effectively @@ -215,7 +213,7 @@ <|explain> - Returns the label of the tree obtained when evaluating + Returns the arity of the tree obtained when evaluating . diff --git a/main/interface/man-session-input.en.tm b/main/interface/man-session-input.en.tm index 8002952..3673933 100644 --- a/main/interface/man-session-input.en.tm +++ b/main/interface/man-session-input.en.tm @@ -1,4 +1,4 @@ - + @@ -19,7 +19,12 @@ . If this feature is available, then it is usually also possible to copy and paste output back into the input. However, it depends on the particular application how well this - works. + works. Keep in mind that some key combinations may be used by the + mode: for instance the key + is usually redefined inside math mode, so if you want to input it + you'll have to type . You can read more about the prefix + key in ``''. <\example> Below, you will find the