help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info files for packages?


From: Alasdair McAndrew
Subject: Re: Info files for packages?
Date: Fri, 29 Nov 2013 11:55:36 +1100

Dear Mike,

Thanks for that.  What I did in the end (for use with Emacs) was copy all the new octave info files, and the odepkg info files, into /usr/share/info, having first removed all the old (3.2) info files.  Then I edited the "dir" file to reflect the new files, and it seems to work now.


On Thu, Nov 28, 2013 at 12:53 AM, Mike Miller <address@hidden> wrote:
On Thu, 28 Nov 2013 00:22:36 +1100, Alasdair McAndrew wrote:
> I've recently installed some packages from octave-forge in my octave
> 3.6.4 (ubuntu 12.04).  I'd like the package info files to be integrated
> into the octave help ("doc").  For example, the odepkg package has a
> texi file, but that doesn't seem to have been compiled and added in to
> the rest of the help system.
>
> How can I do this?

Hi Alasdair, good question. There is some limited support for this but
the pkg command does not do anything to install files in the right place
at the moment.

Basically what the doc command is looking for is a file called doc.info
in the same directory as the function. So one way would be to first
compile the texinfo file yourself if it's not done for you, then add a
symbolic link called doc.info in the package directories for both
m-files and compiled oct-files that points to wherever the compiled
odepkg.info file is.

If you'd like to discuss how to make this process more automatic and
seamless for the user (I would), please bring it up on the maintainers
mailing list or open a bug report on the bug tracker.

HTH,

--
mike
--
mike



--
Blog: http://amca01.wordpress.com
Web:  http://sites.google.com/site/amca01/
Facebook: http://www.facebook.com/alasdair.mcandrew

reply via email to

[Prev in Thread] Current Thread [Next in Thread]