[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: behavior of @math with HTML output
From: |
Vincent Lefevre |
Subject: |
Re: behavior of @math with HTML output |
Date: |
Sat, 15 Oct 2022 01:34:07 +0200 |
User-agent: |
Mutt/2.2.7+47 (8681885b) vl-149028 (2022-10-10) |
On 2022-10-14 20:52:38 +0100, Gavin Smith wrote:
> Rendering mathematical notation in a text terminal can work well for
> very simple formulae but breaks down for more complex formulae, like
>
> J_v(z) = \sum_{k=0}^{\infty }{{{\left(-1\right)^{k}\,\left(z\over
> 2\right)^{v+2\,k}
> }\over{k!\,\Gamma\left(v+k+1\right)}}}
>
> (from the Maxima link above). As I've said before, there is no way we are
> going to write code in texi2any to parse this and produce text output.
In the MPFR manual, there is one complex formula, currently written
@ifnottex
@math{m} = 1 + ceil(@var{p}*log(2)/log(@var{b})),
@end ifnottex
@tex
$m = 1 + \left\lceil @var{p} {\log 2 \over \log @var{b}} \right\rceil$,
@end tex
(but it is even much simpler than the Maxima one above), and the
other ones are rather simple. For instance, what is currently used:
@m{7 \times 2^{e-4}, 7 multiplied by two to the power @var{e}@minus{}4}
@m{1/\sqrt{@var{op}}, the reciprocal square root of @var{op}}
@m{\log_2 @var{op}, log2(@var{op})}
@m{0 @le{} @var{rop} < \pi,0 @le{} @var{rop} < Pi}
Requiring a graphical browser for such kind of things would be overkill.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
- Re: behavior of @math with HTML output, (continued)
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/14
- Re: behavior of @math with HTML output, Patrice Dumas, 2022/10/14
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/14
- Re: behavior of @math with HTML output, Raymond Toy, 2022/10/14
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/14
- Re: behavior of @math with HTML output, Raymond Toy, 2022/10/17
- Re: behavior of @math with HTML output, Patrice Dumas, 2022/10/17
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/17
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/17
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/14
- Re: behavior of @math with HTML output,
Vincent Lefevre <=
- Re: behavior of @math with HTML output, Jacob Bachmeyer, 2022/10/14
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/15
- Re: behavior of @math with HTML output, Jacob Bachmeyer, 2022/10/15
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/16
- Re: behavior of @math with HTML output, Gavin Smith, 2022/10/14
- Re: behavior of @math with HTML output, Patrice Dumas, 2022/10/14
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/14
- Re: behavior of @math with HTML output, Patrice Dumas, 2022/10/14
- Re: behavior of @math with HTML output, Vincent Lefevre, 2022/10/14
- Re: behavior of @math with HTML output, Patrice Dumas, 2022/10/14