Corcelle | 1 Apr 2009 11:57
Picon
Favicon
Gravatar

Plugins TeXgraph and Eukleides

Hello,

Since the integration in TeXmacs I added a lot of features to the 
TeXgraph plugin. For the biggest part they were found in the Maxima and 
GNUplot plugins (evaluation switcher, grapher for cartesian curves, a 
few tools for highschool teachers).
I also added a detailled menu and the evalution switcher to the 
Eukleides plugin.
The details on http://corcelle.worpress.com

The plugins :
TeXgraph : http://dl.getdropbox.com/u/246467/texgraph.zip
Eukleides : http://dl.getdropbox.com/u/246467/eukleides.zip

Everything work fine for me and for a few users from which I have feed 
back but I am not sure I did everything in the right way.
Would it be interesting to update the plugin(s) on the svn server ?

Emmanuël

PS : I am still searching if it is possible to automatically add a 
package provided by the plugin when opening the grapher (in fact when 
opening a switcher like the gnuplot one). For now the user has to add 
the texgraph_script.ts package by hand before opening the grapher. If 
someone knows how to do this.
Corcelle | 1 Apr 2009 12:02
Picon
Favicon
Gravatar

Re: Plugins TeXgraph and Eukleides

Oups,

I lost a "d" on the road.
The details on http://corcelle.wordpress.com

Sorry

