Re: editing styles

Paolo Cavallini <cavallini-h12OV65+u/[email protected]> Thu, 25 Aug 2005 17:16:04 +0200
Newsgroups gmane.comp.gnome.apps.pybliographer
Organization Faunalia
Message-ID <[email protected]>
ok, done. easy and amusing, but not for all.
Just for the record, this worked for me:

cp /usr/share/pybliographer/Styles/vecchiostile.xml /usr/share/pybliographer/Styles/nuovostile.xml
 vi /usr/share/pybliographer/Styles/nuovostile.xml
 vi /usr/local/bin/pyblink
 style_str = ["Abbrev", "Alpha", "apa4e", "abbrvbib", "abbrvnum", "abbrvau", 
"nuovostile"][style]
 vi /usr/local/share/pyblink/glade/pyblink.glade
 copy one style definition, from "child to "/child", changing the name of the 
style (in 3 places).
NB: maybe the order should be the same as in /usr/local/bin/pyblink?

It would be good to have an easier way.
many thanks.
all the best.
pc

At 15:33, giovedì 25 agosto 2005, Zoltan Kota has probably written:
>
> List of pyblio styles is hardcoded in pyblink. So, you have to add the new
> style manually. You should edit the pyblink python script and the glade
> file as well.
>
> Zoltan
-- 
Paolo Cavallini
cavallini-h12OV65+u/[email protected]   www.faunalia.it   www.faunalia.com
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy   Tel: (+39)348-3801953
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDDeC8/NedwLUzIr4RAicUAKCajeB77UmEHy2DId+Bhe6ySMxvYQCgsnEI
1jvhNm/7EV2zB/8P4BYl6JI=
=NVPa
-----END PGP SIGNATURE-----