Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 3e60ff9d4d6f58c8fbd17208f14089fa > files > 439

octave-doc-3.2.3-3mdv2010.0.i586.rpm

<html lang="en">
<head>
<title>Using the Emacs Info Reader for Octave - Untitled</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Untitled">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Emacs-Octave-Support.html#Emacs-Octave-Support" title="Emacs Octave Support">
<link rel="prev" href="Running-Octave-From-Within-Emacs.html#Running-Octave-From-Within-Emacs" title="Running Octave From Within Emacs">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Using-the-Emacs-Info-Reader-for-Octave"></a>
<p>
Previous:&nbsp;<a rel="previous" accesskey="p" href="Running-Octave-From-Within-Emacs.html#Running-Octave-From-Within-Emacs">Running Octave From Within Emacs</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Emacs-Octave-Support.html#Emacs-Octave-Support">Emacs Octave Support</a>
<hr>
</div>

<h3 class="appendixsec">G.4 Using the Emacs Info Reader for Octave</h3>

<p>You may also use the Emacs Info reader with Octave's <code>doc</code> function. 
For this, the package <samp><span class="file">gnuserv</span></samp> needs to be installed.

   <p>If <samp><span class="file">gnuserv</span></samp> is installed, add the lines
<pre class="lisp">     (autoload 'octave-help "octave-hlp" nil t)
     (require 'gnuserv)
     (gnuserv-start)
</pre>
   <p class="noindent">to your <samp><span class="file">.emacs</span></samp> file.

   <p>You can use either `plain' Emacs Info or the function <code>octave-help</code>
as your Octave info reader (for &lsquo;<samp><span class="samp">help -i</span></samp>&rsquo;).  In the former case,
use <code>info_program ("info-emacs-info")</code>. 
The latter is perhaps more attractive because it allows to look up keys
in the indices of <em>several</em> info files related to Octave (provided
that the Emacs variable <code>octave-help-files</code> is set correctly).  In
this case, use <code>info_program ("info-emacs-octave-help")</code>.

   <p>If you use Octave from within Emacs, it is best to add these settings to
your <samp><span class="file">~/.emacs-octave</span></samp> startup file (or the file pointed to by the
Emacs variable <code>inferior-octave-startup-file</code>). 
<!-- @include grammar.texi -->

<!-- DO NOT EDIT!  Generated automatically by munge-texi. -->
   </body></html>