You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(1) |
2
(9) |
3
(1) |
4
(3) |
5
(1) |
6
(2) |
7
(9) |
8
(2) |
9
|
10
(10) |
11
(4) |
12
(1) |
13
(1) |
14
(2) |
15
(9) |
16
|
17
(1) |
18
(6) |
19
|
20
(4) |
21
(7) |
22
(3) |
23
(3) |
24
(2) |
25
(1) |
26
|
27
(3) |
28
(6) |
29
(12) |
30
|
31
(8) |
|
|
Hi Edin, I am not able to run the example when I have freefont installed=20 in /usr/local/share/fonts (although they are accessible by other programs, = so=20 they are installed properly as far as X is concerned), but if I copy the=20 ttf's to the fonts directory in matplotlib's source, and then python setup.= py=20 install, I am able to run your example, and have attached the resulting png= =2E=20 Note the line is missing in the 3/2 fraction. Darren On Monday 21 August 2006 14:25, you wrote: > Hmm, it looks like mpl is using the old mathtext which doesn't support > \frac (mathtext.py) not mathtext2.py. Are you sure you put the > following > > mathtext2: True # Needed to enable the new mathtext > > line in your rc file. mathtext2 is disabled by default. > > Hopefully I'll try tomorrow the SVN version on a Linux box. > > Thanks, > Edin > > On 8/21/06, Darren Dale <dd...@co...> wrote: > > Lets take this offlist for now. > > > > I just updated from svn, and tried running mathtext2_demo.py. I get the > > following error: > > > > python mathtext2_demo.py > > Traceback (most recent call last): > > File "mathtext2_demo.py", line 40, in ? > > savefig('mathtext_demo.png') > > File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line > > 811, in savefig > > return fig.savefig(*args, **kwargs) > > File "/usr/lib64/python2.4/site-packages/matplotlib/figure.py", line > > 671, in savefig > > self.canvas.print_figure(*args, **kwargs) > > > > File > > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkagg.= py > >", line 113, in print_figure > > orientation, **kwargs) > > > > File > > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_agg.py", > > line 454, in print_figure > > self.draw() > > > > File > > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_agg.py", > > line 391, in draw > > self.figure.draw(renderer) > > File "/usr/lib64/python2.4/site-packages/matplotlib/figure.py", line > > 534, in draw > > for a in self.axes: a.draw(renderer) > > File "/usr/lib64/python2.4/site-packages/matplotlib/axes.py", line > > 1057, in draw > > a.draw(renderer) > > File "/usr/lib64/python2.4/site-packages/matplotlib/text.py", line 33= 9, > > in draw > > bbox, info =3D self._get_layout(renderer) > > File "/usr/lib64/python2.4/site-packages/matplotlib/text.py", line 18= 6, > > in _get_layout > > w,h =3D renderer.get_text_width_height( > > > > File > > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_agg.py", > > line 244, in get_text_width_height > > width, height, fonts =3D math_parse_s_ft2font( > > File "/usr/lib64/python2.4/site-packages/matplotlib/mathtext.py", line > > 1579, in __call__ > > handler.expr.set_size_info(fontsize, dpi) > > File "/usr/lib64/python2.4/site-packages/matplotlib/mathtext.py", line > > 1195, in set_size_info > > self.elements[0].set_size_info(self._scale*fontsize, dpi) > > File "/usr/lib64/python2.4/site-packages/matplotlib/mathtext.py", line > > 1107, in set_size_info > > self.metrics =3D Element.fonts.get_metrics( > > File "/usr/lib64/python2.4/site-packages/matplotlib/mathtext.py", line > > 593, in get_metrics > > cmfont, metrics, glyph, offset =3D \ > > File "/usr/lib64/python2.4/site-packages/matplotlib/mathtext.py", line > > 613, in _get_info > > raise ValueError('unrecognized symbol "%s"' % sym) > > ValueError: unrecognized symbol "\frac3" > > > > On Monday 21 August 2006 06:33, you wrote: > > > On 8/21/06, Edin Salkovi=C4=87 <edi...@gm...> wrote: > > > > If anyone is having problems with finding unicode fonts, check the > > > > FreeFonts (FreeSerif is the one that has the most characters in it): > > > > http://download.savannah.gnu.org/releases/freefont/ > > > > http://download.savannah.gnu.org/releases/freefont/freefont-ttf-200= 60 > > > >126. tar.gz > > > > > > > > The only currently supported fonts are True/OpenType. > > > > > > Oops. I haven't had updated the _mathtext_data.py file. > > > > > > Darren can you check if now everything works properly (even with pfb > > > fonts)? > > > > > > It turns out that mpl now ships with the BaKoMa fonts in the mpl-data > > > dir, so I though that putting the unicode fonts there would be fine. > > > I'll see what I can do regarding integrating mathtext2 with the > > > current font manager. > > > ---------------------------------------------------------------------= =2D- > > >-- Using Tomcat but need to do more? Need to support web services, > > > security? Get stuff done quickly with pre-integrated technology to ma= ke > > > your job easier Download IBM WebSphere Application Server v.1.0.1 bas= ed > > > on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&d= at=3D12164 > > >2 _______________________________________________ > > > Matplotlib-devel mailing list > > > Mat...@li... > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > > -- > > Darren S. Dale, Ph.D. > > Cornell High Energy Synchrotron Source > > Cornell University > > 200L Wilson Lab > > Rt. 366 & Pine Tree Road > > Ithaca, NY 14853 > > > > dd...@co... > > office: (607) 255-3819 > > fax: (607) 255-9001 =2D-=20 Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-3819 fax: (607) 255-9001
"John Hunter" <jd...@gm...> writes: > Hi all -- John H here under a different email.... I'm on vacation so > I'll probably be out of touch for a week but just dashed into a > cyber-cafe and couldn't resist jumping in. [It seems that you only sent the email to me, but it looks like it is meant for the list, so I re-sent it.] > For those of us on the beach in Michican w/o read access to a TeX > interpreter, perhaps you could describe what is different or broken. This works and produces "xyz" in a Roman font: In [8]:rcParams['text.usetex'] = True In [9]:text(0,0,r'$\rm xyz$') Out[9]:<matplotlib.text.Text instance at 0x1729be90> This fails with an exception: In [10]:rcParams['text.usetex'] = False In [11]:text(0,0,r'$\rm xyz$') --------------------------------------------------------------------------- exceptions.ValueError Traceback (most recent call last) /Users/jks/<ipython console> [...] --> 613 raise ValueError('unrecognized symbol "%s"' % sym) 614 615 #print sym, basename, num ValueError: unrecognized symbol "\rm" In TeX \rm and friends set the font in the current scope. Mathtext seems to only recognize \rm with an argument in braces, e.g. \rm{xyz}. > The only "fresh rewrite" I'd be happy to consider is one that > translated Knuth's algorithm for parsing mathematical expressions > more or less verbatim. That's a pretty tall order (as I'm sure you know). Just for fun, go to http://latex.olympus.het.brown.edu/ and search for the word "obfuscated". -- Jouni
Hi all -- John H here under a different email.... I'm on vacation so I'll probably be out of touch for a week but just dashed into a cyber-cafe and couldn't resist jumping in. If mathtext_demo and TeX parse or layout that expression differently, it's a bug and should be fixed. We are trying to follow the TeX conventions to the best of our ability, and won't consciously choose to do something differently within our limits. For those of us on the beach in Michican w/o read access to a TeX interpreter, perhaps you could describe what is different or broken. Edin, as for your comment about not understanding the parser, I understand but consider this. If you don't understand the parser and why it has the complexity it does, it is pretty unlikely you'll be able to "roll your own" equivalent functionality. As Darren noted, it's worth your energy, if only for your own education, to understand how parsers work, and pyparsing is about the easiest parser I've ever used. Start with a toy example from the pyparsing web page, and work your way up. The author is very responsive to questions and helped me develop and optimize the TeX grammar. The only "fresh rewrite" I'd be happy to consider is one that translated Knuth's algorithm for parsing mathematical expressions more or less verbatim. I believe something like this exist in the javascript math layout engine, which Robert is looking into. But my preference at this point in terms of productivity is to fix what's broken with the current implementation. net mavens please excuse my top posting -- I'm like a seal out of =20 water here! Cheers! JDH On 8/21/06, Jouni K Seppanen <jk...@ik...> wrote: > Darren Dale <dd...@co...> writes: > > > On Sunday 20 August 2006 10:25 am, Edin Salkovi=C4=87 wrote: > >> Also, I thought that the author of the current code base did some > >> design mistakes at the begining. And, being a developer newbie, > >> it's a lot easier to start things from scratch, than make fixes to > >> old stuff you don't understand well. > > > > Just a general comment. Eric Raymond observed in The Cathedral and > > the Bazaar that "Good programmers know what to write. Great ones > > know what to rewrite (and reuse)." > > See also: http://www.joelonsoftware.com/articles/fog0000000069.html > > >> The point is that, i.e. \cal sets the current fontface to "cal", > >> and the change is propagated till the end of the current scope (or > >> untill it hits \rm, for example). Old mathtext applies it only to > >> the first item after the command. > > > > What does this have to do with real TeX? Maybe you could post an > > example. It is possibly just an mpl bug that needs to be addressed. > > Run the attached file through LaTeX to see what he means. Does > Matplotlib attempt to replicate some subset of (La)TeX syntax exactly, > or is it just a "TeX-like" syntax? > > -- > Jouni > > > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > >