# HG changeset patch # User Francesco Potort # Date 1023369457 0 # Node ID c1e620d6140c389e8efcdfe4c2b8f0a05c2f7527 # Parent b359c7c3e1cb6c3f55f288c29ed70cf97ca3694c Document --parse-stdin=FILE for Etags. Document new default keywords for TeX. diff -r b359c7c3e1cb -r c1e620d6140c man/maintaining.texi --- a/man/maintaining.texi Thu Jun 06 13:07:19 2002 +0000 +++ b/man/maintaining.texi Thu Jun 06 13:17:37 2002 +0000 @@ -244,9 +244,10 @@ @item In La@TeX{} text, the argument of any of the commands @code{\chapter}, @code{\section}, @code{\subsection}, @code{\subsubsection}, -@code{\eqno}, @code{\label}, @code{\ref}, @code{\cite}, @code{\bibitem}, -@code{\part}, @code{\appendix}, @code{\entry}, or @code{\index}, is a -tag.@refill +@code{\eqno}, @code{\label}, @code{\ref}, @code{\cite}, +@code{\bibitem}, @code{\part}, @code{\appendix}, @code{\entry}, +@code{\index}, @code{\def}, @code{\newcomand}, @code{\renewcommand}, +@code{\newenvironment} or @code{\renewenvironment} is a tag.@refill Other commands can make tags as well, if you specify them in the environment variable @env{TEXTAGS} before invoking @code{etags}. The @@ -254,13 +255,13 @@ command names. For example, @example -TEXTAGS="def:newcommand:newenvironment" +TEXTAGS="mycommand:myothercommand" export TEXTAGS @end example @noindent -specifies (using Bourne shell syntax) that the commands @samp{\def}, -@samp{\newcommand} and @samp{\newenvironment} also define tags. +specifies (using Bourne shell syntax) that the commands +@samp{\mycommand} and @samp{\myothercommand} also define tags. @item In Lisp code, any function defined with @code{defun}, any variable @@ -456,6 +457,12 @@ entirely; then @code{etags} recognizes tags by regexp matching alone (@pxref{Etags Regexps}). + The option @samp{--parse-stdin=@var{file}} is mostly useful when +calling @code{etags} from programs. It can be used (only once) in +place of a file name on the command line. @code{Etags} will read from +standard input and mark the produced tags as belonging to the file +@var{file}. + @samp{etags --help} prints the list of the languages @code{etags} knows, and the file name rules for guessing the language. It also prints a list of all the available @code{etags} options, together with a short