diff options
author | obrien <obrien@FreeBSD.org> | 2008-03-19 14:46:59 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-03-19 14:46:59 +0000 |
commit | 1c0cbce33a57f17010ec5ab6d6e219a22abb0833 (patch) | |
tree | 2b5183382f4a2d7c6e711b462d7cade6607ead8a /contrib/cvs/doc/HACKING.DOCS | |
parent | 808f039f5f26abb40b9185217065c2e9e3522687 (diff) | |
parent | c54c20f64254351041b8ea9719450e4d774ac0a5 (diff) | |
download | FreeBSD-src-1c0cbce33a57f17010ec5ab6d6e219a22abb0833.zip FreeBSD-src-1c0cbce33a57f17010ec5ab6d6e219a22abb0833.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r177391,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/doc/HACKING.DOCS')
-rw-r--r-- | contrib/cvs/doc/HACKING.DOCS | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/cvs/doc/HACKING.DOCS b/contrib/cvs/doc/HACKING.DOCS new file mode 100644 index 0000000..adf6077 --- /dev/null +++ b/contrib/cvs/doc/HACKING.DOCS @@ -0,0 +1,46 @@ +Here's some of the texinfo conventions the CVS documentation uses: + +@code{ ... } command usage & command snippets, including + command names. +@var{ ... } variables - text which the user is expected to + replace with some meaningful text of their own + in actual usage. +@file{ ... } file names +@samp{ ... } for most anything else you need quotes around + (often still misused for command snippets) +@example ... @end example example command usage and output, etc. +@emph{ ... } emphasis - warnings, stress, etc. This will be + bracketed by underline characters in info files + (_ ... _) and in italics in PDF & probably in + postscript & HTML. +@strong{ ... } Similar to @emph{}, but the effect is to + bracket with asterisks in info files (* ... *) + and in bold in PDF & probably in postscript & + HTML. +@noindent Suppresses indentation of the following + paragraph. This can ocassionally be useful + after examples and the like. +@cindex ... Add a tag to the index. +@pxref{ ... } Cross reference in parentheses. +@xref{ ... } Cross reference. + +Preformatted text should be marked as such (use @example... there may be other +ways) since many of the final output formats can use relational fonts otherwise +and marking it as formatted should restrict it to a fixed width font. Keep +this sort of text to 80 characters or less per line since larger may not be +properly viewable for some info users. + +There are dictionary lists and function definition markers. Scan cvs.texinfo +for their usage. There may be table definitions as well but I haven't used +them. + +Use lots of index markers. Scan the index for the current style. Try to reuse +an existing entry if the meaning is similar. + +`makeinfo' 3.11 or greater is required for output generation since earlier +versions do not support the @ifnottex & @ifnothtml commands. There may be +other commands used in `cvs.texinfo' that are unsupported by earlier versions +of `makeinfo' by the time you read this. + +For more on using texinfo docs, see the `info texinfo' documentation or +http://www.gnu.org/manual/texinfo/texinfo.html . |