lout-users
[Top][All Lists]

## Re: latex formulas into lout

 From: Daniel Ajoy Subject: Re: latex formulas into lout Date: Tue, 02 Jul 2019 09:20:52 -0500 User-agent: Opera Mail/12.18 (Win64)

Thanks for the tips.

On Tue, 02 Jul 2019 06:31:56 -0500, David Duffy <address@hidden> wrote:


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 [lout-users-bounces+david.duffy=address@hidden] on behalf of
Sent: Tuesday, 2 July 2019 3:40 PM
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 <address@hidden> 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.