Menu

#119 RLFI issue with binomial

None
closed
nobody
None
5
2020-03-11
2020-02-21
Avery Laird
No
Reduce (Free CSL version, revision 5227), 01-Jan-20 ...

1: load rlfi;

2: on latex;
\documentstyle{article}
\begin{document}

3: binomial(a,b);

***** Missing evaluation for type tex 

4: 

This seems to be exclusively an issue with the RLFI package. Both PSL/CSL have the same behaviour

Discussion

  • Eberhard Schruefer

    Actually, rlfi doesn't know about binomial. If you read the appended code into your terminal and then use rlfi does this work for you?

    Eberhard

    put('tex,'evfn,'texevfn);
    
    symbolic procedure texevfn(u,v); reval1(cadr u,v);
    
    symbolic procedure binomprla(u,p);
       begin
         prin2la "\binom";
         prin2la "{";
         maprintla(car u,0);
         prin2la "}{";
         maprintla(cadr u,0);
         prin2la "}"
       end;
    
    put('binomial,'laprifn,'binomprla);
    
     
  • Avery Laird

    Avery Laird - 2020-02-26

    That did the trick. Thanks!

     
  • Eberhard Schruefer

    Thanks for checking. It will be included in the next snapshot.
    Eberhard

     
  • Rainer Schöpf

    Rainer Schöpf - 2020-03-11
    • status: open --> closed
    • Group: -->
     
  • Rainer Schöpf

    Rainer Schöpf - 2020-03-11

    Corrected in snapshot of 2020-03-01.

     

Log in to post a comment.