• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/man/

Lines Matching +refs:end +refs:of +refs:defun +refs:function

13 % modify it under the terms of the GNU General Public License as
19 % of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 % You should have received a copy of the GNU General Public License
31 % Please try the latest version of texinfo.tex before submitting bug
37 % of date, so if that's what you're using, please check.
41 % problem. Patches are, of course, greatly appreciated.
73 % We never want plain's \outer definition of \+ in Texinfo.
84 \let\ptexend=\end
108 % messages, but if we're using an old version of TeX, don't do anything.
124 \ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi
127 \ifx\putwordof\undefined \gdef\putwordof{of}\fi
135 \ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi
156 % Since the category of space is not known, we have to be careful.
191 % Margin to add to right of even pages, to left of odd pages.
202 % @| inserts a changebar to the left of the current line. It should
204 % change spans more than two lines of output. To handle that, we would
206 % vertical list for the beginning and end of each change).
214 % We want to insert a rule with the height and depth of the current
218 % \vadjust-items are inserted at the left edge of the type. So
297 % Do this outside of the \shipout so @code etc. will be expanded in
309 % the page break happens to be in the middle of an example.
316 % Do this early so pdf references go to the beginning of the page.
349 \egroup % end of \vbox\bgroup
350 \hfil\egroup % end of (centering) \line\bgroup
364 }% end of \shipout\vbox
365 }% end of group with \indexdummies
394 % Parse an argument, then pass it to #1. The argument is the rest of
410 \endgroup % End of the group started in \parsearg.
419 % Each occurence of `\^^M' or `<space>\^^M' is replaced by a single space.
422 % @end itemize @c foo
431 % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp:
441 % to get _exactly_ the rest of the line, we had to prevent such situation.
444 % (Similarily, we have to think about #3 of \argcheckspacesY above: it is
446 % that a pair of braces would be stripped.
475 % is used only in environments like @example, where each line of input
476 % should produce a line of output anyway.
482 % expansion of \tie (\leavevmode \penalty \@M \ ).
494 % It's the responsibility of \envdef to insert \begingroup before the
495 % actual body; @end closes the group after calling \Efoo. \envdef also
496 % defines \thisenv, so the current environment is known; @end checks
502 % implementation of @end takes care not to call \endgroup in this
532 out of any environment%
538 % @end foo executes the definition of \Efoo.
539 % But first, it executes a specialized version of \checkenv
541 \parseargdef\end{%
544 % The general wording of \badenverr may not be ideal, but... --kasal, 06nov03
635 % at the beginning of a line will start with \penalty -- and
636 % since \penalty is valid in vertical mode, we'd end up putting the
637 % penalty on the vertical list instead of in the new paragraph.
654 % @. is an end-of-sentence period.
657 % @! is an end-of-sentence bang.
660 % @? is an end-of-sentence query.
679 % beginning of a paragraph, when TeX is still in vertical mode, would
680 % produce a whole line of output instead of starting the paragraph.
683 % @group ... @end group forces ... to be all on one page, by enclosing
684 % it in a TeX vbox. We use \vtop instead of \vbox to construct the box
685 % to keep its height that of a normal line. According to the rules for
686 % \topskip (p.114 of the TeXbook), the glue inserted is
696 % percent of a page (\vfilllimit can be changed inside of @tex).
710 % @example, where each end-of-line in the input causes an
711 % end-of-line in the output. We don't want the end-of-line after
719 % \baselineskip glue before it, and (when the next line of text is done)
723 % To get correct interline space between the last line of the group
728 % \dimen0 is the vertical size of the group's box.
744 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
749 where each line of input produces a line of output.}
759 %% if the depth of the box does not fit.
766 % Ensure vertical mode, so we don't make a big box in the middle of a
776 % Do a \strut just to make the height of this box be normal, so the
785 % page after the empty box. So we use a penalty of 9999.
789 % sight. (If the user is using lots of big @group commands, which
796 % Back up by the size of the box, whether we did a page break or not.
808 % @page forces the start of a new page.
815 % This records the amount of indent in the innermost environment.
819 % This defn is used inside fill environments such as @defun.
839 % if you have multiple lines of stuff to put here, you'll need to
840 % make the vbox yourself of the appropriate size.
875 % @include file insert text of that file as input.
912 the stack of filenames is empty.}}
938 % @sp n outputs n lines of vertical space
944 % @ignore ... @end ignore is another way to write a comment
991 % If WORD is `none', then suppress indentation of the first paragraph
997 % We switch the definition of this back and forth according to WORD.
1106 \setbox0=\hbox{...}% get width of three periods
1120 % @enddots{} is an end-of-sentence ellipsis.
1142 % @setfilename is done at the beginning of every texinfo file.
1209 % PDF uses PostScript string constants for the names of xref targets,
1260 with PDF output, and none of those formats could be found. (.eps cannot
1261 be supported due to the design of the PDF format; use regular TeX (DVI
1337 % Adding outlines to PDF; macros for calculating structure of outlines
1347 % of subentries (or empty, for subsubsections). #3 is the node text,
1378 % Read toc silently, to get counts of subentries for \pdfoutline.
1413 % The `-' means take the \expnumber as the absolute number of
1414 % subentries, which we calculated on our first read of the .toc above.
1426 % PDF outlines are displayed using system fonts, instead of
1459 % it seems we really need yet another set of dummies; have not
1461 % of @url. for now, just make @/ a no-op, that's the only one
1527 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
1639 end
1640 end
1727 end
1728 end
1802 end
1803 end
1826 % This is what gets called when #5 of \setfont is empty.
1853 % Definitions for a main text size of 11pt. This is the default in
1871 % A few fonts for @defun names and args.
1973 } % end of 11pt text font size definitions
1978 % Press printing of the Emacs 22 manual. Maybe other manuals in the
1996 % A few fonts for @defun names and args.
2101 } % end of 10pt text font size definitions
2130 % we have to define the \textfont of the standard families. Since
2141 % The font-changing commands redefine the meanings of \tenSTYLE, instead
2142 % of just \STYLE. We do this because \STYLE needs to also set the
2228 % the additional smallness of 8pt. So I'm making the default 9pt.
2248 % Fonts for short table of contents.
2265 % @var is set to this for defun arguments.
2286 % the end of a paragraph. Restore normal hyphenation at the end of the
2332 % @code is a modification of @t,
2389 % will therefore expand the active definition of _, which is us
2400 % each of the four underscores in __typeof__. This is undesirable in
2425 % `example' (@kbd uses ttsl only inside of @example and friends),
2460 % arg as text to display instead of (rather than in addition to) the url
2515 % argument is to make the input look right: @dmn{pt} instead of @dmn{}pt.
2545 % No font change, but don't do end-of-sentence spacing.
2563 % "outlined" (blackboard board, sort of) versions, which we don't need).
2610 % Adapted from the plain.tex definition of \copyright.
2640 % Do an implicit @contents or @shortcontents after @end titlepage if the
2652 % Open one extra group, as we want to close it in the middle of \Etitlepage.
2655 % Leave some space at the very top of the page.
2661 % at the top of the second. We don't want the ragged left on the second.
2679 % If we use the new definition of \page, we always get a blank page
2807 % By default, they are off at the start of a document,
2808 % and turned `on' after @end titlepage.
2818 % chapter name on inside top of right hand pages, document
2819 % title on inside top of left hand pages, and page numbers on outside top
2820 % edge of all pages.
2831 % For single-sided printing, chapter title goes across top left of page,
2863 % This produces Day Month Year style of output.
2877 % @settitle line... specifies the title of the document, for headings.
2878 % It generates no output of its own.
2886 % default indentation of table text
2888 % default indentation of @itemize and @enumerate text
2890 % margin between end of table item and start of table text.
2932 % \parskip glue -- logically it's part of the @item we just started.
2939 % bizarre value of 10001 as a signal to \aboveenvbreak to insert
2947 % following text (if any) will end up on the same line.
3041 % Definition of @item while inside @itemize and @enumerate.
3058 \vadjust{\penalty 1200}}% not good to break after first line of item.
3067 % Allow an optional argument of an uppercase letter, lowercase letter,
3079 % (We will always have one token, because of the test we just made.
3090 % We need the \relax at the end of the \ifnum lines to stop TeX from
3121 % Be sure we're not beyond the end of the alphabet.
3134 % Be sure we're not beyond the end of the alphabet.
3164 % @multitable ... @end multitable will make as many columns as desired.
3165 % Contents of each column will wrap at width given in preamble. Width
3167 % or in percent of \hsize, the current width of text on page.
3173 % Either define widths of columns in terms of percent of \hsize:
3177 % Numbers following @columnfractions are the percent of the total
3206 % @tab Many paragraphs of text may be used in any column.
3210 % @end multitable
3279 % of an alignment entry. Note that \everycr resets \everytab.
3288 % @multitable ... @end multitable definitions:
3297 % We use \def instead of \let so that if one of the multitable entries
3342 % we will add a \leftskip of \multitablecolspace to all columns after
3346 % to the width of each template entry.
3348 % If the user has set preamble in terms of percent of \hsize we will
3349 % use that dimension as the width of the column, and the \leftskip
3360 % If user has not set preamble in terms of percent of \hsize
3367 % Ignoring space at the beginning and end avoids an occasional spurious
3373 % @tab Legal holiday which is valid in major parts of the whole country.
3381 \egroup % end the \halign
3396 %% Test to see if parskip is larger than space between lines of
3416 % have to remember that they are conditionals, so that @end doesn't
3446 % Ignore text until a line `@end #1', keeping track of nested conditionals.
3448 % A count to remember the depth of nesting.
3461 % Count number of #1's that we've seen.
3464 % Swallow text until we reach the matching `@end #1'.
3474 % Define a command to find the next `@end #1'.
3475 \long\def\doignoretext##1^^M@end #1{%
3478 % And this command to find another #1 command, at the beginning of a
3503 \ifnum\doignorecount = 0 % We have just found the outermost @end.
3507 \let\next\doignoretext % Look for the next @end.
3514 % Ignore anything after the last `@end #1'; this matters in verbatim
3525 % empty), we can't just use \parsearg; we have to insert a space of our
3526 % own to delimit the rest of the line, and then take it out again if we
3565 % ..., but we might end up with active ones in the argument if
3578 % to do a one-level expansion on the result, instead of complete).
3589 % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined
3592 % To get special treatment of `@end ifset,' call \makeond and the redefine.
3608 % @ifclear VAR ... @end ifclear reads the `...' iff VAR has never been
3619 % @dircategory CATEGORY -- specify a category of the dir file
3636 % \fooindex ...rest of line... puts an entry in the index foo.
3637 % It also defines \fooindfile to be the number of the output channel for
3639 % The name of an index should be no more than 2 characters long
3640 % for the sake of vms.
3670 % Do this instead of @defindex foo if you don't want it as a separate index.
3681 % Only do \closeout if we haven't already done it, else we'll end up
3698 % and it is "foo", the name of the index.
3713 % Take care of Texinfo commands that can appear in an index entry.
3742 % @end macro
3759 % redefine everything using @ as the escape character (instead of
3852 % Handle some cases of @value -- where it does not contain any
3933 % and is used in the definitions of the active chars like <, >, |, etc.
3963 % (The following {} will end up in the sort string, but that's ok.)
3981 % We need to get rid of all macros, leaving only the arguments (if present).
3988 % to take a single TeX argument. The case of a macro invocation that
3989 % goes to end-of-line is not handled.
4002 % #1 is name of index, #2 is stuff to put there, #3 is subentry --
4056 % Take care of unwanted page breaks/skips around a whatsit:
4063 % @end defun
4065 % @defun ...
4067 % start of the @defun won't see the skip inserted by the @end of
4068 % the previous defun.
4070 % But don't do any of this if we're not in vertical mode. We
4071 % don't want to do a \vskip and prematurely end a paragraph.
4078 % of the skip. The only way seems to be to check the textual
4079 % representation of the skip.
4139 % containing these kinds of lines:
4145 % for the beginning of a topic that is used with subtopics
4164 % Define the macros used in formatting output of the sorted index material.
4178 % Change catcode of @ here so that if the index file contains
4214 % Change them to control the appearance of the index.
4229 % Typeset the initial. Making this add up to a whole number of
4230 % baselineskips increases the chance of the dots lining up from column
4231 % to column. It still won't often be perfect, because of the stretch
4242 % \entry typesets a paragraph consisting of the text (#1), dot leaders, and
4244 % and table of contents entries. The paragraph is indented by \leftskip.
4277 % of each paragraph, so we need not do anything with that.
4284 % A bit of stretch before each entry for the benefit of balancing
4288 % Swallow the left brace of the text (first parameter):
4293 \bgroup % Instead of the swallowed brace.
4296 % And now comes the text of the entry.
4301 % The following is kludged to not output a line of dots in the index if
4312 % If we must, put the page number on a line of its own, and fill out
4319 % part of (the primitive) \par. Without it, a spurious underfull
4366 % whole lot of material, we might end up calling this \output
4368 % essentially a couple of indexes with @setchapternewpage off). In
4388 % routine, in each of @smallbook, @afourpaper, and the default 8.5x11
4390 % of assignments once per index is clearly meaningless for the
4432 % Re-output the contents of the output page -- any previous material,
4448 % The last section of the index consists only of a single entry.
4451 % section, consisting of \initial and the single \entry, does not
4461 % page, because the two columns now take up only half of the page
4465 % and the final section into the vbox of \pageheight (see
4473 % Split the last of the double-column material. Leave it on the
4477 % If we end up splitting too much material for the current page,
4496 % Called at the end of the double column material.
4527 % \unnumberedno is an oxymoron, of course. But we count the unnumbered
4538 % This counter is funny since it counts through charcodes of letters A, B, ...
4542 % We do the following ugly conditional instead of the above simple
4543 % construct for the sake of pdftex, which needs the actual
4581 % Each @chapter defines this as the name of the chapter.
4741 % Anyway, we don't want the fully-expanded definition of @cite to appear
4742 % as a result of the \message, we just want `@cite' itself. We use
4744 % simply yielding the contents of <toks register>. (We also do this for
4833 % to what kind of chapter we are in (ordinary, appendix, or unnumbered).
4841 % NOTE on use of \vbox for chapter headings, section headings, and such:
5038 % Switch to the right set of fonts.
5079 % break, since then the whatsits could end up on page n while the
5088 % Add extra space after the heading -- half of whatever came above it.
5112 % Table of contents.
5124 % We open the .toc file for writing here instead of at @setfilename (or
5127 % table of contents chapter openings themselves.
5150 % writing pdf. These are used in the table of contents. We can't
5153 % two pages of the document. Thus, we'd have two destinations named
5161 % with the Texinfo input format setup at the end of this file.
5284 % These macros generate individual entries in the table of contents.
5327 % This parameter controls the indentation of the various levels.
5376 % @foo ... @end foo.
5380 % Since these characters are used in examples, it should be an even number of
5394 {\tentt \global\dimen0 = 3em}% Width of the box.
5395 \dimen2 = .55pt % Thickness of rules
5404 \hbox{\vrule width\dimen2 \kern3pt % Space to left of text.
5412 % @tex ... @end tex escapes into raw Tex temporarily.
5413 % One exception: @ is still an escape character, so that @end tex works.
5453 % Define @lisp ... @end lisp.
5455 % including the definition of @end lisp (which normally is erroneous).
5471 % start of the next paragraph will insert \parskip.
5474 % =10000 instead of <10000 because of a special case in \itemzzz and
5495 % @cartouche ... @end cartouche: draw rectangle w/rounded corners around
5517 \ifhmode\par\fi % can't be in the midst of a paragraph.
5543 \comment % For explanation, see the end of \def\group.
5558 % This macro is called at the beginning of all the @example variants,
5565 \obeylines % each line of input is a line of output
5588 % end paragraph for sake of leading, in case document has no blank
5705 % LaTeX-like @verbatim...@end verbatim and @verb{<char>...<char>}
5726 % Disable Spanish ligatures ?` and !` of \tt font
5792 \multiply\dimen0 by\tabw % compute previous multiple of \tabw
5793 \advance\dimen0 by\tabw % advance to next multiple of \tabw
5840 % the (first) argument ends when '@end verbatim' is reached, ie:
5842 % \def\doverbatim#1@end verbatim{#1}
5845 % because texinfo's \verbatim doesn't stop at '\end{verbatim}':
5853 % ignore everything up to the first ^^M, that's the newline at the end
5854 % of the @verbatim input line itself. Otherwise we get an extra blank
5856 \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}%
5857 % We really want {...\end verbatim} in the body of the macro, but
5867 % @verbatiminclude FILE - insert text of file in verbatim environment.
5880 % @copying ... @end copying.
5891 \def\docopying#1@end copying{\endgroup\def\copyingtext{#1}}
5902 % @defun etc.
5909 % Start the processing of @deffn:
5917 % which is there to keep the function description together with its
5920 % by \printdefunline, instead of 10000, since the sectioning
5922 % a break between a section heading and a defun.
5925 % with penalty of 10003 after the very first @deffn in the
5926 % sequence (see above), and penalty of 10002 after any following
5948 % And now, it's time to reuse the body of the original defun:
5965 % Some of the @defun-type tags do not enable magic parentheses,
6042 % \deftypecvof {category of}class type var args
6060 % \defcvof {category of}class var args
6070 % Remaining @defun-like shortcuts:
6071 \makedefun{defun}{\deffnheader{\putwordDeffunc} }
6083 % \defname, which formats the name of the @def (not the args).
6086 % #3 is the function name.
6091 % Get the values of \leftskip and \rightskip as they were outside the @def...
6095 % distinguish it from the body text that may end up on the next line
6102 % we need only space for the part of \box0 which exceeds it:
6122 % defun fonts. We use typewriter by default (used to be bold) because:
6133 #3% output function name
6135 {\rm\enskip}% hskip 0.5 em of \tenrm
6158 % We want ()&[] to print specially on the defun line.
6246 % To do this right we need a feature of e-TeX, \scantokens,
6263 % Undo catcode changes of \startcontents and \doprintindex
6284 \newcount\paramno % Count of parameters
6288 % List of all defined macros in the form
6304 % (except of course we have to play expansion games).
6331 % (as in normal texinfo). It is necessary to change the definition of \.
6368 % \mbodybackslash is the definition of \ in @macro bodies.
6430 % This makes use of the obscure feature that if the last token of a
6463 % (They're different since rec and nonrec macros end differently.)
6465 \long\def\parsemacbody#1@end macro%
6467 \long\def\parsermacbody#1@end rmacro%
6471 % nonrecursive macros of zero, one, and many arguments.
6580 % also remove a trailing comma, in case of something like this:
6607 % anchor), which consists of three parts:
6614 % This is called from \donoderef, \anchor, and \dofloat. In the case of
6624 \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef
6625 ##1}{##2}}% these are parameters of \writexrdef
6636 % the node name, #2 the name of the Info cross-reference, #3 the printed
6637 % node name, #4 the name of the Info file, #5 the name of the printed
6694 % instead of "[somenode], p.3". We distinguish them by the
6706 % print it instead of our usual "Figure 1.2".
6725 % is a loss. Therefore, we give the text of the node name again, so it
6730 % _ (for example) has to be the character _ for the purposes of the
6732 % into the usual \leavevmode...\vrule stuff for purposes of
6754 % This macro is called from \xrefX for the `[nodename]' part of xref
6894 % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc.
6898 % character, we would end up writing a line like this: 'xrdef {'hat
6925 % characters end up in a \csname. It's easier than
6928 % of the xrdef. Seems like it should be a catcode12 \, and that
6980 % In case the footnote comes at the end of a sentence, preserve the
7033 }%end \catcode `\@=11
7039 % text to a box and make the \insert when a row of the table is finished.
7073 % eat @SAVE -- beware, all of them have catcode \other:
7111 % We will only complain once about lack of epsf.tex.
7165 % @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables,
7232 % lists of floats.
7294 % If have an xref label, write the list of floats info. Do this
7295 % after the caption, to avoid chance of it being a breakpoint.
7319 \egroup % end of \vtop
7330 % Append the tokens #2 to the definition of macro #1, not expanding either.
7382 % @listoffloats FLOATTYPE - print a list of floats like a table of contents.
7409 % This is called on each entry in a list of floats. We're passed the
7455 % Set the catcode of characters 128 through 255 to the specified number.
7465 % @documentencoding sets the definition of non-ASCII characters
7514 % Take account of \c (plain) vs. \, (Texinfo) difference.
7518 % correctly categorized when TeX reads the replacement text of
8241 }% end of \utfeightchardefs
8270 % Following George Bush, just get rid of widows and orphans.
8275 % using an old version of TeX, don't do anything. We want the amount of
8386 % @end tex
8510 % Most of these we simply print from the \tt font, but for some, we can
8544 % \otherifyactive is called near the end of this file.
8562 % \doublebackslash is two of them (for the pdf outlines).
8578 % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
8632 @c time-stamp-end: "}"
8639 @end ignore