📄 makeinfo.texi
字号:
\input texinfo @c -*-texinfo-*-@comment %**start of header@setfilename makeinfo.info@set VERSION 1.61@paragraphindent none@comment %**start of header@comment $Id: makeinfo.texi,v 1.1.1.1 1997/08/21 22:58:08 jason Exp $@ifinfo@formatSTART-INFO-DIR-ENTRY* makeinfo: (makeinfo). Making info files from texinfo files.END-INFO-DIR-ENTRY@end format@end ifinfo@dircategory Texinfo documentation system@direntry* makeinfo: (makeinfo). Convert Texinfo source to Info or plain ASCII.@end direntry@ifinfoThis file is an extract from the @cite{Texinfo} manual.@*It documents Makeinfo, a program that converts Texinfofiles into Info files. Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.Permission is granted to make and distribute verbatim copies ofthis manual provided the copyright notice and this permission noticeare preserved on all copies.@ignorePermission is granted to process this file through TeX and print theresults, provided the printed document carries copying permissionnotice identical to this one except for the removal of this paragraph(this paragraph not being relevant to the printed manual).@end ignorePermission is granted to copy and distribute modified versions of thismanual under the conditions for verbatim copying, provided that the entireresulting derived work is distributed under the terms of a permissionnotice identical to this one.Permission is granted to copy and distribute translations of this manualinto another language, under the above conditions for modified versions,except that this permission notice may be stated in a translation approvedby the Free Software Foundation.@end ifinfo@titlepage@title GNU Makeinfo@author Brian J. Fox and Robert J. Chassell@page@vskip 0pt plus 1filllCopyright @copyright{} 1992, 1993, 1994, 1995 Free Software Foundation, Inc.Permission is granted to make and distribute verbatim copies ofthis manual provided the copyright notice and this permission noticeare preserved on all copies.Permission is granted to copy and distribute modified versions of thismanual under the conditions for verbatim copying, provided that the entireresulting derived work is distributed under the terms of a permissionnotice identical to this one.Permission is granted to copy and distribute translations of this manualinto another language, under the above conditions for modified versions,except that this permission notice may be stated in a translation approvedby the Free Software Foundation.@end titlepage@node Top@chapter What is @code{makeinfo}?@iftexThis file documents the use of the @code{makeinfo} program, versions@value{VERSION} and later. It is an extract from the @cite{Texinfo} manual.@end iftex@code{makeinfo} is a program for converting @dfn{Texinfo} files into @dfn{Info}files. Texinfo is a documentation system that uses a single source file toproduce both on-line information and printed output.You can read the on-line information using Info; type @code{info} tolearn about Info.@ifinfo@xref{Top, Texinfo, Overview of Texinfo, Texinfo, Texinfo},@end ifinfo@iftexSee the @cite{Texinfo} manual,@end iftexto learn about the Texinfo documentation system.@menu* Formatting Control:: Controlling the width of lines, paragraph indentation, and other similar formatting.* Options:: Command line options which control the behaviour of Makeinfo.* Pointer Validation:: How Makeinfo can help you to track node references through complex Texinfo files.* Index:: Index of Concepts.@end menu@c Removed this for 3.8 until it's time to rewrite it.@c * The Macro Facility:: Makeinfo allows the use of @dfn{macros}.@node Formatting Control@section Controlling Paragraph FormatsWithout any special options, @code{makeinfo} @dfn{fills} the paragraphs thatit outputs to an Info file. Filling is the process of breaking and connectinglines so that lines are the same length as or shorter than the numberspecified as the fill column. Lines are broken between words. With@code{makeinfo}, you can control:@itemize @bullet@itemThe width of each paragraph (the @dfn{fill-column}).@itemThe amount of indentation that the first line of each paragraph receives (the @dfn{paragraph-indentation}).@end itemize@node Options@section Command Line OptionsThe following command line options are available for @code{makeinfo}.@need 100@table @code@item -D @var{var}Cause @var{var} to be defined. This is equivalent to @code{@@set @var{var}} in the Texinfo file.@need 150@item --error-limit @var{limit}Set the maximum number of errors that @code{makeinfo} will reportbefore exiting (on the assumption that continuing would be useless).The default number of errors that can be reported before@code{makeinfo} gives up is 100.@refill@need 150@item --fill-column @var{width}Specify the maximum number of columns in a line; this is the right-handedge of a line. Paragraphs that are filled will be filled to thiswidth. The default value for @code{fill-column} is 72.@refill@item --footnote-style @var{style}Set the footnote style to @var{style}, either @samp{end} for the endnode style or @samp{separate} for the separate node style. The valueset by this option overrides the value set in a Texinfo file by an@code{@@footnotestyle} command. When the footnote style is@samp{separate}, @code{makeinfo} makes a new node containing thefootnotes found in the current node. When the footnote style is@samp{end}, @code{makeinfo} places the footnote references at the endof the current node.@refill@need 150@item -I @var{dir}Add @code{dir} to the directory search list for finding files that areincluded using the @code{@@include} command. By default,@code{makeinfo} searches only the current directory.@need 150@item --no-headersDo not include menus or node lines in the output. This results in an@sc{ascii} file that you cannot read in Info since it does not containthe requisite nodes or menus; but you can print such a file in asingle, typewriter-like font and produce acceptable output.@need 150@item --no-splitSuppress the splitting stage of @code{makeinfo}. Normally, largeoutput files (where the size is greater than 70k bytes) are split intosmaller subfiles, each one approximately 50k bytes. If you specify@samp{--no-split}, @code{makeinfo} will not split up the outputfile.@refill@need 100@item --no-pointer-validate@item --no-validateSuppress the pointer-validation phase of @code{makeinfo}. Normally,after a Texinfo file is processed, some consistency checks are made toensure that cross references can be resolved, etc.@xref{Pointer Validation}.@refill@need 150@item --no-warnSuppress the output of warning messages. This does @emph{not}suppress the output of error messages, only warnings. You mightwant this if the file you are creating has examples of Texinfo crossreferences within it, and the nodes that are referenced do not actuallyexist.@refill@item --no-number-footnotesSupress automatic footnote numbering. By default, @code{makeinfo}numbers each footnote sequentially in a single node, resetting thecurrent footnote number to 1 at the start of each node.@need 150@item --output @var{file}@itemx -o @var{file}Specify that the output should be directed to @var{file} and not to thefile name specified in the @code{@@setfilename} command found in the Texinfosource. @var{file} can be the special token @samp{-}, which specifiesstandard output.@need 150@item --paragraph-indent @var{indent}Set the paragraph indentation style to @var{indent}. The value set bythis option overrides the value set in a Texinfo file by an@code{@@paragraphindent} command. The value of @var{indent} isinterpreted as follows:@refill@itemize @bullet@itemIf the value of @var{indent} is @samp{asis}, do not change theexisting indentation at the starts of paragraphs.@refill@itemIf the value of @var{indent} is zero, delete any existingindentation.@refill@itemIf the value of @var{indent} is greater than zero, indent eachparagraph by that number of spaces.@refill@end itemize@need 100@item --reference-limit @var{limit}Set the value of the number of references to a node that@code{makeinfo} will make without reporting a warning. If a node has morethan this number of references in it, @code{makeinfo} will make thereferences but also report a warning.@refill@need 150@item -U @var{var}Cause @var{var} to be undefined. This is equivalent to @code{@@clear @var{var}} in the Texinfo file.@need 100@item --verboseCause @code{makeinfo} to display messages saying what it is doing.Normally, @code{makeinfo} only outputs messages if there are errors orwarnings.@refill@need 100@item --versionReport the version number of this copy of @code{makeinfo}.@refill@item --helpShow a summary of the commend line arguments to @code{makeinfo}.@end table@node Pointer Validation@section Pointer Validation@cindex Pointer validation with @code{makeinfo}@cindex Validation of pointersIf you do not suppress pointer-validation (by using the@samp{--no-pointer-validation} option), @code{makeinfo}will check the validity of the final Info file. Mostly,this means ensuring that nodes you have referencedreally exist. Here is a complete list of what ischecked:@refill@enumerate@itemIf a `Next', `Previous', or `Up' node reference is a reference to anode in the current file and is not an external reference such as to@file{(dir)}, then the referenced node must exist.@refill@itemIn every node, if the `Previous' node is different from the `Up' node, then the `Previous' node must also be pointed to by a `Next' node.@refill@itemEvery node except the `Top' node must have an `Up' pointer.@refill@itemThe node referenced by an `Up' pointer must contain a reference to thecurrent node in some manner other than through a `Next' reference.This includes menu entries and cross references.@refill@itemIf the `Next' reference of a node is not the same as the `Next' referenceof the `Up' reference, then the node referenced by the `Next' pointermust have a `Previous' pointer that points back to the current node.This rule allows the last node in a section to point to the first nodeof the next chapter.@refill@end enumerate@c We don't want to advertise redefining commands.@c lowersections@c include macro.texi@c raisesections@lowersections@node Index@appendix Index@printindex cp@raisesections@contents@bye
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -