[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extracting texinfo documentation
From: |
Søren Hauberg |
Subject: |
Re: extracting texinfo documentation |
Date: |
Tue, 30 Oct 2012 11:19:48 +0100 |
On Oct 30, 2012, at 11:13 AM, Massimo Manghi wrote:
> Hi, sorry this is probably one of most silly questions that can be asked.
>
> Recently Juan Pablo published a findpeaks.m function which bears a detailed
> texinfo manual in it. I never used texinfo but I took as an copportunity to
> learn something new. So told myself that since 'help findpeaks' automatically
> squeezes out that manual page a standalone tool to do the same had to exist,
> but I could not find it. Is there a proper way to create texi files or send
> to a pipe the same data obtained from embedded texinfo docs?
Have a look at the source for 'help' (do 'type help' at the Octave prompt). I
think the functions you are interested in are, 'get_help_text' and
'__makeinfo__'.
Søren