Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-23 Thread Edin Salković
Look what happened to my beautiful code :( '''A script for seemlesly copying the data from the stix-tbl.ascii* file to a set of python dicts. Dicts are then saved to .py coresponding files, for later retrieval. Currently used table file: http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24 '''

Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-23 Thread Edin Salković
Thanks John and Fernando, You're right. I'll change the scripts to generate pure Python modules, but I'll leave the "manual" module. As for Unicode, I fully understand what you mean John, and I'm planing to try to get mathtext to work with the fonts I mentioned to you a while ago: http://canopus.

Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-23 Thread Fernando Perez
On 6/23/06, John Hunter <[EMAIL PROTECTED]> wrote: > > "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes: > Edin> The reason why I used pickle - from the Python docs: = > > I have had bad experiences in the past with pickle files created with > one version that don't load with another.

Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-23 Thread John Hunter
> "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes: Edin> I thought that the idea was to allow users to write unicode Edin> strings directly in TeX (OK, this isn't much of an excuse No, this is not the reason. Someone may want to do that one day so it is good to keep the possibilit

Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-23 Thread John Hunter
> "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes: Edin> The reason why I used pickle - from the Python docs: = I have had bad experiences in the past with pickle files created with one version that don't load with another. I don't know if that is a common problem or if others have

Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-23 Thread Edin Salković
On 6/22/06, John Hunter <[EMAIL PROTECTED]> wrote: > Since you asked :-) > > I may not have mentioned this but the style conventions for mpl code > are > > functions : lower or lower_score_separated > variables and attributes : lower or lowerUpper > classes : Upper or MixedUpper OK > Also,

Re: [matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-22 Thread John Hunter
> "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes: Edin> I finally solved the problem of automaticaly generating the Edin> dicts for unicode <-> TeX conversion. This is the first step Edin> in enabling unicode support in mathtext. Excellent. Edin> The STIX projects is us

[matplotlib-devel] Unicode to Tex symbols, Type1 names, and vice versa

2006-06-22 Thread Edin Salković
I finally solved the problem of automaticaly generating the dicts for unicode <-> TeX conversion. This is the first step in enabling unicode support in mathtext. The STIX projects is usefull after all ;) They keep a nice table of Unicode symbols at: http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-