Corcelle a écrit :
> Hello,
>
> Since the integration in TeXmacs I added a lot of features to the 
> TeXgraph plugin. For the biggest part they were found in the Maxima 
> and GNUplot plugins (evaluation switcher, grapher for cartesian 
> curves, a few tools for highschool teachers).
> I also added a detailled menu and the evalution switcher to the 
> Eukleides plugin.
> The details on http://corcelle.wordpress.com
>
> The plugins :
> TeXgraph : http://dl.getdropbox.com/u/246467/texgraph.zip
> Eukleides : http://dl.getdropbox.com/u/246467/eukleides.zip
>
> Everything work fine for me and for a few users from which I have feed 
> back but I am not sure I did everything in the right way.
> Would it be interesting to update the plugin(s) on the svn server ?
>
> Emmanuël
>
> PS : I am still searching if it is possible to automatically add a 
> package provided by the plugin when opening the grapher (in fact when 
(Continue reading)

Picon
Favicon

Re: Plugins TeXgraph and Eukleides

Hi,

I have been trying to install TeXgraph plugin following the 
instructions. Here is what I have done (is in Spanish but commands a 
pretty much the same):

http://offray.tiddlyspot.com/#TeXgraph

After that TeXgraph is working as a stand alone program, but the only 
awareness I can see of TeXmacs about TeXgraph is that I get a new item 
in the menus here:

"Document -> Add package -> texgraph-scripts"

My platform is:

* Arch Linux (2009-02)
* TeXmacs 1.0.7

What I'm missing?

Cheers, and keep the good work,

Offray

Corcelle wrote:
> Oups,
>
> I lost a "d" on the road.
> The details on http://corcelle.wordpress.com
(Continue reading)

Corcelle | 2 Apr 2009 13:28
Picon
Favicon
Gravatar

Re: Plugins TeXgraph and Eukleides

Offray Vladimir Luna Cárdenas a écrit :
> Hi,
Hello,
>
> I have been trying to install TeXgraph plugin following the 
> instructions. Here is what I have done (is in Spanish but commands a 
> pretty much the same):
>
> http://offray.tiddlyspot.com/#TeXgraph
Everything seems to be correct.
>
> After that TeXgraph is working as a stand alone program, but the only 
> awareness I can see of TeXmacs about TeXgraph is that I get a new item 
> in the menus here:
>
> "Document -> Add package -> texgraph-scripts"
Don't you have a TeXgraph entry in the Insert->session or in the 
Document->Script menu ?
Did you ever succeed in installing the TeXgraph plugin ?
>
> My platform is:
>
> * Arch Linux (2009-02)
> * TeXmacs 1.0.7
>
> What I'm missing?
>
> Cheers, and keep the good work,
>
> Offray
(Continue reading)

Picon
Favicon

Re: Plugins TeXgraph and Eukleides

Hi,

Corcelle wrote:

[...]
> Don't you have a TeXgraph entry in the Insert->session or in the 
> Document->Script menu ?

No. I have a similar problem with Sage TeXmacs plugin, which I can solve 
exporting the $PATH variable to the place where Sage binary was located. 
I tried something similar with this two lines:

[offray <at> hackendo ~]$ export TEXGRAPH_PATH=/usr/local/share/TeXgraph/
[offray <at> hackendo ~]$ export $PATH=/usr/local/share/TeXgraph/

and I get:

bash: export:

`/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core=/usr/local/share/TeXgraph/': 
not a valid identifier

I don't know much bash, so may be is just some kind of misconception 
about paths and related things. So any help would be appreciated.

[...]
> Did you ever succeed in installing the TeXgraph plugin ?
No this is my first try.

Thanks,
(Continue reading)

Andrey G. Grozin | 2 Apr 2009 15:48
Picon
Favicon

Re: Plugins TeXgraph and Eukleides

On Thu, 2 Apr 2009, Offray Vladimir Luna C?rdenas wrote:
> [offray <at> hackendo ~]$ export $PATH=/usr/local/share/TeXgraph/
This should be

export PATH=/usr/local/share/TeXgraph:$PATH

(the value of PATH was substituted in the left-hand side of your =, and 
this value is not an identifier; also, you don't want to have just this 
one directory in your PATH, but also all the usual ones).

Andrey
Corcelle | 2 Apr 2009 16:08
Picon
Favicon
Gravatar

Re: Plugins TeXgraph and Eukleides


>
> No. I have a similar problem with Sage TeXmacs plugin, which I can 
> solve exporting the $PATH variable to the place where Sage binary was 
> located. I tried something similar with this two lines:
>
> [offray <at> hackendo ~]$ export TEXGRAPH_PATH=/usr/local/share/TeXgraph/
> [offray <at> hackendo ~]$ export $PATH=/usr/local/share/TeXgraph/
>
> and I get:
>
> bash: export: 
>
`/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core=/usr/local/share/TeXgraph/': 
> not a valid identifier
The defaut installation in /usr/local/share/TeXgraph/ creates the 
startTeXgraph and CmdTeXgraph files in the /usr/local/bin directory 
which isn't known by your system.

There is a little error in your second line. For only one session, it 
should have been :
[offray <at> hackendo ~]$ export PATH=$PATH:/usr/local/bin
So your PATH is now unreadable with the =.

To correct it try :
[offray <at> hackendo ~]$ 
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core
[offray <at> hackendo ~]$ echo `export PATH=$PATH:/usr/local/bin`  >> ~/.bashrc
if you use BASH shell

(Continue reading)

Corcelle | 2 Apr 2009 18:27
Picon
Favicon
Gravatar

Re: Plugins TeXgraph and Eukleides

Andrey G. Grozin a écrit :
> On Thu, 2 Apr 2009, Offray Vladimir Luna C?rdenas wrote:
>> [offray <at> hackendo ~]$ export $PATH=/usr/local/share/TeXgraph/
> This should be
>
> export PATH=/usr/local/share/TeXgraph:$PATH
>
> (the value of PATH was substituted in the left-hand side of your =, 
> and this value is not an identifier; also, you don't want to have just 
> this one directory in your PATH, but also all the usual ones).
>
> Andrey
>
Sorry, I hadn't seen your answer.

In fact, in my other post, of course no need to do :
[offray <at> hackendo ~]$

PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core 

the only thing to do is :
[offray <at> hackendo ~]$ echo `export PATH=$PATH:/usr/local/bin`  >> ~/.bashrc
if you use BASH shell

Emmanuël
Kamaraju S Kusumanchi | 10 Apr 2009 22:12
Picon

recommended way to submit bugs

Is there a recommended way to submit bugs for Texmacs? Do the developers
look at bugs reported to http://savannah.gnu.org/bugs/?group=texmacs ? On
that web page, I see bugs dating back to 2002 with no action whatsoever. If
the Savannah web page is not the way to go, what are the other possible
choices?

thanks
raju
--

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
Joris van der Hoeven | 17 Apr 2009 12:13

Re: Patches: copy/paste and selection handling.

Dear Norbert,

I am just resuming my work on TeXmacs... starting with your pending patches.
Thanks for the good work ! This makes cut-and-paste behaviour far more standard.
I applied all patches. A few remarks:

1) I changed the "mouse" selection into "visible" selection and
   also use the "visible" selection for the current keyboard selection
   (made using control space in Emacs mode or shifted cursor keys otherwise).

2) I am fine with removing the current selection on mouse clicks,
   except for one potential drawback: when pasting using middle click,
   the cursor has not yet been positioned in a very precise manner.
   This is important in TeXmacs contrary to emacs, because different
   cursor position may be very (even infinitely) close graphically.
   Anyway, I do not see any appropriate fix, so we probably have
   to live with this drawback.

3) Since the visible selections become much less persistant
   (they are only used in combination with middle clicks),
   it makes sense to replace the selection on keyboard or paste events,
   as is usual under Windows / MacOS, at least if we are not in Emacs mode.

4) I don't think that the new implementation of delete is a problem
   for users of the Emacs mode: in Emacs, one rather uses C-w anyway.

5) Did you check whether the behaviour is correct for the Qt version?

6) In the future, we should implement kill rings and multiple selections.
   This is on the list since a while, but, well...
(Continue reading)


Gmane