Mercurial > hg > octave-lyh
view doc/interpreter/macros.texi @ 17161:96b64a18be13
doc: Fix building info with new macro fixcontentsmargin.
* doc/interpreter/octave.texi: Use @iftex/@end iftex around
@fixcontentsmargin call.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 02 Aug 2013 14:25:24 -0700 |
parents | bf1de4943a5d |
children | 1c21f264d26f |
line wrap: on
line source
@c Copyright (C) 2012 John W. Eaton @c @c This file is part of Octave. @c @c Octave is free software; you can redistribute it and/or modify it @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. @c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. @c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c <http://www.gnu.org/licenses/>. @c FIXME -- someday, we might replace this with @backslashchar, which @c has been added to Texinfo. @macro xbackslashchar \\ @end macro @c The following macro is used for the on-line help system, but we don't @c want lots of `See also: foo, bar, and baz' strings cluttering the @c printed manual (that information should be in the supporting text for @c each group of functions and variables). @c @c Implementation Note: @c For TeX, @vskip produces a nice separation. @c For Texinfo '@sp 1' should work, but in practice produces ugly results @c for HTML. We use a simple blank line to produce the correct behavior. @macro seealso {args} @iftex @vskip 2pt @end iftex @ifnottex @end ifnottex @ifinfo @noindent See also: \args\. @end ifinfo @ifnotinfo @noindent @strong{See also:} \args\. @end ifnotinfo @end macro @c The following macro marks words that aspell should ignore during @c spellchecking. Within Texinfo it has no effect as it merely replaces @c the macro call with the argument itself. @macro nospell {arg} \arg\ @end macro @c The following macro works around a situation where the Info/plain text @c expansion of the @code{XXX} macro is `XXX'. The use of the apostrophe @c can be confusing if the code segment itself ends with a transpose operator. @ifinfo @macro xcode{arg} \arg\ @end macro @end ifinfo @ifnotinfo @macro xcode{arg} @code{\arg\} @end macro @end ifnotinfo