Skip to Content.
Sympa Menu

texmacs-users - Re: TeXmacs-Reduce interface

Subject: mailing-list for TeXmacs Users

List archive

Re: TeXmacs-Reduce interface


Chronological Thread 
  • From: Kurt Pagani <address@hidden>
  • To: address@hidden
  • Subject: Re: TeXmacs-Reduce interface
  • Date: Wed, 4 Mar 2020 18:00:28 +0100
  • Autocrypt: addr=address@hidden; prefer-encrypt=mutual; keydata= mQINBFi5rvIBEADEeOyjaiAshVbOeZVrWx6jWLDOd0tnDSEWwCX+JH/TAVp0bHluxGBAhKKh Bq2KcCMXtuqdGZgwKpGYHQaQuzi/Piq/n46wLe7vLDYljbMeUBHvZ2iIRN4Qn0pIsM4yMYb/ 6Ein1y/fkadrQwNixTzXi/2SIPV/+tpVfnn5ha/yCpiIjm5Mq3SEKZl5TIPnuRcGM15bBDlV D4/2GQjHIKlCOGp5lBvut6+v1rHsvn6liVPkfQbGRa1WfUnors8q/h1CvFgkAsXtTCCgBWZw Cnvmme1ttNRdzLhSkgeCf1CSQy2cdJeaidQ3nIMb36YO7vpj23xyBQQ328o7n1/WjPk4iey2 oIZmxxkyoMXz+ug9wMKAEcifLSGah3GG/GdeONPF9R1FnmVGEjkE0r6CiumYfoxNIPH7z3HH nPLmM0+ulsrI2qrt6bvc+19iscJTgOOBCFs4SQTYYfXQuTLXDdHbwkjRA/ss5dTvhTv44HV6 Nftf9phX+CPT6jXTs5T3r4IZRkhCRZEInGo/o3Cgd6M7CTKl7P1EFd3GJa0eiJ/2uK5OceF6 ITwKPdrkqT8jTfzqtLhX6b8982zkohaH5vdL2qaXYX+jqLpG+dNnyDxQ2UJl80isYD/y3Uvo m28PLcI3ZhILmmRFhNUehPUaUCJzSKiBufIH52avrxcb+NfdrQARAQABtB5LdXJ0IFBhZ2Fu aSA8bmlscWVkQGdtYWlsLmNvbT6JAj8EEwEIACkFAli5rvICGyMFCRLMAwAHCwkIBwMCAQYV CAIJCgsEFgIDAQIeAQIXgAAKCRCPzxxB3HCMhgodD/9qNnSTjmsarpA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_reduce.bat is in the
plugins/reduce/bin folder (should contains one line like:
C:/PROGRA~1/Reduce/bin/redcsl --texmacs):

(plugin-configure reduce
;(:require (url-exists-in-path? ""))
(:launch "tm_reduce.bat")
(:session "Reduce (CSL)")
(:serializer ,reduce-serialize)
(:scripts "Reduce"))

Then let's hope ;)



On 04.03.2020 17:51, Daniel Volinski wrote:
> Hi Andrey,
>
> I run tm_reduce from the command line:
>
> cd "C:\Program Files (x86)\TeXmacs\plugins\reduce\bin"
> tm_reduce
> 'tm_reduce' is not recognized as an internal or external command,
> operable program or batch file.
>
> I also change the tm_reduce: instead of redpsl I put redpsl.bat,
> run TeXmacs, invoke reduce but it did not solve the problem.
>
> Thanks,
>
> Daniel Volinski
>
> **//___^
>
> **//___^**//___^**//___^
> En miércoles, 4 de marzo de 2020 11:27:05 GMT+2, Andrey G. Grozin
> <address@hidden> escribió:
>
>
> On Wed, 4 Mar 2020, Daniel Volinski wrote:
>> I noticed there is a remarkable difference between tm_reduce and tm_maxima.
>>
>> tm_maxima invokes maxima.bat in a specific case:
>>
>> #!/bin/sh
>> if [ -e $TEXMACS_HOME_PATH/plugins/maxima ]; then
>>   TEXMACS_MAXIMA_PATH="$TEXMACS_HOME_PATH/plugins/maxima/lisp"
>> else
>>   TEXMACS_MAXIMA_PATH="$TEXMACS_PATH/plugins/maxima/lisp"
>> fi
>> export TEXMACS_MAXIMA_PATH
>> case $1 in
>>   cygwin) exec maxima.bat -p "`echo
> $TEXMACS_MAXIMA_PATH/texmacs-maxima.lisp|cygpath --windows -f -`";;
>>   *) exec maxima -u $1 -l $2 -p
>> "$TEXMACS_MAXIMA_PATH/texmacs-maxima.lisp";;
>> esac
>>
>> On the other hand tm_reduce does NOT invoke redpsl.bat:
>>
>> #!/bin/sh -f
>> TEXMACS_REDUCE_PATH="$TEXMACS_PATH/plugins/reduce"
>> export TEXMACS_REDUCE_PATH
>> exec redpsl
>>
>> Is this important?
> Yes, maybe, this is the reason. What happens if you run tm_reduce from the
> command line? If things work, you should see something like
>
> Loading image file:
> /home/grozin/reduce-4972/scripts/../pslbuild/x86_64-pc-linux-gnu/red/reduce.img
>
> Reduce (Free PSL version, revision 4972), 30-Apr-2019 ...
>
> channel:promptlatex:REDUCE 1: ]\
>
> If not, you will, probably, see some error message. You can replace redpsl
> -> redpsl.bat in tm_reduce and try again.
>
>
> Andrey



Archive powered by MHonArc 2.6.19.

Top of Page