RE: latex formulas into lout
David Duffy <[email protected]> Tue, 2 Jul 2019 11:31:56 +0000
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
That particular task would take hour or so in vim rewriting as
%s/lim _/{lim} above/
%s/\\to/-->/
%s/\\infty/infinity/g
etc
one annoyance is \text{} eg first line
{\displaystyle {\text{If }}\lim _{x\to c}f(x)=L_{1}{\text{ and }}\lim _{x\to c}g(x)=L_{2}{\text{ then:}}}
becomes
If @Math {{{lim} above {x --> c}} f(x)=L sub {1}} and @Math {{{lim} above {x --> c}} g(x)=L sub {2}} then:
Another will be {\frac {A} {B}} to "{A} over {B}"
Enjoy ;)
________________________________________
From: Lout-users [[email protected]] on behalf of Daniel Ajoy [[email protected]]
Sent: Tuesday, 2 July 2019 3:40 PM
To: [email protected]
Subject: Re: latex formulas into lout
I was thinking of all of these:
https://en.wikipedia.org/wiki/List_of_limits
On Mon, 01 Jul 2019 23:12:03 -0500, David Duffy <[email protected]> wrote:
> Daniel asked:
>
>> Is there a way to convert latex formulas into Lout?
>
> How many equations, with what complexity of layout? Someone may have written a script that will partly do this - I don't think it would be that hard - but I suspect you would have to finish it by hand. I don't have such a program (the equations I have converted were done by hand from Word Perfect, where the language is v. similar to eqn/troff), but someone else may have.
>
> 2c, David Duffy.