1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
<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.11">
<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">
<p>
<a name="Using-the-Emacs-Info-Reader-for-Octave"></a>
Previous: <a rel="previous" accesskey="p" href="Running-Octave-From-Within-Emacs.html#Running-Octave-From-Within-Emacs">Running Octave From Within Emacs</a>,
Up: <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 ‘<samp><span class="samp">help -i</span></samp>’). 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>
|