mailing-list for TeXmacs Users

Text archives Help


Re: Literate programming in TeXmacs and other wishes


Chronological Thread 
  • From: "Juan Pablo Romero" <address@hidden>
  • To: address@hidden
  • Subject: Re: Literate programming in TeXmacs and other wishes
  • Date: Mon, 16 Dec 2002 22:22:56 +0000

Well, if you can made this things already, as Joris says, I think that I
can use this to start my literate way to learn TeXmacs. Thanks Javier
and Joris for your input. How can I put the "engine" argument for the
inserted code?

> * The result of the execution of a box can be something different than
plain
> text. An image, for example.
>
>
> I'm particularly interested in this feature, because some time ago I
wrote a
> program (called "superficie") that is something like a 3d surface
viewer. It
> reads a file containing 3d data for surfaces, points and lines and
display
> these objects in a window using opengl. It's like a light version of
> geomview.

Hey! so you're the author of Superficie, nice to meet you Javier. Is a
good work. I explore it in one of my previous classes. Can you reply
what about future planes to it? Do you think that is posible to use it
in conjuntion with Maxima? (in a private mail if you prefer, because of
the Off-topic matter).

Hola!

El desarrollo de superficie está basicamente detenido desde hace un buen rato. Siempre he tenido la intención de continuar programando, pero he tenido un año bastante ocupado. Espero continuar en enero.

Con el mensaje de Joris acabo de darme cuenta de que es realmente facil agregarle funciones para mostrar graficos a texmacs. Claro, serían gráficos estáticos, pero no estaría nada mal para empezar.

Posteriormente vería que tan facil es hacer que se pueda manipular interactivamente la ventana de gráficos, desde dentro de texmacs.

Saludos

Juan Pablo




> Anyway, the point is, I also wrote routines in several languages
> (mathematica, yacas, scheme) that mimics some Mathematica graphic
funtions
> (ParametricPlot3D, Plot3D).
>
> This program can also generate pixmaps or postscript. So, the output
image
> could be saved in some temp file and automatically displayed by texmacs.
>
> This is actual code:
>
> ------------------
> (define f '(* x y))
> (sup-plot-3d f (x -1 1) (y -1 1))
> ------------------
>
> at this point, the program shows a window with the graph of 'f'. But it
> would be very nice if texmacs would display the image within the document.
>

Yep. It would be a nice feature. I think that the code must specify a
name for the ps graphic so it can be put as a paramether in the
"Insert->Image" markup. Would be nice to have a paramether for the
defaults (for example the coordinates of the point of view) so if the
parameters are changed the graphic is updated. May be if some one click
on the image the "superficie" windows is shown so (s)he can change the
image interactively and then paste again to the editor.

>
> Regards.
>
> Juan Pablo
>

Cheers,

Offray


_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: http://messenger.microsoft.com/es




Archive powered by MHonArc 2.6.19.

Top of page