4 Jun 2011 03:38
4 Jun 2011 15:56
Re: [TeXmacs] changes in the maxima plugin's output?
Kostas Oikonomou <ko <at> research.att.com>
2011-06-04 13:56:53 GMT
2011-06-04 13:56:53 GMT
It also seems that you can't insert a "$" at the end of the maxima input line any more: TeXmacs goes into math mode. Do you see that? Kostas On 05/27/11 12:41 PM, Andrey G. Grozin wrote: > On Fri, 27 May 2011, Kostas Oikonomou wrote: >> Now TeXmacs inserts (spurious) multiplication signs in >> some places that make the output unusable. For example, >> when a maxima function returns >> >> c11 = 0.0307894, c12 = 0.0307895, >> >> TeXmacs changes it to >> >> <with|math-font-family|rm|c*11>=.*0307894,<with|math-font-family|rm|c*12>=.*0307895 >> >> >> Perhaps this is connected with the new semantics for math >> mode? Or the maxima plugin has changed? > The maxima plugin has not changed. This must be some change > in TeXmacs. > > Andrey
14 Jun 2011 22:34
[TeXmacs] session maxima; session tableur ?
El.Douwen <el.douwen <at> gmail.com>
2011-06-14 20:34:44 GMT
2011-06-14 20:34:44 GMT
salut à tous je suis sous os X.6.7 quand je fais "insérer session maxima", la session se fait, mais il y a toujours marqué "en cours" et aucune instruction ne donne de résultat --- question n°2 existe-t-il des logiciels tournant en session sous texmacs et permettant de faire des petits tableurs, avec simplement les 4 opérations et des calculs de recopie automatique ? --- Sacha
15 Jun 2011 09:14
Re: [TeXmacs] session maxima; session tableur ?
Andrey G. Grozin <A.G.Grozin <at> inp.nsk.su>
2011-06-15 07:14:06 GMT
2011-06-15 07:14:06 GMT
On Tue, 14 Jun 2011, El.Douwen wrote: > quand je fais "insérer session maxima", la session se fait, mais il y a > toujours marqué "en cours" et aucune instruction ne donne de résultat I don't know French, but I guess maxima session doesn't work for you. 1. Does command-line maxima work normally? Is it in the PATH? 2. What does maxima --list-avail produce? For example, on my Linux box it produces grozin <at> elrond ~ $ maxima --list-avail Available versions: version 5.24.0, lisp cmucl version 5.24.0, lisp ecl version 5.24.0, lisp clisp version 5.24.0, lisp gcl version 5.24.0, lisp sbcl version 5.24.0, lisp openmcl grozin <at> elrond ~ $ 3. What does the script maxima_detect write? On my box grozin <at> elrond ~ $ /usr/libexec/TeXmacs/bin/maxima_detect ( "5.24.0 cmucl" "5.24.0 ecl" "5.24.0 clisp"(Continue reading)
15 Jun 2011 09:35
Re: [TeXmacs] session maxima; session tableur ?
El.Douwen <el.douwen <at> gmail.com>
2011-06-15 07:35:55 GMT
2011-06-15 07:35:55 GMT
hi
thanks !
sorry for the french
1. Does command-line maxima work normally? Is it in the PATH?
i am so sorry, so beginner, i dont understand the question. The Path ? the command line maxima ?
i open texmacs, and i select "insert, session, maxima" and then it writes "en cours" (i translate "running")
in the menu "insert,session" i have 5 choices
giac maxima python shell scheme
i dont know the languages of the 4 others but they seem to work properly, for example if i write 2+2 in giac or python it gives 4
only maxima seems to be bloqued, or thats the one i need
2. What does
maxima --list-avail
produce? For example, on my Linux box it produces
grozin <at> elrond ~ $ maxima --list-avail
Available versions:
version 5.24.0, lisp cmucl
version 5.24.0, lisp ecl
version 5.24.0, lisp clisp
version 5.24.0, lisp gcl
version 5.24.0, lisp sbcl
version 5.24.0, lisp openmcl
grozin <at> elrond ~ $
i presume i must type this in the mac os X terminal
i obtain
-bash: maxima: command not found
if i type
MacBook-de-Elo-Douwen:~ elodouwen$ python --list-avail
i then obtain
Unknown option: --
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
3. What does the script maxima_detect write? On my box
grozin <at> elrond ~ $ /usr/libexec/TeXmacs/bin/maxima_detect
(
"5.24.0 cmucl"
"5.24.0 ecl"
"5.24.0 clisp"
"5.24.0 gcl"
"5.24.0 sbcl"
"5.24.0 openmcl"
)
grozin <at> elrond ~ $
i type "maxima_detect" in the terminal it does not seem to be the right place to write this...
Andrey
Sacha
ps the second question was alos in french, i translate it :
"does it existe a means to have a simple spreadsheet inside a texmacs document, with 4 operations, and copy/paste of the contents of cells" ?
15 Jun 2011 10:09
Re: [TeXmacs] session maxima; session tableur ?
Bernard Parisse <Bernard.Parisse <at> ujf-grenoble.fr>
2011-06-15 08:09:21 GMT
2011-06-15 08:09:21 GMT
On Tue, Jun 14, 2011 at 10:34:44PM +0200, El.Douwen wrote:
> salut à tous
>
> je suis sous os X.6.7
>
> quand je fais "insérer session maxima", la session se fait, mais il y a toujours marqué "en cours" et
aucune instruction ne donne de résultat
>
> ---
>
> question n°2
>
> existe-t-il des logiciels tournant en session sous texmacs et permettant de faire des petits tableurs,
avec simplement les 4 opérations et des calculs de recopie automatique ?
>
Oui, giac/xcas fait ca (en plus du calcul formel largement compatible avec maple),
Ouvrir une session giac dans texmacs puis utiliser la commande
spreadsheet("nom_de_fichier_du_tableur")
De meme la commande geo2d ou geo3d permet d'avoir une figure de geometrie
interactive depuis texmacs.
15 Jun 2011 10:18
Re: [TeXmacs] session maxima; session tableur ?
Andrey G. Grozin <A.G.Grozin <at> inp.nsk.su>
2011-06-15 08:18:10 GMT
2011-06-15 08:18:10 GMT
On Wed, 15 Jun 2011, El.Douwen wrote: > i presume i must type this in the mac os X terminal > i obtain > -bash: maxima: command not found Are you sure you have maxima installed on your computer? If it is installed, then typing just maxima in a terminal window should start command-line maxima. Only after you have it working, you can try to call maxima from other programs, like TeXmacs. Andrey
15 Jun 2011 16:16
[TeXmacs] Cleaning up texmacs file for git
Sam Liddicott <sam <at> liddicott.com>
2011-06-15 14:16:02 GMT
2011-06-15 14:16:02 GMT
This entry in .gitattributes:
*.tm filter=texmacs
and this entry in the .gitconfig file:
[filter "texmacs"]
clean = "sed -e '/^<[^>]*>/h;x;/references\\|auxiliary/{x;d};x'"
means that .tm files are commited to git without the references or
auxilliary sections.
When merging from git branches I so often get conflicts in those
sections which can easily be regenerated.
The sed command is, but has been escaped appropriately above for the
.gitconfig file
sed -e '/^<[^>]*>/h;x;/references\|auxiliary/{x;d};x'
Sam
15 Jun 2011 17:07
Re: [TeXmacs] Cleaning up texmacs file for git
Sam Liddicott <sam <at> liddicott.com>
2011-06-15 15:07:53 GMT
2011-06-15 15:07:53 GMT
On 15/06/11 15:16, Sam Liddicott wrote:
>
>
> This entry in .gitattributes:
> *.tm filter=texmacs
>
> and this entry in the .gitconfig file:
> [filter "texmacs"]
> clean = "sed -e '/^<[^>]*>/h;x;/references\\|auxiliary/{x;d};x'"
>
> means that .tm files are commited to git without the references or
> auxilliary sections.
> When merging from git branches I so often get conflicts in those
> sections which can easily be regenerated.
>
> The sed command is, but has been escaped appropriately above for the
> ..gitconfig file
> sed -e '/^<[^>]*>/h;x;/references\|auxiliary/{x;d};x'
>
> Sam
Here is a better clean-up which can also remove table-of-contents (which
can also be re-generated):
#! /bin/sed -f
/^\( *<.table-of-contents\|<.references\|<.auxiliary\)/{h;/<\\/p};x;/^
*<\\/{x;d};x
called git-fix-texmacs, so the clean entry in [filter "texmacs"] would
need pointing to where-ever this +x 1 line script is saved.
Sam
16 Jun 2011 15:34
Re: [TeXmacs] Cleaning up texmacs file for git
Sam Liddicott <sam <at> liddicott.com>
2011-06-16 13:34:54 GMT
2011-06-16 13:34:54 GMT
Trailing whitespace in texmacs gives git-whitespace warnings; and it has
brought me trouble before when I used Lyx,
I'm looking at some git clean-filter cleanups that can find an
alternative representation.
To demonstrate, I'll use _ to represent space.
The line:
---8<------8<---
hello__
---8<------8<---
is stored in texmacs as:
---8<------8<---
hello_\_
---8<------8<---
But it seems like this representation will do as well:
---8<------8<---
hello_\_\
---8<---
It seems like an extra \ and new-line can be suffixed onto a trailing
space and the document still parse as normal; I applied this sed to a
document:
sed -e 's/ $/ \\\n/'
and then loaded and re-saved the document and it was restored to it's
original form.
So... does anyone have any comments on a git clean commit script adding
\\\n to the end of lines ending in white space so that there are no
longer lines ending in white space?
Sam
On 15/06/11 16:07, Sam Liddicott wrote:
>
>
> On 15/06/11 15:16, Sam Liddicott wrote:
>>
>>
>> This entry in .gitattributes:
>> *.tm filter=texmacs
>>
>> and this entry in the .gitconfig file:
>> [filter "texmacs"]
>> clean = "sed -e '/^<[^>]*>/h;x;/references\\|auxiliary/{x;d};x'"
>>
>> means that .tm files are commited to git without the references or
>> auxilliary sections.
>> When merging from git branches I so often get conflicts in those
>> sections which can easily be regenerated.
>>
>> The sed command is, but has been escaped appropriately above for the
>> ..gitconfig file
>> sed -e '/^<[^>]*>/h;x;/references\|auxiliary/{x;d};x'
>>
>> Sam
>
> Here is a better clean-up which can also remove table-of-contents
> (which can also be re-generated):
>
> #! /bin/sed -f
>
> /^\( *<.table-of-contents\|<.references\|<.auxiliary\)/{h;/<\\/p};x;/^
> *<\\/{x;d};x
>
> called git-fix-texmacs, so the clean entry in [filter "texmacs"] would
> need pointing to where-ever this +x 1 line script is saved.
>
> Sam
--
--
[FSF Associate Member #2325]
<http://www.fsf.org/register_form?referrer=2325>
<http://www.openrightsgroup.org/>



RSS Feed