Command-line argument code redone in lisp



On Fri, 2003-11-21 at 03:28, Valery Pipin wrote:

> The current cvs maxima can not be loaded into texmacs. Just yesterday it works 
> fine. Is there  an easy way to reverse the cvs changes locally? 
> 


I just tried the current released version of TeXmacs with the current
cvs version of Maxima. I had to modify the 
/usr/libexec/TeXmacs/bin/tm_maxima script to recognize the cvs version:

|addiator>diff -c tm_maxima.orig tm_maxima
*** tm_maxima.orig      2003-11-21 07:06:06.000000000 -0600
--- tm_maxima   2003-11-21 07:16:18.000000000 -0600
***************
*** 12,16 ****
--- 12,18 ----
      esac;;
    5.9.0) exec maxima -u $1 -l $2 -p
"$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.0.lisp" \
        | maxima_filter;;
+   5.9.0.1cvs) exec maxima -u $1 -l $2 -p
"$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.0.lisp" \
+       | maxima_filter;;
    *) echo -e "\2latex:\\red Unsupported version of maxima: $1\5"
  esac


With that change, TeXmacs is working better than ever for me. Does that
solve the problem for you?

--Jim