re: Lout-users Digest, Vol 66, Issue 1
Eric BOUCHARE <[email protected]> Tue, 9 Jul 2019 11:14:04 +0200 (CEST)
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <1552270929.2801.1562663644156.JavaMail.www@wwinf1f27> |
Hello,
You can also add a definition in your mydefs file, or at the top of your main file
import @Math
def limit
named from {}
{
{{Base}@Font{lim}} above {@SuperScriptStyle from}
}
You can then add, in your text, for example
@DP @Math{limit from{x --> c} ` f(x) over g(x) = L sub 1 over L sub 2} &4s if @M{L sub 2 != 0}
Eric
> Message du 02/07/19 19:08
> De : [email protected]
> A : [email protected]
> Copie à :
> Objet : Lout-users Digest, Vol 66, Issue 1
>
> Send Lout-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.nongnu.org/mailman/listinfo/lout-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Lout-users digest..." Today's Topics: 1. latex formulas into lout (Daniel Ajoy) 2. Re: latex formulas into lout (Daniel Ajoy) 3. RE: latex formulas into lout (David Duffy) 4. RE: latex formulas into lout (David Duffy) 5. Re: latex formulas into lout (Daniel Ajoy) ---------------------------------------------------------------------- Message: 1 Date: Mon, 01 Jul 2019 12:51:20 -0500 From: "Daniel Ajoy" To: "[email protected]" Subject: latex formulas into lout Message-ID: Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Hi, Is there a way to convert latex formulas into Lout? Daniel ------------------------------ Message: 2 Date: Tue, 02 Jul 2019 00:40:46 -0500 From: "Daniel Ajoy" To: "[email protected]" Subject: Re: latex formulas into lout Message-ID: Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes 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 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. ------------------------------ Message: 3 Date: Tue, 2 Jul 2019 04:12:03 +0000 From: David Duffy To: Daniel Ajoy , "[email protected]" Subject: RE: latex formulas into lout Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" 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. ------------------------------ Message: 4 Date: Tue, 2 Jul 2019 11:31:56 +0000 From: David Duffy To: Daniel Ajoy , "[email protected]" Subject: RE: latex formulas into lout Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" 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 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. ------------------------------ Message: 5 Date: Tue, 02 Jul 2019 09:20:52 -0500 From: "Daniel Ajoy" To: "[email protected]" Subject: Re: latex formulas into lout Message-ID: Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Thanks for the tips. On Tue, 02 Jul 2019 06:31:56 -0500, David Duffy 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 [[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 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. > ------------------------------ Subject: Digest Footer _______________________________________________ Lout-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lout-users ------------------------------ End of Lout-users Digest, Vol 66, Issue 1 *****************************************