[referencer] Preliminary medline support (first python plugin)

Aurélien Naldi aurelien.naldi at gmail.com
Wed Jan 2 08:44:56 EST 2008


Le mardi 01 janvier 2008 à 20:27 +0000, John Spray a écrit :
> On Tue, 2008-01-01 at 20:44 +0100, Aurélien Naldi wrote:
> > I dunno what kde/xfce/enlightenment/other do, but if you really want to
> > be desktop agnostic, you can just use the "http_proxy" and friends env
> > variables. At least under gnome they are set properly, I guess that kde
> > does it as well. If it doesn't, it should anyway, to make sure that
> > console applications keep working.
> 
> *sigh*
> 
> http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.13/gnome-terminal-2.13.2.changes:
> 
> 2006-01-16  Guilherme de S. Pastore  <gpastore at gnome.org>
> 
> 	* src/terminal-screen.c: applied patch from John Spray to set
> 	  the http_proxy environment variable based on the GNOME proxy
> 	  settings. Closes bug #321952.
> 
> I have tricked you.  It's only set in the terminal.  Sorry! ;-)
> 
> In any case, it all depends on how the http work is being done.
> Currently I'm using gnome-vfs, which reads its configuration from gconf
> (not the environment).  Other platforms might have different libraries
> with different configuration backends.

ok, sorry for the noise then :/
(I still think that this kind of stuff should be easilly shared between
desktop, even if it can't be done right now)

I have one more question about the plugin system: how do we add
capabilities ?

I would like to add a plugin which:
* adds a button in the toolbar
* knows the selected items when this button is clicked
* preferably in python

I would love to kill the "lyx support" TODO item, which is pretty easy
in shell:

 echo "LYXCMD:<whatever>:citation-insert:<key1>,<key2>" > .lyxpipe.in

It could use a pref UI: the path to the lyxpipe can change

I think that it is worth making it easy to add another one later on:
openoffice may get real bibliographic capabilities someday and some
people may use stg else than lyx/kile ;)

I am having a first look at the code right now, but it looks like plugin
are metadata tools only for now, right ?

-- 
Aurélien Naldi <aurelien.naldi at gmail.com>




More information about the referencer mailing list