octave-maintainers
[Top][All Lists]
Advanced

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

Re: citation()


From: Carnë Draug
Subject: Re: citation()
Date: Mon, 21 Jan 2013 23:50:43 +0000

On 21 January 2013 23:22, Carnë Draug <address@hidden> wrote:
> On 21 January 2013 19:41, Júlio Hoffimann <address@hidden> wrote:
>> Ok, i'll code it at the end of the day.
>
> When you write this, can you add a register and unregister option for
> packages and functions? Similar to what colormap() does. This would
> allow users to type "citation optim" to get a citation for the optim
> package if it exists, or "citation nonlin_residmin" to get a citation
> for that function.
>
> citation # get citation for octave
> citation octave # get citation for octave (default)
> citation optim # gets nothing, optim package not registered
> citation ("register", "optim") # registers optim
> citation optim # get citation for optim
> citation ("unregister", "optim") # unregisters optim
> citation optim # gets nothing again
>
> This is very easy to maintain by using PKG_ADD lines to functions and
> packages, can even be used in core functions.

I forgot, the registration would also require a 3rd argument with the
actual citation entry.


reply via email to

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