1 --- !ditz.rubyforge.org,2008-03-06/issue
2 title: Conversion of / to \frac misplaces bracket types.
4 An expression of the form
6 ( 1/\sqrt{2 B b**2} )**2
10 { \frac(1)(\sqrt{2 B b**2}) }**2
12 whereas it should have been
14 ( \frac{1}{\sqrt{2 B b**2}} )**2
16 I.e. the brackets around the '/' should sit on the \frac, not
17 on each of the children of \frac.
19 The actual problem sits in preprocessor.cc, which does
23 [a/b]**2 -> \pow{\frac[a][b]}{2}
27 [\frac{a}{b}] -> \frac{a}{b}
28 [\frac{a}{b}]**2 -> \pow[\frac{a}{b}]
30 So the 'bug' is working the other way around: if you enter
31 things in [\frac{a}{b}] notation, you should expect it to
32 be different from [a/b]. Not sure whether this should be
33 'fixed'; postponing for the time being.
37 reporter: Kasper Peeters <kasper.peeters@aei.mpg.de>
40 creation_time: 2010-01-30 20:41:08.452071 Z
43 id: f2ada64adc88a3b4014456bc2d50863f242a1f12
45 - - 2010-01-30 20:41:09.011596 Z
46 - Kasper Peeters <kasper.peeters@aei.mpg.de>
49 - - 2010-02-05 00:26:59.500718 Z
50 - Kasper Peeters <kasper.peeters@aei.mpg.de>
53 - - 2010-02-06 18:10:20.472757 Z
54 - Kasper Peeters <kasper.peeters@aei.mpg.de>
55 - unassigned from release 1.18
57 - - 2010-02-06 18:12:03.561252 Z
58 - Kasper Peeters <kasper.peeters@aei.mpg.de>