[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: publish()
From: |
Fotios Kasolis |
Subject: |
Re: publish() |
Date: |
Sat, 26 Jun 2010 01:28:41 +0200 |
On Jun 24, 2010, at 9:50 PM, David Bateman wrote:
> Fotios Kasolis wrote:
>> On Jun 24, 2010, at 6:33 PM, Michael Godfrey wrote:
>>
>> > On 06/24/2010 09:20 AM, Fotios Kasolis wrote:
>> >> Is anybody interested?
>> >> > Yes. There should be a place for this in scripts/.
>> > Anyhow, how about posting it?
>> >
>> > Michael
>> >
>>
>> it is a hack rather than a "properly" written function, but it works ;D!
>> ------------------------------------------------------------------------
>>
>>
>> /Fotios
>>
>
> The publish function is a matlab core function. See the reference page
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/publish.html
>
> does your code implement the same functionality with the exact same calling
> conventions as this function? If yes then the function should probably be
> cleaned up and included in Octave itself
>
> D.
>
So here we are! I made a function "publish()" with reasonably close interface
to matlabs publish().
1) It works only for scripts but it is not difficult to use it for functions
after a small fix: see todo at the eof.
2) It is able to generate beautiful latex results and ugly html.
3) It is documented so "help publish".
hope it helps!
/Fotios
publish.m
Description: Binary data
myscript.m
Description: Binary data